:root {
    --primary: #5386e4;
    --secondary: #f1e20a;
    --terciary: #e88d67;
    --background: #8f8f8f;
    --feature-background: #2a2d34;
}

body {
    margin: 0;
    font-family: "Roboto Mono Variable", monospace;
    letter-spacing: 2px;
    background-color: var(--background);
}

h1 {
    margin-block: 0.67em;
    font-size: 2em;
}

li {
    margin-bottom: 0.8em;
}

/* Header + navigation */

.header {
    width: 100vw;
    background-color: var(--feature-background);
}

.navbar {
    padding: 2vh 2vw;
}


.logo {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.logo h3 {
    color: var(--primary);
}

.logo h4 {
    color: var(--terciary)
}


.nav-items {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    padding-left: 0;
}

.nav-item a {
    color: var(--secondary);
    transition: all 0.2s ease;
    text-decoration: underline transparent;
    text-underline-offset: 0.3rem;
}

.nav-item a:hover {
    text-decoration-color: var(--secondary);
}

@media screen and (min-width: 600px) {
    .navbar {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        padding: 0vh 2vw;
    }

    .logo h3 {
        margin-right: 1vw
    }

    .nav-item {
        margin-right: 2vw;
    }
}

/* Hero section */

.hero-section {
    height: 60vh;
    display: flex;
    align-items: center;
    background-image: url("images/hero.webp");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;

}

.hero-text {
    background-color: color-mix(in srgb, var(--feature-background) 100%, transparent 50%);
    width: 100%;
    padding: 2vh 4vw;
}

.hero-text-main {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: end;
}

@media screen and (min-width: 600px) {
    .hero-text-main {
        justify-content: center;
    }

    .hero-text h3 {
        text-align: center;
    }
}

.hero-text h1 {
    margin: 0.5rem 0;
    color: var(--primary);
}

.hero-text h2 {
    margin: 0.5rem 1rem;
    color: var(--terciary);
}

.hero-text h3 {
    margin: 0.5rem 0;
    color: white;
}

/* Services */

.article {
    margin-top: 0;
    margin-bottom: 8vh;
    padding: 4vh 0;
    background-color: var(--feature-background);
    color: white;
    box-shadow: 0 5px 20px 5px color-mix(in srgb, var(--feature-background) 100%, transparent 30%);
}


.article-img {
    width: 100%;
    min-width: 400px;
    max-width: 800px;
    object-fit: cover;
}

@media screen and (min-width: 800px) {
    article {
        display: grid;
    }

    .article-img {
        min-width: 0;
        width: 30vw;
        height: auto;
        object-fit: cover;
    }

    .article-images {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 20px
    }
}

.article-content {
    margin: 0 4vw;
    margin-bottom: 4vh;
}

.article-content h1 {
    color: var(--primary);
    margin-top: 0;
}

.article-left {
    flex-direction: row;
}

.article-right {
    flex-direction: row-reverse;
}

/* Call to action */

.cta-contact {
    padding: 2vh 0;
    margin-bottom: 10vh;
    background-color: var(--feature-background);
}

.cta-text {
    text-align: center;
    color: var(--primary);
}

.cta-button {
    margin: 2vh 12vw;
    padding: 0 2vw;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.cta-button .cta-mail-filled {
    display: none;
}

.cta-button:hover .cta-mail-empty,
.cta-button:active .cta-mail-empty {
    display: none;
}

.cta-button:hover .cta-mail-filled,
.cta-button:active .cta-mail-filled {
    display: block;
}

.cta-button .cta-phone-filled {
    display: none;
}

.cta-button:hover .cta-phone-empty,
.cta-button:active .cta-phone-empty {
    display: none;
}

.cta-button:hover .cta-phone-filled,
.cta-button:active .cta-phone-filled {
    display: block;
}

.cta-link {
    margin-left: 2vw;
    color: var(--secondary);
    transition: all 0.2s ease;
    text-decoration: underline transparent;
    text-underline-offset: 0.3rem;
}

.cta-mail-empty {
    color: var(--secondary);
}

.cta-link:hover {
    text-decoration-color: var(--secondary);
}

.cta-mail-empty {
    fill: transparent;
    stroke: var(--secondary);
}

.cta-mail-filled {
    fill: var(--terciary);
    stroke: var(--secondary);
}

.cta-phone-empty {
    fill: transparent;
    stroke: var(--secondary);
}

.cta-phone-filled {
    fill: var(--terciary);
    stroke: var(--secondary);
}

/* Footer */

.footer {
    background-color: var(--feature-background);
}

.footer-contact {
    color: white;
    padding: 4vh 4vw;
    text-align: center;
}

.footer-logo {
    font-weight: bolder;
    color: var(--primary);
}

.footer-slogan {
    font-weight: bolder;
    color: var(--terciary);
}

.footer-link {
    margin-left: 1vw;
    color: var(--secondary);
    transition: all 0.2s ease;
    text-decoration: underline transparent;
    text-underline-offset: 0.3rem;
}

.footer-link:hover {
    text-decoration-color: var(--secondary);
}

html {
    visibility: visible;
    opacity: 1;
}