/* @keyframes slideInLeft {
    from {
        transform: translateX(-100vw);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100vw);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
} */

header {
    display: flex;
    justify-content: end;

    height: 92svh;
    width: 100%;

    background-image: url('../assets/images/bg_header.webp');
    background-size: cover;
    /* background-attachment: fixed; */
    background-position: center;
    background-repeat: no-repeat;
    text-shadow: 0 0.05rem 0.2rem var(--lch-vanilla);
}

.header-container {
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.header-container h1, .header-container h2, .header-container a {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.5);
}

/* .header-container h1 {
    animation: slideInLeft 1s ease-out forwards;
} */

.header-container h2 {
    padding: 1.5rem;

    text-wrap: balance;
    text-align: left;

    /* animation: slideInRight 1s ease-out forwards; */
}

.header-container a {
    width: 100%;
    margin-bottom: 2rem;
    padding: 1rem;

    /* animation: slideInLeft 1s ease-out forwards; */
}


/* DESKTOP */
@media (min-width: 660px) {
    .header-container {
        justify-content: center;
        align-items: start;
    }

    .header-container h1 {
        max-width: 12ch;
    }

    .header-container h2 {
        max-width: 34ch;
        font-size: clamp(1.1rem, 1.5vw, 3rem);
        font-family: 'Montseratt', sans-serif;
        color: var(--lch-grey);
    }

    .header-container h1, .header-container h2 {
        box-shadow: none;
        background: none;
        margin: 0;
        padding: 0;

        text-align: left;
    }

    .header-container a {
        width: auto;
        background: var(--lch-brand-red);
        padding: 1rem;
        margin: 1rem 0;
        border-radius: 50vw;

        font-size: clamp(0.8rem, 1vw, 2.5rem);
        color: var(--lch-white);
        text-shadow: none;
    }
}