@font-face {
    font-family: sin;
    src: url('./assets/SuisseIntl-Regular.ttf');
}
@font-face {
    font-family: sinl;
    src: url('./assets/SuisseIntl-Light.ttf');
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sin;
}

html, body{
    width: 100%;
    height: 100%; 
}

#page1{
    height: 100vh;
    width: 100%;
    background-color: #dadada;
    position: relative;
}

#cursor{
    height: 7.5vw;
    width: 7.5vw;
    background-color: #ff5f38;
    border-radius: 50%;
    position: fixed;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
}

#cursor h5{
    font-size: 1.2vw;
    font-weight: 500;
}

#page1 video{
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;
}

#page1-content{
    height: 100%;
    width: 100%;
    position: relative;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

nav{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2vw 3vw;
}

nav h3{
    font-size: 1.4vw;
    font-weight: 100;
}

nav h3{
    font-size: 1.4vw;
}

#page1-content h1{
    font-size: 24vw;
    font-weight: 100;
    line-height: 27vw;
}

#page1-content h1 span{
    display: inline-block;
}

/* #page2{
    background-color: white;
    width: 100%;
    height: 100vh;
} */

#page2{
  height: 100vh;
  width: 100%;
  position: relative;
  padding: 5vw 2.8vw;
}

#page2-top{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 1.2vw;
  margin-bottom: 1vw;
  border-bottom: 1px solid #00000092;
}

#page2-top h3,
#page2-top h4,
#page4-top h3,
#page4-top h4{
  font-size: 1.7vw;
  font-weight: 500;
}

.page2 .elem{
    transform: translateY(50px);
    margin: 0 5px;
    overflow: hidden;
    line-height: 2vh;
}

.text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    align-items: center;
    justify-content: baseline;
}

.elem h1 {
    font-size: 3.5vw;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

#page3{
    min-height: 100vh;
    width: 100%;
    position: relative;
    padding: 3vw;
}

#page3-top{
    text-align: center;
}

#page3-top h4{
    margin-bottom: 1vw;
    font-size: 1vw;
    font-weight: 500;
}

#page3-top h2{
    font-size: 4vw;
    font-weight: 500;
}

#page3-top h4 span{
    font-size: 0.7vw;
    background-color: black;
    color: white;
    padding: 4px 10px;
    border-radius: 10px;
}

#page3-elements{
    height: 75vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8vw;
    /* background-color: red; */
}

#page3-elements #box{
    height: 100%;
    width: 32.5%;
    background-color: blue;
    position: relative;
}

#page3-elements #box video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#page3-elements #box img{
    width: 100%;
    height: 100%;
    position: absolute;
    object-position: center;
    transition: all linear 0.8s;
}

#page3-elements #box:hover img{
    opacity: 0;
}

#page5 {
    min-height: 100vh;
    width: 100%;
    position: relative;
  }
  
  #page5-video {
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  #page5 video {
    height: 150%;
    object-fit: cover;
  }
  
  #page5 .cursor {
    background-color: var(--clr-black);
    color: var(--clr-white);
  }
  
  #page5 svg {
    position: absolute;
    height: 80%;
  }
  
  #page5-content {
    color: var(--clr-white);
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  #page5-content h2 {
    font-size: 4vw;
  }

  #page5 .cursor {
    width: 7.5vw;
    height: 7.5vw;
    border-radius: 100vmax;
    background-color: rgb(37, 37, 37);

    display: flex;
    align-items: center;
    justify-content: center;
  
    position: fixed;
    transform: translate(-50%, -50%);
    z-index: 9;
  }
  
  #page5 .cursor h5 {
    font-size: 1.15vw;
    font-weight: 500;
    color: white;
  }

  #page6 {
    height: 100vh;
    width: 100%;
    padding: 4vw 0;
    position: relative;
  }

  #page6 h1{
    font-size: 8vw;
    font-family: sin;
    font-weight: 100;
    border-bottom: 1px solid black;
    width: 96%;
    margin-left: 2%;
  }

  #swiperdiv{
    height: 60vh;
    width: 100%;
    /* background-color: red; */
    position: relative;
    margin-top: -4%;
  }

  .swiper {
    width: 130%;
    height: 100%;
  }

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #ffff;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
    width: 400px;
  }

  .swiper-slide img {
    display: block;
    width: 19%;

    object-fit: cover;
  }

#loader{
    height: 100%;
    width: 100%;
    position: absolute;
    /* inset: 0; */
    top: 0;
    background-color: black;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    gap: 10px;

}

#loader h3{
    font-size: 2vw;
    font-weight: 100;
}