/*HEADER FOOTER BODY*/

body{
    margin:auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: "Roboto", serif;
}

main{
    background-color: antiquewhite;
}

header{
    height : 150px;
    display :flex ;
    justify-content: center;
    align-items: center;
    background-color: #5C4033;
    z-index: 1;
}

footer{
    height: 135px;
    flex-direction: column;
    text-align: center;
    background-color: #5C4033;
    justify-content: center;
}

footer p{
    color:antiquewhite;
}

header ul {
    display: flex;
    list-style: none;
    padding: 4vh 10vh;
    justify-content: space-around;
    width:850px;
}

#logo_header{
    width: 120px;
    height:max-content;
}

header li {
    position: relative;
    z-index: 3;
}

.linkheader{
    text-decoration: none;    
    color: rgb(227, 201, 159);
    font-size: 23px;
    padding: 1vh;
    display: block;
    transition: color 0.2s ease-in-out;
}

.linkheader:hover {
    color:rgb(240, 233, 221);
}

.linkheader::before {
    content: '';
    position: absolute;
    left: 0;
    bottom:0;
    width: 0;
    height: 2px;
    background-color:rgb(240, 233, 221);
    transition: width 0.3s ease;
}
.linkheader:hover::before{
    width: 100%;
}

header li img{
    position: absolute;
    width: 40px;
    bottom:-5px;
    right:-20px;
    opacity: 0;
    z-index: -1;
}

.activeLink{
    position: relative;
}

.activeLink .linkheader{
    color: rgb(255, 233, 188);
}

.activeLink img{
    opacity: 100%;
}

#credit{
    font-size: 18px;
    text-decoration: none;
    color: rgb(227, 201, 159);
}



/*ACCUEIL*/

h1{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

h2{
    display: flex;
    justify-content: center;
}

.cadre {
    width: 1080px;
    height : auto;
    display: flex;
    justify-content: center;
    margin: auto;
    margin-bottom:50px;
    margin-top:50px;
    justify-content: space-around;
}

.compartiment1 img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.compartiment1{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 330px;
    height: 330px;
    overflow: hidden;
    transition: all 0.5s ease-in-out
}

.compartiment1:hover{
    scale: 105%;
}

.description{
    display: flex;
    align-items: center;
    text-align: center;
    position: absolute;
    height: 350px;
    width: 350px;
    top:-550px;
    color: white;
    background-color: rgb(0, 0, 0);
    transition: all 0.5s ease-in-out;
} 
.description p{
    margin-left: 40px;
    margin-right: 40px;
}

.compartiment1:hover .description{
    top:-15px; 
    opacity: 60%;
}


.style_guitare{
    flex-direction: column;
    width: 1080px;
    margin: auto;
}

.cadre2{
    width: auto;
    display: flex;
    justify-content: center;
    margin: auto;
    margin-bottom:50px;
    margin-top:50px;
}

.compartiment2{
    width: 600px;
    height: auto;
    padding-left:50px;
    padding-right:50px;
    font-size: larger;
}



/*DONNEES*/


.container_donnee{
    width: 1080px;
    margin: auto;
    margin-bottom: 40px;
}

.tableau thead{
    background-color: #d1825e77;
    transition: 0.3s;
}


.tableau tr:hover{
    background-color: #a0682d2f;
}

.tableau{
    box-shadow: 0 4px 10px #0000004d;
    border: 1px solid;
    padding: 10px;
    text-align: center;
    background: #f9f5ec;
}

.compartiment_tableau{
    border-collapse: collapse;
    margin: auto;
}


/*CONTACT*/

.formulaire_contact {
    margin: auto;
    width: 300px;
    height: auto;
    box-shadow: 0 4px 10px #0000004d;
    background-color :#f3cbb6;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 30px;
    margin-bottom: 60px;
}

.formulaire_contact textarea{
    width: 295px ;
    height: 170px;
}

.en-tete{
    display: flex;
    width: 295px;
}

.en-tete input{
    width: 130px;
}

.bouton1{ /*Bouton "Télécharger" - galerie et Bouton "Envoyer" - Contact*/
    background-color:#d1825e77 ;
    border: solid black 1px;
    height: 30px;
    width: 100%;
    margin-top: 15px;
    border-radius: 5px;
    transition: 0.3s;
}

.bouton1:hover{
    color: #ffffff;
    background-color: #a92727be;
    cursor: pointer;
}

.motif_contact{
    margin-bottom: 0;
}

.asterix{
    color: red;
}

.message_retour{
    box-shadow: 0 4px 10px #0000004d;
    background-color: #f4bba9;
    margin: auto;
    width: 400px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

#charCount{
    position: relative;
    bottom: 40px;
    right: -130px;
    color: grey;
    margin: 0px;
    padding: 0px;
}

/*GALERIE*/

.formulaire_galerie{
    margin: auto;
    width: 300px;
    height: auto;
    box-shadow: 0 4px 10px #0000004d;
    background-color :#f3cbb6;
    display: flex;
    text-align: center;
    padding: 30px;
    margin-bottom: 60px;
}

.espace_images{
    width: 1080px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.compartiment_modal{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 330px;
    height: 330px;
    overflow: hidden;
    transition: all ease-in-out 0.3s;
}

.compartiment_modal_img{
    height: 100%;
    width: 100%;
    object-fit: cover;
} 

.compartiment_modal:hover{
    scale: 105%;
    filter: brightness(0.8);
    cursor: pointer;
}

.modal { 
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.8); 
    justify-content: center; 
    align-items: center;
    z-index: 10;
}

.modal img {
    max-width: 80%; 
    max-height: 80%; 
    border-radius: 8px; 
}

.loupe {
    display: none;
    position: absolute;
    top: 164px;
    left: 164px;
    padding: 10px;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    border: 3px solid rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transition: display ease-in-out 0.3s;
}

.compartiment_modal:hover .loupe{
    display: block;
}

/*PARTENAIRE*/

.footer-partners {
    background-color: #f3cbb6;
    width: 1080px;
    margin: auto;
    padding: 40px;
    text-align: center;
    margin-bottom: 60px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.footer-partners h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.partners {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.partner {
    width: 250px;
    background-color: #f4eae4;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.partner img {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 10px;
    height: 200px;
    object-fit: contain;
}

.partner h4 {
    font-size: 18px;
    margin: 10px 0;
}

.partner p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.partner a {
    text-decoration: none;
    color: #d55e26;
    font-weight: bold;
}

.partner:hover {
    transform: scale(1.05);
}

#documents {
    max-width: 600px;
    margin: 40px  auto;
    padding: 20px;
    background-color: #f4eae4;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#documents h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
}

#documents a {
    display: block;
    margin: 10px auto;
    padding: 10px;
    width: 80%;
    text-decoration: none;
    color: #d55e26;
    font-weight: bold;
    background-color: #fff;
    border: 2px solid #d55e26;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

#documents a:hover {
    background-color: #d55e26;
    color: #fff;
}

/*CREDIT*/

.espace_credit{
    width: 1080px;
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.cadre_credit{
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    width: 700px;
    padding: 20px;
    border-radius: 10px;
    background-color: #f3cbb6;
}

.cadre_credit img{
    height:100px;
    padding-left: 35px;
}