body {
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;    
    overflow: hidden;
}

.menus {
    margin-top: -15px;
    display: flex;
}

ol {
    list-style-type: none;
}

li {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 5px;
}

span {
    color: lightgrey;
}

span.nuevo {
    color: red;
}

.uPaddingLeft {
    box-sizing: border-box;
    padding: 0 0 0 30px;
}

.uPaddingRight {
    box-sizing: border-box;
    padding: 0 0 0 0;
}

.header {
    /* background-color: rgba(255, 0, 0, 0.466); */
    position: relative;
    display: flex;
    width: 100vw;
    padding-top: 50px;
}

.menu-title {
    width: 50%;
    text-align: left;
    padding-left: 95px;
    box-sizing: border-box;
}


.menu-title:nth-of-type(2) {
    padding-left: 120px;
}

.precio {
    /* background-color: aqua; */
    width: 50%;
    padding: 0 0px 0 0;
    text-align: center;
}

.menu-section {
    top: 100px;
    /* background-color: rgba(0, 0, 255, 0.39); */
    position: relative;
}

.menu-section:nth-of-type(1) {
    width: 50vw;
}

.menu-section:nth-of-type(2) {
    left: 30px;
    width: 50vw;
}

.section-separator {
    /* background-color: blueviolet; */
    margin: -20px 0 -20px 0;
}

/* Generic menu item styling */
.menu-items {
    list-style-type: none;
}

/* Menu items container */
.menu-item {
    cursor: pointer;
}

/* Arrow styling - generic for all orientations */
.menu-arrow {
    position: absolute;
    background-color: #fdb82f;
    border-radius: 0 0 50px 0;
    z-index: -1;
    transition: top 0.5s ease-in-out, left 0.5s ease-in-out;
    display: none;
}

.arrow-horizontal {
    width: 470px;
    height: 45px;
}

.arrow-vertical {
    width: 460px;
    height: 45px;
}

/* Image container */
.image-container {
    position: relative;
}

/* Generic menu image styling - works for all images */
.menu-image {
    position: fixed;
    opacity: 0;
    transition: opacity 1s ease;
}

/* Position variants for different menu sections - configurable via image class */
/* Section 1: Desserts (menu-image-1) */
.menu-section:nth-of-type(1) .menu-image-1 {
    top: 525px;
    left: 150px;
    transform: scale(100%);
}

/* Section 2: Coffees (menu-image-2) */
.menu-section:nth-of-type(2) .menu-image-2 {
    top: 525px;
    left: 1150px;
    transform: scale(110%);
}

/* Visible state for images */
.menu-image.visible {
    opacity: 1;
}


@media only screen and (max-width: 1100px) {

    body {
        overflow-y: auto;
    }

    .menus {
        flex-direction: column;
    }

    /* TITLES */
    
    .header {
        position: fixed;
        flex-direction: column;
        padding-top: 70px;
    }


    .menu-title:nth-of-type(1) {
        height: 50vh;
        width: 100%;
        /* background-color: rgba(255, 0, 234, 0.466); */
    }

    .menu-title:nth-of-type(2) {
        width: 100%;
        /* background-color: rgba(0, 255, 0, 0.466); */
    }

    /* TITLES END */


    /* MENU SECTIONS */

    .menu-section {
        padding-top: 0px;
    }

    .menu-section:nth-of-type(1) {
        width: 68%;
        height: 980px;
        /* background-color: rgba(255, 0, 0, 0.644); */
    }

    .menu-section:nth-of-type(2) {
        width: 55%;
        height: 800px;
        align-self: flex-end;
        /* background-color: rgba(0, 255, 0, 0.644); */
    }
    

    .menu-section:nth-of-type(2) .precio {
        order: -1;
    }
    

    /* Target the vertical arrow of the first section (Desserts) */
    .menu-arrow.arrow-vertical:nth-of-type(3) {
        left: 0 !important;
    }

    /* Target the vertical arrow of the second section (Coffees) */
    /* We override the JS-calculated 'left' with 'right: 0' only for this specific arrow */
    .menu-arrow.arrow-vertical:nth-of-type(5) {
        left: auto !important;
        right: 0 !important;
        width: 350px;
        border-radius: 0 0 0 50px; /* Flip the border radius to face inward from the right */
    }

    .uPaddingRight {
        padding: 0 60px 0 0;
    }
    

    /* MENU SECTIONS END*/

    /* Position variants for different menu sections - configurable via image class */
    /* Section 1: Desserts (menu-image-1) */
    .menu-section:nth-of-type(1) .menu-image-1 {
        position: fixed;
        top: 325px;
        left: 450px;
        transform: scale(120%);
    }

    /* Section 2: Coffees (menu-image-2) */
    .menu-section:nth-of-type(2) .menu-image-2 {
        position: fixed;
        top: 1280px;
        left: -30px;
        transform: scale(115%);
    }

    .coke-fries-image {
        top: 450px;
        left: 300px;
        transform: scale(100%);
    }

    .coke-fries-image2 {
        top: 1400px;
        left: 525px;
        transform: scale(100%);
    }

}
