@font-face {
    font-family: 'Geist';
    src: url('fonts/Geist-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Geist", sans-serif;
}

.container {
    padding-inline: 3rem;
}

nav {
    position: fixed;
    left: 50%;
    top: 2%;
    transform: translateX(-50%);
    z-index: 999;
}

nav button {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    font-weight: 200;
    padding-inline: 0.5rem;
    border: none;
    background: black;
    color: white;
}

h1 {
    font-weight: 400;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 9fr 1fr;
    grid-template-areas:
        "headline   img"
        "info       img";
    height: 700px;
    margin-bottom: 200px;
}

header h1 {
    grid-area: headline;
    margin-right: 100px;
    align-self: center;
}

header p {
    grid-area: info;
    font-size: 0.9rem;
}

header img {
    grid-area: img;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.section-cards {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 10px;
}

.section-cards article {
    flex: 1;
    background: whitesmoke;
    display: flex;
    flex-direction: column;
    justify-content: end;
    height: 25rem;
    padding: 20px;

    border-radius: 0.5rem;
}

.card-content {
    h3 {
        font-size: 0.9rem;
        font-weight: 300;
    }

    p {
        font-size: 1.3rem;
        font-weight: 400;
    }
}

h2 {
    margin: 5rem auto;
    font-size: 2.5rem;
    font-weight: 400;
    text-align: center;
    max-width: 30ch;
}

.image-cards {
    display: flex;
    flex-direction: row;
    gap: 10px;

    .cards-left {
        flex: 1;
    }

    .card-right {
        flex: 1;
    }

    .single-image {
        top: 0;
        width: 100%;
        height: 40%;
        position: sticky;
    }

    margin-bottom: 6rem;
}

.image-cards article {
    h3 {
        font-size: 0.9rem;
        font-weight: 400;
        margin-bottom: 1rem;
    }

    p {
        margin-top: 0;
        margin-bottom: 3rem;
        font-size: 1.75rem;
        font-weight: 400;
    }

    img {
        width: 100%;
        height: auto;
        display: block;
    }
}

.contact {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    .left {
        flex: 3;
        font-size: 2rem;
        font-weight: 500;
        padding-right: 20rem;
    }

    .contact-right {
        flex: 1;

        .description {
            font-size: 1rem;
            font-weight: 400;
            margin-bottom: 2rem;
        }

        .phone {
            background-color: black;
            color: white;
            border-radius: 100rem;
            border: none;
            font-size: 0.8rem;
            padding-inline: 1rem;
            padding-block: 0.5rem;
        }

        .mail {
            background-color: white;
            color: black;
            border-radius: 100rem;
            border: solid 1px black;
            font-size: 0.8rem;
            padding-inline: 1rem;
            padding-block: 0.5rem;
        }
    }

    margin-bottom: 10rem;
}

footer {
    background-color: black;
    color: white;
    font-size: 0.8rem;

    .module {
        font-size: 1rem;
    }
}

