
@import url('https://fonts.googleapis.com/css2?family=Mochiy+Pop+One&family=Permanent+Marker&family=Roboto:wght@400;500&family=Sintony&family=Ubuntu&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Krub:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300&display=swap');

body{
    margin: 0;
    padding: 0;
    background-color: white;
    font-family: 'Krub', sans-serif;
    width: 100%;
    margin-top: 50px;
    font-size: 13px;
}

html{
    scroll-behavior: smooth;
}

/* NAVBAR */
nav {
    height: 80px;
    background-color: rgb(255, 255, 255, 0.3); 
    backdrop-filter: blur(7px);
    position: fixed;
    top: 0px;
    z-index: 9999;
    width: 100%;

}

.navmarge{
    height: 7em;
}


nav img {
    width: 150px;
    position: absolute;
    top: 12px;
    left: 3%;
}

nav ul {
    float: right;
    margin-right: 25px;
}

nav ul li {
    display: inline-block;
    line-height: 40px;
    margin: 0 15px
}

nav ul li a {
    list-style: none;
    text-decoration: none;
    position: relative;
    color: black;
    font-size: 18px;
    text-transform: uppercase;
    padding: 0 5px 5px;

}

nav ul li a::before {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    height: 20px;
    width: 100%;
    background: rgb(247, 227, 156);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s linear;
    z-index: -1;
 
}

nav ul li a:hover:before {
    transform: scaleX(1);
    transform-origin: left;
}

ul li {
    list-style: none;
    text-decoration: none;
}

label #btn,
label #cancel {
    color: black;
    font-size: 30px;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}

#check {
    display: none;
}

@media (max-width: 1118px) {
    nav img {
        left: 8%;
    }
    nav{
        background-color: white;
    }
}

@media (max-width: 944px) {
    nav img {
        left: 6%;
        top: 15px;
        width: 130px;
    }
    nav ul li a {
        font-size: 17px;
    }
}

@media (max-width: 860px) {
    label #btn {
        display: block;
       
    }
    nav ul {
        position: fixed;
        width: 100%;
        height: 100vh;
        background: white;
        top: 60px;
        left: -1000%;
        text-align: center;
        transition: all .5s;
        z-index: 999;
        padding: 0;
    }
    nav ul li {
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    nav ul li a {
        font-size: 20px
    }
}

#check:checked~ul {
    left: 0;
}

#check:checked~label #cancel {
    display: block;
}



/* ACCUEIL */

.banniere{
    margin-top: -3em;
    display: flex;
    width: 100%;
}

