
@font-face { font-family: "OpenSans-Light"; src: url('../fonts/OpenSans-Light.ttf'); }
@font-face { font-family: "OpenSans-Regular"; src: url('../fonts/OpenSans-Regular.ttf'); }
@font-face { font-family: "Oswald-Regular"; src: url('../fonts/Oswald-Regular.ttf'); }

body {
    background: url("../img/dark_fantasy_bg.jpg") no-repeat center center fixed;
    background-size: cover;
    background-color: #0d0d0d;
    color: #ddd;
    font-family: "OpenSans-Regular";
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.55);
    pointer-events: none;
    z-index: -1;
}

.box {
    margin-top: 100px;
    background: rgba(20, 20, 20, 0.85);
    min-height: 200px;
    border-radius: 8px;
    padding: 25px;
    padding-bottom: 40px;
    color: #e6e6e6;

    border: 1px solid rgba(120, 70, 255, 0.4);
    box-shadow: 0 0 20px rgba(80, 40, 140, 0.35);
    backdrop-filter: blur(2px);
}


.box2 {
    background-color: rgba(10, 10, 10, 0.85);
    border-radius: 5px;
    padding: 8px;
    border: 1px solid rgba(100, 60, 200, 0.4);
}


.header-text {
    height: 100px;
}

h1.header {
    font-family: "Oswald-Regular";
    font-size: 60px;
    text-transform: uppercase;
    color: #c7b5ff;
    text-shadow: 0 0 15px rgba(180, 140, 255, 0.6);
}

h1.header .left {
    background-color: rgba(80, 40, 140, 0.9);
    color: #fff;
    padding: 10px;
    border: 1px solid black;
    border-radius: 3px;
}

h1.header .right {
    background-color: #000;
    color: #fff;
    padding: 10px;
    border: 1px solid #222;
    border-radius: 3px;
}



form.vote {
    width: 300px;
    margin: auto;
    margin-top: 25px;
}

input.error {
    border: solid 1px red !important;
}


.form-control {
    background-color: #1b1b1b !important;
    border: 1px solid #3d2a69 !important;
    color: #eae1ff !important;
    border-radius: 5px;
}

.form-control:focus {
    background-color: #242424 !important;
    border-color: #7b52ff !important;
    box-shadow: 0 0 8px rgba(130, 90, 255, 0.7) !important;
    color: #fff !important;
}


.btn-primary {
    background-color: #4c2da8 !important;
    border: 1px solid #6f4de3 !important;
    color: #fff !important;
}

.btn-primary:hover {
    background-color: #6b3df0 !important;
    border-color: #8a6dfc !important;
}

.btn-link {
    color: #c5aaff !important;
}
.btn-link:hover {
    color: #e5d2ff !important;
}



.table {
    background: rgba(25, 20, 30, 0.85);
    color: #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.table > thead > tr > th,
.table > tbody > tr > td {
    vertical-align: middle;
    border-color: #3b2a4d;
}

.table-striped > tbody > tr:nth-child(odd) {
    background: rgba(35, 30, 45, 0.65);
}

.table-striped > tbody > tr:nth-child(even) {
    background: rgba(20, 15, 25, 0.65);
}


.table-hover tbody tr:hover td {
    background: rgba(90, 60, 130, 0.4) !important;
    color: #fff;
}


.footer {
    margin-top: 20px;
    color: #888;
    text-shadow: 0 0 5px rgba(120, 80, 200, 0.4);
}



.site {
    margin: 3px;
    transition: all .3s ease-in-out;
    background: rgba(25, 25, 35, 0.8);
    border: 1px solid rgba(80, 50, 150, 0.5);
    padding: 8px;
    border-radius: 6px;
}

.site:hover {
    transform: scale(1.03);
    box-shadow: 0 0 12px rgba(110, 70, 200, 0.7);
}
