/*Menu theme index dynamique*/
.menu {
    position:absolute;
    margin-top: 250px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 450px;
    background: #f5f5f5;
    box-shadow: 0 30px 50px #dbdbdb;
    border-radius: 20px;
}

@media (max-width: 1024px) {
    .menu {
        width: 95%;
        max-width: 800px;
        height: 400px;
        margin-top: 200px;
    }
}

@media (max-width: 768px) {
    .menu {
        width: 95%;
        height: 350px;
        margin-top: 180px;
    }
}

@media (max-width: 480px) {
    .menu {
        width: 95%;
        height: 300px;
        margin-top: 150px;
    }
}

.menu .slide {
    border-radius: 20px;
}

.menu .slide .item {
    position: absolute;
    border-radius: 20px;
    box-shadow: 0 30px 50px #505050;
    background-position: 50% 50%;
    background-size: cover;
    display: inline-block;
    transition: all 0.5s;
}

.slide .item:nth-child(1),
.slide .item:nth-child(2) {
    top: 0;
    transform: translate(0,0);
    border-radius: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    transition: all .5s;
}

/* ========== CONTENT ========== */
.content {
    height: 450px;
    width: 300px;
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.25);
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding-left: 1vw;
    padding-right: 1vw;
    padding-top: 9.5vh;
    padding-bottom: 9.5vh;
}

@media (max-width: 1024px) {
    .content {
        height: 400px;
        width: 260px;
    }
}

@media (max-width: 768px) {
    .content {
        height: 350px;
        width: 220px;
        padding-top: 5vh;
        padding-bottom: 5vh;
    }
}

@media (max-width: 480px) {
    .content {
        height: 300px;
        width: 200px;
        padding: 3vh 1vw;
    }
}

.item .content {
    position: absolute;
    top: 50%;
    width: 300px;
    text-align: left;
    color: white;
    transform: translate(0, -50%);
    font-family: system-ui;
    display: none;
}

@media (max-width: 768px) {
    .item .content {
        width: 12rem;
    }
}

@media (max-width: 480px) {
    .item .content {
        width: 12rem;
    }
}

.slide .item:nth-child(2) .content {
    display: block;
}

/* ========== CONTENT NAME ========== */
.content .name {
    font-size: 40px;
    text-transform: uppercase;
    color: var(--pantone-293);
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
}

@media (max-width: 1024px) {
    .content .name {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .content .name {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .content .name {
        font-size: 24px;
    }
}

/* ========== CONTENT DESCRIPTION ========== */
.content .des {
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
    width: 280px;
    color: #000000;
}

@media (max-width: 1024px) {
    .content .des {
        width: 240px;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .content .des {
        width: 200px;
        margin-bottom: 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .content .des {
        width: 180px;
        margin-bottom: 10px;
        font-size: 13px;
    }
}

/* ========== CONTENT BUTTON ========== */
.content button {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    opacity: 0;
    border-radius: 10px;
    color: rgb(255, 255, 255);
    background-color: var(--pantone-293);
    transition: all 0.5s;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
    font-size: 16px;
}

@media (max-width: 768px) {
    .content button {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .content button {
        padding: 6px 12px;
        font-size: 12px;
    }
}

.content button:hover {
    color: var(--pantone-293);
    background-color: white;
    border: solid 1.5px var(--pantone-293);
}

/* ========== ANIMATIONS ========== */
@keyframes animate {
    from {
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }
    
    to {
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}

/* ========== NAVIGATION BUTTONS ========== */
.button {
    display: flex;
    flex-direction: row;
    gap: 20px;
    left: 45%;
    right: 50%;
    width: 100%;
    align-items: center;
    text-align: center;
    position: absolute;
    bottom: 20px;
}

@media (max-width: 1024px) {
    .button {
        gap: 15px;
        bottom: 15px;
    }
}

@media (max-width: 768px) {
    .button {
        gap: 10px;
        bottom: 10px;
    }
}

@media (max-width: 480px) {
    .button {
        gap: 8px;
        bottom: 8px;
    }
}

.button button {
    width: 40px;
    height: 35px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    transition: 0.3s;
    background-color: var(--pantone-293);
    color: #ffffff;
}

@media (max-width: 768px) {
    .button button {
        width: 35px;
        height: 30px;
        margin: 0 3px;
    }
}

@media (max-width: 480px) {
    .button button {
        width: 30px;
        height: 25px;
        margin: 0 2px;
        font-size: 12px;
    }
}

.button button:hover {
    transform: scale(1.1);
    color: var(--pantone-293);
    background-color: #ffffff;
    border: solid 1.5px var(--pantone-293);
}

.next {
    padding: 0 0 0 3px;
}

.prev {
    padding: 0 3px 0 0;
}

/* ========== CAROUSEL INDICATORS ========== */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2.5rem;
    text-align: center;
    position: relative;
    bottom: 20px;
}

@media (max-width: 768px) {
    .carousel-indicators {
        gap: 10px;
        margin-top: 2rem;
        bottom: 15px;
    }
}

@media (max-width: 480px) {
    .carousel-indicators {
        gap: 8px;
        margin-top: 1.5rem;
        bottom: 10px;
    }
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: solid 1.5px var(--pantone-293);
}

@media (max-width: 768px) {
    .dot {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }
}

@media (max-width: 480px) {
    .dot {
        width: 6px;
        height: 6px;
        margin: 0 3px;
    }
}

.dot.active {
    background-color: var(--pantone-293);
}

.dot:hover {
    background-color: var(--pantone-293);
}

/* ========== SLIDE ITEMS ========== */
.slide .item {
    display: none;
}

.slide .item.active {
    display: block;
}