.banniere .doublecase{
    width: 95%;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.banniere .doublecase .leftcase{
    background-color: rgb(255, 249, 227);
    width: 40%;
    border-radius: 20px 0px 0px 20px;
    z-index: 98;
    writing-mode : vertical-lr; 
    position: relative;
}

.banniere .doublecase .leftcase span{
    position: absolute;
    padding: 5em 0em 0em 2em;
    font-size: 1em;
    z-index: 99;
    overflow: hidden;
}

.banniere .doublecase .leftcase img{
    width: 130%;
    z-index: 99;
    
}

.banniere .doublecase .rightcase{
    background-color: #232935;
    width: 60%;
    border-radius: 0px 20px 20px 0px; 
}

.banniere .doublecase .rightcase p {
    font-size: 1em;
    color: white;
    text-align: center;
    padding: 1em;
}

.banniere .doublecase .rightcase .nouveaute{
    display: flex;
    justify-content: center;
    gap: 7em;
    margin-bottom: 2em;
  
}

.banniere .doublecase .rightcase .nouveaute img{
    width: 15%;
    filter: grayscale(90%);
    transition: 500ms;
    border-radius: 10px;
}

.banniere .doublecase .rightcase .nouveaute img:hover{
    filter: none;
}

.banniere .doublecase .rightcase H1{
    text-align: center;
    font-size: 3em;
    color: rgb(247, 227, 156);
    text-shadow: 1px 1px rgb(255, 255, 255);
}

hr{
    border: 0.5px solid white;
    width: 55%;
}

.rightcase .rightcasebtn{
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 3em;
    margin-bottom: 7em;
}

.btnaccueil {
    background-color: #1C1C1C;
    border: none;
    color: white;
    padding: 1em 3em;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
    margin-top: 30px;
    border-radius: 10px;
  }

  .btnaccueil:hover{
    color: #1C1C1C;
    background-color:  white;
    transition: 500ms;
   
  }
@media (max-width: 690px){
    .rightcase .rightcasebtn{
        display: none;
    }

    .banniere .doublecase .rightcase .nouveaute{
        display: none;
    }


}
@media (max-width: 480px){

    .banniere .doublecase .leftcase span{
        padding: 2em 0em 0em 1em;
        font-size: 0.8em !important;
   
    }

    .banniere .doublecase .rightcase H1{
        font-size: 2em;
    }

    .banniere .doublecase .rightcase p {
        padding: 0;
    }

}
.titre2{
   color: rgb(247, 227, 156);
   font-family: 'Mochiy Pop One', sans-serif;
   font-size: 12px;
   text-align: center;
   margin-top: 25px;

}
.apropos span{
    font-weight: bold;
    padding-left: 5px;
    font-size: 15px;
}

.apropos p{
    padding: 0 5px 0 5px;
    font-size: 13px;
    text-align: justify;

}

.container {
    padding: 20px;
 
}

/*  CATALOGUE  */

.bloclist{
    display: flex;
    flex-wrap: wrap;
}

.bloc{
    display: flex;
    width:24em;
    margin: 0 auto;
    flex-direction: column;
    margin-bottom: 50px;
    border-radius: 0px 10px 0px 10px; 
    border: 1px solid #1C1C1C;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    background-color: white;
    color: black;
}

.bloc .bloc_direction{
    display: flex;
    flex-direction: row;
}
.bloc .imgbloc{
    display: flex;
    width: 40%;
    align-items: center;
    justify-content: center;
}

.bloc .imgbloc img{
    width:70%;
    height: auto;
    padding-top: 10px;

}

.bloc .descript_bloc{
    display: flex;
    width: 60%;
    align-items: center;
    justify-content: center;
    flex-direction: column;

}

.bloc .descript_bloc p{
    margin-bottom: 5px;
}

.bloc .descript_bloc H1{
    font-family: 'Mochiy Pop One', sans-serif;
    color: rgb(247, 227, 156);
    margin: 0;
    font-size: 19px;
}

.bloc .descript_bloc span{
    font-weight: bold;
    font-size: 15px;
}

.bloc .descript_bloc p{
    font-size: 15px ;
}

.bloc .resume_bloc{
    display: flex;
    text-align: center;
    text-align: justify;
    padding: 10px;
  
}

.descript_bloc p,H1,span {
    padding-right: 10px;

}

.descript_bloc H1{
    padding-top: 10px;
}

#myBtn {
    display: none; 
    position: fixed;
    bottom: 20px; 
    right: 30px;
    z-index: 99; 
    border: none; 
    outline: none; 
    background-color: rgb(247, 227, 156); 
    color: black; 
    cursor: pointer; 
    padding: 15px;
    border-radius: 10px; 
    font-size: 18px; 


  }

  #myBtn img{
      width: 20px;
  }
  
  #myBtn:hover {
    background-color: #555;
  }

/* RECHERCHE */

#resultatpour{
    text-align: center;
}

.recherche-barre{
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#form {
    display: flex;
    align-items: center;
    justify-content: center;

}

#form img{
    width: 100%;
    padding-top: 10px;
}

#form-search {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    flex-direction: column;
    width: 70vw;
}

#form-search input {
    position: relative;
    width: 100%;
    height: 8vh;
    border-radius: 5px;
    padding-left: 20px;
    border: rgb(255, 218, 83) 1px;
    
 
}

.search-button {
    margin-top: 1vh;
    height: 40px;
    width: 40px;
    background-size: cover;
    border: none;
    background-color: transparent;
    position: absolute;
    right: 15px;
    cursor: pointer;
}


