@import url(https://fonts.googleapis.com/css2?family=Merriweather);
@import url(https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,691;1,14..32,691&display=swap);
body {
  background: url(../img/bg.jpg) fixed center/cover;
  font-family: merriweather;
  list-style: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

p {
  font-family: merriweather;
}

ul li {
  font-family: merriweather;
  list-style: none;
}

* {
  margin: 0;
  padding: 0;
}

header {
  min-height: 100vh;
  color: rgb(243, 241, 241);
  background: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px 70px;
  position: relative;
}
header:before {
  content: "";
  position: absolute;
  height: 100vh;
  width: 100vw;
  background: rgb(17, 17, 17);
  animation: animBefore 1s ease forwards;
  animation-delay: 0.2s;
}
@keyframes animBefore {
  to {
    opacity: 0;
  }
}
header .header-container {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  gap: 30px;
  opacity: 0;
  transform: translateY(40px);
  animation: headerAnim 1s ease forwards;
}
@keyframes headerAnim {
  to {
    transform: translateY(0);
    opacity: 100;
  }
}
header .header-container h1 {
  font-size: 4rem;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 5px;
}
@media screen and (max-width: 718px) {
  header .header-container h1 {
    font-size: 3rem;
  }
}
header .header-container p {
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 100;
}
header .header-container ul li {
  border: 1px solid rgb(243, 241, 241);
  padding: 15px;
  border-radius: 50px;
}

h1,
h2,
h3 {
  font-family: inter;
  text-transform: uppercase;
}

p,
.ref-liens,
h4,
h5 {
  font-family: merriweather;
}

nav {
  width: 75%;
  height: 50px;
  background: rgba(255, 255, 255, 0.341);
  color: rgb(243, 241, 241);
  display: flex;
  justify-content: space-between;
  transform: translateY(-100%);
  text-transform: uppercase;
  font-size: 0.5rem;
  letter-spacing: 2px;
}
@media screen and (max-width: 818px) {
  nav {
    justify-content: space-around;
  }
}
nav:not(:hover) .selectedli {
  background: rgb(243, 241, 241);
  color: rgb(17, 17, 17);
}
nav .nav-box {
  height: 100%;
}
@media screen and (max-width: 818px) {
  nav .nav-box {
    display: flex;
    width: 100%;
  }
}
@media screen and (max-width: 818px) {
  nav .nav-box2 {
    display: none;
  }
}
nav ul {
  display: flex;
  padding-inline-start: 0px;
  height: 100%;
  margin: 0;
}
@media screen and (max-width: 818px) {
  nav ul {
    width: 100%;
  }
}
nav ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 15px;
  transition: 0.4s ease;
  width: 100%;
  text-align: center;
  white-space: nowrap;
}
nav ul li:hover {
  background: rgb(243, 241, 241);
  color: rgb(17, 17, 17);
  cursor: pointer;
}
nav ul li i {
  font-size: 1rem;
}
@media screen and (max-width: 818px) {
  nav ul li {
    white-space: unset;
    justify-content: center;
  }
}

.section-1 {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(243, 241, 241);
  width: 75%;
  margin-top: -50px;
}
.section-1 .section-1-container {
  display: flex;
  flex-direction: column;
  padding: 50px;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 25px;
  width: 100%;
}
.section-1 .section-1-container h4 {
  font-size: 0.8rem;
}
.section-1 .section-1-container h4:after {
  content: "";
  background: rgba(190, 182, 182, 0.489);
  width: 25%;
  height: 1px;
  position: absolute;
  right: 50px;
  top: 60px;
}
.section-1 .section-1-container h4:before {
  content: "";
  background: rgba(190, 182, 182, 0.489);
  width: 25%;
  height: 1px;
  position: absolute;
  left: 50px;
  top: 60px;
}
.section-1 .section-1-container h2 {
  font-size: 2.1rem;
  max-width: 350px;
  text-align: center;
  padding: 0px 70px;
}
.section-1 .section-1-container p {
  font-size: 0.7rem;
  font-style: italic;
  color: rgb(53, 51, 51);
  padding: 0px 70px;
  letter-spacing: 0.3px;
  line-height: 25px;
  text-align: center;
  max-width: 350px;
}
.section-1 .section-1-container .img-section-1 {
  background: url(../img/pic01.jpg) center/cover;
  width: 100%;
  aspect-ratio: 16/9;
}

.section-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(243, 241, 241);
  width: 75%;
  border-top: 1px solid rgba(190, 182, 182, 0.489);
}
@media screen and (max-width: 718px) {
  .section-2 {
    flex-direction: column;
  }
}
.section-2 .part {
  padding: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.section-2 .part:not(:last-child) {
  border-right: 1px solid rgba(190, 182, 182, 0.489);
}
.section-2 .part .part-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
  text-align: center;
  align-items: center;
  justify-content: center;
}
.section-2 .part .part-container h5 {
  font-weight: 100;
  color: rgb(52, 50, 50);
  font-size: 0.8rem;
}
.section-2 .part .part-container h3 {
  padding: 0px 50px;
  max-width: 200px;
}
.section-2 .part .part-container .img-section2-left {
  background: url(../img/pic02.jpg) center/cover;
  width: 100%;
  aspect-ratio: 16/9;
}
.section-2 .part .part-container .img-section2-right {
  background: url(../img/pic03.jpg) center/cover;
  width: 100%;
  aspect-ratio: 16/9;
}
.section-2 .part .part-container p {
  font-size: 0.8rem;
  font-weight: 100;
  color: rgb(52, 50, 50);
  text-align: left;
  line-height: 20px;
}

