/* Full Screen */

/* pertaining to the background */
body {
    background-color: rgb(77, 73, 73);
}
/* pertaining to the header */


header {
    background-color: rgb(20, 3, 3);
    width: 100%;
}
.opener {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
}
.title {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 60%;
}

.title img {
    max-width: 95%;
}
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 10%;
    margin-top: 1%;
    margin-bottom: 1%;
    margin-left: 1%;
}
.logo img{
    max-width: 100%;
}


nav {
    margin-top: 3%;
    margin-bottom: auto;
    margin-right: 3%;
}

.menu {
    background-color: rgb(204, 198, 198);
    color: white;
    font-size: 1.5rem;
    border-radius: 10px;
    padding: 11px 25px;
    width: 100px;
    text-align: center;
    display: inline-block;
    position: relative; 
    z-index: 99;  
}

.menu a {
    color: rgb(8, 8, 8);
    text-decoration: none;
}
.dropdown {
    display: none;
    position: absolute;
    padding-top: 20px;
    margin-left: -25px;
    z-index: 99;
}
.menu:hover .dropdown {
    display: block;

}
.dropdown .menu {
    margin-top: 10px;
  
}
.menu:hover {
    background-color: rgb(198, 238, 180);
    transition-duration: 0.5s;
    text-decoration: none;
}


/* pertaining to the main */


main {
    background-color: rgb(77, 73, 73);
    width: 100%;
}
.lead {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}
.lead img {
    max-width: 80%;
    margin-top: 20px;
}

.slide-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
}
.slider {
    height: 100%;
    margin: auto;
    position: relative;
    width: 100%;
    overflow: hidden;
    display: grid;
    place-items: center;
}
.slide-track {
    display: flex;
    width: calc(250px * 38);
    animation: scroll 30s linear infinite; 
}
.slide-track:hover {
    animation-play-state: paused;
}
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 19));
    }
}
.slide {
    max-height: 200px;
    width: 250px;
    display: flex;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
    perspective: 100px;
}
.slider img {
    height: 100%;
    transition: transform 1s;
}
.slider img:hover {
    transform: translateZ(20px);
}
.slider::before,
.slider::after {
    background:-moz-linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    content: '';
    height: 100%;
    position:absolute;
    width: 15%;
    z-index: 2;
}
.slider::before {
    left: 0;
    top: 0;
    transform: rotateZ(180deg);
}


.please {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
.please img {
    display: flex;
    flex-direction: column;
    max-width: 80%;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}
.please1 {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
.please1 img {
    max-width: 80%;
    display: flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    padding-top: 25px;
}
.container2 {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;

}
.unga-bunga {
    width: 40%;
}
.family-games {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.family-games img {
    max-width: 80%;
}
.mean-streets {
    width: 40%;
}
.adult-games {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
.mean-streets img {
    max-width: 80%;
}

.adventure {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
}
.adventure img {
    max-width: 80%;
}
.adventure a {
    display: flex;
    flex-direction: column;
    align-items: center;
}



/* Pertaining to the Footer */



footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.social-media {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 75%;
    margin-top: 50px;
}
.social-media img {
    width: 100%;
}

.legal {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 60%;
    margin-top: 50px;
    margin-bottom: 50px;
    font-size: 1rem;
}


/* Surface 7 pro sideways */



@media (max-width: 1368px) {

    .menu {
        width: 90px;
        font-size: 1.4rem;
    }

}





/* Nest Hub Max*/



@media (max-width: 1280px) {

    .menu {
        width: 80px;
        font-size: 1.3rem;
    }
}









/* ipad air sideways */



@media (max-width: 1180px) {

.menu {
    width: 70px;
    font-size: 1.2rem;
}
    
}










/* Nest Hub and ipad mini sideways */



@media (max-width: 1024px) {
    .menu {
        width: 60px;
        font-size: 1.1rem;
    }
    .social-media img {
        width: 85%;
    }
    
}









/* Samsung Galaxy A51/71 Sideways and Surface Pro7 and Samsung Galaxy S20 Ultra */





@media (max-width: 915px) {
    .menu {
        width: 50px;
        font-size: 1rem;
    }

}






/* Nest Hub Max Sideways */



@media (max-width: 800px) {
    .menu {
        width: 40px;
        font-size: 0.9rem;
    }
    .slide {
        max-height: 150px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .social-media img {
        width: 75%;
    }
}






/* Surface Duo Sideways */



@media (max-width: 720px) {
    .menu {
        width: 30px;
        font-size: 0.7rem;
    }
    .lead img {
        width: 95%;
    }
    .unga-bunga-logo img {
        margin-top: 10px;
    }
    .unga-bunga-link img {
        margin-top: 30px;
    }

}








/* iphone SE Sideways */




@media (max-width: 667px) {

}










/* Galaxy Fold Sideways */



@media (max-width: 653px) {




}


/* Nest Hub Sideways*/



@media (max-width: 600px) {

}










/* Surface Duo */



@media (max-width: 540px) {
    header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .opener {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 90%;
    }
    nav {display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        }
    .menu {
        width: 80%;
        font-size: 1.5rem;
    }

    .logo {
        margin-top: 10px;
        max-width: 50%;
    }
    .logo img {
        margin-left: auto;
        margin-right: auto;
    }
    .container2 {
        flex-direction: column;
    }
    .hidemobile {
        display: none;
    }
    nav .menu  {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .menu:hover .dropdown {
        width: 80%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin-top: 20px;
        margin-left: 8px;
    
    }
    .slide {
        max-height: 100px;
        padding-left: 0px;
        padding-right: 0px;
    }
    .unga-bunga {
        width: 75%;
    }
    .mean-streets {
        width: 75%;
    }
    .adult-games img {
        margin-top: 50px;
    }
    .legal {
        font-size: .5rem;
    }

}









/* Unknown */



@media (max-width: 480px) {

    .menu {
        font-size: 1.4rem;
    }

}








/* iphone XR */



@media (max-width: 414px) {

    .menu {
        font-size: 1.3rem;
    }
}






/* Samsung Galaxy S8+ */



@media (max-width: 360px) {

    .menu {
        font-size: 1.2rem;
    }
}






/* Galaxy Fold  */



@media (max-width: 280px)  {

    .menu {
        font-size: 1.1rem;
    }
}
