.menu {
    width: 20%;
    height: 100vh;
    background-color: #e3c76b;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.menu-toggle {
    display: none;
}

.input_menu {
    display: flex;
    flex-direction: column;
    width: 200px;
    justify-content: center;
}

.value_item_menu {
    background-color: transparent;
    border: none;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 18px;
    position: relative;
    transition: all 0.3s ease;
}

.value_item_menu:hover {
    background-color: #c3a53f;
    transform: scale(1.05);
}

.value_item_menu:focus,
.value_item_menu:active {
    background-color: #c3a53f;
}

.value_item_menu::before {
    content: "";
    position: absolute;
    top: 5px;
    left: -10px;
    width: 5px;
    height: 80%;
    background-color: #405947;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value_item_menu:focus::before,
.value_item_menu:active::before {
    opacity: 1;
}

.svg_item_menu {
    width: 30px;
    margin-right: 10px;
}

.logo {
    width: 60%;
    border-radius: 50%;
    margin-bottom: 20px;
}

.titolo {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 60px;
}

@media (max-width: 900px) {
    .menu {
        width: 100%;
        height: auto;
        flex-direction: row;
        gap: 30px;
        padding: 10px 0 10px 0;
        z-index: 1000;
    }
    
    .logo {
        z-index: 2;
        width: 50px;
        margin-bottom: 0;
    }

    .titolo {
        z-index: 2;
        font-size: 22px;
        margin-bottom: 0;
    }

    .menu-toggle {
        z-index: 2;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        background-color: transparent;
        border: none;
        width: 50px;
        height: 50px;
        gap: 8px;
    }

    .menu-toggle span {
        z-index: 2;
        width: 45px;
        height: 6px;
        background-color: #fff;
        border-radius: 5px;
    }

    .input_menu {
        z-index: 1;
        position: absolute;
        top: 69px;
        left: 0;
        width: calc(100% - 40px);
        background-color: #e3c76b;
        box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        visibility: hidden;
    }

    .input_menu.active {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

    .input_menu.inactive {
        opacity: 0;
        transform: translateY(-20px);
        visibility: hidden;
    }

    .value_item_menu {
        font-size: 14px;
        padding: 5px;
        margin-left: 5px;
        width: 90%;
    }
}