* {
    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;
}

header {
    background: url('../static/vectors/main-top.svg');
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    height: 105vh;
}

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

/* MENI JE U DRUGOM CSS FAJLU */

.hero {
    display: flex;
}

.hero-content {
    height: 80vh;
    margin: 2vh auto 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-image: url('../static/main-pics/hero.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100vh;
    overflow: visible;
    z-index: 2;
}

.hero-left {
    margin: 0 12vw 10vh 0;
}

.hero-right {
    margin: 0 0 10vh 12vw;
}

.hero-left, .hero-right {
    display: flex;
    flex-direction: column;
    opacity: 0.4;
    transition: color 0.6s ease-out, opacity 0.6s ease-out;
}

.hero-content div:hover {
    opacity: 1;
    transition: color 0.6s ease-out, opacity 0.6s ease-out;
}

.hero-text {
    color: white;
    font-size: 3.8rem;
    line-height: 3.6rem;
    text-shadow: 0 0 1rem rgba(0, 0, 0, 0.25);
    transition: color 0.6s ease;
    cursor: default;
}

.hero-content div:hover .hero-text {
    color: var(--yellow);
    transition: color 0.6s ease-out, opacity 0.6s ease-out;
}

.hero-text-left {
    text-align: end;
}

.hero-btn {
    margin-top: 8vh;
    align-self: center;
}

.hero-btn button {
    background-color: white;
    padding: 2.2vh 3vw;
    color: var(--dark-purple);
    font-size: 1.1rem;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    letter-spacing: 0.03rem;
    border: none;
    border-radius: 0.6rem;
    transition: letter-spacing 250ms ease-out, background-color 0.6s ease, opacity 0.6s ease;
}

.hero-content div:hover .hero-btn button {
    background-color: var(--yellow);
    transition: letter-spacing 250ms ease-in, background-color 0.6s ease, opacity 0.6s ease;
}

.hero-btn button:hover {
    letter-spacing: 0.05rem;
    transition: letter-spacing 250ms ease-in;
    cursor: pointer;
}

.hero span {
    display: block;
}

.s2 {
    transform: translateX(-2vw);
}

.s3 {
    transform: translateX(-4vw);
}

.s6 {
    transform: translateX(2vw);
}

.s7 {
    transform: translateX(4vw);
}

@media screen and (hover: none) {

    .hero-left, .hero-right {
        color: var(--yellow);
        opacity: 1;
    }

    .hero-btn button {
        background-color: var(--yellow);
        color: var(--dark-purple);
        opacity: 1;
    }
}

.partner-sec {
    height: 90vh;
    width: 100vw;
    display: flex;
}

.partner-sec div {
    display: flex;
    flex-direction: column;
    align-self: flex-end;
    width: 50%;
}

.partner-img {
    transform: translateX(-5%);
    width: 115%;
    height: auto;
    animation: grow1 linear;
    animation-timeline: view();
}

.partner-sec h1 {
    top: 20vh;
    position: relative;
    font-family: Poppins, sans-serif;
    font-weight: 900;
    color: #DDDDDD;
    font-size: 7rem;
    animation: move1 linear;
    animation-timeline: view();
}

@keyframes move1 {
    0% {
        left: -10%;
    }
    100% {
        left: 30%;
    }
}

@keyframes grow1 {
    0% {
        width: 115%;
    }
    100% {
        width: 120%;
    }
}

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

h3 span {
    display: block;
}

section p {
    margin: 4vh 0 6vh 0;
    font-family: Lato, sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: #49444f;
    width: 80%;
}

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

.text-btn {
    background-color: var(--yellow);
    padding: 2vh 2.8vw 2vh 3vw;
    font-size: 1.1rem;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    letter-spacing: 0.03rem;
    border-radius: 0.6rem;
    border: none;
    opacity: 1;
    transition: opacity 0.3s ease-out;
}

.text-btn:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease-out;
}

.btn-white {
    color: white;
}

.btn-purple {
    color: var(--dark-purple);
}

