@font-face {
    font-family: BarlowCondensed;
    src: url(Fonts/Barlow_Condensed/BarlowCondensed-Regular.ttf);
}
@font-face {
    font-family: mnpaero;
    src: url(Fonts/aero-swfte.ttf);
}

* {
    font-family: BarlowCondensed;
    /* outline: red solid; */
}
html {
    scroll-behavior: smooth;
}
body {
    overflow-x: hidden;

    /* background-color: #0079a5; */
    background-image: url(./background.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

:root {
    --clr-white: 0 0% 100%;
}

.uppercase { text-transform: uppercase; }
.text-white { color: #FFFFFF; }
.text-black { color: #000000; }
.letter-spacing-2 { letter-spacing: 2.7px; }
.header {
    font-size: 4em;
    /* font-family: mnpaero;
    font-weight: normal; */
}
.text { font-size: 2em; }

.sr-only {
    position: absolute; 
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px; 
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap; /* added line */
    border: 0;
}

.flex {
    display: flex;
    gap: var(--gap, 1rem);
}

.logo {
    margin: 1rem;
    /* background: hsl(0 0% 0% / 0.5); */
    width: 200px;
}

.primary-header {
    position: fixed;
    align-items: center;
    justify-content: space-between;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.mobile-nav-toggle {
    display: none;
}

.primary-navigation {
    list-style: none;
    padding: 0;
    margin: 0;
    background: hsl(0 0% 0% / 0.5);
    --gap: clamp(1.5rem, 5vw, 3rem);
    /* padding-block: 2rem; */
    --underline-gap: 2rem;
    padding-inline: clamp(3rem, 8vw, 6rem);
}

@supports (backdrop-filter: blur(1rem)) {
    .primary-navigation {
        background: hsl(0 0% 20% / 0.1);
        backdrop-filter: blur(0.5rem);
    }
    /* .logo {
        background: hsl(0 0% 100% / 0.1);
        backdrop-filter: blur(0.5rem);
    } */
}

.primary-navigation a {
    text-decoration: none;
    font-size: 1.2em;
}

.primary-navigation a > [aria-hidden="true"] {
    font-weight: 700;
    margin-inline-end: 0.5em;
    /* color: #D0D6F9; */
}

.underline-indicators > * {
    padding: var(--underline-gap, 1rem) 0;
    border-bottom: 0.2rem solid hsl( var(--clr-white) / 0 );
    cursor: pointer;
    transition: 300ms;
}

.underline-indicators > *:hover,
.underline-indicators > *:focus {
    border-color: hsl( var(--clr-white) / .5 );
    transition: 300ms;
}

.underline-indicators > .active {
    border-color: hsl( var(--clr-white) / 1 );
}

.lang-en-img {
    width: 1em;
    vertical-align: -.15em;
    margin-inline-end: 8px;
}

.lang-sk-img {
    width: 1em;
    vertical-align: -.15em;
    margin-inline-end: 8px;
}

.grid-container {
    text-align: left;
    justify-content: left;
    display: flex;
    margin: 2rem;
    /* place-items: center; */
    gap: 4rem;
    padding: 2rem 0;
}

.flex-row {
    flex-direction: row;
}
.flex-reverse {
    flex-direction: row-reverse;
}

/* 
.grid-container * {
    max-width: 50ch;
} */

.background-image-1 {
    /* position: absolute;
    top: 0;
    left: 0; */
    width: 100%;
    height: 80vh;
    object-position: 50% 20%;
    object-fit: cover;
    /* aspect-ratio: 2; */
    z-index: -1;
}

/* .about {
    position: absolute;
    top: 100vh;
    left: 2rem;
    width: 45vw;
} */

.background-image-2 {
    /* position: absolute;
    top: 100vh;
    right: 0; */
    width: 200%;
    height: 60vh;
    object-position: 60% 0;
    object-fit: cover;
    /* aspect-ratio: 2; */
    z-index: -1;
}

/* .services {
    position: absolute;
    top: 170vh;
    right: 2rem;
    width: 45vw;
} */

.background-image-3 {
    /* position: absolute;
    top: 170vh;
    left: 0; */
    width: 50%;
    height: 50vh;
    object-position: 60% 0;
    object-fit: cover;
    /* aspect-ratio: 2; */
    z-index: -1;
}

.contact {
    /* position: absolute;
    top: 240vh;
    left: 2rem;
    width: 45vw; */
    flex: 50%;
}

.map {
    height: 50vh;
    margin: auto 0;
    flex: 50%;
}

.map > iframe {
    width: 50vw;
    height: 50vh;
}

.background-image-4 {
    /* position: absolute;
    top: 240vh;
    right: 0; */
    width: 50%;
    height: 50vh;
    object-position: 50% 50%;
    object-fit: cover;
    /* aspect-ratio: 2; */
    z-index: -1;
}

@media (max-width: 35em) {
    .primary-navigation {
        --gap: 2em;

        position: fixed;
        z-index: 90;
        inset: 0 0 0 30%;

        flex-direction: column;
        padding: min(20vh, 10rem) 2em;

        transform: translateX(100%);
        transition: transform 350ms ease-out;
    }

    .logo {
        width: 100px;
    }

    .primary-navigation[data-visible="true"] {
        transform: translateX(0%);
    }

    .mobile-nav-toggle {
        display: block;
        position: absolute;
        z-index: 100;
        background-color: transparent;
        background-image: url(list.svg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        width: 2rem;
        border: 0;
        aspect-ratio: 1;
        top: 2rem;
        right: 2rem;
    }

    .mobile-nav-toggle[aria-expanded="true"] {
        background-image: url(x.svg);
        background-size: 3rem;
    }

    .background-image-1 {
        height: 50vh;
    }
    .background-image-2 {
        height: 35vh;
        width: 50%;
    }
    .background-image-3 {
        height: 35vh;
        width: 100%;
    }
    .background-image-4 {
        width: 100%;
    }
    .map > iframe {
        width: 100%;
    }

    .flex-row{
        flex-direction: column;
    }
    .flex-reverse{
        flex-direction: column;
    }
}

.main-text {
    font-weight: normal;
    font-family: mnpaero;
    font-size: 5em;
    position: absolute;
    left: 10%;
}