@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;700&family=Roboto:wght@400;700&display=swap');

.hero-text {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

body {
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

input:focus, textarea:focus {
    border-color: #dc2626 !important;
    ring: 0;
    outline: none;
}

.mtz-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
}

.mtz-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 8px;
    height: 8px;
    background-color: #731f23;
}

.vacancy-accordion-content {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    will-change: max-height, opacity;
}

.vacancy-accordion-content.is-open {
    opacity: 1;
    margin-bottom: 12px;
}

@media (max-width: 1536px) {
    nav .max-w-screen-2xl {
        padding-left: clamp(1.5rem, 2.5vw, 2.5rem);
        padding-right: clamp(1.5rem, 2.5vw, 2.5rem);
        font-size: clamp(11px, 0.9vw, 15px);
    }

    nav .flex-1 {
        min-width: 0;
    }

    nav .space-x-10 > :not([hidden]) ~ :not([hidden]) {
        margin-left: clamp(1rem, 2vw, 2.5rem);
    }

    nav .space-x-8 > :not([hidden]) ~ :not([hidden]) {
        margin-left: clamp(0.75rem, 1.6vw, 2rem);
    }

    nav .space-x-5 > :not([hidden]) ~ :not([hidden]),
    nav .space-x-3 > :not([hidden]) ~ :not([hidden]) {
        margin-left: clamp(0.5rem, 1vw, 1.25rem);
    }

    nav .px-10 {
        padding-left: clamp(1rem, 2vw, 2.5rem);
        padding-right: clamp(1rem, 2vw, 2.5rem);
    }

    nav img {
        height: clamp(56px, 5vw, 80px);
    }

    nav .mt-4.space-x-8 > :not([hidden]) ~ :not([hidden]) {
        margin-left: clamp(1rem, 2.4vw, 2rem);
    }
}

@media (max-width: 768px) {
    nav .max-w-screen-2xl,
    main .max-w-screen-2xl,
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    nav .max-w-screen-2xl {
        font-size: 11px;
    }

    nav img {
        height: 56px;
    }

    nav .space-x-10 > :not([hidden]) ~ :not([hidden]),
    nav .space-x-8 > :not([hidden]) ~ :not([hidden]) {
        margin-left: 1rem;
    }

    .vacancy-accordion-content {
        padding-left: 0;
    }
}

@media (max-width: 540px) {
    nav .mt-4.space-x-8 {
        justify-content: center;
        gap: clamp(0.45rem, 2.1vw, 0.75rem);
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        font-size: clamp(10px, 2.8vw, 12px);
        line-height: 1.2;
        white-space: nowrap;
    }

    nav .mt-4.space-x-8 > :not([hidden]) ~ :not([hidden]) {
        margin-left: 0;
    }

    nav .mt-4.space-x-8 > a:nth-child(n+4) {
        display: none;
    }
}

@media (max-width: 1024px) {
    nav .max-w-screen-2xl:first-child {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }

    nav .max-w-screen-2xl:first-child > div:first-child,
    nav .max-w-screen-2xl:first-child > div:last-child > a {
        display: none;
    }

    nav .max-w-screen-2xl:first-child > div:nth-child(2) {
        grid-column: 2;
        padding-left: 0;
        padding-right: 0;
    }

    nav .max-w-screen-2xl:first-child > div:last-child {
        grid-column: 3;
        justify-content: flex-end;
    }
}
