html, body {
  height: 100%;
  margin: 0;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0; 
}

h1, h2 {
    color: #444;
}


header {
  background-color: #007BFF;
    text-align: center;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 1s ease, transform 1s ease;
  }
  
  .header-hidden {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}
header ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

header ul li {
    display: inline;
}


header ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

header ul li a:hover {
    color: #ffd700;
}

@keyframes slideDown {
  from {
      transform: translateY(-100%);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

@keyframes slideUp {
  from {
      transform: translateY(100%);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}
main {
    padding: 2rem;
    margin: auto; 
    width: 1080px;
}

main h1 {
    text-align: center;
    margin-bottom: 1rem;
}

#clé {
  position: absolute;
  margin-left: -225px;
  margin-top: 170px;
  rotate: 90deg;
  width: 30vw;   
  max-width: 450px;
  transition: transform 0.4s ease, filter 0.4s ease;
  animation: Zoomin 0.6s ease-out;
}


#roue {
  position: absolute;
  width: 250px;
  margin-top: 575px;
  margin-left: 960px;
  transition: transform 0.4s ease, filter 0.4s ease;
}



#clé:hover {
  transform: scale(1.1) rotate(5deg);
  filter: brightness(1.2);
}

#roue:hover {
  transform: rotate(180deg);
}

.top {
    color: white;
    text-align: center;
    border-radius: 10px;
    margin-top: 20px;
    margin: 0px;
  }

.video-container {
  position: relative; 
  width: 1080px;
  height: 650px;
  margin: 20px auto; 
  overflow: hidden;
  border-radius: 10px;
  background-color: #000; 
  padding-top: 25px;
  animation: Zoomin 0.6s ease-out;
}

.video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px) brightness(0.5);
}

.toptxt {
  position: absolute;
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%); 
  color: white;
  font-weight: bold;
  text-align: center; 
  z-index: 1; 
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5); 
  border-radius: 5px;
  font-size: 100px;
}

.toptxt p{
  position: absolute;
  text-align: center;
  left: 20px;
  
}

.titre {
  color: #666;
  font-size: 125px;
  padding-top: 100px;
}

main p {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.config {
    width: 1050px;
    background-color: white;
    margin: 1rem 0;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.config h2 {
    font-size: 1.5rem;
    margin: 0;
    text-align: center;
}

.config p {
    margin: auto;
    text-align: left;
    font-size: 1rem;
    color: #666;
}

.config img {
    max-width: 300px;
    border-radius: 8px;
    display: flex;
    margin-left: auto;
    animation: out;
    transition: transform 0.3s ease;

}

.config img:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.config #prixbarre {
  position: relative;
}
.btn-en-savoir-plus {
  display: inline-block;
  padding: 10px 17px;
  font-size: 1rem;
  color: white;
  background-color: #0078d7;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  bottom: 75px;
  left: 25px;

}

.btn-en-savoir-plus:hover {
    background-color: #005bb5;
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    color: #ffd700;
  }

footer {
    background-color: #333;
    color: white;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    padding: 1rem 0;
    width:100%;
    animation: slideUp 0.6s ease-in-out;
}


footer p {
  margin-left: auto;
  margin-right: auto;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  color:#ffd700;
}
#pc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
  text-align: left;
  
}

.sorting {
  background-color: #c2e3ff;
}

table {
  width: 100%;
  background-color: #f6fbff; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin: 20px 0;
}


tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}



tr:hover {
  background-color: rgba(194, 227, 255, 0.9); 
  transition: background-color 0.3s ease;
}

td, th {
  padding: 12px 15px;
  text-align: left;
  color: #333; 
}

th {
  background-color: #c2e3ff; 
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

td {
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}
td:last-child {
  border-right: none; 
}

table {
  border-spacing: 0;
}

.yt {
  border-radius: 10px;
  width: 100%;
  height: 600px;

}

@keyframes affichage {
  from {
    transform: rotate(15deg);
    opacity: 0;
  }
  to {
    transform: rotate(0);
    opacity: 1;
  }
}

@keyframes hover {
  from {
    transform: width(10px);
  }
  to {
    transform: rotate(-15deg);
  }
}

@keyframes fadeInZoom {
  from {
      opacity: 0;
      transform: scale(0.9);
  }
  to {
      opacity: 1;
      transform: scale(1);
  }
}
@keyframes Zoomin {
  from {
      transform: scale(0.9);
  }
  to {
      transform: scale(1);
  }
}


.titre2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-top: 20px;
  margin-bottom: 30px;
}

