@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
:root {
    --blue: rgb(0, 176, 240);
  }
* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  box-sizing: border-box;
  text-decoration: none;
}

body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}
.color-blue{
    color: var(--blue);
}
nav{
    width: 100vw;
    height: 80px;
    background-color: rgb(52, 58, 64);
}
nav img{
    height: 100%;
}
.s1-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 600px;
}
.s1-left h2{
    color: var(--blue);
}
.s1-left{
    width: 60%;
    margin: auto;
}
.s1-right{
    width: 70%;
    margin: auto;
}
.s1-right img{
    width: 100%;
}
.section-2{
}
.s2-top{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 3rem;
    padding: 20px;
    padding-left: 80px;
    margin-bottom: 70px;
}
.s2-top-card{
    width: 280px;
}
.s2-gif-container{
    width: 85vw;
    margin: auto;
}
.s2-gif-container img{
    width: 100%;
}
.section-3{
    padding-top: 100px;
}
.s3-top-content{
    display: grid;
    grid-template-columns: .8fr 1fr;
    margin-bottom: 100px;
}
.s3-top-left{
    position: relative;
    width: 70%;
    margin: auto;

}
.s3-top-left img:nth-child(1){
    position: relative;
    z-index: 5;
}
.s3-top-left img:nth-child(2){
    position: absolute;
    left: 24px;
    top: 26px;
    width: 316px;
}
.s3-top-right{
    width: 90%;
}
ol{
    padding-left: 15px;
}
.s3-bottom-content{
    display: grid;
    grid-template-columns: 1fr .8fr;
    margin-bottom: 100px;
}
.s3-bottom-left{
    width: 80%;
    margin: auto;

}
.s3-bottom-right{
    position: relative;
    width: 70%;
    margin: auto;

}
.s3-bottom-right img:nth-child(1){
    position: relative;
    width: 200px;
    z-index: 5;
}
.s3-bottom-right img:nth-child(2){
    position: absolute;
    left: 11px;
    top: 23px;
    width: 163px;
}
.section-4{
    margin-bottom: 50px;
}
.s4-contents{
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100vw;
}
.section-4 h1{
    margin-left: 100px;
    margin-bottom: 20px;
}
.s4-left{
    display: flex;
    align-items: center;
    justify-content: center;
}
.s4-left img{
    width: 70%;
}
.s4-right{
    display: flex;
    align-items: center;
    justify-content: center;
}
.s4-right img{
    width: 60%;
    transform: translateX(-60px);
}
.section-5{
    margin-bottom: 50px;
}
.section-5 h1{
    color: white;
    background-color: black;   
    width: fit-content;
    padding: 2px 15px;
    margin-left: 100px;
    margin-bottom: 20px;
}
.s5-contents{
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100vw;
}
.s5-left{
    display: flex;
    align-items: center;
    justify-content: center;
}
.s5-left img{
    width: 80%;
}
.s5-right{
    display: flex;
    align-items: center;
    justify-content: center;
}
.s5-right img{
    width: 60%;
    transform: translateX(-60px);
}
.section-6 h1{
    color: white;
    background-color: black;   
    width: fit-content;
    padding: 2px 15px;
    margin-left: 100px;
}
.section-3 h1{
    color: white;
    background-color: black;   
    width: fit-content;
    padding: 2px 15px;
    margin-left: 100px;
    margin-bottom: 70px;
}

.section-6 h3{  
    width: fit-content;
    padding: 2px 15px;
    margin-left: 100px;
    border: 1px solid black;
    margin-top: 5px;
    margin-bottom: 50px;
}
.s6-content-img{
    width: 100vw;
    text-align: center;
}
.s6-content-img img{
    width: 90%;
    
}
.s6-bottom-right{
    color: white;
    background-color: black;   
    width: fit-content;
    padding: 2px 15px;
    position: absolute;
    right:0;
}
.section-7 h1{
    color: white;
    background-color: black;   
    width: fit-content;
    padding: 2px 15px;
    margin-left: 100px;
    margin-bottom: 70px;
    margin-top: 100px;
}
.s7-content-img{
    width: 100vw;
    margin-bottom: 50px;
}
.s7-content-img img{
    width: 90%;
    margin-left: 50px;
}.ad-gallery {
    height: 95vh;
    width: 100vw;
    background-color: rgb(0, 161, 229);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.ad-gallery h1 {
    padding: 30px 0;
}

.ad-gallery-container {
    display: grid;
    grid-template-columns: 270px 270px 270px;
}

.gallery-card-container {
    height: 170px;
    width: 270px;
    overflow: hidden;
}

.gallery-card {
    transition: all 500ms ease;
}

.gallery-card p {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-weight: lighter;
    font-size: small;
    padding-left: 10px;
    height: 35px;
    background-color: white;
    color: black;
    transform: translateY(-7px);
}

.gallery-card-container:hover .gallery-card {
    transform: translateY(-34px);
}

.gallery-card img {
    height: 172px;
    width: 270px;
    object-fit: fill;
}