@font-face {
    font-family: pp;
    src: url(assets/fonts/Urbanist-Regular.ttf);
}

@font-face {
    font-family: gilroy;
    src: url(assets/fonts/Gilroy-Light.otf);
}

@font-face {
    font-family: pp-bold;
    src: url(assets/fonts/pp-bold.ttf);
}

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

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

body::-webkit-scrollbar {
    display: none;
}

.main {
    width: 100%;
    height: 100%;
}

.animation-page {
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: absolute;
    z-index: 999;
    display: flex;
    color: white;
    background: black;
}

.timeline {
    position: relative;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    display: flex;
}

.timeline .card {
    height: 450px;
    width: 350px;
    position: absolute;
}

.timeline .card1 {
    z-index: 4;
}

.timeline .card2 {
    z-index: 3;
}

.timeline .card3 {
    z-index: 2;
}

.timeline .card4 {
    z-index: 1;
}

.timeline .card #img1 {
    z-index: 99;
}

.timeline .card #img2 {
    z-index: 98;
}

.timeline .card #img3 {
    z-index: 97;
}

.timeline .card #img4 {
    z-index: 96;
}

.animation-page h1 {
    position: absolute;
    bottom: 16%;
    z-index: 55;
    font-size: 4rem;
}

.timeline .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

p {
    position: absolute;
    bottom: 5%;
    text-align: center;
    margin-top: 1.5rem;
    overflow: hidden;
    width: 30%;
}

.main-page {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.main-page video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.main-page .overlay {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    mix-blend-mode: screen;
    background-color: rgb(255, 255, 255);
    z-index: 1;
}

.main-page nav {
    width: 100%;
    height: 40px;
    justify-content: space-between;
    padding: 0 1rem;
    align-items: center;
    border-bottom: 1.3px solid black;
    background-color: rgb(255, 255, 255);
    display: flex;
    z-index: 2;
    position: relative;
}

.main-page .overlay a {
    font-weight: 600;
    font-family: pp;
    color: black;
    text-decoration: none;
}

.main-page .text {
    flex-direction: column;
    margin-bottom: 1rem;
    height: 94.5%;
    align-items: center;
    font-family: pp;
    width: 100%;
    display: flex;
    z-index: 2;
}

.main-page .text .one {
    font-size: .4rem;
    height: 10rem;
    width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
}

.main-page .text .two,
.main-page .text .three,
.main-page .text .four {
    font-size: 4rem;
    height: 17rem;
    width: 100%;
    justify-content: center;
    border-bottom: 3px solid rgba(0, 0, 0, 0.285);
    align-items: center;
    display: flex;
}

.main-page .text .four {
    justify-content: space-between;
}

.main-page .text .one {
    border-bottom: 3px solid rgba(0, 0, 0, 0.285);
}

.main-page .text .one h1 {
    font-size: 1.2rem;
    color: black;
}

.main-page .text .four button {
    background: transparent;
    cursor: pointer;
    border: 1px solid black;
    font-weight: 900;
    font-family: gilroy;
    border-radius: 1rem;
    padding: .5rem 1rem;
}

.main-page .text .four button:active {
    scale: .95;
}

.main-page .text .two h1,
.main-page .text .three h1,
.main-page .text .four h1 {
    background: transparent;
    font-family: pp-bold;
    color: black;
}

.main-page .text .four {
    border-bottom: 0px;
}

@media (max-width:600px) {
    .animation-page .card {
        height: 250px;
        width: 200px;
    }

    .animation-page h1 {
        bottom: 25%;
        font-size: 2.5rem;
    }

    .animation-page p {
        text-align: center;
        width: 70%;
        bottom: 7%;
    }

    .main-page .overlay nav a {
        font-size: .5rem;
    }

    .main-page .overlay .text h1 {
        font-size: 4rem;
    }

    .main-page .overlay .text .one h1 {
        font-size: 1rem;
    }

    .main-page .overlay .text .four {
        flex-direction: column;
        font-size: 4rem;
    }

}

@media (max-width:350px) {
    .animation-page .card {
        height: 300px;
        width: 250px;
    }
}