@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Varela+Round&display=swap");

body {
    text-align: center;
    margin: 0px;
    background: url('../images/bg2.jpg') no-repeat center center fixed;
    background-repeat: no-repeat;
    background-attachment: fixed; 
    background-size: cover;
    font-family: 'Roboto Slab', sans-serif;
    font-weight: 600;
    color: white;
    overflow: auto;
}

.logo {
    width: 31vh;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    transition: 0.2s;
    height: 100%;
}

.logo:hover {
    transform: scale(1.1);
}

.heading {
    font-size: 1.7em;
    font-weight: 400;
    margin-top: 52px;
}

.subheading {
    font-size: 1.17em;
    font-weight: normal;
}

a:link{
    color:w
}
a:visited{
    color:lightskyblue
}
a:hover{
    color:deepskyblue
}
a:active{
    color:deepskyblue
}

#leftanim a:link{
    text-decoration: none;
    color:white;
}
#leftanim a:visited{
    color:white;
    text-decoration: none;
}
#leftanim a:hover{
    color:white;
    text-decoration: none;
}
#leftanim a:active{
    color:white;
    text-decoration: none;
}

.creators {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: fixed;
    bottom: 1%;
    right: 1%;
    color:antiquewhite;
    transition: 0.2s;
    font-size: 1em;
    text-size-adjust: auto;
}

.artcreds {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: fixed;
    bottom: 1%;
    left: 1%;
    color:antiquewhite;
    transition: 0.2s;
    font-size: 1em;
    text-size-adjust: auto;
}

.other{
    font-size: 1.05em;
    font-weight: normal;
    margin-top: 6%;   
}

.selector {
    color:black;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 6px 10px;
    border: 1px solid #000000;
    border-radius: 5px;
    box-shadow: 1px 2px #dfddddde;
    background-color:rgb(255, 182, 193,0.63);
    font-size: 16px;
    width: 260px; /* Adjust width as needed */
    position:relative;
    top: 30px;
    left: -1.75%;
    line-height: 25px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-shadow: 0.5px 0.5px black;
    margin-right: 250px;
    margin-bottom: 20px;
    background-image: url('../images/arr.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 15px;
    background-position-x: 95%;
}
#difficulties.selector{
    top:30px;
    left: -13%;
    width: 260px;
    line-height: 25px;
}
#gamemode.selector{
    top:-30px;
    left: 49%;
    width: 260px;
    line-height: 25px;
}
.selector option{
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 550;
    background-color:thistle;
    border: 1px solid black;
}

.categories{
    position: relative;
    float: left;
    font-size: 1.2em;
    font-weight: 550;
    padding-top: 100px;
    padding-left: 5%;
}
.difficulties{
    position: relative;
    float: left;
    font-size: 1.2em;
    font-weight: 550;
    padding-top: 100px;
    padding-left: 20%;
}
.gamemodes{
    position: relative;
    float: left;
    font-size: 1.2em;
    font-weight: 550;
    padding-top: 100px;
    padding-left: 20%;
}
button {
    padding: 13px;
    width: 200px;
    border: 2px solid black;
    background-color:rgb(255, 182, 193,0.43);
    border-radius: 10px;
    font-weight: 350;
    color: black;
    font-size: 16pt;
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
    text-shadow: 0.5px 0.5px black;
}

button:hover {
    color: black;
    background-color: rgba(66, 191, 245, 0.24);
}
.buttons {
    display: flex;
    position: relative;
    align-items:center;
    justify-content: center;
    margin-top: 10%;
}
.normal-screen{
    box-shadow: 1px 2px #dfddddde;
    margin-top: -5%;
    left: 1%;
}
.loser-screen{
    box-shadow: 1px 2px #401b38;

}

.anime-pos {
    background-color: white;

    height: 100%;
    width: 50%;
    position: absolute;
    top: 0px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    
}

.anim0 {
    animation: anim0 ease 0.25s;
    left: -50%;
}

.anim1 {
    animation: anim1 ease 0.25s;
    left: 0%;
}

.anim2 {
    animation: anim2 ease 0.25s;
    left: 50%;    

}

#home-screen{
    font-family: 'Roboto Slab', serif;
    text-shadow: 1px 2px black;
    width: 1080px;
    margin: auto;
}

#game-screen{
    opacity:0;
    pointer-events: none;
    background: url('../images/bg2.jpg') no-repeat center center fixed;
}

