body {
    width: 100vw;
    color: #333;
    font-family: 'Neue Haas Unica', 'Helvetica', 'sans-serif';
}

@keyframes arrowAnimationDown {
    from {
        transform: rotateZ(90deg) translateX(30px);
    }

    to {
        transform: rotateZ(90deg) translateX(0);
    }
}

.intro-arrow-down {
    position: absolute;
    color: #00c0a3;
    font-size: 40px;
    font-weight: 600;
    height: fit-content;
    width: fit-content;
    width: rotateY(90deg);
    bottom: 35vh;
    left: 50%;
    animation: arrowAnimationDown 0.5s ease-in-out infinite alternate;
    /* arrowOpacity 5s ease-in-out 1 forwards; */
}


.content-img {
    opacity: 0;
    transition: opacity ease 1s;
    object-fit: cover;
    object-position: bottom;
    width: 100%;
    height: 70vh;
    position: absolute;
}

#img-cont {
    opacity: 0;
    transition: opacity 1s ease;
    width: 100%;
    height: 70vh;
    z-index: -1;
}

* {
    margin: 0;
    padding: 0;
}


#cont {
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
}

#cont.slide,
#cont.first-slide {
    flex-direction: column;
}

.text-cont {
    background-color: white;
    display: flex;
    flex-direction: column;
    padding: 1em;
    padding-bottom: 40px;
}
.text-cont p{
    font-size: 13px;
}

.slide .text-cont {
    min-height: 24vh;
    max-height: 50vh;
}

.first-slide .text-cont::after {
    height: 68px;
    width: 68px;
    content: " ";
    background: url(https://uploads-ssl.webflow.com/5e1b5c6919c05c76379535f9/5e345b75658aee911613f097_Logo.png);
    display: block;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 20px;
    bottom: 20px;
}

.first-slide #text-cont p {
    width: 85%;
    line-height: 120%;
    padding-bottom: 40px;
}


.slide p {
    max-width: 600px;
    min-width: 280px;
    line-height: 120%;
}

.first-slide #title {
    line-height: 85%;
    font-weight: 800;
    font-family: 'Prophet', 'Verdana', 'sans-serif';
    margin-left: 20px;
    margin-bottom: 10px;
    margin-right: 5%;
    min-width: 380px;
}

.first-slide #title {
    color: #333;
}

.first-slide #title,
.first-slide #title::after {
    display: block;
    font-size: 38px;
    margin-left: 0;
}

.first-slide #title::after {
    white-space: nowrap;
    margin-bottom: 16px;
    content: "Aerial View";
    color: #04c0a3;
}

.slide #title {
    width: 217px;
    margin: 1em 0;
}

#title {
    color: #04c0a3;
    font-size: 16px;
    font-weight: 800;
}

.legend {
    display: none;
}

#cursors-flex {
    display: none;
    opacity: 1;
    flex-direction: column;
    bottom: unset;
    left: unset;
    top: 20px;
}

/* .timeline::after {
    content: "";
    border: #04c0a3 1px solid;
    display: block;
    height: 0;
} */

.timeline.current {
    border-top-width: 10vh;
}

.timeline {
    width: 0;
    height: 10vh;
}


.cursor>span {
    background-color: white;
    padding: 5px 10px;
    text-align: right;
    font-weight: 600;
    max-width: 200px;
    width: max-content;
    white-space: unset;
    float: right;
    margin: -5px 50px;
    transition: all 1s ease-out;
}

.cursor>span:hover {
    color: #04c0a3;
}

.cursors {
    display: block;
    bottom: 0;
}


@media screen and (min-width: 550px) {
    .cursor>span {
        display: block;
    }

    .first-slide #title::after {
        display: inline;
    }
}

@media screen and (max-width: 390.99px) {
    .intro-arrow-down{
        bottom: 54vh;
    }
    
    .slide .content-img,
    .first-slide .content-img {
        height: 57vh;
    }

    .slide #img-cont {
        height: 40vh;
    }

    .slide .text-cont {
        height: 50vh;
    }

    .timeline {
        height: 6vh;
    }

    .timeline.current {
        border-top-width: 6vh;
        border-style: "solid";
    }

}

@media screen and (min-width: 391px) and (max-width: 500px) {
    .first-slide .content-img {
        height: 67vh;
    }
}

@media screen and (max-width: 500px) {
    .first-slide #text-cont p {
        width: unset;
    }

    .first-slide .text-cont::after {
        display: none;
    }


}

@media screen and (min-width: 800px) {
    .intro-arrow-down {
        bottom: 30px;
    }

    .first-slide .text-cont {
        height: 30vh;
        margin-right: 100px;
    }

    .text-cont {
        flex-direction: row;
    }
    
    #text-cont p {
        max-width: 550px;
        font-size: 16px;
        min-width: 280px;
        width: 67%;
        line-height: 150%;
    }

    .legend {
        display: block;
        flex-grow: 1;
        text-align: right;
        line-height: 13vh;
    }

    .legend img {
        height: 80px;
    }

    #cont.first-slide {
        flex-direction: column-reverse;
    }

    .first-slide #text-cont p {
        margin: auto;
        line-height: 150%;
    }

    .first-slide #text-cont {
        align-items: center;
    }



    .first-slide #title,
    .first-slide #title::after {
        display: block;
        font-size: 70px;
        letter-spacing: -3px;
        margin-top: 0;
    }

    .first-slide .text-cont::after {
        top: 20px;
    }

    .first-slide .legend {
        display: none;
    }

    .slide #title {
        width: 217px;
        margin: 0 2em;
    }
}