html, body {
    margin: 0px;
}

@font-face {
    font-family: poppins;
    src: url(./game1/font/Poppins-SemiBold.ttf);
  }

@font-face {
    font-family: lucky;
    src: url(./game1/font/LuckiestGuy-Regular.ttf);
}

#container{
    max-width: 1020px;
    margin: 0 auto;
}

#siteHeader {
    height: 70px;
    /* background-image: linear-gradient(#ba3241, #df3c4e); */
    background-color: #d63031;
    display: flex;
    align-items: center;
    padding-left: 5vw;
    z-index: 1;
    font-family: lucky;
    letter-spacing: .2rem;
    font-size: 25px;
    color: rgb(234, 234, 234);
}

.headerLogo{
    width: 50px;
    margin-right: 15px;
    margin-bottom: 5px;;
}
#sliderImg{
    height: 450px;
    width: 100%;
    background-image: url(./game1/img/sliderImg.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.sliderContent{
    background-color: #30336b;
    opacity: 0.75;
    width: 70%;
    height: 100%;
    clip-path: polygon(0 0, 90% 0, 70% 100%, 0% 100%);
    position: relative;
}

.sliderText{
    position: absolute;
    margin-left: 100px;
}

.sliderTextP{
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 27px;
}

.playNowBttn{
    padding: 15px;
    border-radius: 5px;
    border: none;
    font-size: 20px;
    width: 150px;
    transition-duration: 0.5s;
    background-color: #f18c17;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.playNowBttn:hover{
    background-color: #f0a754;
    cursor: pointer;
    scale: 1.1;
    transition-duration: 0.5s;
}

.levelTitle{
    border-bottom: 1px solid black;
    padding: 10px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 40px;
    width: 100%;
}

.levelDescript{
    display:none;
}

/* ! GAME BOXES */
#gameBoxes{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    /* display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
    margin-bottom: 100px;
    width: 100%;
}

.boxImage1{
    background-image: url(./game1/img/thumbnail1.png);
    background-position: center;
    background-size: cover;
    height: 200px;
    border: 2px black solid;
    border-radius: 8px;
    transition-duration: 0.5s;
}
.boxImage1:hover{
    opacity: 0.8;
    background-color: white;
    transition-duration: 0.5s;
}

.gameBox{
    width: 20%;
    height: 100px;
    margin-bottom: 200px;
}

.boxImage{
    height: 100px;
}

.boxText{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 20px;
}

footer{
    background-color: #111;
    height: 80px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: rgb(217, 217, 217);
    padding-left: 40px;
    padding-right: 40px;
    bottom: 0px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}


/* MEDIA QUERIES */

@media only screen and (max-width: 500px) {

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

    /* #bodyTag {
        max-width: 100%;
      } */

    #siteHeader{
        max-width: 100%;
    }

    #container{
        max-width: 100%;
        width: 100vw;
        padding: 10px;
        margin: 0;
        overflow-x: hidden;
    }

    #sliderImg{
        display: none;
    }

    .sliderContent{
        background-color: #30336b;
        opacity: 0.75;
        width: 60%;
        height: 100%;
        clip-path: polygon(0 0, 90% 0, 70% 100%, 0% 100%);
        position: relative;
    }


    .sliderTextP{
        display: none;
    }
    .levelTitle{
        border-bottom: 1px solid black;
        width: 300px;
        padding: 10px;
        margin-bottom: 15px;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        font-size: 40px;
    }
    .levelDescript{
        display: block;
        padding: 10px;
        margin-bottom: 15px;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        font-size: 20px;

    }
    .boxText{
        text-align: center;
        padding: 10px;
    }

    #gameBoxes{
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        /* border: 1px solid black; */
        margin-bottom: 100px;
    }

    .noBox{
        display: none;
    }
    .gameBox{
        width: 350px;
        height: 100px;
        margin-bottom: 200px;
    }

    footer{
        position: absolute;
        bottom: 0px;
        padding-left: 10px;
        padding-right: 10px;
        width: 100%;
    }
}