/* Google Font Import Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}

/* body {
    font-family: 'Nunito';
    background-color: brown;
} */

/* header {
    width: 100vw;
    height: 100vh;
} */

.container {
    padding-top: 50px;
}

/* SI BUG POSITIONNEMENT, ENLEVER PADDING TOP CONTAINER ET METTRE NAVBAR POSITION RELATIVE */

.navbar {
    display: flex;
    justify-content: center;
    /* align-items: center; */
    font-family: 'Poppins', sans-serif;
    position: absolute; 
    padding: 10px 0;
    width: 100%;
    height: 50px;
    box-sizing: border-box;
    transition: all 0.5s ease;
    z-index: 100;
    box-shadow: 0 0.5rem 3rem rgba(0, 0, 0, 0.4);
    backdrop-filter: brightness(40%);
    /* backdrop-filter: blur(60px); */
    background-color: rgba(0, 0, 0, 0.329);
}

.navbarContainer {
    width: auto;
    display: flex;
    /* justify-content: space-between; */
    height: 100%;
    /* margin-left: auto;
    margin-right: auto; */
    margin-top: 2px;
    /* justify-content: center; */
    align-items: center;
    vertical-align: middle;
    
    /* overflow-wrap: break-word; */
    /* flex-wrap: wrap; */
}

.navbar a {
    color: rgb(255, 217, 0);
    font-size: 16px;
}

.navbar .logo {
    top: 18px;
    left: 50px;
    font-size: 2em;
    font-weight: bold;
    color: rgb(255, 217, 0);
}

.navbar .navLinks ul, .navbar .navLinksAutres ul {
    display: flex;
}

.navbar .navLinks ul li {
    margin: 0 25px 0 0;
}

/* .navbar .navLinks ul li a {
    padding-top: 28px;
    padding-bottom: 28px;
    padding-left: 2px;
    padding-right: 2px;
} */

.navbar .navLinksAutres ul li {
    margin: 0 0 0 15px;
}

.navbar .navLinksAutres ul.decalage {
    margin: 0 0 0 10vw;
}

.navbar .navLinks ul li.active a, .navbar .navLinksAutres ul li.active a {
    color: rgb(255, 217, 0);;
    font-weight: 600;
}

/* .navbar .navLinks ul li:hover a, .navbar .navLinksAutres ul li:hover a {
    background-color: aqua;
    padding: 28px 4px;
    transition: all 0.5s ease;
} */

#navLinkHomePetit {
    display: none;
    top: 50px;
    font-weight: 600;
}


.navbar .menu {
    display: none;
    position: absolute;
    top: 25px;
    left: 3%;
    width: 25px;
    color: rgb(255, 217, 0);
}

.accueil {
    margin-top: 60px;
}

.mobileMenu {
    margin-left: 0;
}

.profile-details {
    display: flex;
    /* flex-direction: row; */
    /* justify-content: center; */
}

.profile-details .profile-content {
    margin-top: 6px;
}

.profile-details .profil-pseudo {
    margin-top: 11px;
    display: block;
}

.profile-details .profil-pseudo .profile_name {
    font-size: 19px;
}

.profile-details .profile-content img {
    height: 40px;
    width: 40px;
    object-fit: cover;
    border-radius: 16px;
    /* margin: 0 14px 0 2px; */
    /* background: #1d1b31; */
    /* padding: 10px; */
    transition: all 0.5s ease;
}

.icon-link {
    color:rgb(255, 217, 0);
}

.navbar .navLinks ul li .sousMenu {
    position: absolute;
    flex-direction: column;
    color: rgb(255, 217, 0);
    max-height: 0;
    background-color: rgba(32, 35, 36, 0.63);
    align-items: center;
    text-align: center;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
    transition: all 1s;
    margin-left: -22px;
}

.navbar .navLinks ul li .sousMenu2 {
    position: absolute;
    display: flex;
    flex-flow: column;
    color: rgb(255, 217, 0);
    max-height: 0px;
    background-color: rgba(32, 35, 36, 0.63);
    align-items: center;
    text-align: center;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
    transition: all 1s;
    margin-left: -30px;
    width: 235px;
    /* width: 1000px; */
}

.navbar .navLinks ul li .sousMenu li {
    margin: 0px;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 20px;
    margin-right: 20px;
    cursor: pointer;
    font-size: 16px;
}

.navbar .navLinks ul li .sousMenu2 li {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    margin: 0px;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 45px;
    margin-right: 45px;
    font-size: 16px;
    float: left;
}

.navbar .navLinks ul li:hover .sousMenu, .navbar .navLinks ul li:hover .sousMenu2 {
    opacity: 1;
    max-height: 38vh;
    /* overflow: auto; */
    overflow-y: scroll;
}

