*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

*:focus {
  background-color: transparent;
  outline: none;
}

:root{
    font-size: 62.5%;
    --clr1:#f7f7f7;
    --clr2:#f7f7f7;
    --clr3:#292929;
    --clr4:rgba(33,42,53,0.9);
    --bg2:#5a4b4a;
     --bg3:#393b43;
    --input:#f7f7f7;
}

html{
    scroll-behavior: smooth;
}


body{
    min-height: 100vh;
    font:1.2rem 'Poppins', sans-serif;
    color: var(--clr3);
}

a{
    text-decoration: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}



header a:not(.navLogo):hover{
    filter: invert(0.5);
}

header {
    background: #fff;
    width: 100%;
      position: fixed;
      top: 0;
      left: 0;
    z-index: 10;
    transition: all 0.3s ease-in-out;
}

.innerWrap{
    max-width: 89.5rem;
    margin: 0 auto;
    position: relative;
}

.inner {
    max-width: 89.5rem;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    height: 8.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
   
}



.inner .logo{
    max-width: 15rem;
}

nav{
    display: flex;
    align-items: center;
    gap: 2.5rem;
    top: 0;
    left: 0;
}

nav a{
    font-size: 1.2em;
    color: #000;
}

nav a img{
    width: 2.4rem;
    height: 2.4rem;
    object-fit: cover;
}

img.logo:last-of-type,.nav-bg img.logo:first-of-type{
    display: none;
}

.nav-bg img.logo:last-of-type{
    display: block;
}

/* .nav-bg .smallScreen p{
    color: rgba(255,255,255,0.5);
} */

/* .smallScreen{
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-bottom: 2rem;
}

.smallScreen h3{
    font-size: 1.8rem;
    font-weight: bold;
}

.smallScreen p{
    line-height: 1.2rem;
    font-size: 1rem;
    color: rgba(0,0,0,0.5);
    font-family: inherit;
    font-weight: normal;
}

.smallScreen-action {
    display: flex;
    gap: 1rem;

} */

/* .nav-bg .smallScreen-action a{
    --smallBg:rgba(255,255,255,0.05);
    --smallTxt:rgba(255,255,255,0.5);
    --smallHoverBg:white;
    --smallHoverTxt:#000;
}

.smallScreen-action a{
    --smallBg:rgba(0,0,0,0.05);
    --smallTxt:rgba(0,0,0,0.5);
    --smallHoverBg:#000;
    --smallHoverTxt:white;
    display: inline-block;
    padding: 8px 19px;
    border-radius: 5px;
    text-align: center;
    background: var(--smallBg);
    color: var(--smallTxt);
    transition: all 0.2s ease-in-out;
} */
/* 
.smallScreen-action a:hover{
    background-color: var(--smallHoverBg);
    color: var(--smallHoverTxt);
    filter: none!important ;
} */

main{
    width: 100%;
    padding-top: 5rem;
    box-shadow: 0 -2px 4px 5px rgba(0,0,0,0.1);
}









.sketch {
    background: url('images/sketch.jpg') no-repeat center center;
    width: 100%;
    background-size: contain;
    height: 38rem;
    position: relative;
    z-index: 1;
}

h1{
    font-size: 4em;
    font-weight: 600;
    color: var(--clr2);
    text-transform: uppercase;
    text-align: center;
    padding: 65px 0 40px;
}




#team .innerWrap{
    height: 100%;
   
}






#team{
    background:var(--clr3);
    color: white;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#team p{
    max-width: 883px;
    font-size: 1.5em;
    line-height: 2;
    margin: 0 auto;
    margin-bottom: 5rem;
    position: relative;

}

#whatWeDo{
    background-color: var(--bg2);
    width: 100%;        
    padding-bottom: 5rem;
    padding-top: 5rem;
    color: white;
}

#whatWeDo .innerWrap{
    max-width: 99rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.whatWeDo-content{
    display: flex;
    gap: 5rem;
    font-size: 1.8rem;
}

.whatWeDo-content p{
    line-height: 2;
}

.whatWeDo-image{
    width: 50%;
}


.whatWeDo-content:nth-child(3){
    margin-top: 2rem;
}

.whatWeDo-content:nth-child(3) .whatWeDo-image{
    order: 2;
}

#hero{
    background-color: white;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#hero .innerWrap{
    display: flex;
    gap: 4rem;
    justify-content: space-between;
}

.hero-content{
    width: 50%;
    color: #000;
    display: flex;
    flex-direction: column;
    gap: 2rem;
   justify-content: center;
}

.hero-content button{
    width: max-content;
    padding: 1rem 2rem;
    font-size: 1.5rem;
    border-radius: 0.5rem;
    border:1px solid var(--clr3);
    background-color: white;
    outline: none;
    font-weight: 500;
    transition: all 0.1s ease-in-out;
    cursor: pointer;
}

.hero-content button:hover{
    background-color: black;
    color: white;
}

.hero-content h2{
    font-size: 3.5rem;
    font-weight: 600;
}

.hero-content p{
    font-size: 2rem;
    line-height: 2;
    text-transform: capitalize;
}

.hero-image{
    width: 50%;
   
}

.hero-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
     -webkit-mask-image: url(images/mask.png);
  mask-image: url(images/mask.png);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;   
  -webkit-mask-size: contain;
  mask-size: contain;
  aspect-ratio: 1.2;
}


.whatWeDo-content img{
    width: 100%;
    border-radius: 0.2rem;
    object-fit: cover;
    border-radius: 0.5rem;
}

