
*,*::before,*::after {
    box-sizing: border-box;
}

body {
    font-family: "Merriweather Sans", Arial, sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    background-image: url('../img/dunk.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #333;
    max-width: 100%;

}
    header {
      position: relative;
      background-color: rgba(0, 0, 0, 0.5);
      
    }
.content {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 100vh;
    }
    section {
      position: relative;
      padding: 40px;
      background: #fff;
      border-radius: 20px;
      margin: 50px 20px;
      box-shadow: #222 0px 0px 20px;
      width: 800px;
    }

    .admin {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      margin-bottom: 50px;
      
    }
     .admin form{
      margin-top: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 20px;
     }
      .admin form input{
        padding: 10px;
        border-radius: 8px;
        border: 1px solid #ccc;
        font-size: 1rem;
        background-color: #f0efef;
        color: rgb(31, 30, 30);
        font-family: "Merriweather Sans", sans-serif;
        font-optical-sizing: auto;}

      .admin form input:hover{
        border: #0a8fe7 1px solid;
        background-color: #fff;
      }

     .admin table {
    width: 100%;
    border-collapse: collapse;
    border: #f0efef 1px solid;
    background-color: #ffffff;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
}

.admin th,
.admin td {
    padding: 12px 10px;
    text-align: center;
}

.admin thead {
    background: #4b6cb7;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.admin tbody tr:nth-child(even) {
    background-color: #559fee;
}

.admin tbody tr:nth-child(odd) {
    background-color: #1569d8;
}

.admin tbody tr:hover {
    background-color: #3a3a5c;
    transition: background-color 0.3s ease;
}

.admin select,
.admin button {
    padding: 6px 10px;
    border-radius: 6px;
    border: none;
    background-color: #4b6cb7;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.admin button:hover {
    background-color: #5e60ce;
}

.error{display: none;}
/* ----------- Responsive  pas dispo sur cette page donc display none----------- */
@media screen and (max-width: 767px) {
    .error {
        display: block;
        display: flex;
        justify-content: center;
        text-align: center;  
    }
    .admin {
        display: none;
    }


}
    .logo-container{
      position: absolute;
      width: 110px;
      top: 0px;
      right: 35px;
    }

    h1, h2 {
      color: #222;
      font-optical-sizing: auto;
      font-weight: 800 !important;
      font-style: normal;

    }

    ul {
      list-style-type: none;
      padding: 0;
    }

    li {
      margin-bottom: 10px;
    }


    .contact-form {
      display: flex;
      flex-direction: column;
      max-width: 600px;
      margin: 20px auto;
      gap: 15px;
    }
    
    .contact-form input,
    .contact-form textarea {
      padding: 12px;
      border-radius: 8px;
      border: 1px solid #ccc;
      font-size: 1rem;
      background-color: #f0efef;
      color: rgb(31, 30, 30);
      font-family: "Merriweather Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    }
    
    .contact-form label {
      font-weight: bold;
      color: #141414;
    }
    
    .contact-form button {
      background-color: #0a8fe7;
      color: white;
      border: none;
      padding: 12px;
      border-radius: 10px;
      font-size: 16px;
      cursor: pointer;
      transition: 0.3s;
    }
    
    .contact-form button:hover {
      background-color: #c93c1a;
    }
    

    @media screen and (max-width: 768px) {

      body {
        font-size: 0.8rem;
        background-attachment: fixed;
      }
      section {
        margin: 20px;
        padding: 20px;
        font-size: 0.8rem;
        width: auto;
        min-width: 90%;
      }
      .logo-container{
        display: none;
      }
      
    }