body::-webkit-scrollbar{
    width: 0.31em;
    background-color: rgb(255, 0, 0,0.15);
}
body::-webkit-scrollbar-thumb {
    background-color: black;
    outline: 0.2px solid slategrey;
  }
  #HighScore, #Score {
      position: fixed;
      font-size: 1.2em;
  }
  
  #HighScore {
      bottom: 30px;
      left: 30px;
      z-index: 1;
  }
  
  #Score {
      bottom: 30px;
      right: 30px;
      z-index: 1;
  }
  
  .animeg{
    font-family: "Varela Round", sans-serif;
    height: 100%;
    width: 50%;
    position: fixed;
    z-index: 0;
    top: 0;
    overflow-x: hidden;
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    vertical-align: middle;
  }

  .leftist {
    left: 0;
    background:rgba(0, 0, 0, .65);
    background-size: 100% 100%;
    background-blend-mode: darken;
    border-right-style: double;
    border-right-color: black;
    border-right-width: 0.15em;
  }
  
  .rightist {
    right: 0;
    background:rgba(0, 0, 0, .65);
    background-size: 100% 100%;
    background-blend-mode: darken;
    border-left-style: double;
    border-left-color: black;
    border-left-width: 0.15em;
  }  

  .text-large {
    font-size: 2em;
    padding-top: 0.2em;
    margin-bottom: 0.1em;
}

.text-small {
    padding-top: 0.2em;
    font-size: 1.1em;
}
.text-med {
    padding-top: 0.2em;
    font-size: 0.95em;
}
.text-percentile{
    font-size: 1.1em;
    font-family: "Varela Round", sans-serif;
    padding-bottom: 1em;
    left: -5px;
}
.text-final {
    padding-top: 0.4em;
    padding-bottom: 0.5em;
    font-size: 2.95em;
    color: rgba(252,250,143,255);
}
.banners{
    position: relative;
    margin-top: 1.5%;
    margin-bottom: 4%;
    width: 30%;
    border-style: solid;
    border-width: 2px;
    border-color: black;
    transition: 0.2s;
    height: auto;
}
.banners:hover{
    transform: scale(1.05);
    filter: drop-shadow(0 0px 10px rgba(0, 0, 0, 0.5));
    cursor: pointer;

}

.first{
    right: 10px;

}
.second{
    
    left: 10px;
}
.scores {
    position: fixed;
    right: 5px;
    font-size: 6.9em;
}


.hscores {
    position: fixed;
    left: 5px;
    font-size: 6.9em;
}

.higher-btn, .lower-btn {
    font-family: "Varela Round", sans-serif;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    border-style: double;
    border-width: 100px;
    z-index:1000;
    text-shadow: #000000;
    transition: 0.2s;
}

.higher-btn:hover, .lower-btn:hover {
    color: black;
    text-shadow: none;
}


.higher-btn {
    border-style: double;
    border-radius: 15px;
    border-width: 0.1em;
    background-color: transparent;
    color: white;
    font-size: 1.1em;
    border-color: rgba(31, 167, 31, 0.514);
    background-color: rgba(39, 214, 39, 0.045);
}

.higher-btn:hover {
    background-color: white;
}
.black-text{
    font-family: "Varela Round", sans-serif;
    color: black;
    font-size: 18px;
}
.dot {
    height: 4em;
    width: 4em;
    background-color: white;
    border-radius: 50%;
    display: flex;
    z-index: 999;
    position:fixed;
    margin-right: -2em;
    right: 50%;
    top: 50%;
    justify-content: center;
    align-items: center;
    border-style: solid;
    border-color: black;
    border-width: 2px;
  }

.lower-btn {
    border-radius: 15px;
    border-style:solid;
    border-width: 0.1em;
    background-color: transparent;
    color: white;
    font-size: 1.1em;
    border-color: rgba(255, 0, 0, 0.507);
    background-color: rgba(255, 0, 0, 0.04);
}

.lower-btn:hover {
    background-color: white;
}

.shrink{
    transition-property: -moz-transform;
    transition-duration: 2s;
    animation-name: disappear;
    animation-duration: 2s;
}
.grow{
    transition-property: -moz-transform;
    transition-duration: 1.5s;
    animation-name: appear;
    animation-duration: 1.5s;
}

.lose-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
@keyframes fadeIn {
    0% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
}

@keyframes bump {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.25);
    }
    100% {
        transform: scale(1)
    }
}
.score-bump {
    animation: bump ease 0.5s;
}

