@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary-color: #DAA520;
    --background-color: #121212;
    --text-color: #fffAfa;
    --nav-height: 80px;
    --form: #373737;
}

.darkmode {
    --background-color: #FFFAFA;
    --text-color: #050505;
    --form: #dadada;
}

*{
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}


.titre {
  text-align: center;
}

h2 {
    color: #DAA520;
    padding-bottom: 0px;
    padding-left: 20px;
    background: url(../images/ligne.png);
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    text-align: center;
    color: #fcb900;
    font-size: 4rem;
  margin: 200px 0 20px;
  animation: fadeIn 1.5s ease;
}

body.darkmode h2 {
   background: url(../images/ligne_light.png);
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: contain;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}



.insta {
    width: 30px;
    height: 30px;
}

.youtube {
    width: 30px;
    height: 30px;
}

.facebook {
    width: 30px;
    height: 30px;
}

.reseaux a {
  display: flex;
  color: #fcb900;
  margin-bottom: 5px;
  transition: opacity 0.3s;
  gap: 15px;
  align-items: center;
}

.reseaux img {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.reseaux a .label {
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

.reseaux a:hover {
  opacity: 0.7;
}

.reseaux {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nom {
    display: flex;
    background-color: var(--form);
  border: none;
  border-radius: 30px;
  padding: 15px 20px;
  color: var(--text-color);
  font-size: 1em;
  transition: box-shadow 0.3s;
}

.email {
  display: flex;
  background-color: var(--form);
  border: none;
  border-radius: 30px;
  padding: 15px 20px;
  color: var(--text-color);
  font-size: 1em;
  transition: box-shadow 0.3s;
}

.message {
  background-color: var(--form);
  border: none;
  border-radius: 30px;
  padding: 50px 20px;
  font-size: 1em;
  color: var(--text-color);
  text-align: top-left;
  transition: box-shadow 0.3s;
}

.contact {
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  padding: 0 20px;
  box-sizing: border-box;
}

form {
  flex: 1 1 400px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-right: 100px;
}

input:focus, textarea:focus {
  box-shadow: 0 0 10px #fcb900;
  outline: none;
}

textarea {
  resize: none;
  height: 120px;
  text-align: start;
}

button {
  background-color: #fcb900;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  padding: 15px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
}

.contact-info {
  flex: 1 1 350px;
  min-width: 300px;
}

.contact-info h3 {
  color: #fcb900;
  margin-bottom: 10px;
}

.contact-info p {
  margin-bottom: 15px;
  color: var(--text-color);
}




footer {
  background-color: #050505;
  padding: 40px 0;
  margin-top: 60px;
}

.footer-content {
  width: 80%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  width: 100px;
  height: auto;
}


.footer-left,
.footer-center,
.footer-right {
  margin: 20px 0;
}

.footer-center p {
  color: #fff;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-button {
  background-color: #fcb900;
  color: #000;
  border: none;
  border-radius: 30px;
  padding: 12px 25px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s;
}

.footer-button:hover {
  transform: translateY(-3px);
}


.ligne_footer {
  width: 80%;
  margin: 50px auto 0;
  text-align: center;
}

.ligne_footer img {
  width: 100%;
  height: auto;
}

.sponsors {
  margin-top: 40px;
  text-align: center;
}

.sponsors h4 {
  color: #fcb900;
  margin-bottom: 20px;
}

.sponsors-logos {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.sponsors-logos img {
  width: 120px;
  height: 80px;
  background-color: #fff;
  border-radius: 10px;
  transition: transform 0.3s;
}

.sponsors-logos img:hover {
  transform: scale(1.1);
}

html, body {
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-right iframe {
    width: 100%;
  }
}


@media (max-width: 768px) {
  .contact {
    flex-direction: column;
    width: 95%;
    padding: 0 10px;
    margin: 30px auto;
  }

  form {
    width: 100%;
    min-width: 100%;
  }

  .contact-info {
    width: 100%;
    min-width: 100%;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-right {
    margin-top: 20px;
  }

  .footer-center {
    margin-top: 20px;
  }

  .footer-left {
    margin-top: 20px;
  }

  h2 {
    margin-top: 100px;
    font-size: 2.5rem;
  }

  .nom, .email, .message {
    width: 100%;
    box-sizing: border-box;
  }
}

html, body {
  overflow-x: hidden;
}