.text-btn .arw {
    margin-left: 0.5rem;
    width: 2.5rem;
    height: 0.8rem;
    transition: width 0.3s ease-out, margin-left 0.3s ease-out;
}

.text-btn:hover .arw {
    margin-left: 1rem;
    width: 3rem;
    transition: width 0.3s ease-out, margin-left 0.3s ease-out;
}

.solution-sec {
    height: 100vh;
    background-image: url('../static/vectors/main-mid.svg');
    background-size: cover;
    background-repeat: no-repeat;
    transform: translateY(-5vh);
    display: flex;
}

.solution-sec .text-div {
    padding-left: 10%;
    width: 50%;
}

.solution-sec p {
    color: white;
    width: 90%;
}

.solution-img {
    max-width: 50%;
    height: auto;
    width: 100%;
    align-self: center;
}

.relation-sec {
    display: flex;
    height: 80vh;
    width: 100%;
}

.relation-sec div {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    width: 50%;
}

.grey-logo {
    position: relative;
    top: 20%;
    width: 75%;
    height: auto;
    z-index: 7;
    animation: move2 linear;
    animation-timeline: view();
}

.relation-img {
    z-index: 8;
    transform: translateX(-20%);
    width: 120%;
    height: auto;
    animation: grow2 linear;
    animation-timeline: view();
}

.relation-sec .text-div {
    justify-content: center;
    padding-bottom: 5%;
}

@keyframes move2 {
    0% {
        left: -5%;
    }
    100% {
        left: 20%;
    }
}

@keyframes grow2 {
    0% {
        width: 120%;
        transform: translateX(-20%);
    }
    100% {
        width: 122%;
        transform: translateX(-19%);
    }
}

.global-sec {
    z-index: 9;
    transform: translateY(-5vh);
    position: relative;
    height: 90vh;
    background-image: url('../static/vectors/main-bot.svg');
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
}

.global-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
}

.global-wrap .text-div {
    margin-left: 10%;
    display: flex;
    position: relative;
    width: 40%;
    z-index: 2;
}

.global-wrap p {
    color: #fff;
}

.map {
    position: absolute;
    top: 15%;
    right: 0;
    width: auto;
    height: 65%;
    max-width: 60vw;
    z-index: 1;
}

/* ULTRAWIDE */
@media (min-aspect-ratio: 17/9) and (orientation: landscape) {
    .partner-sec {
        height: 100vh;
    }

    .partner-img {
        transform: translateX(-10%);
    }

    .partner-sec h1 {
        top: 25vh;
    }

    .solution-sec {
        height: 110vh;
        transform: translateY(-7vh);
    }

    .relation-sec {
        height: 90vh;
    }

    .grey-logo {
        top: 25%;
    }

    .global-sec {
        transform: translateY(-7vh);
        height: 100vh;
    }
}

/* SMALL WIDE */
@media (max-width: 1090px) and (min-aspect-ratio: 3.9/3) and (orientation: landscape) {

    .hero-text {
        font-size: 3.6rem;
        line-height: 3.4rem;
    }

    .hero-left {
        margin: 0 10vw 10vw 0;
    }
    
    .hero-right {
        margin: 0 0 10vw 10vw;
    }

    h3 {
        font-size: 2.6rem;
        line-height: 2.4rem;
    }

    .hero-btn button {
        padding: 2.4vh 3vw;
        font-size: 1.4rem;
        }
    
    section p {
        margin: 3vh 0 4vh 0;
        font-size: 1.55rem;
        width: 90%;
    }

    .text-btn {
        padding: 2.2vh 3vw 2.2vh 3.3vw;
        font-size: 1.4rem;
    }

    .global-wrap .text-div {
        width: 42%;
    }
}

