*,
*::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:#f1f1f1;
    --clr2:#292929;
    --clr3:#292929;
    --clr4:rgba(33,42,53,0.9);
    --input:white;
}

html{
    scroll-behavior: smooth;
}


body{
    min-height: 100vh;
    font:1.2rem 'Open Sans', Arial, sans-serif;
    color: var(--clr3);
}

a{
    text-decoration: none;
    cursor: pointer;
}


nav a:hover{
    filter: invert(0.5);
}

header {
    background: #fff;
    width: 100%;
    z-index: 10;
    box-shadow: 0 -2px 4px 5px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
}

.innerWrap{
    max-width: 89.5rem;
    margin: 0 auto;
    position: relative;
    
}

.inner {
    max-width: 89.5rem;
     height: 8.5rem;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
   
}

.inner .logo{
    max-width: 12rem;
}

nav{
    display: flex;
    align-items: center;
    gap: 2.5rem;
    position: relative;
}

nav a{
    font-size: 1.5em;
    text-transform: uppercase;
    color: #000;
}

nav a img{
    width: 2.4rem;
    height: 2.4rem;
    object-fit: cover;
}

.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;

}

.smallScreen-action a{
    display: inline-block;
    padding: 8px 19px;
    border-radius: 5px;
    text-align: center;
    background: rgba(0,0,0,0.05);
    color: rgba(0,0,0,0.5);
    transition: all 0.2s ease-in-out;
}

.smallScreen-action a:hover{
    background-color: #000;
    color: white;
    filter: none;
}

main{
    width: 100%;
    margin-bottom: 0.5rem;
    box-shadow: 0 -2px 4px 5px rgba(0,0,0,0.1);
}

#hero{
     background-color: var(--clr1);
     position: relative;
}



#hero h2 {
    font-size: 3.54em;
    line-height: 1.5em;
    font-weight: 300;
    text-align: center;
    letter-spacing: 0.03rem;
}

.heroInner{
    max-width: 89.5rem;
    margin: 0 auto;
    padding-top: 15.2rem;
    
}

#hero p {
    font-size: 2.5em;
    font-weight: 300;
    text-align: center;
    letter-spacing: 0.04rem;
}

.sketch {
    background-image: linear-gradient(to bottom,rgba(255,255,255,0.5),rgba(255,255,255,0.2),rgba(255,255,255,0.5)), url('images/mainImg.jpg');
    width: 100%;
    background-size:cover;
    background-position: top center;
    background-repeat:no-repeat;
    height: 100vh;
    position: relative;
    z-index: 1;
    margin-top: 5rem;
}

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(--clr1);
    width: 100%;
    height: 42rem;
    padding-top: 2rem;
    position: relative;
}

#team p{
    max-width: 883px;
    font-size: 1.5em;
    line-height: 1.5;
    margin: 0 auto;
    margin-bottom: 5rem;
    position: relative;
}

#whatWeDo{
    background-color: var(--clr1);
    width: 100%;        
    padding-bottom: 5rem;
}

#whatWeDo .innerWrap{
    max-width: 99rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.whatWeDo-content{
    display: flex;
    gap: 5rem;
    font-size: 1.8rem;
}

.whatWeDo-image{
    width: 50%;
}

.whatWeDo-content:nth-child(3){
    margin-top: 2rem;
}

.whatWeDo-content:nth-child(3) .whatWeDo-image{
    order: 2;
}


.whatWeDo-content p{
    width: 50%;
}

.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(--clr1);
    padding: 5rem 0;
    
}

#contactUs .innerWrap{
    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(--clr2);
    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(--clr2);
}


footer{
    max-width: 89.5rem;
    margin: 0 auto;
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 50px 0;
    overflow: hidden;
}

footer .innerWrap{
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
}

footer img{
    height: 5rem;
}

.footer-content{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

footer p{
    font-size: 1.8rem;
    font-weight: 600;
}

footer h2{
    color: inherit;
    font-size: 24px;
    font-weight: 600;
    font-weight: normal;
    text-transform: uppercase;
    text-decoration: none;
}

.innerWrap p{
    color: var(--clr3);
}

.linkCon{
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
}

.linkCon a{
    text-decoration: underline;
    color: rgba(0,0,0,0.3);
    font-size: 1.2rem;
    font-weight: 600;
    
}

.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,footer,header{
        padding-left: 5%;
        padding-right: 5%;
    }

    .footer-content{
        gap:0;
    }


}

@media only screen and (max-width: 920px) {

    header{
        box-shadow: none;
    }

    h1,#contactUs h2{
        color: inherit;
        font-size: 2.6rem;
        padding: 2rem 0;
    }

    form button{
        --clr2:var(--clr3);
    }

    #contactUs h2{
        padding: 0;
    }

    #team{
        height: max-content;
    }

    #team p{
        margin-bottom: 0;
    }

    #hero h2{
        font-size: 2.5em;
    }

    #hero p{
        font-size: 1.5em;
    }

    .sketch{
        height: 33rem;
        background-size: cover;
    }

   /* header .inner{
    justify-content: center;
    padding-top: 1rem;
    flex-direction: column;
   } */


   /* .smallScreen{
    display: flex;
   } */

   nav a{
        font-size: 1.25em;
   }
  

   main{
    margin-bottom: 0;
    box-shadow: none;
    }


    #team img{
        display: none;
    }
}

@media only screen and (max-width: 800px) {
    .whatWeDo-content{
        flex-direction: column;
    }

    .whatWeDo-image,.whatWeDo-content p {
        width: 100%;
    }

    .whatWeDo-content:nth-child(3),.whatWeDo-content:last-child p{
        margin-top: 0;
    }

    .whatWeDo-content{
        gap: 2rem;
    }
   

   
}



@media only screen and (max-width: 650px) {

    .gameSingle p{
        top: -3.5rem;
    }

   .stores{
        top: 70%;
        margin-top: 0;
   }

   #gameDetails{
    margin-top: 5rem;
    gap: 6rem;
   }

   #team{
        height: max-content;
    }

    #team .innerWrap{
        padding-bottom: 3rem;
    }


    footer img{
        height: 3.5rem;
    }

    footer p{
        font-size: 1.2rem;
    }

    nav a{
        font-size: 1.1em;
   }

   .inner .logo{
    max-width: 10rem;
   }

   nav{
    gap: 1.25rem;
   }

   #hero p{
    font-size: 1.6rem;
   }

   
}

@media only screen and (max-width: 420px) {
     nav a{
        font-size: 0.8em;
   }

   .inner .logo{
    max-width: 8rem;
   }

   nav{
    gap: 1rem;
   }

  

   footer .innerWrap{
    padding: 0 2.5rem;
   }

   footer{
    height: max-content;
    padding: 3rem 0;
   }



   #hero p{
    font-size: 1.3rem;
    margin-top: 0.5rem;
   }
}


@media only screen and (max-width: 360px) {
     nav a{
        font-size: 0.7em;
   }

   #hero p{
    font-size: 1.3rem;
   }

   
   footer p{
    font-size: 0.95rem;
   }

   footer .innerWrap{
    gap: 1rem;
   }

   #hero p{
    font-size: 1rem;
   }

   #hero h2{
    font-size: 2em;
   }
}