@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
:root {
  --Bright-Red: rgb(242, 95, 58);
  --Dark-Blue: hsl(228, 39%, 23%);
  --Dark-Grayish-Blue: hsl(227, 12%, 61%);
  --Very-Dark-Blue: hsl(233, 12%, 13%);
  --Very-Pale-Red: hsl(13, 100%, 96%);
  --Very-Light-Gray: hsl(0, 0%, 98%);
}
*,
*::before,
*::after {
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  font-family: "Be Vietnam Pro", sans-serif;
}
body {
  overflow-x: hidden;
}
.tete {
  height: 100vh;
  position: relative;
}
.background {
  position: absolute;
  top: -30%;
  right: -10%;
  z-index: -9999;
  object-fit: cover;
  width: 50%;
}
header {
  width: 100%;
  display: flex;
  align-items: center;
  padding-top: 3rem;
  padding-inline: 10%;
  justify-content: space-between;
}
header nav ul {
  display: flex;
  gap: 1.5rem;
}
header nav ul li a {
  text-decoration: none;
  color: var(--Dark-Blue);
  font-size: 0.9rem;
}
header nav ul li a:hover {
  color: var(--Dark-Grayish-Blue);
}
ul li {
  list-style: none;
}
header button,
.left_hero button,
.component button,
.commentaire button,
.last button {
  padding: 0.7rem;
  font-weight: 600;
  color: white;
  border: none;
  border-radius: 1rem;
  padding-inline: 1.9rem;
  background: var(--Bright-Red);
  box-shadow: 0px 4px 7px var(--Bright-Red);
  cursor: pointer;
}
header button:hover,
.left_hero button:hover,
.commentaire button:hover {
  background: rgba(242, 95, 58, 0.6);
}
.component button {
  cursor: auto;
}
.hero {
  width: 100%;
  padding-inline: 10%;
  margin-top: 5%;
  display: flex;
}
.left_hero {
  margin-top: 8%;
}
.left_hero h2 {
  width: 70%;
  font-size: 2.7rem;
  color: var(--Dark-Blue);
  /* font-weight: 700; */
}
.left_hero p,
.question p {
  color: var(--Dark-Grayish-Blue);
  margin-top: 5%;
  width: 50%;
  text-align: justify;
  line-height: 1.7rem;
}
.left_hero button {
  margin-top: 5%;
}
main {
  padding-inline: 10%;
  display: flex;
}
.question {
  padding-top: 5%;
}
.list {
  margin-top: 5%;
  width: 80%;
}
.question h2,
.commentaire h2 {
  color: var(--Dark-Blue);
  font-size: 2rem;
  width: 50%;
}
.component {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
.component button {
  align-self: self-start;
}
.component:nth-child(2) {
  margin-top: 5%;
  margin-bottom: 5%;
}
.component p,
.card_comm div p:last-of-type {
  color: var(--Dark-Grayish-Blue);
  line-height: 1.7rem;
}
span {
  color: var(--Dark-Blue);
  font-weight: 600;
  width: 100%;
  display: block;
  margin-bottom: 5%;
}
.commentaire h2 {
  width: 100%;
  margin-top: 5%;
  text-align: center;
}

.card_comm {
  margin-top: 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.card_comm div {
  background: var(--Very-Light-Gray);
  position: relative;
}
.card_comm div img {
  width: 4.5rem;
  object-fit: cover;
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translate(-50%, -50%);
}
.card_comm div p:first-of-type {
  color: var(--Dark-Blue);
  font-weight: 600;
  margin-top: 75px;
  text-align: center;
}

.card_comm div p:last-of-type {
  text-align: center;
  padding-inline: 1.2rem;
  padding-bottom: 1.2rem;
}
.commentaire {
  display: flex;
  flex-direction: column;
}
.commentaire button {
  justify-self: center;
  align-self: center;
  margin-top: 5%;
}
.back {
  display: none;
}
.work div {
  display: flex;
  justify-content: space-between;
  padding: 5rem;
  background: var(--Bright-Red);
  margin-top: 5%;
  background-image: url(images/bg-simplify-section-desktop.svg);
  background-repeat: no-repeat;
  background-position: top right;
  background-size: cover;
  background-attachment: unset;
  align-items: center;
}
.work p {
  color: white;
  font-size: 3rem;
  font-weight: 600;
  width: 50%;
}
.work button {
  padding-inline: 1.7rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  border: none;
  background: white;
  color: var(--Bright-Red);
  font-weight: 600;
  border-radius: 1rem;
  cursor: pointer;
}
.work button:hover {
  color: rgba(242, 95, 58, 0.6);
}
footer {
  display: flex;
  padding-inline: 10%;
  padding-top: 2rem;
  padding-bottom: 2rem;
  justify-content: space-between;
  align-items: center;
  background: var(--Very-Dark-Blue);
}
.first_part,
.last {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

footer a {
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}
footer a:hover {
  color: var(--Bright-Red);
}
.icon_network img {
  cursor: pointer;
}
.icon_network img:nth-child(odd) {
  margin-inline: 1rem;
}

.link_to_another_section {
  display: flex;
  flex-direction: column;
  align-self: self-start;
  gap: 1rem;
  justify-content: center;
}
.last button {
  box-shadow: none;
}
.last p {
  color: var(--Dark-Grayish-Blue);
  font-size: 0.8rem;
}
input {
  padding: 0.7rem;
  border-radius: 1.5rem;
  border: none;
}
input,
input:focus {
  border: none;
  outline: none;
}
.menu_humbergur {
  display: none;
  position: relative;
  z-index: 10000;
}
@media only screen and (max-width: 1200px) {
  header,
  .hero,
  main,
  footer {
    padding-inline: 5%;
  }
  .left_hero h2 {
    width: 100%;
  }
  .left_hero p {
    width: 100%;
  }
  .background {
    width: 64%;
  }
}
@media only screen and (max-width: 800px) {
  header,
  .hero,
  main,
  footer {
    /* padding-inline: 1%; */
  }
  main {
    flex-direction: column;
  }
  .right_hero img {
    width: 20rem;
  }
  .question h2 {
    width: 100%;
  }
  .question p {
    text-align: center;
    width: 100%;
  }
  .card_comm {
    flex-direction: column;
    width: 70%;
    margin-inline: auto;
  }
  footer {
    flex-direction: column-reverse;
  }
  .component {
    gap: 0rem;
    position: relative;
  }
  .component span {
    padding: 0.4rem;
    padding-left: 5rem;
    background: var(--Very-Pale-Red);
    border-radius: 0 1rem 1rem 0;
    position: absolute;

    top: 0;
    left: 2%;
    z-index: -1000;
  }
  .component p {
    margin-top: 3rem;
  }
  .tete {
    height: auto;
  }
  .menu_humbergur {
    display: block;
    cursor: pointer;
  }
  header button {
    display: none;
  }
  nav {
    display: none;
    position: fixed;
    background: white;
    padding-inline: 15%;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    z-index: 10000;
    top: 5.5rem;
    right: 10%;
    border-radius: 1rem;
  }
  nav ul {
    flex-direction: column;
    padding-left: 0;
  }
  nav ul li a {
    color: var(--Dark-Blue);
  }
  .back {
    display: none;
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* background-color: rgba(0, 0, 0, 0.6); */
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.6),
      rgba(225, 225, 225, 0.4)
    );
    z-index: 1000;
  }
}

@media only screen and (max-width: 600px) {
  html {
    font-size: 15px;
  }
  .hero {
    flex-direction: column-reverse;
    justify-content: center;
  }
  .tete {
    height: 100vh;
  }
  .left_hero h2,
  .left_hero p,
  .question h2,
  .question p {
    text-align: center;
  }
  .right_hero,
  .get_start {
    width: 100%;
    display: grid;
    place-items: center;
  }
  .list {
    width: 100%;
  }
  .work div {
    flex-direction: column;
    gap: 2rem;
  }
  .work p {
    width: 100%;
  }
  .background {
    top: -20%;
    width: 92%;
  }
}
