
body, html {
    margin: 0;
    height: 100%;
    background-color: #FEEEDD;
    
}

/* Header */

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10; /* Toujours au-dessus de la vidéo */
    background-color: #0B1854;
}


nav a {
    text-transform: uppercase;
    color: #FEEEDD;
    text-decoration: none;
    padding: 50px;
    font-size: 24px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    font-family: "Rubik", sans-serif;
}

nav a:hover {
    color: #FF9C40;
    text-decoration: none;
 
}

nav {
  margin: 20px auto;
}

.container h1 {
    font-family: "Rubik", sans-serif;
    text-align: center; 
    text-transform: uppercase; 
    font-size: 2.5em; 
    font-weight: 600; 
    color: #0B1854; 
    margin-top: 50px; 
    margin-bottom: 20px;
    
}

.container p {
    font-family: "Rubik", sans-serif;
    text-align: left; 
    font-size: 1em; 
    font-weight: 400;
    color: #0B1854; 
    margin-top: 50px; 
    margin-bottom: 20px;
     text-align: justify;
     
    
}

.photo-text-wrapper {
  display: flex;
  align-items: center;    
  text-align: center;
  max-width: 60%;
  margin: 0 auto;
  gap: 40px;
  padding: 20px;
  }
  
 
  
  .photo img {
     width: 70%;
  max-width: 400px;

  border-radius: 12px;
  
  
  }
  
  .text {
    flex: 2;
  margin: 0;
  }

/*Contact*/
  .wrapper {
    display: flex;
    flex-direction: column;
    min-height: 0 auto;
  }


  .content {
    position: relative;
    width: 50%;
    margin: 50px auto;
    background: #FEEEDD;
    padding: 30px;
    border-radius: 10px;  
}


h3 {
   font-family: "Rubik", sans-serif;
   font-weight: 600;
    color: #0B1854;
    margin-bottom: 20px;
    text-transform: uppercase;
      font-size: 2em;  
}

form {
    display: flex;
    flex-direction: column;
}

label {
    display: block;
    text-align: left;
    font-size: 14px;
    color: #0B1854;
    margin: 10px 0 5px;
}


input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #FEEEDD;
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 20px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* Focus sur les champs */
input:focus, textarea:focus {
    border-color: #0B1854;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

button {
    background-color: #0B1854;
    color: #FEEEDD;
    padding: 12px;
    border: none;
    font-size: 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 60px;
}

button:hover {
    background-color: #FF9C40;
}

.content-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  padding: 1rem;
  max-width: 1000px;
  margin: auto;
  flex-wrap: wrap; /* utile pour forcer le retour à la ligne */
}

.content-image {
  width: 300px;
  max-width: 100%;
  border-radius: 12px;
  flex-shrink: 0;
}

.content-text {
  flex: 1;
  min-width: 250px;
}

/* Responsive : quand l'écran est trop petit */
@media (max-width: 768px) {
  .content-block {
    flex-direction: column;
    text-align: center;
  }

  .content-text {
    padding-top: 1rem;
  }
}

/* Responsive (pour petits écrans) */

@media (min-width: 430px){
   html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  * {
    box-sizing: border-box;
  }
  .photo img{
    min-width: 100%;
    
  }

}




 @media (max-width: 768px) {
header {
    flex-direction: column;
    align-items: center;  
    overflow-x: hidden;    
  }

  nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin: 10px 0 0 0;
  }

  nav a {
    padding: 10px 15px;
    font-size: 18px;
    text-align: center;
  }

  .content {
    width: 80%
  }

  .photo-text-wrapper{
    width: 100%;
    flex-direction: column;
  }

  .photo img{
    max-width: 80%;
    align-items: center;
  }
}

@media (min-width: 768px) and (max-width: 1024px) { 
  nav a {
    padding: 10px 15px;
    font-size: 20px;
    text-align: center;
  }

  .content {
    width: 90%;
  }

  .photo img{
    align-items: center;
    width: 100px;
  }
}


