@font-face {
    font-family: 'Kanit', sans-serif;
    src: url('../font/mc.eot');
    src: url('../font/mc.eot?#iefix') format('embedded-opentype'),
        url('/font/mc.woff2') format('woff2'),
        url('/font/mc.woff') format('woff'),
        url('/font/mc.ttf') format('truetype'),
        url('/font/mc.svg#MinecraftSeven') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/* a.dropdown-item:visited{
    color:black;
} */
#footer{
    clear: both;
    text-align: center;
    font-family: 'Kanit', sans-serif;
    color:white;
    padding-top:2vh;

}
.mcbtn{
    font-family: 'mc';
    outline: 2px solid black;
    position: relative;
    margin: 0;
    display: inline-block;
    background-image: url('../../images/btnctn.png');
    background-repeat: repeat;
    text-align: center;
    color: white;
    border-bottom: 4px solid #565656;
    border-right: 2px solid #565656;
    border-left: 2px solid #AAA;
    border-top: 2px solid #AAA;
    box-sizing: border-box;
    font-size: 16px;
}
.mcbtn:active{
    transform: translateY(4px);
}
.mcbtn:hover {
    border-bottom: 4px solid #59639A;
    border-right: 2px solid #59639A;
    border-left: 2px solid #BDC6FF;
    border-top: 2px solid #BDC6FF;
    background-image: url('../../images/btnact.png');
    color: #FFFFA0;
  }
  .mcbtn-active {
    border-bottom: 4px solid #59639A;
    border-right: 2px solid #59639A;
    border-left: 2px solid #BDC6FF;
    border-top: 2px solid #BDC6FF;
    background-image: url('../../images/btnact.png');
    color: #FFFFA0;
  }
#panorama{
    border-radius: 2%;
    grid-column: 1 / 2;
}
#scoreList{
    display:flex;
    flex-wrap: wrap;
    overflow:hidden;
    margin-bottom: 10px;
    list-style-type: none;
    font-family: 'Kanit', sans-serif;
    color:white;
    padding: 0;
}
#mcmap{
    border-radius:2%;
    grid-column: 2 / 4;
}
/* a:link:not(.dropdown-item)  {
    color: white;
}
a:visited:not(.dropdown-item) {
    color: white;
} */
body{
    background-image: url("https://panos.hermitguessr.ca/S10.webp");
    background-attachment:fixed;
    background-position-x: 50%;
    background-repeat: no-repeat;
    background-size: cover;
}
#panorama {
    width:auto;
    height: 50vh;
    float:left;
}
#winOrLose{
    display:block;
    position:absolute;
    z-index: 1000;
    font-size: 1.5em;
    font-family: 'Kanit', sans-serif;
    color:white;
    padding:2vh;
    background-color: rgba(0,0,0,0.7);
    display:none;
    text-align: left;
    left: 0;
    right: 0;
    width: 25%;
    text-align: center;
}

/* #map-ul a{
    display:none;
}
#map-ul{
    margin-bottom:2vh;}  */
/* .dropdown-toggle:hover + #map-ul > a{
    display:block;
    background-color: #777;
}
.dropdown-toggle:active + #map-ul > a{
    display:block;
    background-color: #777;
} */
#controls{
    float:right;

}
#mcmap { height: 50vh;width:auto;margin:0;padding:0; }
#title{
    text-align: center;
    font-family: 'Kanit', sans-serif;
    color:white;
    text-shadow: 0px 0px #15007F, 1px 1px #15007F, 2px 2px #15007F, 3px 3px #15007F, 4px 4px #15007F, 5px 5px #15007F, 6px 6px #15007F;
    margin-bottom: .75em;
}
#logo{
    max-height: 15vh;
}
#subtitle{
    text-align: center;
    font-family: 'Kanit', sans-serif;
    color:white;
    margin-bottom: 1em;
}
#subtitle,#score{
    text-shadow:
    -1px -1px 0 #000,  
     1px -1px 0 #000,
     -1px 1px 0 #000,
      1px 1px 0 #000;
}
#username-label{
    font-family: 'Kanit', sans-serif;
    color:white;
    text-shadow:
    -1px -1px 0 #000,  
     1px -1px 0 #000,
     -1px 1px 0 #000,
      1px 1px 0 #000;

}
#scores{
    text-align-last: center;
    margin:0;
    padding:0;
}
.scoreListItem{
    display:inline;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: rgba(40,40,40,0.7);
    white-space: nowrap;
    margin: 0.5vh 0.5vw;
}
#score, #clock{
    font-family: 'Kanit', sans-serif;
    color:white;
    z-index: 999;
    margin: 10px 0 0 0;
}
#clock{
        text-shadow:
    -1px -1px 0 #000,  
     1px -1px 0 #000,
     -1px 1px 0 #000,
      1px 1px 0 #000;
}
#restart-game{
    display:none;
    margin-left:auto;
    margin-right:auto;
}

#btn-close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.5rem 0.75rem;
    color: inherit;
    cursor: pointer;
    background-color: transparent;
    color: black;
    border: 0;
}
#info{
    font-size: 0.8em;
    font-family: 'Nunito', sans-serif;
    color: #fafafa;
    display: none;
}
#game{
    display:grid;
    grid-template-columns: 3fr 1fr 3fr;
    grid-gap:2vw;
}

/* Min width 768px */
@media screen and (max-width: 768px) {
    #game{
        display:grid;
        grid-template-columns: 3fr;
        grid-gap:2vw;
    }
    #scores{
        text-align: center;
        width:100%;
        margin:0;
        padding:0;
    }
    #mcmap{
        grid-column: 1 / 4;
        margin: 0 5vw;
    }
    #panorama{
        grid-column: 1 / 4;
        margin: 0 5vw;
    }

}

.top-25{
    top: 25% !important;
}