/* Reset des styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: Arial, sans-serif;
}

/* Styles généraux */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Hauteur minimale pour s'assurer que le footer reste en bas */
  background-color: #f2f2f2;
  color: #333;
}

@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;700&display=swap");

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

body {
  margin: 0;
  padding: 0;
  background-color: #010101;
  font-family: "Ubuntu", sans-serif;
}

a {
  text-decoration: none;
}

button {
  border: 0;
  outline: none;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

.navbar {
  height: 90px;
  background-color: hsl(0, 0%, 10%);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo i {
  color: #fbff0a;
  font-size: 22px;
}

.navbar .logo a {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-left: 12px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.menu-links {
  display: flex;
  gap: 24px;
  border-right: 1px solid #999999;
  padding-inline: 24px;
}

.menu-links a {
  font-weight: 500;
  color: #999999;
  padding: 8px 16px;
}
.menu-links a:hover {
  color: white;
}
.log-in {
  font-weight: 500;
  padding: 12px 22px;
  background-color: transparent;
  color: #999999;
  border-radius: 10px;
  border: 2px solid #fffb0a;
  transition: 0.2s;
}
.log-in:hover {
  background-color: #ffef0a;
  color: white;
}

.menu-btn {
  font-size: 32px;
  color: white;
  display: none;
  cursor: pointer;
}

@media (max-width: 53rem) {
  .menu {
    display: none;
  }

  .menu-btn {
    display: block;
  }
}
/* Contenu principal */
main {
  flex: 1; /* Prend l'espace disponible */
  padding: 20px;
}






/* Carrousel */
#monCarrousel {
  max-width: 600px;
  margin: auto;
  aspect-ratio: 16 / 9;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-item {
  width: 100%;
  height: auto;
}

/* Section Hero */
.hero {
  background-color: #ffd700;
  padding: 50px;
  text-align: center;
}

.hero h1 {
  font-size: 2em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.cta-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

.cta-btn:hover {
  background-color: #444;
}

/* Pied de page */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 10px 0;
}

/* Styles pour la pop-up cookies */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    max-width: 400px;
    display: none;
}

.cookie-popup.active {
    display: block;
}

.cookie-popup p {
    margin-bottom: 15px;
    color: #333;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    border: none;
}

.accept-cookies {
    background-color: #ffef0a;
    color: #000;
}

.refuse-cookies {
    background-color: #f0f0f0;
    color: #333;
}

