@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../../fonts/Roboto-Bold.ttf') format('truetype');
}
/* latin-ext */
@font-face {
    font-family: 'Bebas Neue';
    font-style: normal;
    src: url('../../fonts/BebasNeue-Regular.ttf') format('truetype');
}


:root{
    --green-color: rgb(61, 75, 39);
    --red-color: rgb(205, 65, 43);
    --yellow-color: rgb(194, 184, 15);
    --blue-color: rgb(29, 66, 95);
}

body, footer, .noise{
    background-image: url("../../img/noise.png");
}

footer{
    background-color: #1b1b1b;
}

html, body {
    height: 100%;
}

body{
    background-color: #141312;;
    color: #bab1a8;
    font-size: 1.25rem;
    font-family: "Bebas Neue",sans-serif;
    display: flex;
    flex-direction: column;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgb(32, 38, 32);
}

::-webkit-scrollbar-thumb {
    background: rgb(43, 52, 43);
}

::-moz-selection {
    color: rgb(173, 168, 162);
    background: rgb(20, 24, 20);
}

::selection {
    color: rgb(173, 168, 162);
    background: rgb(41, 49, 41);
}


/* Buttons */
.btn {
    border-radius: 0;
    border: 0;
    padding: 8px 14px;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
}

.btn-green{
    background: rgb(61, 75, 39);
    color: rgb(166, 205, 99);
}
.btn-green:hover{
    background: rgb(88, 108, 57);
    color: rgb(166, 205, 99);
}

.btn-blue{
    background: rgb(29, 66, 95);
    color: rgb(72, 154, 212);
}
.btn-blue:hover{
    background: rgb(39, 85, 121);
    color: rgb(72, 154, 212);
}

.btn-red{
    background-color: rgb(153, 64, 50);
    color: rgb(255, 151, 136);
}
.btn-red:hover{
    background-color: rgb(205, 76, 57);
    color: rgb(255, 151, 136);
}

.btn-orange{
    background-color: rgb(153, 107, 50);
    color: rgb(255, 201, 136);
}
.btn-orange:hover{
    background-color: rgb(205, 126, 57);
    color: rgb(255, 201, 136);
}

.btn-gray{
    background: rgb(89, 85, 82);
    color: rgb(204, 195, 190);
}
.btn-gray:hover{
    background: rgb(111, 107, 103);
    color: rgb(204, 195, 190);
}

/* Bootstrap Overrides */
.navbar-brand{
    height: 75px;
    line-height: 75px;
    font-size: 3rem;
    align-items: center;
    vertical-align: middle;
    color: #bab1a8;
}

.navbar-brand:hover{
    color: #ada7a3;
}

.navbar{
    font-size: 1.25rem;
    color: #8d8885;
}
.navbar a, .navbar a:focus, .nav-link, .link-light{
    color: #ada7a3;
}

.nav-link{
    font-size: 1.5rem;
    padding-left: 15px!important;
}

.nav-link:hover, .nav-link:focus, .link-light:hover, .link-light:focus{
    color: #cecdc8;
}

.modal-content{
    border-radius: 0;
}

.modal-content{
    background-image: url("../../img/noise.png");
    background-color: #1b1b1b;
    border: 1px solid #2b2b2b;
}

.modal-footer{
    border: none;
}

.modal-backdrop.show {
    opacity: .7;
}

/* Server Containers */
.server-box{
    padding: 8px;
    background-color: #1b1b1b;
    background-image: url("../../img/noise.png");
    position: relative;
}

.server-image-wrapper{
    position: relative;
}

.server-image-wrapper img{
    height: 200px;
    width: 100%;
}

.server-image-overlay {
    background: linear-gradient(180deg, rgba(30, 30, 30, 0) 35%, rgb(30, 30, 30) 100%);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.server-details-wrapper{
    text-align: center;
    z-index: 5;
    position: relative;
    margin-top: -50px;
}

.server-name{
    font-size: 2.25rem;
    white-space: nowrap;
    overflow: hidden;
    display: block;
    text-overflow: ellipsis;
}

.server-pop-wrapper .progress{
    background-color: rgb(61, 75, 39);
    border-radius: 0;
}

.server-pop-wrapper .progress-bar{
    background-color: rgb(166, 205, 99);
    border-radius: 0;
}

.progress-bar{
    transition: margin-right 2s ease-in-out .5s;
}


.timezoneselect{
    background-color: rgba(186, 177, 168, 0.6);
    color: #fff;
    padding: 4px 10px;
}

.timezoneselect:focus{
    outline: 0;
}

.timezoneselect option{
    background-color: rgb(132, 126, 125);
}

.rust-alert{
    position: absolute;
    right: 10px;
    bottom: 6%;
    z-index: 1000;
    padding: 4px 10px;
    background: rgb(88, 108, 57);
    color: rgb(166, 205, 99);
}

.map-wrapper{
    width: 300px;
}

.map-wrapper img{
    width: 300px;
    height: 300px;
    position: relative;
}

.map-image-wrapper .map-link, .next-map-wrapper .map-link
{
    opacity: 0;
    margin-top: -43px;
    transition: opacity 1s cubic-bezier(0.42, 0, 0, 1.25);
}

.map-image-wrapper:hover .map-link, .next-map-wrapper:hover .map-link
{
    opacity: 1;
}

.map-results{
    color: rgb(205, 126, 57);
}

.modal-map {
    min-width: auto;
    max-width: fit-content;
}

.server-countdown{
    width: 100%;
    bottom: 85px;
    opacity: 0.4;
}