.contact {
  background: rgb(243, 241, 241);
  width: 75%;
  margin-top: 20px;
  margin-bottom: 50px;
  display: flex;
}
@media screen and (max-width: 718px) {
  .contact {
    flex-direction: column;
  }
}
.contact .form {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(190, 182, 182, 0.489);
  min-height: 100%;
  width: 50%;
}
@media screen and (max-width: 718px) {
  .contact .form {
    width: 100%;
  }
}
.contact .form .form-container {
  display: flex;
  flex-direction: column;
  padding: 50px 30px;
}
.contact .form .form-container form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 0.6rem;
  color: rgb(17, 17, 17);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.contact .form .form-container form input {
  background: none;
  border: 1px solid rgba(190, 182, 182, 0.489);
  height: 30px;
}
.contact .form .form-container form input:focus {
  outline: none;
  border: 2px solid grey;
}
.contact .form .form-container form textarea {
  background: none;
  border: 1px solid rgba(190, 182, 182, 0.489);
  resize: none;
  height: 150px;
}
.contact .form .form-container form textarea:focus {
  outline: none;
  border: 2px solid grey;
}
.contact .form .form-container form .button-form {
  align-self: flex-start;
  border: 1px solid rgb(17, 17, 17);
  padding: 8px 15px;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgb(17, 17, 17);
  transition: 0.4s ease;
  margin-top: 10px;
}
.contact .form .form-container form .button-form:hover {
  cursor: pointer;
  transform: scale(1.1);
}
.contact .liens {
  display: grid;
  grid-template-rows: 25% 25% 25% 25%;
  width: 50%;
}
@media screen and (max-width: 718px) {
  .contact .liens {
    width: 100%;
    height: 280px;
  }
}
.contact .liens .box-liens:not(:last-child) {
  border-bottom: 1px solid rgba(190, 182, 182, 0.489);
}
.contact .liens .box-liens {
  display: flex;
  align-items: center;
  width: 100%;
}
@media screen and (max-width: 718px) {
  .contact .liens .box-liens:first-child {
    border-top: 1px solid rgba(190, 182, 182, 0.489);
  }
}
.contact .liens .box-liens-container {
  display: grid;
  grid-template-columns: 30% 70%;
  align-items: center;
  width: 100%;
  height: 100%;
  padding-left: 30px;
}
.contact .liens .box-liens-container .titre-liens {
  font-size: 0.6rem;
  color: rgb(17, 17, 17);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.contact .liens .box-liens-container .ref-liens {
  font-size: 0.6rem;
  color: rgb(162, 160, 160);
  font-weight: 100;
  line-height: 15px;
}
.contact .liens .box-liens-container .ref-liens ul {
  display: flex;
  gap: 10px;
  font-size: 0.7rem;
  color: rgb(17, 17, 17);
  transition: 0.4s ease;
}
.contact .liens .box-liens-container .ref-liens ul li {
  border: 1px solid rgba(190, 182, 182, 0.489);
  padding: 8px;
  border-radius: 20px;
}
.contact .liens .box-liens-container .ref-liens ul li :hover {
  cursor: pointer;
}

button {
  font-family: inter;
  text-transform: uppercase;
  font-size: 0.5rem;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 8px 23px;
  background: none;
  transition: 0.4s ease;
}
button:hover {
  cursor: pointer;
  transform: scale(1.1);
}
