@font-face{
    font-family: 'MyCustomFont';
    src: url('Fonts/Benguiat Bold.ttf');
}

main{
    height:auto;
    padding: 0%;
    background-image: url("../images/menu commun/SVG/mainback.svg") ;
    background-repeat : no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
}

.container{
    width: 1080px;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

header{
    background-image: url("../images/menu commun/SVG/nav.svg") ;
    display: flex;
    justify-content: space-between;
}

nav{
    margin-top: 0%;
    display: flex;
    top: 0%;
    padding: 3%;
    align-items: end;
    width: 40%;
    justify-content: center;
}

nav a.active {
    background-color: #000;
    color: #fff;
    padding: 6px 12px;
    border-radius: 5px;
}

ul a.active {
    background-color: #000;
    color: #fff;
    padding: 6px 12px;
    border-radius: 5px;
}

footer{
    height: auto;
    width: auto;
    background-color: #ffbc04;
    padding: 5px;
}

.droitfooter{
    margin-top: 20px;
}

.ulfooter{
    display: flex;
    justify-content: center;
    color: #a40000;
}

.ulheader {
    display:flex;
    justify-content: center;
    gap: 10%;
    margin: 0%;
    list-style-type: none;
    text-decoration: none;
}

li{
    text-decoration: none;
}

.logo{
    width: 40%;
    height: 40%;
    margin-left: 1%;
    margin-top: 1%;
}
body{
    scroll-behavior: smooth;
    margin: 0%;
    background-color: #ffd004;
}
body::selection {
    background-color: #c5060b;
    color: white;
}

h1{
    margin: 0%;
    color: white;
}

p{
    margin: 0%;
    color: black;
    font-family:'Benguiat', Bold;
}

a{
    text-decoration: none;
    color: #ffd004;
    font-family:'Benguiat', Bold;
}

.photo {
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: center;
}

.photo img {
    height: 29%;
    width: 29%;
    cursor: pointer;
    filter: grayscale(100%);
    transition: filter 0.4s ease;
    border-radius: 8%;
    box-shadow: 4px, 4px, 8px, 8px black;
}

.photo img:hover {
    filter: grayscale(0%);
}

.photo img.active {
    filter: grayscale(0%);
}

.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.popup-content {
  background-color: aliceblue;
  padding: 20px;
  margin: 10% auto;
  border-radius: 10px;
  position: relative;
  animation: pop 0.3s ease;
  max-height: 70vh;
  overflow-y: auto; 
}

#popup-text {
  white-space: pre-wrap;
  font-family: 'Benguiat', Bold;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

@keyframes pop {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.banniere{
    width: 100%;
    height: 100%;
    opacity: 90%;
    border-radius: 40px;
}

.principal {
    background-color: rgb(0, 0, 0);
    color: white;
    position: relative;
    font-family: 'Benguiat', Bold;
    font-size:8px;
    border: 2px solid #a40000;
    margin-top: 40px;
    width: 1080px;
    display: flex;
    justify-content: end;
    align-items: center;
}

.texteprinc{
    width: auto;
    padding: 4%;
}

.phrasecatchi{
    color: #ffd004;
}

.photoaccueil{
    width: auto;
    height: 500px;
    display: flex;
    padding-right: 30px;
}

table{
    font-family: 'Benguiat', Bold;
}
table.dataTable {
    width: 100%;
    border-collapse: collapse;
    background-color: #b9b9b9;
    color: #000000;
    font-size: 14px;
}

table.dataTable thead th {
    background-color: #1c1c1c;
    color: #ffffff;
    padding: 10px;
    text-align: center;
    border-bottom: 2px solid #444;
}

table.dataTable tbody td {
    padding: 8px;
    border-bottom: 1px solid #333;
    text-align: center;
}

table.dataTable tbody tr:hover {
    background-color: #a40000;
}

.dataTables_wrapper .dataTables_filter input {
    background-color: #ffffff;
    color: #a40000;
    border: 1px solid #000000;
    padding: 5px;
}

.dt-button {
    background-color: #c00;
    color: white;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
}

.dt-button:hover {
    background-color: darkred;
}

.creditsfooter {
    color: #000000;
    font-family:'Benguiat', Bold;
}

.formulairecontaineur {
    max-width: 1080px;
    display: flex;
    flex-direction: column;
    width: 120%;
    gap: 20px;
    padding: 20px;
    background-image: url('../images/contact/fond\ contact.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 10%;
    margin-bottom: 20%;
    height: 600px;
    border: 2px solid #a40000;
    

}
.en-tete {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 15px; 
}
.champgroupe {
    flex: 1; 
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.champtexte {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
}
.champtexte, input[type="email"], textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border-color: black;
}
textarea {
    min-height: 150px;
    resize: vertical;
}

input[type="submit"] {
    background-color: darkred;
    color: white;
    height: 70px;
    width: 300px;
    display: flex;
}

.creditsfooter a{
 color: black;
}

.introcredits{
    background-color: #000000;
    border: 10px solid #a40000;
}

.introcredits h1{
    color: #ffd004;
    padding-left: 20px;
}

.linkfont a{
    color: #500537;
}

.creditsdif{
    font-family:'Benguiat', Bold;
    background-color: #a40000;
    color: black;
    padding: 10px;
}
.credits{
    background-color: #000;
    border: 10px solid #a40000;
    color: white;
    padding-left: 10px;
}

.titrecred{
    color: #ffd004;
}

.mesphotos{
    width: 200px;
    max-height: auto;
    cursor: pointer;
    border-radius: 4%;
    box-shadow: 4px, 4px, 8px, 8px black;
    gap: 20px;
}

.photosgalerie{
    display: flex;
    flex-wrap: wrap;
    max-width: 1080px;
    gap: 14px;
    margin-top: 40px;
    background-color: black;
    padding: 7px;
    border: 5px solid #a40000;
    margin-bottom: 40px;
}

.messagefichier{
    font-family: "Benguiat", bold;
}

.message_erreur{
    color: #a40000;
}

.message_succes{
    color: green;
}

.photosgalerie2{
    display: flex;
    flex-wrap: wrap;
    max-width: 1080px;
    gap: 14px;
    margin-top: 40px;
    background-color: black;
    padding: 7px;
    border: 5px solid #a40000;
    margin-bottom: 40px;
}

.affiche{
    width: 200px;
    max-height: auto;
    cursor: pointer;
    filter: grayscale(100%);
    transition: filter 0.4s ease;
    border-radius: 4%;
    box-shadow: 4px, 4px, 8px, 8px black;
}


.affiche:hover {
    filter: grayscale(0%);
}

.boutonupload{
    display: flex;
    justify-content: center;
}

.messageupload{
    color: #000000;
    font-family: "Benguiat", Bold;
    text-decoration: underline;
}

.conteneur-rectangle {
    max-width: 1080px;
    max-height: auto;
    display: flex;
    justify-content: center;align-items: center;
    min-height: 100px;
    margin-bottom: 100px;
    margin-top: 50px;
    color: #ffd004;
    text-decoration: underline;
}

.conteneur-partenaires {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

.card {
    --b: 10px;
    --g: 20px;
    --c: #a40000;
    
    width: 350px;
    height: 450px;
    background: black;
    border: 2px solid #a40000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    box-sizing: border-box;
    color: white;
    text-align: center;


    outline: 250px solid #0000;
    outline-offset: -250px;
    transition: .3s;
}
.card h3 {
    color: #a40000;
    margin-bottom: 15px;
}

.conteneurphoto {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid #ffd004;
    overflow: hidden;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.photopartenaires {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.btn-partenaire {
    display: inline-block;
    margin: auto 0 20px;
    padding: 12px 30px;
    color: #ffd004;
    border: 2px solid #ffd004;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.3s;
}

.btn-partenaire:hover {
    background-color: #a40000;
    color: #ffffff;
    transition: 0.5s;
}

.card-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card h3 {
    color: #ffd004;
    margin: 0 0 10px 0;
}

.PrenomNomdupartenaire {
    font-size: 1.2rem;
    font-weight: bold;
    color: #a40000;
    margin: 0;
}

.rectangle2{
    flex: 1;
    width: 1080px;
    min-height: 300px;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #a40000;
    position: relative; 
}

.rectangle3{
    margin-top: 50px;
    margin-bottom: 50px;
    flex: 1;
    width: 1080px;
    min-height: 300px;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #a40000;
    position: relative;
}

.rectangle2 h1, .rectangle3 h1{
    color: white;
    margin: 20px;
}

.rectangle2 p, .rectangle3 p{
    color: #ffd004;
    margin: 20px;
}

.rectangledocs{
    display: flex;
    background-color: #000;
    justify-content: center;
    align-items: center;
    height: 90px;
    gap: 40px;
    border: 5px solid #a40000;
    margin-bottom: 30px;
}

.liendoc{
    border: 3px solid #ffbc04;
    padding: 4px;
}

.liendoc:hover{
    border: 3px solid #a40000;
    color: white;
    background-color: #a40000;
    transition: 0.3s;
}

.choix-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
    background-color: #ffffff85;
}

.choix-contact label {
    cursor: pointer;
    color: #000;
}

.choix-contact input {
    margin-right: 8px;
}
label {
    user-select: none;
}