nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 15vh;
    .logos{
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 20%;
        p{
            font-family: "Loos_bold" !important;
            line-height: 1.2;
        }
        .separator{
        display: block;
        width: 2px;
        height: 50px;
        background-color: black;
        }
        .logo{
            width: 6vw;
        }
        a{
            border: none;
            padding-right: 0!important;
        }
    }
    .uk-navbar-nav{
        gap: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        list-style: none;
        overflow: visible;
        max-height: 15vh;
        li {
            all: unset;
            a{
            font-family: "Loos_bold" !important;
            font-size: 1.2rem;
            padding: 0rem 0.5rem!important;
            cursor: pointer;
            min-height: 2vh;
            border-top-left-radius: 15px;
            border-top-right-radius: 15px;
            border: none!important;
            }
        }
    }
    .menu-burger{
        display: none;
    }
}

    .mobile_menu{
        display: none;
        height: 85vh;
        background-color: var(--color-primary);
        color: white;
        margin-left: -5vw;
        margin-right: -5vw;
        padding: 2vw;
        ul{
            width: 100vw;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            list-style: none;
            gap: 2vh;
            padding: 0;
            padding-top: 5vh;
            li{
                all: unset;
                a{
                    all: unset;
                    font-family: "Loos_bold" !important;
                    font-size: 1.5rem;
                    padding: 1rem 0!important;
                    cursor: pointer;
                    color: white;
                    width: 100%;
                    text-align: center;
                }
            }
        }
    }

    .menu_active{
        display: flex;
    }

.color-tests{
    display: none;
}

.uk-navbar-nav li:nth-child(1) a {
  border-radius: 25px;
}
.uk-navbar-nav li:nth-child(5) a {
    border-radius: 25px;
}
.uk-navbar-nav li:nth-child(7) a {
    border-radius: 25px;
}
.uk-navbar-nav li:nth-child(8) a {
    border-radius: 25px;
}

.menu{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
    overflow: visible;
    width: 70%;
}

.uk-navbar-nav li:nth-child(1) a:hover,
.uk-navbar-nav li:nth-child(2) a:hover,
.uk-navbar-nav li:nth-child(3) a:hover,
.uk-navbar-nav li:nth-child(5) a:hover,
.uk-navbar-nav li:nth-child(6) a:hover,
.uk-navbar-nav li:nth-child(7) a:hover,
.uk-navbar-nav li:nth-child(8) a:hover {
  color: white;
}

.uk-navbar-nav li:nth-child(1) a:hover {
  background-color: var(--primary7);
}

.uk-navbar-nav li:nth-child(2) a:hover {
  background-color: var(--primary2);
}

.menu:has(.drop_lycee:hover) .uk-navbar-nav > li:nth-child(2) > a {
    background-color: var(--primary2);
    color: white;
}

.uk-navbar-nav li:nth-child(3) a:hover {
  background-color: var(--secondary3);
}

.menu:has(.drop_formations:hover) .uk-navbar-nav > li:nth-child(3) > a {
    background-color: var(--secondary3);
    color: white;
}

.uk-navbar-nav li:nth-child(6) a:hover {
  background-color: var(--primary7);
}

.menu:has(.drop_inscriptions:hover) .uk-navbar-nav > li:nth-child(6) > a {
    background-color: var(--primary7);
    color: white;
}

.uk-navbar-nav li:nth-child(7) a:hover {
  background-color: var(--primary2);
}

.uk-navbar-nav li:nth-child(8) a:hover {
  background-color: var(--secondary3);
  border-radius: 25px;
}

.uk-navbar-nav li:nth-child(4) a:hover {
  color: var(--color-primary);
  background-color: var(--muted2);
}

.menu:has(.drop_viedeseleves:hover) .uk-navbar-nav > li:nth-child(4) > a {
    background-color: var(--muted2);
    color: var(--color-primary);
}

.uk-navbar-nav li:nth-child(5) a:hover {
  color: white;
  background-color: var(--muted7);
  border-radius: 25px;
}


