@font-face {
    font-family: nb;
    src: url(./NBInternationalProBoo.ttf);
}

@font-face {
    font-family: rejoy;
    src: url(./Rejouice-Headline.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: nb;
}

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

#loader {
    height: 100vh;
    width: 100%;
    background-color: #000;
    top: 0;
    position: fixed;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    gap: 10px;
}

#loader h3 {
    font-size: 2vw;
    font-weight: 100;
}

#page1 {
    height: 100vh;
    width: 100%;
    position: relative;
}

#cursor {
    height: 8vw;
    width: 8vw;
    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: 800;
}

#page1 video {
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;
}

#page1-content {
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 2;
    color: #fff;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;

}

nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3vw 3vw;

}

nav h3 {
    font-size: 1.8vw;
    font-weight: 100;
}

nav h4 {
    font-size: 1.5vw;
    font-weight: 100;
}

#page1-content h1 {
    font-family: rejoy;
    font-size: 27vw;
    font-weight: 200;
    line-height: 27vw;
}

#page1-content h1 span {
    font-family: rejoy;
    font-weight: 500;
    display: inline-block;
}

#page2 {
    height: 100vh;
    width: 100%;
    background-color: #fefcf1;
    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 {
    font-size: 1.7vw;
    font-weight: 500;
    width: 26%;
}

#page2-top h4 {
    font-size: 2.7vh;
    font-weight: 500;
}

.elem h1 span {
    overflow: hidden;
    display: inline-block;
}

.elem h1 {
    font-size: 4.2vw;
    font-weight: 500;
    line-height: 4.2vw;
}

#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 h4 span {
    font-size: 0.7vw;
    background-color: black;
    color: white;
    padding: 3px 10px;
    border-radius: 8px;
}

#page3-top h2 {
    font-size: 4vw;
    font-weight: 500;
}

#page3-elements {
    height: 70vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8vw;

}

#page3-elements .box {
    height: 100%;
    width: 33%;
    position: relative;
}

#page3-elements .box video {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

#page3-elements .box img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s ease-in;
    object-position: center;
}

#page3-elements .box:hover img {
    opacity: 0;
}

#page4 {
    height: 70vh;
    width: 100%;
    background-color: #fefcf1;
    position: relative;
    padding: 5vw 2.8vw;
}

#page4-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 1.2vw;
    margin-bottom: 1vw;
    border-bottom: 1px solid #00000069;
}

#page4-top h3 {
    font-size: 1.7vw;
    font-weight: 500;
    width: 35%;
    /* background-color: red; */
}

.elem-2 h1 span {
    overflow: hidden;
    display: inline-block;
}

.elem-2 h1 {
    /* background-color: blue; */
    font-size: 4.2vw;
    font-weight: 500;
    line-height: 4.2vw;
}

#page5 {
    height: 100vh;
    width: 100%;
    padding: 4vw 0;
    position: relative;
}

#page5 h1 {
    font-size: 10vw;
    font-family: rejoy;
    font-weight: 100;
    border-bottom: 1px solid black;
    width: 96%;
    margin-left: 2%;
}

#swiperdiv {
    height: 60vh;
    width: 100%;
    margin-top: -11%;
}

.swiper {
    width: 130%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
}

.swiper-slide img {
    display: block;
    width: 19%;
    object-fit: cover;
}

.swiper {
    margin-left: auto;
    margin-right: auto;
}