input[type=text], input[type=submit] {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
  }
  

  input[type=checkbox] {
    margin-top: 16px;

  }
  

  input[type=submit] {
    color: black;
    border: none;
    margin: -10px 0 18px 0;
    height: 50px;

  }


  #form-search input {
    position: relative;
    width: 100%;
    height: 8vh;
    border-radius: 5px;
    padding-left: 20px;
    border: rgb(255, 218, 83) 2px solid;
}

  input[type=submit]:hover {
    opacity: 0.8;
  }




/* ADMIN *******************************************************/

.photo{
    width: 80%;
    margin-right: -20px;
  }
  

.table_gestion1 td a{
    color: black;
}

.table_gestion1 td{
    text-align: center;
    color: black;
 
}
.table_gestion1 td a:hover{
    color: rgb(247, 227, 156);

}

.table_gestion1 th{
text-transform: bold;
font-weight: 500px;

}

.table_gestion1{
    margin: 0 auto;
}

.titre_gestion{
    text-align: center;
    color: rgb(247, 227, 156);
}


.table_gestion1 td:nth-child(1){
    width: 200px;
   padding-right: 18px;


}
.table_gestion1 td:nth-child(5){
    width: 80px;
}
.table_gestion1 td:nth-child(6){
    width: 80px;
}
.table_gestion1 td:nth-child(7){
    width: 80px;
}

th { 
    background-color : #3A3A3A; 
    color: white;
}

td:nth-child(even) {
     background-color : #F4F4F4;
     }
td:nth-child(odd)  {
     background-color : #dfdfdf; 
    }

.lien_gestion a{
    color: #0B1020;
}

.lien_gestion a:hover{
    color: rgb(247, 227, 156);
}

.lien_gestion{
    text-align: center;
}

.table_gestion1, .table_gestion2{
    margin-bottom: 5em;
}


/* FOOTER *****************************/


@media (max-width: 765px){
   footer{
    display: flex;
    flex-direction: column !important;
    padding-left: 20px !important;
    color: white;
}
 
}

footer ul{
    text-decoration: none;
    list-style: none;
    padding: 0;
}

footer H1{
  font-family: 'Mochiy Pop One', sans-serif; 
  margin: 0 0 15px 0;
  font-size: 19px;
}

footer li{
  margin-bottom: 5px;
  font-family: 'Krub', sans-serif;
}

footer {
display: flex;
flex-direction: row;
justify-content: space-between;
padding: 0px 100px 0px 100px;
color: white;
background-color: black;

}

footer a{
    color: white;
    text-decoration: none;
}

footer a:hover{
    color: rgb(247, 227, 156);
    transition: 250ms;
}

/* ONGLET ADMIN *****************************/


.adminaccueil{
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.adminaccueil H1{
    color: rgb(247, 227, 156) ;
}

.btnretour{
    margin-left: 1em;
}

.formtableanimes h1{
    color: rgb(247, 227, 156);
}
.formtablestudio H1{
    color: rgb(247, 227, 156);
}


.formtableanimes, .formtablestudio{
display: flex;
flex-direction: column;
align-items: center;
}


.formtableanimes input[type=file]{
margin-bottom: 2em;
}

.formtableanimes input, textarea{
    width: 100%;
}


.formtablestudio input[type=number]{
    width: 96.5%;
}

.formtablestudio input[type=number]{
margin-bottom: 2em;
}

.animetable, .studiotable{
    background-size: 50%;
    padding: 3em;
    border: solid 2px rgb(252, 223, 117);
    border-radius: 10px;
    background-color: white;
}

.studiotable input[type=submit]{
    background-color:#1C1C1C ;
    color: white;
    border-radius: 10px;
}

.animetable input[type=submit]{
    background-color: #1C1C1C;
    color: white;
    border-radius: 10px;
}

.infovalid p{

    text-align: center;
    color: white;
}

.animetable2{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    width: 20%;
    justify-content: center;
    padding-top: 1em;
}

.animetable2 input[type=text], input[type=number]{
    width: 100%;
}

.animetable2 textarea{
    width: 80%;
}
.animetable2 input[type=submit]{
    width: 80%;
}

.btnmarge{
    margin-bottom: 1em;
}

.studiotable2 {
padding: 2em;
}

.studiotable2 input[type=number]{
    margin-bottom:1em;
}

.studiotable2 input[type=submit]{
    width: 100%;
}
