/* index.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body,
html {
  height: 100%;
  width: 100%;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: 0;
}
.overlay {
  position: relative;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.4); /* assombrir le fond */
  color: #fff;
  height: 80%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 40px;
}
.overlay h4 {
  font-size: 25px;
  letter-spacing: 15px;
  margin-bottom: 5px;
}

.overlay h1 {
  font-size: 80px;
  font-weight: bold;
  margin-bottom: 10px;
}

.overlay p {
  font-size: 50px;
  margin-bottom: 30px;
}

.savoir {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  margin-bottom: 50px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 100px;
}

.btn {
  border: 3px solid #fff;
  padding: 10px 20px;
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s ease;
}

.btn:hover {
  background-color: #fff;
  color: #000;
}

.btn.main {
  background-color: #fff;
  color: #3e2719;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  border-radius: 15px;

  letter-spacing: 5px;
  transition: 0.3s ease;
}

.edit-btn {
  background: transparent;
  border: none;
  color: teal;
  font-size: 16px;
  cursor: pointer;
  margin-left: 8px;
}
.edit-btn:hover {
  color: darkorange;
}

/* Responsive */
@media (max-width: 768px) {
  .overlay h1 {
    font-size: 36px;
  }

  .overlay p {
    font-size: 16px;
  }

  .btn {
    font-size: 13px;
    padding: 8px 16px;
  }
}