.section {
  background: #ffffff;
  margin: 20px auto;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 800px;
}

.section h2 {
  color:#3498db;
  font-size: 1.8rem;
  border-bottom: 2px solid #3498db;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

.critere h3, .config-exemple h3 {
  font-size: 1.4rem;
  color:#d35400;
  margin-top: 15px;
  margin-bottom: 10px;
  text-decoration: none;
}

.critere a {
  text-decoration: none;
}

.critere a:hover {
  color: #ffd700;
}

.critere h3 a, .config-exemple h3 a {
  text-decoration: none;
}

.critere h3 a:hover, .config-exemple h3 a:hover {
  color: #ffd700;
  text-decoration: none;
}

.section p {
  font-size: 1rem;
  margin-bottom: 15px;
}

.section ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.section ul li {
  margin-bottom: 10px;
}

.section ul ul {
  list-style-type: circle;
  margin-left: 20px;
  padding-left: 10px;
}

.section strong {
  color: #2c3e50;
}

.budget ul li {
  font-size: 1.2rem;
  color: #27ae60;
}

.config-exemple {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #ecf0f1;
  border-radius: 8px;
  background-color: #f4f6f6;
}

.config-exemple h3 {
  color: #8e44ad;
  text-decoration: none;
}

.config-exemple ul li {
  font-size: 1rem;
}

.conseils ul li {
  font-size: 1rem;
  color: #34495e;
  margin-bottom: 10px;
}

form {
  position: relative ;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  width: 300px;
  margin-bottom: 20px;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  text-transform:capitalize;
}

label span {
  color: red;
}

.row {
  display: flex;
  gap: 10px;
  justify-content: space-evenly;
}

.row > div {
  flex: 1;
}

.row input {
  width: 100%;
  box-sizing: border-box;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

textarea {
  height: 80px;
  resize: none;
}

input[type="submit"] {
  width: 100%;
  padding: 10px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
  background-color: #0056b3;
}

.ressources {
  margin-bottom: 461px;
}
.vidcontact {
  position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: -1;
  
}

.contact {
  position: absolute;
  left: 50%;
  top: 125px;
  transform: translate(-50%, -50%); 
  color: white;
  font-weight: bold;
  text-align: center; 
  z-index: 1; 
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5); 
  border-radius: 5px;
}

.erreur {
  
  z-index: 1;
  width: 300px;
  padding: 20px 40px;
  background-color: #ff4d4d;
  color: white;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  animation: shake 0.6s ease-in-out;
  margin-right: auto;
  margin-left: auto;
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  50% { transform: translateX(10px); }
  75% { transform: translateX(-10px); }
  100% { transform: translateX(0); }
}

.succes {
  margin-bottom: 20px;
  padding: 20px;
  margin-right: auto;
  margin-left: auto;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  text-align: center;
  animation: fadeIn 0.8s ease-in-out;
  width: 300px;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.container {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}

#boutongalerie {
  margin-top: 10px;
}

.active {
  padding: 10px;
  border-radius: 8px;
  border: 2px solid #3498db;
  box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
  transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.active:hover {
  border-color: #2980b9;
  box-shadow: 0 0 15px rgba(41, 128, 185, 0.7);
}

.config2 {
  width: 1050px;
  background-color: white;
  margin: 1rem 0;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  align-items: center;
  gap: 1.5rem;
}

.config2 a{
  color: #525252;
  text-decoration: none;
}
.config2 p {
  color: #000;
}
.config2 a:hover {
  color: #ffd700;
}

.gallery-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 20px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
}

.img-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: calc(33.333% - 15px);
  max-width: 300px;
  aspect-ratio: 4 / 3;
  cursor:pointer;
}

.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
  transition: transform 0.3s ease, filter 0.4s ease-in-out;
}

.img-container:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.img-container:hover img {
  filter: brightness(1.2);
}

.img-container::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg, 
    rgba(255, 255, 255, 0) 40%, 
    rgba(255, 255, 255, 0.8) 50%, 
    rgba(255, 255, 255, 0) 60%
  );
  transform: rotate(25deg);
  opacity: 0;
  transition: transform 0.6s ease-in-out, opacity 0.3s ease-in-out;
  z-index: 2;
}


.img-container:hover::before {
  transform: translate(100%, 100%);
  opacity: 1;
}

.upload-form {
  margin-top: 30px;
  text-align: center;
  width: 1080px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.galerietitre {
  margin-left: 35px;
  color: white;
  font-weight: bold;
  z-index: 1; 
  padding: 10px;
  border-radius: 5px;
  color: #000;
}