.drop{
    display: none;
    justify-content: space-around;
    width: fit-content;
    height: fit-content;
    position: absolute;
    top: 90%;
    z-index: 1000;
    border-radius: 53px;
    background-color: white;
    padding: 1vw;
    a{
        all: unset;
        position: relative;
        display: flex;
        flex-direction: column;
        width: 17vw!important;
        height: 15vw!important;
        padding: 2vw;
        padding-right: 0!important;
        gap: 1vh;
        cursor: pointer;
        .img-wrapper {
            position: relative;
            width: 80%;

            img {
                width: 100%;
                border-radius: 30px;
            }

            &::after {
                content: "";
                position: absolute;
                bottom: 0;
                right: -5px;
                width: 4vw;
                height: 4vw;
                background-image: url("/images/yootheme/fleche_actu.png");
                background-size: contain;
                background-repeat: no-repeat;
                z-index: 10;
                pointer-events: none;
            }
        }
        .titre_menu{
            font-family: "Loos_bold" !important;
            font-size: 1.2rem;
            margin: 0!important;
        }
        .desc_menu{
            margin: 0!important;
            font-size: 0.8rem;
            line-height: 1rem;
        }
    }
}

.drop_lycee{ 
    border: solid 5px var(--primary2);
}

.drop_formations{
    border: solid 5px var(--secondary3);
}

.drop_viedeseleves{
    border: solid 5px var(--muted2);
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    a{
        position: relative;
        display: flex;
        flex-direction: column;
        width: 20vw!important;
        height: 100%;
        padding: 2vw;
        padding-right: 0;
        gap: 1vh;
        .img-wrapper {
            position: relative;
            width: 60%;

            img {
                width: 100%;
                border-radius: 30px;
            }

            &::after {
                content: "";
                position: absolute;
                bottom: 0;
                right: -5px;
                width: 4vw;
                height: 4vw;
                background-image: url("/images/yootheme/fleche_actu.png");
                background-size: contain;
                background-repeat: no-repeat;
                z-index: 10;
                pointer-events: none;
            }
        }
        .titre_menu{
            font-family: "Loos_bold" !important;
            font-size: 1.2rem;
            margin: 0!important;
        }
        .desc_menu{
            margin: 0!important;
            font-size: 0.8rem;
            line-height: 1rem;
        }
    }
}

.drop_inscriptions{
    border: solid 5px var(--primary7);
}

.drop_faq{
    border: solid 5px var(--primary2);
}



.visible{
    display: flex;
}


.bleu{
    width: 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
   .test {
    height: 50px;
    width: 50px;
    } 
    .n0{
        background-color: var(--color-primary);  
    }
    .n1{
        background-color: var(--primary2);  
    }
    .n2{
        background-color: var(--primary3);  
    }
    .n3{
        background-color: var(--primary4);  
    }
    .n4{
        background-color: var(--primary5);  
    }
    .n5{
        background-color: var(--primary6);  
    }
    .n6{
        background-color: var(--primary7);  
    }
    .n7{
        background-color: var(--primary8);  
    }
    .n8{
        background-color: var(--primary9);  
    }
    .n9{
        background-color: var(--primary10);  
    }
    
}

.beige{
    width: 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
   .test {
    height: 50px;
    width: 50px;
    } 
    .n0{
        background-color: var(--color-muted);  
    }
    .n1{
        background-color: var(--muted2);  
    }
    .n2{
        background-color: var(--muted3);  
    }
    .n3{
        background-color: var(--muted4);  
    }
    .n4{
        background-color: var(--muted5);  
    }
    .n5{
        background-color: var(--muted6);  
    }
    .n6{
        background-color: var(--muted7);  
    }
    .n7{
        background-color: var(--muted8);  
    }
    .n8{
        background-color: var(--muted9);  
    }
    
}

.ciel{
    width: 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
   .test {
    height: 50px;
    width: 50px;
    } 
    .n0{
        background-color: var(--color-secondary);  
    }
    .n1{
        background-color: var(--secondary2);  
    }
    .n2{
        background-color: var(--secondary3);  
    }
    .n3{
        background-color: var(--secondary4);  
    }
    .n4{
        background-color: var(--secondary5);  
    }
}


@media screen and (max-width: 480px) {
    nav{
        padding-left: 2vw;
        padding-right: 2vw;
        .uk-navbar-nav{
            display: none!important;
        }
        .logos{
            width: 100%;
            .logo{
                width: 15vw;
            }
        }
        .menu-burger{
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            cursor: pointer;
            .ligne-burger{
                width: 2rem;
                height: 0.3rem;
                background-color: black;
                border-radius: 10px;
                border-radius: 50px;
                cursor: pointer;
            }
        }
    }
}