* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'montserrat';
    color: #FFF;
}

*::selection{
    background-color: #fff;
    color: #80d6f5;
}

html, body{
    height :100%;
    width: 100%;
}

#nav{
    height: 145px;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 150px;
    gap: 50px;
    justify-content: flex-start;
    position: fixed;
    z-index: 99;
}

#nav img{
    height: 75px;
}

#nav h4{
    text-transform: uppercase;
    font-weight: 800;
    transition: all ease 0.4s;
}

body::-webkit-scrollbar{
    display: block;
    width: 8px;
    background: linear-gradient(to right, #80d6f5,#000);
}
body::-webkit-scrollbar-thumb{
    background-color: #fff;
    border-radius: 50px;
}

#cursor{
    height: 20px;
    width: 20px;
    background-color: #80d6f5;
    border-radius: 50%;
    position: fixed;
    z-index: 99;

}

#cursor-blur{
    height: 400px;
    width: 400px;
    background-color: #96c11e2b;
    border-radius: 50%;
    position: fixed;
    filter: blur(40px);
    z-index: 9;
    transition: all linear 0.4s;
}

video{
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: fixed;
    z-index: -1;
}

#main {
    position: relative;
    background-color: rgba(0,0,0,0.37);
}

#page1{
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    z-index: 10;
}

#page1 h1{
    font-size: 90px;
    font-weight: 900;
    position: relative;
}

#page1 h1::before{
    content: "CHEMINEERS SOCIETY IITK";
    position: absolute;
    color: black;
    top: -6px;
    left: -6px;
    -webkit-text-stroke: 2px #5D5C61;
    z-index: -1;

}

#page1 h2{
    font-size: 25px;
    font-weight: 800;
    margin-top: 10px;
    margin-bottom: 20px;
}

#page1 p{
    font-size: 20px;
    font-weight: 500;
    width: 40%;

}

#page1 #arrow {
    height: 250px;
    width: 250px;
    background-color: transparent;
    border: 2px solid #80d6f5;
    position: absolute;
    display: flex;
    left: -2%;
    bottom: 0%;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all ease 0.5s;
}
#page1 #arrow i{
    font-size: 50px;
    font-weight: 100;
}
#page1 #arrow:hover{
    scale:0.4;
    background-color: #80d6f5;
}

#page2 {
    min-height: 100vh;
    width: 100%;
    z-index: 10;
}

#scroller {
  /* background-color: red; */
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  z-index: 10;
}
#scroller::-webkit-scrollbar {
  display: none;
}
#scroller-in {
  display: inline-block;
  white-space: nowrap;
  animation-name: scroll;
  animation-duration: 20s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

#scroller h4 {
  display: inline-block;
  font-size: 120px;
  font-weight: 900;
  font-family: gilroy;
  margin-right: 20px;
  transition: all linear 0.3s;
  color: #000;
  -webkit-text-stroke: 2px #ffffff;
}
#scroller h4:hover {
  color: #80d6f5;
  -webkit-text-stroke: 2px #80d6f5;
}

@keyframes scroll {
    from{
        transform: translateX(0);
    }
    to{
        transform: translate(-100%);
    }
}


#about-us {
    height: 40vh;
    width: 100%;
    display: flex;
    padding: 0 50px;
    align-items: center;
    justify-content: space-around;
    position: relative;
}

#about-us img{
    height: 220px;
    width: 220px;
    border-radius: 20px;
    object-fit: cover;
}

#about-us-in {
    width: 50%;
    text-align: center;
}

#about-us-in h3{
    font-size: 54px;
    font-weight: 800;
    margin-bottom: 40px;
}

#about-us-in p{
    font-style: 20px;
    line-height: 26px;
}

#cards-container{
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
    position: relative;
    z-index: 10;

}

.card{
    height: 80%;
    width: 24%;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: all ease 0.6s;
}

#card1{
    background-image: url("./Assets/blog.jpg");
}

#card2{
    background-image: url("./Assets/exergy.png");
}

#card3{
    background-image: url("./Assets/simutech.jpg");
}

.overlay{
    height: 100%;
    width: 100%;
    background-color: #80d6f5;
    /* padding: 30px;
    padding-top: 160px; */
    opacity: 0;
    transition: all ease 0.6s;
    text-align: center;
    padding-top: 15%;
}

.overlay h4{
    color: #000;
    font-size: 40px;
    text-transform: uppercase;
    white-space: nowrap;
    margin-bottom: 20px;
    font-weight: 800;
}
.overlay p{
    color: #000;
    font-size: 18px;
}

.card:hover{
    .overlay{
        opacity: 1;
    }
}
.card:hover{
    transform: rotate3d(1,1,0,20deg);
}

#green-div{
    height: 30vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to left bottom,#80d6f5,#29c1f8);
}
#green-div h4{
    width: 45%;
    line-height: 50px;
    color: #000;
    text-align: center;
    font-weight: 800;
    font-size: 27px;
    text-transform: uppercase;
}
#green-div img{
    height: 100%;
    object-fit: cover;
    width: 13%;
}

#page3 {
    height: 100vh;
    width: 100%;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#page3>p{
    font-size: 35px;
    font-weight: 700;
    width: 60%;
    line-height: 45px;
    text-align: center;
}

#page3 img{
    position: absolute;
    height: 60px;

}

#page3 #colon1{
    left: 15%;
    top: 25%;

}

#page3 #colon2{
    bottom: 30%;
    right: 15%;
}

#page4 {
    height: 30vh;
    width: 100%;
    /* background-color: red; */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
    position: relative;
}

.elem {
    height: 70%;
    width: 26%;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}

.elem h2{
    height: 100%;
    width: 100%;
    background-color: #80d6f5;
    display: flex;
    color: #000;
    font-weight: 800;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    position: absolute;
    z-index: 10;
    transition: all ease 0.5s;
}

.elem img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    scale:1.1;
    transition: all ease 0.5s;
}
.elem:hover h2{
    color: #000;
    background-color: transparent;
}
.elem:hover img{
    scale:1;
}

#page4 h1{
    font-size: 90px;
    position: absolute;
    top: -30%;
    font-weight: 800;
    color: black;
    -webkit-text-stroke: 1px #fff;
}

#footer {
    height: 40vh;
    width: 100%;
    background: linear-gradient(to right top, #80d6f5 0%, #29c1f8 80%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6.5vw;
    padding: 0 100px;
  }
  #footer > img {
    position: absolute;
    left: 0;
    height: 100%;
    z-index: 0;
  }
  #f1 img {
    height: 100px;
  }
  #f1,
  #f2,
  #f3,
  #f4 {
    width: fit-content;
    position: relative;
    z-index: 99;
    /* background-color: red; */
  }
  #f2 h3 {
    font-size: 1.6vw;
    white-space: nowrap;
    color: #000;
    font-weight: 900;
    margin-bottom: 8px;
  }
  
  #f3 h3 {
    font-size: 1.6vw;
    white-space: nowrap;
    color: #000;
    font-weight: 800;
    margin-bottom: 8px;
  }
  #f4 h4 {
    font-size: 1vw;
    white-space: nowrap;
    color: #000;
    font-weight: 600;
    line-height: 20px;
    margin-bottom: 8px;
  }