@import url('https://fonts.googleapis.com/css2?family=Poppins');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Fredoka:wght@300..700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    transition: all 1.25s ease-in-out;
}
body{
    display: flex;
    overflow: hidden;
    max-height: 100%;
    width: 100%;
    background-color: rgba(51, 51, 51, 0.1);
    padding: 5px;
    gap: 5px;
}
body.dark{
    background-color: rgba(51, 51, 51);
}
#bar{
    display: flex;
    flex-direction: column;
    height: 99vh;
    align-items: center;
    padding: 20px 10px 0 10px;
    gap: 20px;
    background: rgb(46, 46, 46);
    border-right: 1px solid rgb(0, 0, 0);
    border-radius: 15px;
}
body.dark #bar{
    border: 2px solid rgb(184, 184, 184);
}
#bar a{
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.5s ease-in-out;
    /* color: rgb(66, 66, 66); */
    color: white;
    font-size: 20px;
    text-decoration: none;
}
#bar a:hover{
    background-color: rgba(139, 139, 139, 0.582);
    color: rgb(51, 51, 51);
}
#bar div a{
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.4s ease-in-out;
    color: white;
    font-size: 20px;
}
#bar div:nth-child(1){
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#bar div:nth-child(1) hr{
    margin-top: 10px;
}
#bar div a:hover{
    background-color: rgba(139, 139, 139, 0.582);
    color: rgb(51, 51, 51);
}
#bar div:nth-child(2){
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    height: 100%;
    padding-bottom: 20px;
}
#bar div:nth-child(2) div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}
#bar div:nth-child(2) div img{
    height: 40px;
    border-radius: 10px;
    width: 40px;
}
#content{
    height: 99vh;
    width: 100%;
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}
body.dark #content{
    background-color: rgb(51, 51, 51);
    border: 2px solid rgb(184, 184, 184);
}
#icon-responsive{
    display: flex;
    justify-content: end;
    font-size: 40px;
    cursor: pointer;
}
#icon-responsive i{
    height: 55px;
    width: 55px;
    display: none;
    align-items: center;
    justify-content: center;    
    border-radius: 10px;
    transition: all 0.25s ease-in-out;
    color: #333;
}
body.dark #icon-responsive i{
    color: white;
}
#icon-responsive i:hover{
    background-color: rgba(148, 143, 143, 0.582);
}
#content-connexion{
    display: flex;
    justify-content: end;
    padding: 5px;
    gap: 20px;
}
#content-connexion a{
    color: #333;
    font-size: 25px;
    text-decoration: none;
    text-align: center;
}
body.dark #content-connexion a{
    color: white;
}
#name{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    width: 100%;
    margin: 100px 0 125px 0;
}
#name img{
    height: 150px;
}
#name h1{
    font-size: 3.5rem;
    font-weight: 900;
    color: rgb(10, 2, 41);
}
body.dark #name h1{
    text-shadow: 1px 1px 2px #FFFFFF;
}
#search{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
#search form{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    width: 100%;
}
#search form input{
    outline: none;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    border-right: 0px solid black;
    border-left: 1px solid black;
    background-color: rgba(236, 236, 236, 0.767);
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    width: 60%;
    max-width: 800px;
    height: 60px;
    padding: 0 0 0 20px;
    color: #333;
    font-size: 20px;
    cursor: pointer;
}
body.dark #search form input{
    background-color: rgb(51, 51, 51);
    color: white;
    border-top: 1px solid rgb(184, 184, 184);
    border-bottom: 1px solid rgb(184, 184, 184);
    border-right: 0px solid rgb(184, 184, 184);
    border-left: 1px solid rgb(184, 184, 184);
}
#search form button{
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    border-right: 1px solid black;
    border-left: 0px solid black;
    background-color: rgba(236, 236, 236, 0.767);
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 50px;
    color: #333;
    font-size: 20px;
    cursor: pointer;
}
body.dark #search form button{
    background-color: rgb(51, 51, 51);
    color: white;
    border-top: 1px solid rgb(184, 184, 184);
    border-bottom: 1px solid rgb(184, 184, 184);
    border-left: 0px solid rgb(184, 184, 184);
    border-right: 1px solid rgb(184, 184, 184);
}
#sec3{
    height: 100%;
    width: 100%;
    background-color: rgba(48, 48, 48, 0.288);
    display: none;
    position: fixed;
    align-items: center;
    justify-content: center;
}
body.dark #sec3{
    background: rgba(126, 126, 126, 0.808);
}
#sec3 img{
    height: 50px;
    width: 50px;
}
#sec3 #img-compte{
    border-radius: 100%;
}
#sec3 #boite-icon-responsive{
    display: flex;
    flex-direction: column;
    background-color: rgb(245, 245, 245);
    height: 450px;
    border-radius: 20px;
    border: 5px solid #333;
    padding: 10px;
}
body.dark #sec3 #boite-icon-responsive{
    background-color: #333;
    border: 5px solid rgb(184, 184, 184);
}
#icon-fermeture-responsive{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    font-size: 20px;
    color: #333;
}
#content-icon-reposive{
    display: grid;
    grid-template-columns: repeat(3, 90px);
    gap: 20px;
    justify-content: center;
    align-items: center;
    overflow-y: scroll;
}
body.dark #content-icon-reposive{
    background-color: #333;
}
#content-icon-reposive a{
    width: 100%;
    height: 90px;
    border-radius: 15px;
    background-color: #5c5c5c;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    gap: 2px;
    text-align: center;
}
#content-icon-reposive a:nth-child(2) i{
    font-size: 20px;
}
#content-icon-reposive a #responsive-icon{
    font-size: 30px;
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#content-icon-reposive a:hover #responsive-icon{
    color: white;
}
#content-icon-reposive #responsive-texte{
    display: flex;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}
#content-icon-reposive a:hover{
    background-color: #4d4d4d;
}
#content-icon-reposive::-webkit-scrollbar {
    display: none;
}
#link{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    position: relative;
}
#link a{
    text-decoration: none;
    color: #333;
    border: 2px solid #333;
    border-radius: 15px;
    padding: 10px;
    transition: all 0.25s ease-in-out;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
#link a img {
  position: absolute;
  transform: rotate(-15deg);
  left: -15px;
  top: -20px;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}
body.dark #link a{
    color: white;
    border: 2px solid white;
}#link a:hover{
    background-color: #797979;
    color: white;
}
@media screen and (max-width: 380px){
    #content-icon-reposive{
        grid-template-columns: repeat(2, 90px);
    }
}
@media screen and (max-width: 600px){
    #icon-responsive i{
        display: flex;
    }
    #bar{
        display: none;
    }
    #search form input{
        width: 65%;
    }
    #content-connexion a{
        display: none;
    }
}
@media screen and (max-width: 450px){
    #name img{
        height: 125px;
    }
}