@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
    background-color: #000000;
    display: flex;
    flex-direction: column;
}

main {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 100px 0 100px 0;
    position: relative;
    z-index: 1; /* S'assurer que le main est en dessous du header */
}

.popup {
  display: block;
  opacity: 1;
  transition: opacity 3s ease; /* transition de 0.5s avec easing */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000000000;
}

/* Types of containers */

.full_container {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100vw;
    height: 1000px;
}

.mid_container {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 60%;
}

.ltl_container {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 40%;
}

.center_container {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.h1_container{
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    width: 1000px;
}


.background_image {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 3440px auto;

}

/* Index.php specific styles */

.home_text p {
    color: #ffffff;
    font-size: 1.1em;
    line-height: 1.5em;
    text-align: justify;
}

/* Styles pour les SVG des flèches */
.arrow-svg {
    width: 100px;
    height: auto;
    fill: #ffffff;
    transition: all 0.3s ease;
}

.arrow-svg:hover {
    fill: #ff0000;
}

/* Rotation pour la flèche vers le haut */
.arrow-svg.up {
    transform: rotate(180deg);
    margin-top: 50px;
}


.h1_featured{
    color: #ffffff;
    font-size: 45px;
    font-weight: 300;
    padding: 0;
    margin: 150px 0 50px 0;

}

/* Conteneur du formulaire */

.h1_contact{
    color: #ffffff;
    font-size: 45px;
    font-weight: 300;
    padding: 0;
    margin: 150px 0 80px 0;

}

.form-container {
  margin-top: 100px;
  width: 500px;
  display: flex;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 80x 0 110px 0;
}

/* Styles des champs */
form input,
form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 5px;
  outline: none;
  font-size: 14px;
  resize: none;
}

form textarea {
  width: 100%;     /* ou 100% pour occuper toute la largeur du parent */
  height: 150px;    /* augmente la hauteur de la zone de texte */
}


form input::placeholder,
form textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

/* Bouton */
form button {
  width: 100%;
  background: #ffffff;
  color: #000000;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  border-radius: 6px;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background: #ff0000;
  color: #ffffff;
}



/* Why*/

.h1_why{
    color: #ffffff;
    font-size: 45px;
    font-weight: 300;
    padding: 0;
    margin: 150px 0 120px 0;

}

.text_why {
    color: #ffffff;
    font-size: 1.1em;
    line-height: 1.5em;
    font-style: italic;
    text-align: justify;
    margin: 120px 0 80px 0;
    width: 1000px;
}

#citation_author{
    margin-top: 1.5em;
    text-align: center;
}

/* === Work CSS === */

.h1_work{
    color: #ffffff;
    font-size: 45px;
    font-weight: 300;
    padding: 0;
    margin: 100px 0 80px 0;

}

/* === Crush CSS === */

.h1_crush{
    color: #ffffff;
    font-size: 45px;
    font-weight: 300;
    padding: 0;
    margin: 100px 0 80px 0;

}

/* === Video CSS === */

.h1_video{
    color: #ffffff;
    font-size: 45px;
    font-weight: 300;
    padding: 0;
    margin: 100px 0 80px 0;

}