html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "mulish", sans-serif;
}



h4 {
  margin: 1.5vh;
  text-align: center;
  font-size: 2.6rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  display: inline-block; 

}

h4::after {
  content: "";
  display: block;
  height: 2px;
  width: 17%;
  background: #000;
  margin: 10px auto 0;
}


hr{
  border-top: 15px solide red;
  margin : 20px;
  width: 80%;
}
h3{
  font-weight: bold;
}

.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content-wrap {
  flex: 1; /* Pousse le footer vers le bas */
}

/* Navbar */


/* Liens "En savoir plus" */
.savoir_plus {
  text-decoration: underline;
  color: black;
}


/* Container & cartes */
.container-fluid {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
.card-custom {
  margin-bottom: 2rem;
}
.card-custom img {
  width: 100%;
  height: auto;
}




form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 1rem 2rem;
}

form input,
form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid black;
  background: white;
  color: black;
  padding: 0.5rem 0;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  outline-offset: 2px;
  outline-color: black;
  transition: border-color 0.3s ease;
  
}


form input:focus,
form textarea:focus {
  border-bottom-color: black;
  outline: none;
}

form label {
  display: block;
  color: black;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

form button {
  margin-top: 30px;
  display: flex;
  justify-self: center;
  background: black;
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  justify-content: center;

}


form button:hover {
  background: #222;
}
.popupCenter{
    text-align: center;
}
.msg {
  color: black;
}


#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 30vw;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 0 15px #000;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;


}
#popupClose {
    float: right;
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
    color:  black;
  }






/* Responsive */
@media (max-width: 768px) {
  .card-custom {
    margin-bottom: 3rem;
  }
  .navbar-logo {
    max-height: 4rem;
  }
  .navbar-slogan {
    font-size: 0.9rem;
    padding-bottom: 5px;
    text-align: center;
  }
  
  #popup{
    width: 85%;
  }
}
@media(max-height :950px){
  #popup{
    height: 85vh;
    color: black;
  }
}

