@font-face {
    font-family: sans-serif;
    src: url(./ppmori.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Sans-serif;
    color: #fff;
}


img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

.text-div h1:last-child {
    display: none;
}


html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    background-color: #000000;
    overflow-x: hidden;
}

#purple {
    height: 100vh;
    width: 100vw;
    top: 0;
    position: fixed;
    z-index: 100;
    background-color: #EDBFFF;
    opacity: 0;
    display: none;
    transition: opacity ease 1s;

}

.cursor {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    position: fixed;
    background-color: #EDBFFF;
    z-index: 8;
    transition: background-image ease 0.5s;
    background-position: center;
    background-size: cover;
    mix-blend-mode: difference;
}

.main {
    background-color: #000000;
    cursor: none;
}

.page1 {
    min-height: 60vh;
    width: 100%;
    position: relative;
    z-index: 9;
    padding-top: 12vw;
}


#nav {
    height: 55px;
    width: 100%;
    /* background-color: red; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    position: fixed;
    mix-blend-mode: difference;
    z-index: 102;
}

#nav img {
    height: 27px;
}

#nav-part2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

#nav #circle {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background-color: #fff;
}

#nav h4 {
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
}

#nav h4:nth-child(1) {
    border-bottom: 1.5px solid #fff;
}

.page1 h1 {
    font-size: 8vw;
    font-weight: 300;
    font-family: Sans-serif;
    margin-left: 6vw;
    transform-origin: left;
}

.page1 h2 {
    font-size: 8vw;
    font-weight: 300;
    font-family: Sans-serif;
    transform-origin: left;
    margin-left: 26vw;
}

.page1 video {
    width: 100%;
    margin-top: 10vw;
    position: relative;
    left: 50%;
    object-fit: cover;
    display: block;
    background-color: #000000;
    mix-blend-mode: lighten;
    transform: translate(-50%, 0);
    transition: transform 0.3s ease;
}

.page2 {
    min-height: 120vh;
    width: 100%;
    padding: 100px 5vw;
    border-bottom: 2px solid #6c6c6c;
    position: relative;
    z-index: 9;
}

.page2 h1 {
    font-size: 7.5vw;
    font-weight: 500;
    color: #111;

}

.page2-container {
    height: 80vh;
    width: 100%;
    /* background-color: red; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* padding: 0 5vw; */
}

.page2-left {
    /* background-color: blue; */
    width: 30%;
}

.page2-right {
    /* background-color: blue; */
    width: 30%;
}

.page2-left h2 {
    font-size: 4vw;
    font-weight: 200;
    color: #111;
    margin-top: 30px;
    line-height: 4vw;
}

.page2-right p {
    font-size: 30px;
    color: #111;
    margin-top: 30px;
    margin-right: 80px;
}

.page2-right button {
    width: 80%;
    border-radius: 50px;
    border: none;
    padding: 4px 0;
    background-color: #EDBFFF;
    color: #111;
    margin-top: 20px;
    margin-right: 20px;
}

button:focus {
    outline: 3px solid #000000;
    outline-offset: 2px;
}

.page3 {
    min-height: 100vh;
    width: 100%;
    padding-top: 100px;
    position: relative;
    z-index: 9;
}

.page3 h1 {
    font-size: 6.8vw;
    font-weight: 300;
    color: #fff;
    margin-left: 100px;
}

.page3-part1 {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

}

.page3-part1 img {
    height: 400px;
    margin-top: 160px;
}

.page3-part1 video {
    height: 400px;
    margin-top: 40px;
}

.page4 {
    min-height: 100vh;
    width: 100%;
    z-index: 9;
    position: relative;
    padding: 170px 100px;
}

