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

:root {
    --yellow: #fcae24;
    --dark-purple: #2F0A63;
    --grey: #66626C;
}

html {
    font-family: 'Lato', sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

p {
    line-height: 130%;
    letter-spacing: 0.03rem;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}


h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
}

h3 {
    font-weight: 900;
    color: var(--yellow);
    font-size: 2.8rem;
    line-height: 2.6rem;
}

section p {
    font-family: Lato, sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: #49444f;
}

.arw {
    margin-left: 0.3rem;
    width: 2.5rem;
    height: 0.7rem;
    transition: width 0.3s ease-out, margin-left 0.3s ease-out;
}

/* GORE SU PODESAVANJA IZ MAIN */

header {
    position: relative;
    background: url('../static/vectors/cover.svg');
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    height: 50vh;
    z-index: 3;
}

.cover {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    margin: 0 auto;
    width: 84%;
}

.cover h1 {
    max-width: 50vw;
    margin-top: 7vh;
    color: var(--yellow);
    font-size: 2.6rem;
    line-height: 2.7rem;
    cursor: default;
}

.cover p {
    color: white;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 500;
    margin-top: 1.5vh;
}

main {
    width: 100vw;
    height: auto;
    display: flex;
    flex-direction: column;
}

.text-div {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    max-width: 40vw;
}

.intro {
    height: 60vh;
    width: 100vw;
    display: flex;
}

.intro div {
    display: flex;
    flex-direction: column;
    align-self: flex-end;
    width: 56vw;
}

.intro .text-div {
    width: 36vw;
    margin-bottom: 2%;
}

.intro-img {
    position: relative;
    height: auto;
    width: 100%;
    z-index: 1;
}

.mid-section {
    height: 80vh;
    width: 100vw;
    padding: 0 8vw;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
    transform: translateY(-5vh);
    background: url('../static/vectors/about-mid.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    z-index: 3;
}

.mid-section .text-div {
    width: 36vw;
}

.mid-section p {
    color: white;
}

.text-div h3 {
    margin-bottom: 3vh;
}

.about-bottom {
    display: flex;
}

.about-details {
    margin-left: 8vw;
}

.img-wrap {
    align-self: flex-end;
    transform: translateY(10%);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: visible;
    justify-content: center;
    align-items: flex-end;
}

.about-pic {
    position: relative;
    height: 70vh;
    z-index: 3;
}

.about-pic-text {
    top: 6vh;
    right: 0;
    position: relative;
    font-family: Poppins, sans-serif;
    font-weight: 900;
    color: #DDDDDD;
    font-size: 6rem;
    line-height: 85%;
    animation: move1 linear;
    animation-timeline: view();
    z-index: 1;
}

@keyframes move1 {
    0% {
        right: 0;
    }
    100% {
        right: 8vw;
    }
}

.img-wrap img {
    width: 90%;
    z-index: 3;
}

@media (max-aspect-ratio: 13/10) and (orientation: landscape) {
    
    .about-bottom {
        flex-direction: column;
        align-items: center;
    }

    .img-wrap {
        align-self: center;
    }
}

@media (max-width: 1080px) and (orientation: landscape) {

    header {
        height: 60vh;
        width: 100vw;
    }

    h3, .cover h1 {
        font-size: 25px;
        line-height: 25px;
    }

    .cover p, section p {
        font-size: 13px;     
    }

    .intro {
        height: 100vh;
        min-height: content;
    }

    .mid-section {
        height: 110vh;
        min-height: fit-content;
        transform: translateY(-10vh);
    }
}

@media (orientation: portrait) {

    header {
        height: 50vh;
    }

    .cover h1 {
        align-self: center;
        margin-top: 4vh;
        text-align: center;
        font-size: 3rem;
        line-height: 3rem;
    }

    .cover p {
        width: 94%;
        text-align: center;
        margin: 1vh auto;
        font-size: 2rem;
    }

    .text-div {
        align-self: center;
        justify-self: center;
        height: auto;
        max-width: 90vw;
    }

    .intro {
        height: auto;
        flex-direction: column-reverse;
        justify-content: center;
    }

    .intro div {
        align-self: center;
        width: 100%;
    }

    .intro .text-div {
        width: 90vw;
        margin-bottom: 2%;
    }

    .text-div h3 {
        align-self: center;
        text-align: center;
    }

    .text-div p {
        font-size: 1.8rem;
    }

    .mid-section {
        height: auto;
        flex-direction: column;


        width: 100vw;
        padding: 12vh 0;
        display: flex;
        position: relative;
        align-items: center;
        justify-content: space-between;
        transform: translateY(-5vh);
        background: url('../static/vectors/about-mid.svg');
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        overflow: hidden;
        z-index: 3;
    }

    .mid-section .text-div {
        width: 90vw;
    }

    .mission {
        margin-bottom: 8vh;
    }

    .about-bottom {
        flex-direction: column;
    }

    .about-details {
        margin-left: 0;
    }

    .img-wrap {
        align-self: center;
        transform: translateY(5%);
        align-items: flex-end;
    }

    .about-pic {
        position: relative;
        height: auto;
    }

    .img-wrap img {
        width: 100%;
    }
}