@keyframes anim0 {
    0% {
        left: 0%;
    }
    100% {
        left: -50%;
    }
}

@keyframes anim1 {
    0% {
        left: 50%;
    }
    100% {
        left: 0%;
    }
}

@keyframes disappear {
    0% {
        scale: 1;
    }
    15% {
        scale: 1.15;
    }
    50% {
        scale: 0;
    }
    100%{
        scale: 0;

    }
}
@keyframes appear {
    0% {
        scale: 0;
    }
    20% {
        scale: 1.25;
    }
    50% {
        scale: 1;
    }
    100%{
        scale: 1;

    }
}

.ShareScreen{
    font-family: "Varela Round", sans-serif;
    /*display: flex; */
    position: absolute;
    width: '800%';
    height: '200%';
    background-color: rgba(0, 0, 0, 0.5);
    flex-direction: column;
    align-items: center;
    height: unset;
    z-index: 999;
    justify-content: center;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 0;
    border: 0;
    display: none;
    overflow-x:hidden;
}
.ShareScreenContent{
    position: absolute;
    overflow-y: auto;
    overflow-x:hidden;
    justify-content: space-evenly;
    width: 50vh;
    border-radius: 20px;
    background-color: rgb(48, 48, 48);
    padding: 1.5em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ShareScreenTitle{
    font-size: 2.5vh;
    margin-block: 0.2em;
    font-weight: 900;
    margin-top: 0;
    color: white;
    justify-content: center;
}
.ShareScreenText{
    margin-block: 0.5em;
    color: rgba(252,250,143,255);
    font-size: 1.5vh;
}

.sharing-btn{
    padding-top: 20px;
    padding: 13px;
    height: 45px;
    width: 150px;
    border: 2px solid black;
    background-color:rgb(255, 182, 193,0.43);
    border-radius: 10px;
    font-weight: 350;
    color: black;
    font-size: 16pt;
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
    text-shadow: 0.5px 0.5px black;
    display: flex;
    align-items: center;
    vertical-align: center;
    justify-content: center;
}

.lose-buttons{
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 0px;
}

@media only screen and (max-width: 600px){

    .dot {
        height: 3em;
        width: 3em;
        background-color: white;
        border-radius: 50%;
        display: flex;
        z-index: 999;
        position:fixed;
        margin-right: -1.5em;
        right: 50%;
        top: 50%;
        justify-content: center;
        align-items: center;
        border-style: solid;
        border-color: black;
        border-width: 2px;
      }

      .higher-btn, .lower-btn {
      width: 70%;
    }
.creators {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: fixed;
    bottom: 1%;
    right: 1%;
    color:antiquewhite;
    transition: 0.2s;
    font-size: 0.5em;
    text-size-adjust: auto;
}


.artcreds {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: fixed;
    bottom: 1%;
    left: 1%;
    color:antiquewhite;
    transition: 0.2s;
    font-size: 0.5em;
    text-size-adjust: auto;
}

  .text-large {
    font-size: 1.3em;
    padding-top: 0.2em;
    margin-bottom: 0.1em;
}

.lose-screen{
    display:flex;
    overflow:hidden;
}


.lose-content {
    overflow:hidden;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.banners{
    position: relative;
    margin-top: 8%;
    margin-bottom: 4%;
    width: 20%;
    border-style: solid;
    border-width: 2px;
    border-color: black;
    transition: 0.2s;
    height: auto;
}

}

@media only screen and (max-height: 500px){

.creators {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: fixed;
    bottom: 1%;
    right: 1%;
    color:antiquewhite;
    transition: 0.2s;
    font-size: 0.5em;
    text-size-adjust: auto;
}


.artcreds {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: fixed;
    bottom: 1%;
    left: 1%;
    color:antiquewhite;
    transition: 0.2s;
    font-size: 0.5em;
    text-size-adjust: auto;
}

  .text-large {
    font-size: 1.3em;
    padding-top: 0.2em;
    margin-bottom: 0.1em;
}


.lose-screen{
    display:flex;
    width:600px;
    overflow:hidden;
}


.lose-content {
    overflow:hidden;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.banners{
    position: relative;
    margin-top: 8%;
    margin-bottom: 4%;
    width: 23%;
    border-style: solid;
    border-width: 2px;
    border-color: black;
    transition: 0.2s;
    height: auto;
}
}