.elem1 {
    /* background-color: salmon; */
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.elem1 img {
    position: absolute;
    opacity: 0;
    transition: all ease-out 0.5s;
    transform: translateY(10%) rotate(2deg);
}

.elem1 img:nth-child(1) {
    left: -5%;
}

.elem1 img:nth-child(3) {
    right: -5%;
}

.elem2 {
    /* background-color: salmon; */
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.elem2 img {
    position: absolute;
    opacity: 0;
    transition: all ease-out 0.5s;
    transform: translateY(10%) rotate(2deg);
}

.elem2 img:nth-child(1) {
    left: -5%;
}

.elem2 img:nth-child(3) {
    right: -5%;
}

.elem3 {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.elem3 img {
    position: absolute;
    opacity: 0;
    transition: all ease-out 0.5s;
    transform: translateY(10%) rotate(2deg);
}

.elem3 img:nth-child(1) {
    left: -5%;
}

.elem3 img:nth-child(3) {
    right: -5%;
}

.text-div {
    height: 16vh;
    position: relative;
    z-index: 9;
    overflow: hidden;
}

.elem1 h1 {
    font-size: 7vw;
    font-weight: 400;
    /* scroll krne vala effect ek ko upr kro niche vhi text dikhega */
    transition: all ease-out 0.5s;
}

.elem1:hover h1 {
    /* rotate the text in y axis below style */
    transform: translateY(-100%);
    color: #EDBFFF;
}

.elem1:hover img {
    /* hiding images by using below style */
    opacity: 1;
    transform: translateY(0%) rotate(0deg);

}

.elem2 h1 {
    font-size: 7vw;
    font-weight: 400;
    /* scroll krne vala effect ek ko upr kro niche vhi text dikhega */
    transition: all ease-out 0.5s;
}

.elem2:hover h1 {
    /* rotate the text in y axis below style */
    transform: translateY(-100%);
    color: #EDBFFF;
}

.elem2:hover img {
    /* hiding images by using below style */
    opacity: 1;
    transform: translateY(0%) rotate(0deg);

}

.elem3 h1 {
    font-size: 7vw;
    font-weight: 400;
    /* scroll krne vala effect ek ko upr kro niche vhi text dikhega */
    transition: all ease-out 0.5s;
}

.elem3:hover h1 {
    /* rotate the text in y axis below style */
    transform: translateY(-100%);
    color: #EDBFFF;
}

.elem3:hover img {
    /* hiding images by using below style */
    opacity: 1;
    transform: translateY(0%) rotate(0deg);

}

.elem1 img,
.elem2 img,
.elem3 img {
    width: 400px;
    height: 300px;
}


.page5 {
    min-height: 100vh;
    width: 100%;
    position: relative;
    z-index: 9;
    padding: 140px 100px;
}

.page5 h2 {
    font-size: 4vw;
    color: #EDBFFF;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 50px;
}

.page5 span {
    font-size: 4vw;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 50px;
}

.box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #999;
    padding: 25px 0;
    font-family: "Helvetica Neue", sans-serif;
    font-size: 1.2rem;
    color: white;
}

.box:last-child {
    border-bottom: 1px solid #999;
}


footer {
    width: 100%;
    height: 100px;
    padding: 60px;
    background-color: #000000;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


footer h1 {
    font-size: 60px;
    font-weight: 400;
    color: #EDBFFF;
    margin-left: 80px;
    margin-top: -20px;
    text-align: left;
}

/* Circular Button */
#btn {
    height: 100px;
    width: 100px;
    font-size: 14px;
    color: #111;
    background-color: #EDBFFF;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    margin-top: -20px;
    margin-right: 100px;
}

@media (max-width: 1280px) {
    .page2-container {
        flex-direction: column;
        gap: 40px;
    }

    .page2-left,
    .page2-right {
        width: 100%;
    }

    .page2-right p,
    .page2-left h2 {
        font-size: 4.5vw;
        line-height: 1.3;
        margin-right: 0;
    }
}

@media (max-width: 1024px) {

    .page1 h1,
    .page1 h2,
    .page3 h1,
    .elem1 h1,
    .elem2 h1,
    .elem3 h1,
    .page5 h2,
    .page5 span,
    footer h1 {
        font-size: 6.5vw;
    }

    #nav {
        flex-direction: column;
        height: auto;
        padding: 10px;
        gap: 10px;
    }

    #nav-part2 {
        flex-direction: row;
        gap: 8px;
    }

    .page3-part1 {
        flex-direction: column;
        align-items: center;
    }

    .page3-part1 img,
    .page3-part1 video {
        width: 80%;
        height: auto;
    }

    .elem1 img,
    .elem2 img,
    .elem3 img {
        width: 220px;
        height: auto;
    }

    footer {
        flex-direction: row;
        text-align: center;
        height: auto;
        padding: 20px 20px;
        gap: 20px;
    }

    #btn {
        margin: 0 auto;
    }

    .page1 h1,
    .page1 h2 {
        font-size: 8vw;
        line-height: 1.2;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .page1 {
        padding-top: 20vw;
    }

    .page1 h1,
    .page1 h2 {
        font-size: 9vw;
        margin-left: 0;
        text-align: center;
    }

    .page2-right p {
        font-size: 4.5vw;
        margin-right: 0;
        text-align: center;
    }

    .box {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 10px;
    }

    footer h1 {
        font-size: 6vw;
        margin: 0;
    }

    #btn {
        width: 90px;
        height: 90px;
        font-size: 12px;
        margin: 20px 0 0 0;
    }
}
