:root{
    /*old colors
    dc3545
    bd2130
    343a40
     */
    --primary-color: #241c0e;
    --light-secondary-color: #ffe98d;
    --secondary-color: #ffde59;
    --dark-secondary-color: #db9804;
    --darker-secondary-color: #aa7a0c;

    --primary-gradient: linear-gradient(#1A2A39, #145163);
    --primary-gradient-inverse: linear-gradient(#145163, #1A2A39);
    --quest-gradient: linear-gradient(#C8763C99, #41979699);
    --quest-bg: #2C4643CC;
    --yellow-color: #F9F300;
    --light-orange-color: #FFB93F;
    --dark-orange-color: #E06901;
    --light-blue-color: #1981BE;
    --dark-blue-color: #005C95;
    --button-blue-color: #0185D7;
    --button-shadow-color: #0C3B57;
    --cyan-color: #03D1F8;
    --button-green-color: #8DD801;
    --white-color: #FFFFFF;
}

@font-face { font-family: pa-bold; src: url('OPTISallyMae-ExtraBold.otf'); }
@font-face { font-family: pa-medium; src: url('OPTISallyMae-Medium.otf'); }
@font-face { font-family: pa-light; src: url('OPTISallyMae-Light.otf'); }
@font-face { font-family: gb; src: url('Gilam-BlackDEMO.otf'); }

html, body{
    height: 100%;
    font-family: Barlow, Arial, sans-serif;
}

h1,h2,h3 {
    font-family: 'Barlow', 'Arial', sans-serif;
    font-weight: 800;
}

/*
h3{
    color: var(--darker-secondary-color);
}
*/

h4, h5, h6{
    font-family: 'Barlow', 'Arial', sans-serif;
    font-weight: 500;
}

p, li, th, td, label, span, div{
    font-family: 'Barlow', 'Arial', sans-serif;
    font-weight: 400;
    font-size: 18px;
}

/*div{
    font-size: 18px;
}*/

.navbar-expand-xl{
    flex-flow: column !important;
}

.navbar-dark{
    background-image: var(--primary-gradient) !important;
}

.nav-brand{
    margin-bottom: 5px;
    display: flex;
    white-space: nowrap;
}

@media screen and (max-width: 1200px){
    .nav-brand {
        width: 100%;
        white-space: normal;
    }
}

.nav-brand picture {
    margin-top: auto;
    margin-bottom: auto;
}

.nav-brand a{
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-brand img{
    width: 100px;
    margin-right: 20px;
}

.nav-brand h1{
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 0;
    flex: 1;
}

@media screen and (max-width: 575px){
    .nav-brand img{
        width: 60px;
        margin-right: 20px;
    }

    .nav-brand h1{
        display: inline-block;
        vertical-align: middle;
        font-size: 1.5rem;
        margin-bottom: 0;
    }
}

.nav-brand a, .nav-link{
    color: var(--white-color);
    text-shadow: 1.5px 0 0 #000, -1.5px 0 0 #000, 0 1.5px 0 #000, 0 -1.5px 0 #000, 1.5px 1.5px #000, -1.5px -1.5px 0 #000, 1.5px -1.5px 0 #000, -1.5px 1.5px 0 #000;
    text-decoration: none;
    transition: all 0.5s;
}

.nav-brand a:hover, .nav-link:hover, .channel-name a:hover, .nav-link:focus{
    color: var(--light-orange-color);
    text-decoration: none;
    transition: all 0.5s;
}

nav a:hover{
    text-decoration: none!important;
}

.navbar-dark .navbar-nav .nav-link:hover{
    color: var(--light-orange-color);
    text-decoration: underline;
    transition: all 1s;
}

.navbar-dark .navbar-nav .nav-link{
    color: var(--white-color);
    font-family: "Barlow", "Arial", "sans-serif";
    padding-left: .3rem;
    padding-right: .3rem;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 1.5px 0 0 #000, -1.5px 0 0 #000, 0 1.5px 0 #000, 0 -1.5px 0 #000, 1.5px 1.5px #000, -1.5px -1.5px 0 #000, 1.5px -1.5px 0 #000, -1.5px 1.5px 0 #000;
    text-align: center;
}

.nav-item{
    margin: 0 8px;
}

.lang-select{
    font-size: 16px;
    vertical-align: middle;
}

/*.nav-item:last-child{
    height: fit-content;
    margin: auto 0 auto 10px;
    padding: .5rem;
    text-align: center;
}*/
/*
.search-icon{
    fill: var(--light-secondary-color);
    vertical-align: middle;
}

.close-wrapper{
    padding: 5px;
    display: inline-block;
}
.close-icon{
    fill: var(--light-secondary-color);
    vertical-align: middle;
}
*/

.top-nav{
    color: white;
}

.top-nav .nav-item{
    padding: 2px;
    text-align: center;
}

.top-nav hr{
    background-color: white;
    width: 100%;
    margin: 0.5rem 0;
}

.top-nav svg{
    margin: 0 1px;
}

.top-nav p{
    margin-bottom: 0;
    display: inline-block;
    /*vertical-align: middle;*/
    font-size: 16px;
}

.top-nav .nav-item{
    margin: 0 5px;
}

.top-nav a{
    color: var(--cyan-color);
    transition: 0.5s all;
}

.top-nav a:hover{
    color: var(--light-orange-color);
    text-decoration: none;
    transition: 0.5s all;
}

/*------------------ SHARE ---------------------*/
.share p{
    display: inline;
    font-size: 20px;
    vertical-align: middle;
}

.share a:hover{
    text-decoration: none;
}

.fb-icon{
    fill: #3b5998;
}

.twitter-icon{
    fill: #1da1f2;
}

.discord-icon{
    fill: #5865F2;
}

.instagram-icon{
    fill: #e8424e;
}

.forum-icon{
    fill: #b3ef57;
}

.copy-link{
    padding: 10px;
    background: #555555;
    display: inline-block;
    border-radius: 50%;
}

.copy-link svg{
    fill: white;
}

.copy-link:hover{
    cursor: pointer;
    background: var(--light-orange-color);
    transition: 0.5s all;
}

.fb-icon, .twitter-icon, .discord-icon, .copy-link, .instagram-icon, .forum-icon{
    transition: all 0.5s;
    margin: 0 5px;
}

.fb-icon:hover, .twitter-icon:hover, .discord-icon:hover, .instagram-icon:hover, .forum-icon:hover{
    fill: var(--light-orange-color);
    transition: all 0.5s;
}

/*-----------------FOOTER-------------------*/

footer{
    background: var(--primary-gradient-inverse);
}

footer .brand-div{
    margin: auto;
}

@media screen and (max-width: 767px){
    footer .brand-div{
        margin: 8px auto 32px auto;
        max-width: 50%;
    }
}

footer .brand-div img{
    max-width: 100%;
}

footer h3, footer h4{
    color: var(--white-color);
    text-shadow: 1.5px 0 0 #000, -1.5px 0 0 #000, 0 1.5px 0 #000, 0 -1.5px 0 #000, 1.5px 1.5px #000, -1.5px -1.5px 0 #000, 1.5px -1.5px 0 #000, -1.5px 1.5px 0 #000;
}

.yt-channel > *{
    display: inline-block;
    vertical-align: middle;
    color: white;
    margin-bottom: 0;
    padding: 5px;
}

.channel-name{
    text-align: left;
    margin-bottom: 5px;
}

footer p{
    color: white;
}

footer ul{
    padding-left: 0;
    list-style-type: none;
}

footer li{
    font-size: 20px;
    text-align: center;
    padding: 0.2rem 0.5rem;
    font-family: Barlow, Arial, sans-serif;
}

footer li a, .channel-name a{
    color: var(--cyan-color);
    font-size: 20px;
    font-family: Barlow, Arial, sans-serif;
    transition: all 0.5s;
}

footer li a:hover, .channel-name a:hover{
    color: var(--dark-secondary-color);
    text-decoration: none;
    transition: all 0.5s;
}

/*Toggle switch*/
.switch {
    position: absolute;
    right: 0;
    display: inline-block;
    width: 48px;
    height: 28px;
}

.switch-small {
    position: absolute;
    right: 0;
    /*top: 5px;*/
    bottom: 50%;
    transform: translateY(70%);
    display: inline-block;
    width: 38px;
    height: 23px;
    margin: 5px !important;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider, .slider-small{
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider-small:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider, input:checked + .slider-small {
    background-color: var(--primary-color);
}

input:focus + .slider, input:focus + .slider-small {
    box-shadow: 0 0 1px var(--primary-color);
}

input:checked + .slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

input:checked + .slider-small:before {
    -webkit-transform: translateX(15px);
    -ms-transform: translateX(15px);
    transform: translateX(15px);
}

/* Rounded sliders */
.slider.round, .slider-small.round {
    border-radius: 34px;
}

.slider.round:before, .slider-small.round:before {
    border-radius: 50%;
}

/*--------------- LOCATION LIST -------------- */

.location-list *{
    text-align: center;
}

.location-list span:not(.unlock-cost) {
    background: var(--button-shadow-color) !important;
    box-sizing: border-box;
    display: inline-block;
    border-radius: 16px;
    margin: 5px 0;
    width: 100%;
    border-bottom: 3px solid var(--button-shadow-color);
}

.location-list a, .location-list label, .location-list input[type=submit] {
    background: var(--dark-blue-color) !important;
    color: var(--white-color);
    text-shadow: 1.5px 0 0 #000, -1.5px 0 0 #000, 0 1.5px 0 #000, 0 -1.5px 0 #000, 1.5px 1.5px #000, -1.5px -1.5px 0 #000, 1.5px -1.5px 0 #000, -1.5px 1.5px 0 #000;
    font-weight: 600;
    box-sizing: border-box;
    display: inline-block;
    padding: 3px 10px;
    border-radius: 16px;
    font-size: 24px !important;
    letter-spacing: 0.5px;
    width: 100%;
    border: 2px solid black;
}

.list-wider span {
    max-width: 90% !important;
}

.location-list a:hover, .location-list label:hover, .location-list input[type=submit]:hover {
    text-decoration: none;
    background: var(--button-blue-color) !important;
    border: 2px solid black;
    transition: all 0.5s;
}

.location-list p{
    display: inline;
    margin: 0 20px 0 20px;
}