.hero {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background-color: var(--t1-bg);
}

.hero-waves {
    display: none;
}

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

.hero-content h1 {
    margin: 5px;
    font-size: clamp(2rem, 5vw + 1rem, 4rem);
    color: var(--t1-text);
    background: var(--t1-bg-alt);
    font-weight: bold;
    display: inline-block;

    border-top: 5px solid var(--t1-text);
    border-bottom: 5px solid var(--t1-text);

    padding: 12px 45px;

    clip-path: var(--banner);
}

.hero-content p {
    margin: 0;
    font-size: clamp(1rem, 2vw + 0.5rem, 1.25rem);
    color: var(--t1-text-muted);
}

.slideshow {
    overflow: hidden;
    width: 100%;
    height: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slideshow img {
    object-fit: cover;
    object-position: center;
    /* display: none; */

    animation-name: slide-from-left;
    animation-duration: 1s;

    height: 100%;
    width: 100%;
}

.slide-from-left.active {
    animation: slide-from-left 0.5s linear forwards;
}

@keyframes slide-from-left {
    0% {
        opacity: 0;
        transform: translateX(-10%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (min-width: 1200px) {
    .hero {
        flex-direction: row;
        align-items: center;
        height: calc(100vh - 40px);
    }

    .hero-waves {
        fill: color-mix(in hsl, var(--t1-bg-alt) 20%, transparent 80%);
        width: 200px;
        height: 140px;
    }

    .hero-waves-top-left {
        position: absolute;
        top: 120px;
        left: 160px;
    }

    .hero-waves-bottom-right {
        position: absolute;
        bottom: 120px;
        left: calc(50% - 260px);
    }

    .hero-content {
        flex: 1;
    }

    .slideshow {
        height: calc(100vh - 40px);
        flex: 1;
    }
}


.body-section {
    margin-bottom: 80px;
}

.section-header {
    text-align: center;
}

.information {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--t2-text-muted);
    gap: 20px;
    padding: 0;
}

.opening-hours {
    width: 100%;
    max-width: 300px;
}

.opening-hours-grid {
    display: grid;
    grid-template-columns: max-content 1fr;
    grid-template-rows: repeat(7, auto);
    text-align: right; 
}

.opening-hours-grid p {
    margin: 0;
}

.opening-hours-grid p:nth-child(odd) {
    text-align: left;
}

.location {
    display: flex;
    flex-direction: column;
}

.location iframe {
    width: min(100%, 20rem);
    border: none;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

@media (min-width: 1200px) {
    .information {
        flex-direction: row;
        justify-content: center;
        align-items: start;
    }
    .opening-hours {
        background-color: var(--t2-bg-alt);
        border-radius: 8px;
        padding: 20px 30px;
    }
}

.card-display {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 20px 0;
    gap: 20px;
}

.card {
    padding: 10px 40px;

    text-decoration: none;
    transition: all 0.3s;
    text-align: center;

    flex: 1;
}

.card-interactable {
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.card-interactable:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow-lifted);
}

.card-title {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0;
    gap: 0.5ch;
}

.card-icon svg {
    height: 1em;
    width: 1em;
    flex-shrink: 0;
    fill: currentColor;
}

@media (min-width: 1200px) {
    .card-display {
        flex-direction: row;
    }
    .page-body {
        padding: 80px;
    }

    .card {
        flex: 1;
        height: 10rem;
    }
}