*, ::before, ::after{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body{
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
    height: 100vh;
    /* overflow: hidden; */
}

.header{
    width: 27%;
}
.head-container{
    background-color: rgb(25, 25, 33);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 117px;
}
@media (max-width: 1170px) {
    .el span{
        font-size: 14px;
    }
}
.btn{
    display: none;
    position: absolute;
    top: 35px;
    right: 15px;
    width: 40px;
    height: 42px;
    cursor: pointer;
}
.lignes{
    background-color: #f1f1f1;
    height: 6px;
    width: 100%;
    border-radius: 5px;
    position: absolute;
    transition: all 0.3s ease-in-out;
}
.lignes:nth-child(1){
    top: 0px;
}
.lignes:nth-child(2){
    top: 18px;
}
.lignes:nth-child(3){
    top: 36px;
}
.btn.active1 .lignes:nth-child(1){
    top: 18px;
    transform: rotate(135deg);
}
.btn.active1 .lignes:nth-child(2){
    transform: translateX(-20px);
    opacity: 0;
}
.btn.active1 .lignes:nth-child(3){
    top: 18px;
    transform: rotate(-135deg);
}
.el-container{
    width: 800px;
    display: flex;
    justify-content: space-evenly;
}
.el-container.active1{
    text-align: center;
    position: absolute;
    background-color: rgba(51, 51, 51,0.5);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    left: 0;
}
.el{
    color: #f1f1f1;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    width: fit-content;
    cursor: pointer;
    font-size: 18px;
}
.el span::after{
    content: '';
    display: block;
    width: 0px;
    margin: 5px auto 0 auto;
    height: 2px;
    border-radius: 2px;
    background-color: #aaa;
    transition: width 0.2s ease-out;
}
.el span:hover::after{
    width: 100%;
}
.loupe{
    margin-right: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    width:40px;
    height: 40px;
    background-color: #f1f1f1;
    border-radius: 9999px;
}
.loupe img{
    width: 37px;
    height: 30px;
    border-radius: 9999px;
    transform: scale(0.8);
}
.loupe:hover{
    filter: invert(150);
}
.el-rc{
    margin-right: 180px;
}
@media screen and (max-width: 1010px){
    .btn{
        display: block;
    }

    .head-container{
        border-bottom: 1px solid #f1f1f1;
    }

    .el-container{
        position: relative;
        top: 117px;
        display: none;
    }

    .el{
        text-align: center;
        margin: 0;
    }
    .li{
        width: 100%;
        text-align: center;
    }
    .el-rc{
        margin-right: 0;
    }
    
}

.genre-container{
    display: flex;
    align-items: center;
    width: 100%;
    height: 60px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #dfdfdf;
}
.genre{
    width: 85%;
    display: flex;
    align-items: center;
    margin-left: 50px;
}
.sous-genre{
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    list-style-type: none;
    color: #6b6b6b;
}
.sous-genre li{
    font-size: 16px;
    margin-right: 30px;
    display: inline-block;
    cursor: pointer;
}
.sous-genre li:nth-child(6){
    margin-right: 10px;
}
.sous-genre li:hover{
    color: #313131;
}
.triangle{
    width: 20px;
    height: 20px;
    position: relative;
}
.triangle::after{
    position: absolute;
    content: "";
    border-left: 8px solid #6b6b6b;
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    top: 50%;
    cursor: pointer;
    transform: translateY(-60%);
}
.triangle:hover::after{
    content: "";
    border-left: 8px solid #313131;
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
}
@media screen and (max-width: 840px) {
    .sous-genre li{
        font-size: 14px;
        margin-right: 10px;
    }
}
.type span{
    font-weight: bold;
    color: #6b6b6b;
    font-size: 16px;
    display: inline-block;
    margin-right: 10px;
}
.type span:hover{
    color: #313131;
}
.type{
    z-index: 10;
    cursor: pointer;
    display: none;
}
@media screen and (max-width: 630px) {
    .genre{
        display: none;
    }
    .type{
        display: flex;
        align-items: center;
        margin-left: 50px;
    }
}
.active2{
    text-align: center;
    position: absolute;
    background-color: rgba(248, 248, 248, 0.7);
    display: flex;
    flex-direction: column;
    top: 150px;
    z-index: 2;
}
.active2 ul li{
    margin-top: 20px;
    display: block;
}


.anime-head{
    margin-top: 50px;
    font-family: Arial, Helvetica, sans-serif;
}
.start{
    display: flex;
    justify-content: space-between;
    background-color: white;
    width: 100%;
    height: 32px;
    border-bottom: 3px solid #dfdfdf;
}
.bloc{
    width: 32px;
    height: 32px;
    background-color: #1a1920;
    margin-right: 20px;
}
.start1{
    display: flex;
    align-items: center;
    color: #333;
}
.start2{
    color: #838383;
    display: flex;
}
.start2 p{
    text-align: center;
}
.anime-commun{
    margin-right: 15px;
    cursor: pointer;
}
.active{
    color: rgb(123, 123, 253);
    border-bottom: black 3px solid;
    padding-bottom: 29px;
}
@media screen and (max-width: 650px){
    .anime-head{
        font-size: 12px;
    }
    .bloc{
        width: 26px;
        height: 26px;
        margin-right: 10px;
    }
}

.anime-head-container{
    width: 60%;
    margin-left: 100px;
}
@media screen and (max-width:1020px){
    .anime-head-container{
        margin-left: 50px;
        width: 70%;
    }
}
.anime-container{
    display: grid;
    grid-template-rows: repeat(8, 150px);
    grid-template-columns: repeat(2, 50%);
    grid-gap: 40px;
    width: 100%;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 25px;
    color: #333;
    margin-top: 50px;
}
@media (max-width: 950px) {
    .anime-container{
        grid-column-gap: 0px;
    }
}
@media screen and (max-width:875px) {
    .anime-container{
        grid-template-rows: repeat(16, 150px);
        grid-template-columns: repeat(1, 100%);
    }
}
.anime{
    position: relative;
    width: 90%;
    height: 150px;
}
.anime::after{
    content: '';
    margin-top: 5%;
    display: block;
    background-color: #dfdfdf;
    width: 100%;
    height: 1px;
}
h6{
    margin-left: 15px;
    position: absolute;
    display: inline;
    top: 5px;
    cursor: pointer;
}
h6:hover{
    color: rgba(138, 138, 255, 0.792);
}
.etoile{
    width: 150px;
    position: absolute;
    top: 35px;
    left: 125px;
    display: flex;
    justify-content: space-around;
}
@media screen and (max-width: 1500px) {
    .etoile{
        top: 50px;
    }
}
.etoiles{
    width: 18px;
    height: 18px;
}
.number{
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #333;
    display: inline;
}
.last-ep{
    display: flex;
    position: absolute;
    align-items: center;
    top: 75px;
    left: 125px;
}
.last-ep1{
    top: 120px;
}
.recent-ep{
    border: none;
    border-radius: 15px;
    background-color: #ebebeb;
    padding: 4px 10px;
    font-weight: 800;
    color: #666;
}
.date{
    font-weight: 500;
    font-size: 13px;
    margin-left: 35px;
    display: inline;
    color: #888;
}
.recent-ep:hover{
    filter: invert(100);
    color: black;
}
@media screen and (max-width:450px) {
    h6{
        font-size: 12px;
    }
}


.rechercher{
    position: absolute; 
    right: 40px;
    top: 350px;
}
.form-c input{
    text-align: left;
    padding: 15px 60px;
    border-radius: 10px;
}
.form1 input{
    margin-bottom: 5px;
    border-color: blue;
}
.form2 input{
    border-color: orangered;
}
.reserch{
    position: absolute;
    top: 15px;
    right: 10px;
    width: 22px;
}
.reserch1{
    position: absolute;
    top: 68px;
    right: 10px;
    width: 22px;
}

@media screen and (max-width:1160px) {
    .form-c input{
        padding: 15px 30px;
    }
    .rechercher{
        right: 20px;
    }
}
@media screen and (max-width:1000px) {
    .form-c input{
        display: none;
    }
    .imgresp{
        border: 2px blue solid;
        padding: 20px;
        margin-bottom: 10px;
        border-radius: 10px;
    }
    .imgresp1{
        border-color: orangered;
    }
}
.form-c input.active3{
    display: block;
}
.active4{
    display: none;
}


@media screen and (max-width:425px){
    .rechercher{
        display: none;
    }
    .anime-head-container{
        margin-left: 10px;
        width: 90%;

    }
}

