* {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
}

@font-face {
     font-family: 'Poppins';
     src: url(./fonts/Poppins/Poppins-Regular.ttf);
}

@font-face {
     font-family: 'PoppinsBold';
     src: url(./fonts/Poppins/Poppins-Bold.ttf);
}

@font-face {
     font-family: 'Surfer';
     src: url(./fonts/Original_Surfer/OriginalSurfer-Regular.ttf);
}

@font-face {
     font-family: 'PressStart2P';
     src: url(./fonts/Press_Start_2P/PressStart2P-Regular.ttf);
}


html, body {
     background-color: #ffffff;
     color: #111;
     cursor: default;
}

.blur {
     position: fixed;
     width: 100vw;
     height: 100vh;
     z-index: 10000;
     backdrop-filter: blur(3px);
}

a {
     text-decoration: underline;
     cursor: pointer;
     font-size: inherit;
     color: #000;
     font-family: 'Poppins';
}

a:hover {
     color: rgb(84, 84, 84);
}

.background {
     position: fixed;
     width: 100vw;
     height: 100vh;
     background-image: linear-gradient( rgb(255, 255, 255), rgb(255, 255, 255), rgba(255, 255, 255, 0.881), rgba(0, 0, 0, 0),  rgba(0, 0, 0, 0)),  url("./images/confed-campus.png");
     background-position: 50% 84%;
     background-repeat: no-repeat;
     background-size: cover;
}

.game-start {
     width: 100vw;
     height: 100vh;
     text-align: center;
     position: fixed;
     display: block;
     z-index: 10000;
}

/* About+++++++++++++ */

.game-about {
     background: rgba(255, 255, 255, 0);
     box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
     backdrop-filter: blur(25px);
     transition: all .03s ease-in-out;
     width: 100vw;
     height: 100vh;
     text-align: center;
     position: fixed;
     display: none;
     opacity: 0;
     z-index: 10000;
}

.game-about h2 {
     width: 100vw;
     padding: 4vw 20vw 0 20vw;
     text-align: justify;
     display: block;
}

#title {
     font-size: 6.5vw;
     font-weight: 900;
     font-family: 'Surfer';
}

.game-title {
     font-size: 3vw;
     text-transform: uppercase;
     font-family: 'Surfer';
}

/* How to play+++++++++++++ */

.game-how-to {
     background: rgba(255, 255, 255, 0);
     border-radius: 16px;
     box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
     backdrop-filter: blur(25px);
     transition: all .03s ease-in-out;
     width: 100vw;
     height: 100vh;
     text-align: center;
     position: fixed;
     display: none;
     opacity: 0;
     z-index: 10000;
}

.instructions {
     display: flex;
     text-align: left;
}

.instructions div{
     width: 40%;
     padding: 3vw;
     text-align: justify;
}

.bin-container img {
     max-width: 500px;
}

.logo-container {
     display: flex;
     justify-content: space-around; 
     align-items: center; 
     padding: 10px 2px;
}

.logo-container img {
     max-width: 250px;
}

.start-button {
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
}

h1 {
     font-size: 2.5vw;
     font-family: 'Poppins';
}

h2 {
     font-size: 1.5vw;
     font-family: 'Poppins';
}

.button{
     position:relative;
     display:inline-block;
     margin:20px;
     cursor: pointer;
}

.button.yellow a{
     background-color: #ffe70c;
     text-shadow: -1px -1px rgb(0, 0, 0), 1px 1px rgb(255, 255, 255);
     color:rgb(36, 36, 35);
     font-family: 'PressStart2P';
     text-transform: uppercase;
     font-size:30pt;
     text-align: center;
     text-decoration:none;
     display:block;
     position:relative;
     padding: 15px 10px 10px 15px;
     border-radius: 20px;
     box-shadow:inset 0 3px 0 #ffffff, 0 10px 0 #a79100;
}

.button.yellow a:active{
     top: 12px;
     background-color:#ffe44d;
     box-shadow:inset 0 1px 0 #ffffff, inset 0 -3px 0 #735a00d3;
}

.button:after{
     content:"";
     height:100%;
     width:100%;
     padding:2px;
     position: absolute;
     bottom:-14px;
     left:-2px;
     z-index:-1;
     background-color:#2B1800;
     -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
     border-radius: 20px;
}

/* CURSOR ANIMATION */
.click-effect {
    width: 50px;
    height: 50px;
    background-color: black;
    border: none;
    border-radius: 50%;
    position: absolute;
    transition-duration: 200ms;
    transition-timing-function: ease-out;
    animation: click-effect 0.5s;
    pointer-events: none;
    z-index: 10000000000000000000;
}

.click-effect::after {
    content: "";
    width: 50px;
    height: 50px;
    position: absolute;
    background-color: white;
    border: none;
    border-radius: 50%;
    top: 0px;
    left: 0px;
    animation: click-effect-scale 0.5s;
}

@keyframes click-effect {
    from {
        opacity: 1;
        border-radius: 50%;
    }
    to {
        border-radius: 50%;
        opacity: 0;
    }
}

@keyframes click-effect-scale {
    from {
        transform: scale(0.1);
    }
    to {
        transform: scale(1);
    }
}


nav {
     position: absolute;
     z-index: 10000000000;
     right: 0;
     cursor: grab;
}

.nav-buttons {
     display: flex;
     opacity: 0;
     flex-direction: column;
     margin: 2rem;
}

#home {
     margin-bottom: .5rem;
}

#play,
#pause,
#home {
	width: 50px;
     padding: 8px;
     background-color: #ff490c;
     cursor: pointer;
     border-radius: 50%;
     box-shadow: 0 4px 30px rgba(0, 0, 0, 0.412);
     transition: all .1s ease-in-out;
}

#home:hover {
     background-color: #ff602b;
}

#play,
#pause:hover {
     background-color: #ff602b;
}

#play:hover,
#pause:hover {
	cursor: pointer;
}
#play {
	display: none;
}
#pause {
	display: block;
}

@media screen and (max-width: 680px) {
     #Campus-Sustainability-logo {
          max-width: 125px;
     }
     #Confederation-College-logo {
          max-width: 130px;
          margin: 0 40px;
     }
     #SDG-12-logo {
          max-width: 90px;
     }
     #title  {
          font-size: 65px;
          text-transform: uppercase;
          font-family: 'Surfer';
     }
     h1 {
          font-size: 25px;
          font-family: 'Poppins';
     }

     h2 {
          font-size: 16px;
          font-family: 'Poppins';
     }
     .button.yellow a{
          font-size:20pt;
     }
     .game-about h2 {
          font-size: 16px;
          padding: 4vw 10vw 0 10vw;
     }
     .instructions {
          display: flex;
          flex-direction: column;
          padding: 1rem;
     }
     
     .instructions div{
          width: 100%;
          text-align: justify;
     }
     .bin-container img {
          max-width: 250px;
     }
     nav {
          top: 55%;
     }
}