.ico-down {
    width: 1.2rem;
    height: 1.2rem;
    object-fit: contain;
    transition: all 0.3s;
}

/* DROPDOWN */
.dropdown {
  display: inline-block;
  margin: 0;
  position: relative;

    .dropdown-content {
        position: absolute;
        z-index: 99;
        left: 50%;
        width: auto;
        top: 100%;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
        opacity: 0;
        text-align: left;
        margin: 0;
        visibility: hidden;
        pointer-events: none;
        padding: 2rem;
        background-color: var(--black);
        border-radius: 5px;
        min-width: 25rem;
        translate: -50% 0;
        text-align: center;

        & a {
            line-height: 1.2;

            &:hover {
                color: var(--white);
            }
        }
    }
}

.dropdown:hover {
    .dropdown-content {
        height: auto;
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }
}


/* RESPONSIVE */
.menuresponsive {
  display: flex;
  width: 6rem;
  justify-content: flex-end;
  align-items: center;

    @media screen and (min-width: 769px) {
        display: none;
    }

    & img {
        width: 4rem;
        height: 4rem;
        aspect-ratio: 1/1;
    }

    
}



/* TOGGLE */
ul.accordion {
    .inner {
        overflow: hidden;
        display: none;
        padding: 1rem 0;
    }
}

.rotate {
  rotate: 180deg;
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 100;
    top: 0;
    overflow-x: hidden;
    transition: 0.5s;
    right: 0;
    overflow-y: scroll;

    .closebtn {
        position: absolute;
        top: 2rem;
        color: var(--black);
        font-size: 2.6rem;
        background: var(--white);
        border-radius: 5px;
        width: 2.5rem;
        height: 2.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        line-height: 1;
        right: 2rem;
        z-index: 9;
        background: transparent;
    }

    .flexnav {
        display: flex;
        position: relative;

        .bgcolor {
            position: fixed;
            background-color: rgba(255, 230, 4, 0.8);
            width: 20%;
            min-height: 100vh;
            transition-timing-function: cubic-bezier(1.28, 0.89, 0.32, 0.18);
            left: 0;
            top: 0;
            position: absolute;
            height: 100%;
        }

        .bgblack {
            background-color: var(--black);
            min-height: 100vh;
            height: 100%;
            padding: 10rem 2rem;
            margin-left: 20%;
            width: 80%;
            padding: 3rem;

            & a {
                font-size: 2rem;
                color: var(--white);
                font-weight: 500;
                text-transform: uppercase;
            }
        }
    }
}

.sidenav {
    .logo-resp {
        margin: 0 0 2rem;

        & img {
            width: 13rem;
            height: auto;
            object-fit: contain;
            aspect-ratio: 5/3;
        }
    }
}


#myBtn {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  transition: all 0.3s;
  background: var(--black);
  border-radius: 10rem;
  height: 3.5rem;
  width: 3.5rem;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);

    & img {
        width: 2.5rem;
        height: 2.5rem;
    }

    &.arrow-visible {
        opacity: 1;
        visibility: visible;
    }
}



.fascia_menu {
    background: var(--blu);
    color: var(--white);
    border-bottom: 1px solid #004B8C;
    padding: 2rem 0;

    @media screen and (min-width: 769px) {
        padding: 0;
    }

    .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;

        .logo_box {
            display: flex;
            align-items: center;
        }

        .logo {
            width: 18rem;
            height: auto;
            aspect-ratio: 113 / 17;
            object-fit: contain;
            max-width: 100%;

            @media screen and (min-width: 320px) {
                width: 23rem;
            }
        }

        .cta_resp_wrap {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 1.5rem;
            position: absolute;
            top: 9.5rem;
            right: 2%;
            z-index: 9;

            @media screen and (min-width: 769px) {
                position: relative;
                top: inherit;
                right: inherit;
            }
            @media screen and (min-width: 1030px) {
                display: none;
            }

            .cta_resp {
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                
                img {
                    width: 4.5rem;
                    height: auto;
                    aspect-ratio: 1 / 1;
                    object-fit: contain;
                }
            }
        }

        .cta_wrap {
            display: none;

            @media screen and (min-width: 1030px) {
                display: flex;
                align-items: center;
                gap: 2rem;
            }
        }

        .whats_desk {
            display: flex;
            align-items: center;

            img {
                width: 2.8rem;
                height: 2.8rem;
                object-fit: contain;
            }
        }

        .menu {
            width: calc(100% - 23rem - 10.5rem);
            display: none;
            justify-content: center;

            @media screen and (min-width: 769px) {
                display: flex;
            }
            @media screen and (min-width: 1030px) {
                width: calc(100% - 23rem - 31rem);
            }

            ul {
                display: flex;
                flex-wrap: wrap;
                
                li {
                    a {
                        padding: 2.5rem 1rem;
                        display: flex;
                        align-items: center;
                        color: var(--white);
                        text-transform: uppercase;

                        @media screen and (min-width: 830px) {
                            padding: 2.5rem 2rem;
                        }

                        &:hover, &.active {
                            color: var(--giallo);
                            text-decoration: underline;
                            text-underline-offset: 6px;
                        }
                    }
                }
            }
        }
    }
}