@media (min-aspect-ratio: 11 / 16) and (orientation: portrait) {
    
    header {
        height: 80vh;
        width: 100%;
    }

    .hero-content {
        margin-top: 0;
        height: 70vh;
        width: 84%;
        background-size: 70vh;
        overflow: visible;
    }

    .hero-left {
        margin: 0 10vw 10vh 0;
    }
    
    .hero-right {
        margin: 0 0 10vh 10vw;
    }

    .hero-text {
        font-size: 3.2rem;
        line-height: 3rem;
    }

    .hero-btn button {
        padding: 2vh 4vw;
        font-size: 1.7rem;
    }
    
}


@media (max-aspect-ratio: 11 / 16) and (orientation: portrait) {

    .hero-content {
        width: 100%;
        height: 80vh;
        margin: 2vh 0 0 0;
        flex-direction: column;
        justify-content: space-between;
        transform: translateY(3vh);
        align-items: center;
        background-size: 130vw;
    }

    .hero-left, .hero-right {
        transform: translateY(-4vh);
        margin: 0;
        align-items: center;
        justify-content: center;
    }

    .s2, .s3, .s6, .s7 {
        transform: none;
    }

    .hero-text {
        font-size: 3.4rem;
        line-height: 3.2rem;
        text-align: center;
        opacity: 1;
    }

    .hero-btn {
        margin-top: 2vh;
    }

    .hero-btn button {
        padding: 1.5vh 5vw;
        font-size: 2rem;
    }
}

@media (orientation: portrait) {
    
    h3 {
        margin-top: 6vh;
        font-size: 3.2rem;
        line-height: 3rem;
        padding: 0 5vw;
        text-align: center;
    }

    section p {
        margin: 3vh auto;
        font-size: 2rem;
        width: 100vw;
        padding: 0 5vw;
    }

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

    .text-div a {
        margin: auto;
        display: flex;
        justify-content: center;
        margin-top: 2vh;
        width: 100%;
    }

    .text-btn {
        padding: 2vh 10vw;
        font-size: 2rem;
    }

    .text-btn .arw {
        margin-left: 1rem;
        width: 3.2rem;
        height: 1.2rem;
    }

    .partner-sec {
        height: auto;
        width: 100vw;
        display: flex;
        flex-direction: column-reverse;
        overflow: hidden;
    }

    .partner-sec div {
        align-self: flex-start;
        justify-content: center;
        width: 100%;
        overflow: hidden;
    }
    
    .partner-img {
        transform: translateX(-22vw);
        position: initial;
        min-width: 140%;
        height: auto;
        margin: 2vh auto 0 auto;
    }
    
    .partner-sec h1 {
        display: none;
    }

    .solution-sec {
        height: auto;
        background-position: top;
        flex-direction: column;
        overflow: hidden;
    }

    .solution-sec h3 {
        padding-top: 4vh;
    }

    .solution-sec .text-div {
        padding-left: 0;
        width: 100%;
    }

    .solution-sec p {
        width: 100%;
    }

    .solution-img {
        margin: 4vh 0;
        min-width: 120vw;
        height: auto;
        align-self: center;
    }

    .relation-sec {
        transform: translateY(-5vh);
        height: auto;
        flex-direction: column-reverse;
        overflow: hidden;
    }
    
    .relation-sec div {
        flex-direction: column;
        justify-content: center;
        height: auto;
        width: 100%;
    }
    
    .grey-logo {
        display: none;
    }
    
    .relation-img {
        position: initial;
        transform: none;
        min-width: 140%;
        height: auto;
    }
    
    .relation-sec .text-div {
        padding-bottom: 0;
    }

    .global-sec {
        transform: translateY(-10vh);
        position: initial;
        height: auto;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .global-wrap {
        position: initial;
        display: flex;
        flex-direction: column;
        padding-top: 4vh;
    }

    .global-wrap .text-div {
        margin-left: 0;
        display: flex;
        position: initial;
        width: 100%;
    }

    .global-wrap p {
        color: #fff;
    }

    .map {
        position: initial;
        justify-self: center;
        width: 105vw;
        height: auto;
        max-width: 105vw;
        padding: 2vh 0 5vh 0;
    }

}