.whatWeDo-placeholder{
     width: 50%;
     display: none;
}

.whatWeDo-content:last-child p{
    width: 100%;
    margin-top: 1rem;
}


#contactUs{
    background-color: var(--bg3);
    min-height: 100vh;
    display: flex;
}

#contactUs .innerWrap{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: max-content;
}

#contactUs h2{
        font-size: 3em;
    font-weight: 600;
    color: var(--clr2);
    text-transform: uppercase;
    text-align: center;
}

form{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-direction: column;
    margin-top: 5rem;
    width: clamp(25rem,40%,40rem);
}

form input,form textarea{
    font-family:montserrat,sans-serif;
    width: 100%;
    padding: 1rem;
     font-size: 1.8rem;
     color: #6f6e6e;
     border: none;
     outline: none;
     background-color: var(--input);
     border-radius: 0.5rem;
}

form input::placeholder,form textarea::placeholder{
    color: #bbb;
}

form input:focus,form textarea:focus{
    background-color: var(--input);
}

form textarea{
    resize: none;
    min-height: 10rem;
}

form button{
    padding: 1rem 2rem ;
    color: white;
    background-color: var(--clr3);
    border: none;
    outline: none;
    border-radius: 0.2rem;
    font-size: 2rem;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

form button:hover{
    background-color: white;
    color: var(--clr3);
}

footer{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    overflow: hidden;
    background-color: #000;
    color: white;
}

footer .innerWrap{
    display: flex;
    width: 100%;
    gap: 2rem;
    max-width: 89.5rem;
    margin: 0;
    align-items: center;
}

footer img{
    height: 6rem;
}

.footer-content{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
}

footer p{
    font-size: 1.8rem;
   font-weight: bold;
}

footer h2{
    color: inherit;
    font-size: 24px;
    font-weight: 600;
    font-weight: normal;
    text-transform: uppercase;
    text-decoration: none;
}


.nav-bg {
  background-color: var(--clr3);
  color: white; /* Replace with your desired background color */
}

.nav-bg.bg2{
    background-color: var(--bg2);
}

.nav-bg.bg3{
    background-color: var(--bg3);
}

.nav-bg a{
    color: white;
}


.animate-section.animate-section-visible {
  opacity: 1;
  animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


@media only screen and (max-width: 1000px) {
    #whatWeDo,#team,#hero,footer,header{
        padding-left: 5%;
        padding-right: 5%;
    }

    .footer-content{
        gap: 0;
    }

}

@media only screen and (max-width: 920px) {

    header{
        box-shadow: none;
    }

    h1{
        color: inherit;
        font-size: 2.6rem;
        padding: 2rem 0;
    }

    #contactUs h2{
        color: white;
        font-size: 2.6rem;
        padding: 0;
    }

    #team{
        min-height: max-content;
        height: max-content;
        padding: 5vw;
    }

    #team p{
        margin-bottom: 0;
    }


   
    
     .hero-content p{
        font-size: 1.8rem;
    }
  

   main{
    margin-bottom: 0;
    box-shadow: none;
    }

   

    #team img{
        display: none;
    }


    footer img{
        height: 6rem;
    }
}

@media only screen and (max-width: 800px) {
    .whatWeDo-content{
        flex-direction: column;
    }

    .whatWeDo-image,.whatWeDo-content p {
        width: 100%;
    }

     footer img{
        height: 4rem;
    }
    
}


@media only screen and (max-width: 680px) {

    .inner .logo{
    max-width: 10rem;
   }

    nav a{
        font-size: 1em;
    }

    #hero{
        min-height: max-content;
        padding:2rem 5%;
    }

    #hero .innerWrap{
        flex-direction: column;
        justify-content: flex-end;
        padding-top: 5rem;
        align-items: center;
    }

    .hero-content h2,.hero-content button{
        display: none;
    }

    .hero-content{
        width: 100%;
    }

    footer p{
        font-size: 1.3rem;
        
    }

    .gameSingle p{
        top: -3.5rem;
    }

   .stores{
        top: 70%;
        margin-top: 0;
   }

   #gameDetails{
    margin-top: 5rem;
    gap: 6rem;
   }

   

    #team .innerWrap{
        padding-bottom: 3rem;
    }
    

    #contactUs{
        min-height: max-content;
        padding:10rem 0;
    }

    
    
}

@media only screen and (max-width: 540px) {
    #hero p{
        font-size: 1.5rem;
    }

    footer img{
        height: 2.8rem;
    }

}



@media only screen and (max-width: 450px) {

     #hero p{
        font-size: 1.8rem;
    }

    

    nav a{
        font-size: 0.8em;
    }

    nav{
        gap: 1.5rem;
    }


   

    footer img{
        height: 2rem;
   }

   footer h2{
    font-size: 1.5rem;
   }

   footer .innerWrap{
    gap: 1rem;
    padding: 0 5%;
   }

   footer{
    height: max-content;
    padding: 3rem 0;
   }


   footer p{
    font-size: 1rem;
   }

   .footer-content{
    padding-left: 0.5rem;
   }

   
 
}


@media only screen and (max-width: 353px) {

    nav{
        gap: 1.2rem;
    }

    footer p{
    font-size: 0.95rem;
   }

   footer img{
    height: 1.8rem;
   }

    .inner .logo{
    max-width: 8rem;
   }

   nav a{
    font-size: 0.7em;
   }
}

@media only screen and (max-width: 300px) {
     #hero p{
        font-size: 1.5rem;
    }
}