* {
    margin: 0;
    padding: 0;
}

#windowSize {
    position: fixed;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 4px;
}

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

#intro-wrapper {
    position: absolute;
    top: 0;
    display: flex;
    width: 100vw;
    transition: opacity 2s ease;
    pointer-events: all;
}

.intro-wrapper {
    height: 94vh;
}


.intro-header-wrapper {
    background-color: white;
    padding: 20px;
    padding-bottom: 40px;
}


#intro-title {
    flex-grow: 1;
    letter-spacing: -2px;
    font-weight: 800;
    font-family: 'Prophet', 'Helvetica', 'sans-serif';
    min-width: 380px;
    margin-bottom: 10px;
    line-height: 85%;
}


#intro-logo {
    flex-grow: 1;
    text-align: right;
}

.intro-logo-img {
    display: none;
    width: 68px;
    padding-bottom: 68px;
}

#intro-img {
    object-fit: cover;
    flex-shrink: 1;
}


#GND-title {
    color: #333;
}

#GC-title {
    color: #00c0a3;
}

.intro-title div {
    display: block;
    white-space: nowrap;
}

.intro-text {
    display: inline-flex;
    font-size: 13px;
    line-height: 100%;
    padding-bottom: 40px;
}

#pin1 {
    width: 100%;
    height: 100%;
    position: fixed;
}

.main-slides {
    height: 100vh;
    transition: opacity 2s ease;
    opacity: 0;
    background-color: white;
    pointer-events: none;
}

.slides {
    transition: opacity 2s ease;
    background-color: white;
    display: flex;
    top: 0;
    left: 0;
    position: absolute;
    width: 100vw;
    height: 100vh;
}

.main-slides-image-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 33vh;
}

.tooltip {
    position: absolute;
    top: 40%;
    background-color: rgba(255, 255, 255, .85);
    color: #333;
    font-size: 20px;
    padding: 8px 16px;
}

.portraits {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.main-slides-header {
    display: none;
    align-items: center;
}

.header-line {
    flex-grow: 1;
    border: 1px solid #333;
    height: 0;

}

.header-text {
    margin: 20px;
}

#text .title {
    margin: 1em 0;
    color: #00c0a3;
    font-weight: 800;
    line-height: 110%;
}


.text {
    background-color: white;
    line-height: 1.4;
    margin: 0 14px;
}

.text p {
    line-height: 120%;
}

#hidden-img {
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

/* START MEDIA */

/* @media screen and (max-width: 390px) { */
.intro-title {
    font-size: 38px;
}

.slides {
    flex-direction: column-reverse;
    justify-content: flex-end;
}


@keyframes arrowAnimation {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-30px);
    }
}

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

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

@keyframes arrowOpacity {
    0% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.intro-arrow-right {
    position: fixed;
    right: 20px;
    top: 20px;
    color: #00c0a3;
    font-size: 35px;
    font-weight: 600;
    animation: arrowAnimation 0.5s ease-in-out infinite alternate,
        arrowOpacity 5s ease-in-out 1 forwards;
}

.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; */
}

.intro-img-wrapper {
    overflow-x: scroll;
    overflow-y: hidden;
    height: 100%;
}

.intro-img {
    height: 100%;
    min-width: 100%;
}

.intro-wrapper {
    flex-direction: column-reverse;
}

.intro-logo-img {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding-bottom: 0;
}

.main-slides-image {
    height: 67vh;
}

.text {
    font-size: 13px;
}

/* }     */
@media screen and (max-width: 950px) {
    .cursors {
        top: 20px;
    }

}

@media screen and (min-width: 591px) and (max-width: 950px) {
    .intro-wrapper {
        height: 100vh;
    }

    .intro-text {
        font-size: 16px;
        margin-right: 100px;
    }

    .text {
        font-size: 16px;
    }

    .intro-logo-img {
        display: block;
    }

    .intro-arrow-down {
        bottom: 38vh;
    }

    .main-slides-image-wrapper {
        left: 0;
        right: 0;
        top: 0;
        bottom: 25vh;
    }

    .main-slides-image {
        height: 75vh;
    }
}

@media screen and (max-width: 390.99px) {
    .intro-arrow-down {
        bottom: 53vh;
    }

    .main-slides-image {
        height: 57vh;
    }

    .main-slides-image-wrapper {
        bottom: 43vh;
    }

    .text p {
        height: fit-content;
        overflow: scroll;
    }


}

@media screen and (min-width: 391px) and (max-width: 950px) {
    .intro-title {
        font-size: 48px;
    }
}

@media screen and (min-width: 951px) {
    .intro-wrapper {
        height: 100vh;
    }

    .intro-arrow-down {
        bottom: 30px;
    }

    .cursors-flex {
        right: 67vw;
    }

    .main-slides-image-wrapper {
        left: 43vw;
        right: 0;
        top: 0;
        bottom: 0;
    }

    .cursor>span {
        /* display: block; */
        transform: translate(5px, -44px) rotate(-30deg);
    }

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

    .slides {
        flex-direction: row;
    }

    .main-slides-header {
        display: flex;
    }

    .main-slides-image {
        width: 67vw;
        height: 100vh;
    }

    .tooltip {
        font-size: 25px;
    }

    .main-slides-text {
        display: flex;
        flex-direction: column;
    }

    #main-slides-text {
        padding-bottom: 100px;
        width: 33vw;
    }

    .intro-wrapper {
        flex-direction: column;
    }

    .intro-arrow-right {
        display: none;
    }

    .intro-img-wrapper {
        overflow: hidden;
        height: 80vh;
        width: 100vw;
    }

    .intro-img {
        width: 100%;
    }

    .intro-header-wrapper {
        padding-bottom: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .intro-title div {
        display: block;
    }

    .intro-title {
        font-size: 70px;
        margin-right: 80px;
        letter-spacing: -3px;
    }

    .intro-text {
        margin-right: 68px;
        max-width: 600px;
        width: 33vw;
        min-width: 280px;
        line-height: 150%;
        font-size: 16px;
    }

    .intro-logo-img {
        display: block;
        position: absolute;
        top: 20px;
    }

    .text {
        padding: 3%;
        font-size: 20px;
        width: 90%;
        max-width: 400px;
        margin: auto;
    }
}