:root {
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-feature-settings: 'liga' 1, 'calt' 1;
    /* fix for Chrome */

    --blue1: #123357;
    --blue2: #09426D;
    --blue3: #075077;
    --blue4: #0077B7;
    --blue5: #F5FDFE;
}

@supports (font-variation-settings: normal) {
    :root {
        font-family: InterVariable, sans-serif;
    }
}

body {
    width: 100svw;
    overflow-x: hidden;
    margin: 0;
}

h1 {
    font-size: 2rem;
    font-weight: 600;
    margin: 20px 0;
}

.icon {
    height: 2rem;
    margin-right: 1rem;
}

h2 {
    color: var(--blue1);
    font-size: 2rem;
    font-weight: 400;
    margin: 10px 0;
}

h3 {
    color: var(--blue2);
    font-weight: 500;
    font-size: 1.4rem;
    text-align: center;
}

h4 {
    color: var(--blue1);
    font-size: 1.2rem;
    font-weight: 300;
    margin: 0;
}

p {
    font-size: 1.3rem;
    color: var(--blue2);
    font-weight: 300;
}

p.big {
    font-size: 1.7rem;
}

strong {
    font-weight: 500;
}

ul {
    list-style: none;
    padding-inline-start: 0;
    color: var(--blue3);
    font-size: 1.3rem;
}

.content {
    width: 100%;
    max-width: 1000px;
}

header {
    display: grid;
    place-items: center;
    padding: 10px 30px;
    box-sizing: border-box;

    color: var(--blue1);
}

header .links {
    display: flex;
    flex-direction: row;
    margin-left: auto;
    gap: 20px;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    cursor: pointer;
    text-decoration: underline;
}

header .content {
    display: flex;
    flex-direction: row;
    align-items: center;
}

section, footer {
    padding: 30px;
    box-sizing: border-box;

    display: grid;
    place-items: center;

    width: 100%;
}

section.accent {
    background-color: var(--blue5);
}

section.split .content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

section.col-3 .content,
.col-3:not(:has(.content)) {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    place-items: center;
    gap: 50px;
}


.col-3 img {
    width: 100%;
    max-width: 250px;
}


.col-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.col-2 img {
    width: 100%;
}

iframe.map {
    width: 100%;
    flex-grow: 1;
    flex-shrink: 1;
}

section.hero {
    background-image: url(./media/hero-bg.webp);
    background-size: cover;

    background-color: #f5fdfee0;
    background-blend-mode: lighten;
}


section.hero img {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 30px;


    width: 25%;
}

section article {
    /* columns: 2; */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

span.feature {
    font-weight: 400;
    text-align: center;
    font-size: 1.3rem;
    color: var(--blue3);
}

section.gallery .content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    place-items: center;
    gap: 20px;
}

section.gallery img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}

a:has(img:not(.icon)) {
    display: block;
    width: 100%;
    text-align: center;
}

footer .icon {
    height: 3.5rem; 
}

footer .links {
    display: flex;
    flex-direction: row;
    color: var(--blue2);
    margin: 10px 0;
    gap: 20px;
    font-weight: 500;

    font-size: 1.3rem;
}

footer > a {
    color: var(--blue2);
    font-weight: 400;
}

@media screen and (max-width: 1100px) {
    section, footer {
        padding: 30px 50px;
    }

    section.hero img {
        width: 30%;
    }

    section.gallery .content {
        grid-template-columns: repeat(2, 1fr);
    }

    .icon {
        height: 3rem;
    }
}

@media screen and (max-width: 800px) {
    :root {
        font-size: 15px;
    }

    section article {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media screen and (max-width: 600px) {
    .col-2 {
        grid-template-columns: unset;
    }

    section.hero .content {
        flex-direction: column;
    }

    section.hero img {
        width: 100%;
        aspect-ratio: 1;
    }

    h1 {
        display: none;
    }
}

@media screen and (max-width: 500px) {

    section.col-3 .content,
    .col-3:not(:has(.content)) {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr;
    }

    .col-3 img {
        width: 80%;
    }

    section.gallery .content {
        grid-template-columns: 1fr;
    }

    section.gallery img {
        aspect-ratio: unset;
    }
}