.navbar .navLinks ul li:hover ~ .container {
    display: none;
}

.clignotementBordure {
    border: 2px solid rgb(255, 217, 0);
    padding: 0 15px 0 15px;
    animation-duration: .8s;
    animation-name: clignoterBordure;
    animation-iteration-count: infinite;
    transition: none;
}

@keyframes clignoterBordure {
    0%   { border-color: red; }
    40%   { border-color: rgb(255, 217, 0); }
    100% {  border-color: red; }

    /* COULEUR DE CLIGNOTEMENT INVERSE */
    /* 0%   { border-color: rgb(255, 217, 0); }
    40%   { border-color: red; }
    100% {  border-color: rgb(255, 217, 0); } */
}

.clignotement {
    animation-duration: .8s;
    animation-name: clignoter;
    animation-iteration-count: infinite;
    transition: none;
}

@keyframes clignoter {
    0%   { color: red; }
    40%   { color: rgb(255, 217, 0); }
    100% {  color: red; }
}


@media screen and (max-width: 1450px) {
    .navbar .navLinksAutres ul.decalage {
        margin: 0 0 0 10vw;
    }
}

@media screen and (max-width: 1300px) {
    .navbar .navLinksAutres ul.decalage {
        margin: 0 0 0 30px;
    }

    .navbar .navLinks ul li {
        margin: 0 10px 0 0;
    }

    .navbar .navLinksAutres ul li {
        margin: 0 0 0 0;
        margin-left: 10px;
    }

    .clignotementBordure {
        padding-right: 10px;
    }
}

@media screen and (max-width: 1050px) {

    .container {
        padding-top: 50px;
    }

    .navbar {
        display: flex;
        justify-content: center;
        /* align-items: center; */
        font-family: 'Poppins', sans-serif;
        position: absolute;
        padding: 10px 0;
        width: 100%;
        height: 50px;
        box-sizing: border-box;
        transition: all 0.5s ease;
        z-index: 100;
        box-shadow: 0 0.5rem 3rem rgba(0, 0, 0, 0.4);
        backdrop-filter: brightness(40%);
        /* backdrop-filter: blur(60px); */
        background-color: rgba(0, 0, 0, 0.329);
    }

    .profile-details {
        margin-top: -14px;
    }

    .decalageMenu {
        margin-top: 200px;
    }

    .navbar .navLinksAutres ul li#decalage {
        margin: 0 0 0 0;
    }

    /* .navbar {
        height: 30px;
    } */

    .navbar.mobileMenu {
        /* width: 100vw; */
        height: 100vh;
        position: fixed;
    }

    .navbar .navLinksAutres {
        position: absolute;
        top: 14px;
        right: 3%;
        z-index: 10;
    }

    .navLinks {
        top: 0;
        left : 0;
        position: absolute;
        width: 100%;
        height: 0px;
        display: none;
        
        align-items: center;
        transition: all 0.5s ease;
        opacity: 0;
    }

    .navLinks #navLinkHomeGrand{
        display: none;
    }

    #navLinkHomePetit {
        display: block;
        position: absolute;
        left: 65px;
        top: 13px;
        font-size: 18px;
        color: rgb(255, 217, 0);
    }

    .navbar.mobileMenu .navLinks {
        /* position: -webkit-sticky; */
        position: sticky;
        opacity: 1;
        height: 100vh;
        display: flex;
    }

    .navbar .navLinks ul li {
        margin: 0;
        font-size: 2em;
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .navLinks ul {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .navbar .menu {
        display: block;
        position: absolute;
        top: 15px;
    }

    .navbar .navLinks ul li .sousMenu, .navbar .navLinks ul li .sousMenu2 {
        width: auto;
    }
    
    

    .navbar .navLinks ul li .sousMenu li {
        margin-left: 20px;
        margin-right: 20px;
        font-size: 16px;
    }
    
    .navbar .navLinks ul li .sousMenu2 li {
        margin-left: 45px;
        margin-right: 45px;
        font-size: 16px;
    }

    /* .profile-details .profile-content {
        margin-top: 10px;
    } */

    
}

@media screen and (max-width: 600px) {
    .navbar .navLinksAutres a {
        font-size: 16px;
    }

    /* .navbar .navLinksAutres {
        position: absolute;
        top: 29px;
        right: 3%;
        z-index: 10;
    } */

    .navbar .navLinksAutres ul li {
        margin: 0 0 0 10px;
    }

    #navLinkHomePetit {
        left: 50px;
        display: none;
    }

    .navLinks #navLinkHomeGrand{
        display: block;
    }
}

@media screen and (max-width: 400px) {
    .profile-details .profil-pseudo {
        margin-top: 20px;
        display: none;
    }
}