@media only screen and (max-width: 1280px) {
    .header {
        display: flex;
        flex-direction: row-reverse;
        align-items: flex-start;
        justify-content: space-between;
    }
    h1,h2 {
        font-size: 1.8rem;
        padding-bottom: 1.5rem;
        text-align: center;
    }
    .logo {
        margin-top: 0;
        padding: 1rem 0;
    }
    .logo img {
        width: 120px;
        height: 122px;
    }
    .socialcont {
        left: 0;
        padding: 1rem 0.4rem;
        flex-direction: column-reverse;
    }
    .nav-menu {
        position: fixed;
        top: -100%;
        left: 0;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        border-radius: 10px;
        text-align: center;
        transition: 0.6s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        top: 0;
    }

    .nav-item {
        margin: 1.5rem 0;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1000;
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .mainslider {
        padding-top: 5rem;
    }
    .restaurant,
    .selection,
    .carta,
    .locale,
    .kontakt {
        padding: 8rem 1rem 2rem 1rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #B2A97E;
    }
    .cartatable {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    .cartaitem {
        width: 60%;
        gap: 0.1rem;
        margin: 1rem auto;
        border-bottom: 1px solid #B2A97E;
    }
    .nuestracard,
    .nuestracardeven,
    .locale {
        flex-direction: column;
        width: 100%;
        padding: 2rem;
        gap: 2rem;
    }

    .nuestratext,
    .locale .localetext {
        width: 90%;
        margin: 0 auto;
        text-align: center;
        padding: 1rem;
    }

    /* Make all section images consistent in mobile */
    .nuestracard > div:first-child,
    .nuestracardeven > div:last-child,
    .locale > div:first-child:not(.localetext),
    .locale > div:last-child:not(.localetext) {
        width: 90%;
        height: 500px;
        margin: 0 auto;
    }

    .cartaimage {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Center footer elements */
    .copysection {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        padding: 2rem;
    }

    .copyright {
        width: 90%;
        margin: 0 auto;
        text-align: center;
    }

    .copylinks {
        display: flex;
        justify-content: center;
        gap: 1rem;
        width: 100%;
    }
    .right {
        text-align: center;
        padding: 1rem;   
    }
    .locale {
        flex-direction: column-reverse;
    }
    .localetext {
        text-align: center;
        width: 80%;
        padding: 1rem;
        margin: 0 auto;
    }
    .kontakttb {
        flex-direction: column;
        padding-top: 1rem;
    }
    .kontacttext {
        text-align: center;
        width: 80%;
        padding: 1rem;
        margin: 0 auto;
    }
    .copyright {
        width: 80%;
        margin: 0 auto;
    }
    p {
        font-size: 0.9rem;
    }
    .copysection {
        flex-direction: column-reverse;
    }
    .reviewsection {
        flex-direction: column;
    }
    .reviewcont {
        width: 80%;
        margin: 0 auto;
        text-align: center;
        border: 1px solid #B2A97E;
    }
    .tripa img {
        width: 70%;
    }
    .slider {
        height: 400px;
    }
    .slides {
        height: 400px;
    }
    .slide {
        width: 20%;
        transition: 2s;
    }
    .slide img {
        height: 400px;
    }
    .navigation-manual {
        margin-top: 380px;
    }
    .navigation-auto {
        margin-top: 380px;
    }
    /* NUESTRA CARTA PAGE  */
    .menucontainer {
        width: 90%;
    }
    .itemmenu {
        gap: 2rem;
    }
    .firsttext {
        font-size: 1.2rem;
    }
    h1::before, h1::after,
    h2::before, h2::after {
        display: none;
    }

    h1::before, h2::before {
        margin-right: 10px;
    }

    h1::after, h2::after {
        margin-left: 10px;
    }

    @keyframes lineExpand {
        to {
            width: 30px;
        }
    }

    .copysection {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem;
    }

    .copyright {
        text-align: center;
        width: 100%;
    }
}

@media only screen and (max-width: 650px) {
    .cartaitem {
        width: 90%;
        gap: 0.1rem;
        margin: 1rem auto;
    }
    .headline, .localetext, .nuestratext {
        width: 100%;  
    }
    .reviewcont {
        width: 90%;
    }
    .nuestratext,
    .locale .localetext,
    .nuestracard > div:first-child,
    .nuestracardeven > div:last-child,
    .locale > div:first-child:not(.localetext),
    .locale > div:last-child:not(.localetext) {
        width: 100%;
    }
    h1::before, h1::after,
    h2::before, h2::after {
        width: 20px;
    }

    @keyframes lineExpand {
        to {
            width: 20px;
        }
    }
}