body {
    background-color: var(--secondary-color-light);
}

header {
    position: absolute;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 4s; }
.slide:nth-child(3) { animation-delay: 8s; }
.slide:nth-child(4) { animation-delay: 12s; }

@keyframes crossfade {
    0% { opacity: 0; }
    
    6.66% { opacity: 1; } 
    
    33.33% { opacity: 1; }
    
    40% { opacity: 0; }
    
    100% { opacity: 0; }
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: crossfade 16s infinite;
}

.hero {
    display: grid;
    height: 87vh;
    /* background-image: url('/img/homepage/hero/MEO-Brighton-landing-bg-brunch-turkish-egg.webp'); */
    background-size: cover;
    background-position: center;
    color: #ffffff;
    overflow: hidden;
}

.hero-content {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(475px, 1fr)); */
    grid-template-columns: 1fr;
    /* text-align-last: right; */
    max-height: 87vh;
    z-index: 3;
}

.heroGrid {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    align-items: flex-start;
    align-self: end;
    justify-self: center;
    margin-bottom: 5%;

    padding: 0 10%;
}

.menu {
    padding: clamp(6rem, 12vw, 10rem) clamp(2rem, 7vw, 10rem);
    text-align: center;
}

.menu h2 {
    font-size: clamp(1.8rem, 2.8vw, 2rem);
    margin-bottom: 30px;
    text-align: right;
    width: min-content;
}

.menu-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.menu-item {
    width: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-item img {
    width: 100%;
    height: 150px;
    max-width: 180px;
    margin-bottom: 1.4rem;
    object-fit: contain;
    object-position: bottom;
}

.menu-item h3 {
    font-size: 1.2em;
}

section.about {
    background-color: var(--secondary-color-light);
    position: relative;
    z-index: 5;
    padding: 10rem 10% 5rem 10%;

}

section.about .intro-copy {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

section.about h2 {
    font-size: clamp(1.3rem, 2vw, 2.3rem);
}

section.about p {
    font-family: "Rubik", sans-serif;
    font-weight: 300;
    line-height: normal;
    font-size: clamp(1rem, 1.7vw, 2rem);
}

section.populars {
    padding: 5rem 0 10rem 0;
}
section.populars a {
    color:var(--primary-color);
}

@media (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }

    .full-width-title {
        padding: 10px;
    }

    .title-content {
        padding: 15px 0;
    }
}

@media (max-width: 768px) {
    .heroGrid {
        margin-right: 0;
    }

    .menu-items {
        gap: 2rem;
    }

    .menu-item {
        flex: 1 1 100%;
        gap: 1rem;
    }

    .menu h2 {
        text-align: center;
        text-wrap: nowrap;
    }
}

@media (max-width: 414px) {}