@font-face {
  font-family: "din";
  src: url("../fonts/DIN.ttf") format("truetype");
}

/*-----------------x-----------------*/
/*paramètre à appliquer à toute la page*/
* {
  margin: 0;
  font-family: din;
  scroll-padding-top: 262px; /* height of sticky header */
}

h1 {
  font-size: 42px;
}
h2 {
  font-size: 36px;
  font-weight: 500;
  text-transform: uppercase;
}
h3 {
  font-size: 28px;
  font-weight: 500;
  text-transform: uppercase;
}
h4 {
  text-transform: uppercase;
  font-size: 20px;
}

section {
  padding: 0 200px;
}

header {
  width: 100%;
  top: 0px;
  position: sticky;
  background-color: white;
  z-index: 999;
}

footer {
  /* background-color: rgb(155 154 154); */
  background-image: linear-gradient(1deg, #aaa, transparent);
  width: 100%;
}

.link_anim {
  cursor: pointer;
  font-size: 18px;
  position: relative;
  white-space: nowrap;
  color: var(--color-text);
}
.link_anim::before,
.link_anim::after {
  position: absolute;
  width: 100%;
  height: 3px;
  background: currentColor;
  top: 100%;
  left: 0;
  pointer-events: none;
  align-items: center;

  /* margin-left: 12%; */
}
.link_anim::before {
  content: "";
  /* show by default */
}
.linkm::before {
  transform-origin: 100% 50%;
  transform: scale3d(0, 1, 1);
  transition: transform 0.3s;
}

.linkm:hover::before {
  transform-origin: 0% 50%;
  transform: scale3d(1, 1, 1);
}
/*-----------------x-----------------*/

/*icone + logo*/
.grid_bandeau {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 150px;
  padding-top: 25px;
  padding-bottom: 25px;
}

.icone {
  display: flex;
  align-items: center;
  gap: 1em;
  padding-left: 25px;
}

.img_icone {
  height: 20px;
}

.st0:hover {
  fill: #00ada8;
}

.icone svg {
  width: 35px;
}

.icone-bas svg {
  width: 35px;
}
.anumtel {
  display: flex;
  text-decoration: none;
  align-items: center;
  flex-direction: row;
  gap: 14px;
  color: #434343;
  font-size: 20px;
}

.anumtel:hover {
  color: #00ada8;
  cursor: pointer;
}

.div_logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.div_logo svg {
  width: 100%;
}

.div_logo {
  text-decoration: none;
}

.logo {
  text-align: center;
  font-size: 75px;
  color: white;
}
/* .logo77 {
  color: #e88733;
} */

.souslogo {
  font-size: 25px;
  color: white;
}
/*-----------------x-----------------*/

/*Barre de Navigation*/
.nav_main {
  display: flex;
  justify-content: center;
  background-color: #777777;
  margin: 0;
  box-shadow: 0px 3px 0.45em #aaa;
  /* border-top: solid 1px white; */
  /* border-bottom: solid 1px white; */
}

.nav_main svg {
  width: 15px;
}

.nav_main a {
  color: white;
  display: inline-block;
  text-align: center;
  padding: 20px;
  font-weight: bold;
  text-decoration: none;
}
.nav_main a:hover {
  color: #e88733;
}

/*-----------------x-----------------*/

.img-std {
  width: 100%;
}

.grow {
  display: block;
  width: 100%;
  transition: all 0.4s;
}

.grow:hover {
  transform: scale(1.1);
}

.bleu {
  color: #00ada8;
}
.rose {
  color: #d72f5a;
}
.gris {
  color: #434343;
}
.orange {
  color: #e88733;
}

/*-----------------x-----------------*/

.grid-footer {
  padding: 50px 200px;

  display: grid;
  grid-template-columns: 1fr 1fr;
}
.txt-footer {
  display: flex;
  flex-direction: column;
  color: #00ada8;
}

.icone-bas {
  display: flex;
  gap: 15px;
}

.map {
  display: flex;
  overflow: hidden;
  padding-bottom: 56.25%;
  /* position: relative; */
  height: 0;
  justify-content: flex-end;
}
.bardroit {
  padding: 10px;
  background-color: white;
}
.droit {
  display: flex;
  justify-content: space-evenly;
  background-color: white;
}
.droit a {
  text-decoration: none;
  font-size: 14px;
  color: #434343;
  background-color: white;
}

.droit a:hover {
  color: #e88733;
}
.img-std {
  width: 100%;
}
.bouttondevis {
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  padding-top: 25px;
  padding-bottom: 25px;
}
.button {
  background-color: #e88733;
  /* background-image: linear-gradient(
    -45deg,
    rgb(241 135 44),
    rgb(229 21 59),
    rgb(53 99 173)
  ); */
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
  color: white;
  padding: 15px 32px;
  width: auto;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  font-weight: bold;
}
.button:hover {
  background-color: #d72f5a;
  color: white;
}

.containermention {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 50px;
  margin-left: 100px;
  margin-right: 100px;
  margin-bottom: 50px;
  gap: 50px;
  padding-bottom: 25px;
}

.mention {
  display: flex;
  gap: 1em;
  flex-direction: column;
  color: #555555;
}

.politique {
  padding: 15px;
  display: flex;
  gap: 1em;
  flex-direction: column;
  font-size: 12px;
  color: #555555;
  background-color: #d0d0d0;
}

.condition {
  display: grid;
  gap: 3em;
  grid-template-columns: 1fr 1fr;
  margin: 50px;
}
.gauche {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #555555;
}
.droite {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #555555;
}

.condition p {
  font-size: 12px;
}

#redir {
  padding-top: 75px;
  padding-bottom: 75px;
}

::selection {
  color: #434343;
  background-color: #e88733;
}

.div_logo_phone {
  display: none;
}
.anumtel_phone {
  display: none;
}
.ancre_phone {
  display: none;
}
@media only screen and (max-width: 800px) {
  * {
    scroll-padding-top: 0;
  }
  section {
    padding: 0 50px;
  }
  .ancre {
    display: none;
  }
  .grid_bandeau {
    display: none;
  }
  .div_logo_phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
  }
  .div_logo_phone svg {
    width: 65%;
  }

  .grid-footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
  }
  .nav_main {
    display: flex;
    flex-direction: column;
    box-shadow: none;
  }
  header {
    position: relative;
  }
  .nav_main svg {
    display: none;
  }
  .nav_main a {
    border-bottom: solid 1px white;
  }

  .txt-footer {
    padding-top: 25px;
    display: flex;
    flex-direction: column;
    text-align: center;
    color: #00ada8;
  }
  .icone-bas {
    display: flex;
    gap: 15px;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 25px;
  }
  .map {
    width: 100%;
    height: 354px;
    padding-bottom: 5%;
  }

  h1 {
    font-size: 36px;
  }
  h2 {
    font-size: 30px;
    font-weight: 500;
    text-transform: uppercase;
  }
  h3 {
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
  }
  h4 {
    text-transform: uppercase;
    font-size: 16px;
  }
  .ancre_phone {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-content: center; */
    align-items: center;
    gap: 15px;
    text-align: center;
  }
  .anumtel_phone {
    display: block;
  }
}
