:root {
  --blue-color: #243b4a;
  --white-color: #ffffff;
  --blue-fonce-color: #023047;
}

/* ############################### */
/* GLOBAL CONTENT */
/* ############################### */

@font-face {
  font-family: "rubik";
  src: url("../assets/fonts/Rubik/static/Rubik-Regular.ttf");
}
@font-face {
  font-family: "rubik-gras";
  src: url("../assets/fonts/Rubik/static/Rubik-Bold.ttf");
}
@font-face {
  font-family: "rubik-lighter";
  src: url("../assets/fonts/Rubik/static/Rubik-Light.ttf");
}
@font-face {
  font-family: "rubik-extra-gras";
  src: url("../assets/fonts/Rubik/static/Rubik-ExtraBold.ttf");
}

@font-face {
  font-family: "Lobster-gras";
  src: url("../assets/fonts/Lobster/Lobster-Regular.ttf");
}
@font-face {
  font-family: "Anton";
  src: url("../assets/fonts/Anton/Anton-Regular.ttf");
}

body {
  font-size: 80%;
}
body,
input,
textarea {
  font-family: "rubik";
}
a {
  text-decoration: none;
}

/* POLICE D'ECRITURE */
.normal-gras {
  font-family: "rubik-gras";
}
.normal-lighter {
  font-family: "rubik-lighter";
}
.lobster-gras {
  font-family: "Lobster-gras";
}
.anton {
  font-family: "Anton";
}

/* COLOR TEXT */
.color-red {
  color: red;
}

/* ############################### */
/* HEADER CONTENT */
/* ############################### */

header {
  border: 0px solid red;
}

/* FIRST LEVEL ################# */
/* FIRST LEVEL ################# */
/* FIRST LEVEL ################# */
/* FIRST LEVEL ################# */
/* FIRST LEVEL ################# */

header .contact-entete {
  /* border: 1px solid blue; */
  background-color: var(--blue-color);
  color: var(--white-color);
  padding: 20px 0px;
  display: flex;
}

/* #### BLOC CONTACT NUMBER ### */

header .contact-entete .contact-number-email,
header .contact-entete .contact-resaux-sociaux {
  border: 0px solid red;
  flex: 1;

  display: flex;
  justify-content: center;
}
header .contact-entete .contact-number-email ul,
header .contact-entete .contact-resaux-sociaux ul {
  display: flex;
}
header .contact-entete .contact-number-email ul li,
header .contact-entete .contact-resaux-sociaux ul li {
  border: 0px solid red;
}
header .contact-entete .contact-number-email ul li a,
header .contact-entete .contact-resaux-sociaux ul li a {
  display: flex;
  align-items: center;
  margin-right: 10px;
  text-decoration: none;
  color: var(--white-color);
}
header .contact-entete .contact-number-email ul li a figure,
header .contact-entete .contact-resaux-sociaux ul li a figure {
  border: 1px solid white;
  width: 20px;
  margin-right: 10px;
  border-radius: 50px;
  padding: 5px !important;
  transition: all 1s;
}
header .contact-entete .contact-number-email ul li a figure img,
header .contact-entete .contact-resaux-sociaux ul li a figure img {
  width: 100%;
  display: flex;
}

/* HOVER ACTION */
header .contact-entete .contact-number-email ul li a:hover > .figure-icone,
header .contact-entete .contact-resaux-sociaux ul li a:hover > .figure-icone {
  background-color: #0a9396;
  transition: all 1s;
}

/* #### BLOC MENU LOGO SEARCH ### */
/* #### BLOC MENU LOGO SEARCH ### */
/* #### BLOC MENU LOGO SEARCH ### */
/* #### BLOC MENU LOGO SEARCH ### */
/* #### BLOC MENU LOGO SEARCH ### */
/* #### BLOC MENU LOGO SEARCH ### */
/* #### BLOC MENU LOGO SEARCH ### */

header .logo-menu-search {
  /* border: 1px solid red; */
  display: flex;
  padding: 20px 0px;
  margin: 0px 200px;
  align-items: center;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.2);
}
/* logo */
header .logo-menu-search .logo {
  flex: 1;
  /* border: 1px solid green; */
  display: flex;
  justify-content: center;
  align-items: center;
}
header .logo-menu-search .logo figure {
  width: 50px;
}
header .logo-menu-search .logo figure img {
  width: 100%;
}
header .logo-menu-search .logo span {
  font-size: 1.5em;
  color: var(--blue-fonce-color);
  font-weight: bolder;
}

/* menu */
header .logo-menu-search .navigation {
  flex: 2;
  /* border: 1px solid black; */
  text-align: center;
}
header .logo-menu-search .navigation ul {
  display: flex;
  /* border: 1px solid red; */
  justify-content: space-around;

  /* border: 1px solid black; */
}
header .logo-menu-search .navigation ul li {
  /* border: 1px solid red; */

  /* flex: 1; */
  text-align: center;
  display: flex;
}
header .logo-menu-search .navigation ul li a {
  font-weight: bolder;
  color: var(--blue-color);
  text-transform: uppercase;
  padding: 15px;
  flex: 1;
  position: relative;
  font-size: 0.9em;
}
header .logo-menu-search .navigation ul li a:active {
  border: 0px solid red;
}
header .logo-menu-search .navigation ul li:hover > .menu-item::before {
  position: absolute;
  width: 0px;
  height: 0px;
  content: "";
  bottom: 0px;
  transform: translateX(-50%);

  right: calc(50% - 10px);

  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid green;
  animation: icon-triangle 2s infinite alternate;
}

/* search */
header .logo-menu-search .search {
  flex: 1;
  /* border: 1px solid blue; */
}

/* SECOND LEVEL ################# */
/* SECOND LEVEL ################# */
/* SECOND LEVEL ################# */
/* SECOND LEVEL ################# */
/* SECOND LEVEL ################# */

header .entete-second-level {
  /* border: 1px solid red; */
  height: 70vh;
  position: relative;

  /* border: 2px solid red; */
  box-sizing: border-box;

  background: linear-gradient(to right, #243b4a, #243b4a91);
}
header .entete-second-level::before {
  content: "";
  width: calc(100% - 0px);
  height: calc(70vh - 5px);
  background-image: url("../assets/images/main-home.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  display: block;
  position: absolute;
}
header .entete-second-level::before,
header .entete-second-level,
header .entete-second-level .bg-black {
  clip-path: polygon(0 0, 100% 0, 100% 84%, 21% 100%, 0 88%);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 84%, 21% 100%, 0 88%);
}

header .entete-second-level .bg-black {
  background-color: rgba(0, 0, 0, 0.7);
  position: absolute;
  top: 0;
  bottom: 5px;
  left: 0;
  right: 0;
  z-index: 1;
  color: white;

  display: flex;
  justify-content: center;
  align-items: center;
}
header .entete-second-level .bg-black .text-presentation {
  display: flex;
  flex-direction: column;
  justify-self: center;
  align-items: center;
  /* border: 1px solid red; */
}
header .entete-second-level .bg-black .text-presentation h1 {
  font-size: 4em;
  color: var(--blue-fonce-color);
  animation: changeTitleColor 2s infinite alternate;
}
header .entete-second-level .bg-black .text-presentation h2 {
  font-size: 2em;
  margin: 10px 0px;
}
header .entete-second-level .bg-black .text-presentation span {
  font: 1.2em;
}

/* ############################### */
/* MAIN CONTENT */
/* ############################### */

main {
  margin-top: 20px;
}
/* ############################### */
/* ABOUT US CONTENT */
/* ############################### */
main .about-us {
  width: 70vw;
  margin: 0px auto;
  font-weight: lighter;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

main .about-us h2 {
  font-size: 1.5em;
  margin-bottom: 20px;
}

main .about-us p {
  line-height: 25px;
  width: 40vw;
  font-size: 1em;
  display: flex;
  text-align: center;
}
main .about-us .content-about {
  /* border: 1px solid red; */
  padding-top: 20px;
  display: flex;
  width: 100%;
  justify-content: space-between;
}
main .about-us .content-about article {
  /* border: 1px solid blue; */
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px 5px;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

main .about-us .content-about article:nth-child(2n) {
  background-color: var(--blue-color);
}
main .about-us .content-about article:nth-child(2n) h2,
main .about-us .content-about article:nth-child(2n) p {
  color: white;
}
main .about-us .content-about article figure {
  width: 70px;
}
main .about-us .content-about article figure img {
  width: 100%;
  margin-bottom: 15px;
}
main .about-us .content-about article h2 {
  margin-bottom: 15px;
  font-size: 1em;
  font-weight: bolder;
  color: var(--blue-color);
}
main .about-us .content-about article p {
  width: 90%;
}

main .about-us .content-about article .lire-plus {
  background-color: rgba(0, 0, 0, 0.3);
  width: 100%;
  position: absolute;
  top: -100px;
  bottom: 100%;

  /* padding: 20px 0px; */
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 2s;
}
main .about-us .content-about article .lire-plus a {
  color: white;
  border: 1px solid white;
  padding: 15px 40px;
  border-radius: 5px;
  background-color: var(--blue-color);
  transition: all 2s;
}

/* HOVER */
main .about-us .content-about article:hover > .lire-plus {
  bottom: 0;
  transition: all 2s;
}
main .about-us .content-about article .lire-plus a:hover {
  background-color: white;
  color: var(--blue-color);
  border: 1px solid var(--blue-color);
  font-weight: bolder;
  transition: all 2s;
}

/* ############################### */
/* NOS SERVICE CONTENT */
/* ############################### */

main .nos-services {
  margin: 0px auto;
  font-weight: lighter;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* border: 1px solid red; */
  margin-top: 50px;
}

main .nos-services h2 {
  font-size: 1.5em;
  margin-bottom: 20px;
}

main .nos-services p {
  line-height: 25px;
  width: 40vw;
  font-size: 1em;
  display: flex;
  text-align: center;
}

main .nos-services .content-service {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
main .nos-services .content-service article {
  /* border: 1px solid red; */
  margin: 10px 10px;
  flex: 0 0 calc(20% - 10px);
  position: relative;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.2);
  padding: 5px;
}
main .nos-services .content-service article .service-image-illustration {
  /* border: 1px solid blue; */
  height: 250px;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: local;
  border-radius: 5px;
}
main .nos-services .content-service article .image-illustration-01 {
  background-image: url("../assets/images/services/construction-industrielle.jpg");
}
main .nos-services .content-service article .image-illustration-02 {
  background-image: url("../assets/images/services/insfrastructure-urbaine.jpg");
}
main .nos-services .content-service article .image-illustration-03 {
  background-image: url("../assets/images/services/construction-hydrauliques.jpg");
}
main .nos-services .content-service article .image-illustration-04 {
  background-image: url("../assets/images/services/insfrastructre-transport.png");
}
main .nos-services .content-service article .image-illustration-05 {
  background-image: url("../assets/images/services/menuserie.jpg");
}
main .nos-services .content-service article .image-illustration-06 {
  background-image: url("../assets/images/services/betonnage.jpg");
}
main .nos-services .content-service article .image-illustration-07 {
  background-image: url("../assets/images/services/autre-oeuvre.jpg");
}
main .nos-services .content-service article .service-content-main {
  /* border: 1px solid green; */
  background-color: var(--blue-color);
  color: white;
  text-align: center;
  padding: 35px 10px;
  padding-top: 20px;
  margin: 0px 10px;
  margin-top: -30px;
  height: 20px;
  border-top-left-radius: 20px;
  border-bottom-right-radius: 20px;

  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
main .nos-services .content-service article .service-content-main figure {
  width: 50px;
  height: 50px;
  display: flex;
  background-color: #fff;
  border-radius: 100px;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 70%;
  right: 50%;
  transform: translate(50%, -50%);
}
main .nos-services .content-service article .service-content-main figure img {
  width: 20px;
  height: 20px;
}
main .nos-services .content-service article .service-content-main h2 {
  font-size: 1em;
  /* font-weight: lighter; */
  margin-bottom: 10px;
  text-transform: uppercase;
  line-height: 17px;
}
main .nos-services .content-service article .service-content-main p {
  width: 100%;
  /* border: 1px solid red; */
}

/* ############################### */
/* NOS REALISATIONS CONTENT */
/* ############################### */

main .nos-realisations {
  margin: 0px auto;
  font-weight: lighter;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* border: 1px solid red; */
  margin-top: 50px;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.2);
  background-color: var(--blue-color);
  /* background: linear-gradient(
    to right,
    var(--blue-color),
    rgba(0, 0, 0, 0.685)
  ); */
}

main .nos-realisations h2 {
  font-size: 1.5em;
  margin-bottom: 20px;
  color: white !important;
}

main .nos-realisations p {
  line-height: 25px;
  width: 40vw;
  font-size: 1em;
  display: flex;
  text-align: center;
  color: white;
}

main .nos-realisations .content-realisation {
  /* border: 1px solid red; */
  width: 100%;
  display: flex;
}
main .nos-realisations .content-realisation .first-content {
  /* border: 1px solid red; */
  flex: 1;
}
main .nos-realisations .content-realisation .first-content figure {
  overflow: hidden;
  display: flex;
  border-radius: 5px;
  box-sizing: border-box;
  /* border: 4px solid #243b4aa8; */
  margin-bottom: 10px;
}
main .nos-realisations .content-realisation .first-content figure img {
  width: 100%;
  display: flex;
}

main .nos-realisations .content-realisation .second-content {
  /* border: 1px solid red; */
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
main .nos-realisations .content-realisation .second-content div {
  display: flex;
}
main .nos-realisations .content-realisation .second-content figure {
  /* border: 1px solid blue; */
  padding: 5px;
  display: flex;
  flex: 1;
}
main .nos-realisations .content-realisation .second-content figure img {
  width: 100%;
  display: flex;
  border-radius: 5px;
  transition: all 2s;
}
main .nos-realisations .content-realisation .third-content {
  border: 1px solid red;
  flex: 1;
}

main .nos-realisations .content-realisation .second-content figure img:hover {
  transform: scale(1.2);
  transition: all 1s;
  border: 4px solid white;
  box-sizing: border-box;
}

/* ############################### */
/* NOS CONTACTS CONTENT */
/* ############################### */

main .nos-contact {
  margin: 0px auto;
  font-weight: lighter;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* border: 1px solid red; */
  /* margin-top: 50px; */
  padding-top: 50px !important;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.2);
}

main .nos-contact h2 {
  font-size: 1.5em;
  margin-bottom: 20px;
}

main .nos-contact p {
  line-height: 25px;
  width: 40vw;
  font-size: 1em;
  display: flex;
  text-align: center;
}

main .nos-contact .contact-information {
  /* border: 1px solid red; */
  width: 100%;
  display: flex;
  margin-top: 20px;
  padding: 20px 0px;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.2);
}
main .nos-contact .contact-information .formulaire-contact {
  /* border: 1px solid red; */
  flex: 1;
}
main .nos-contact .contact-information .formulaire-contact form {
  padding: 0px 50px;
  width: 40%;
  margin: 0 auto;
}
main .nos-contact .contact-information .formulaire-contact form div {
}
main .nos-contact .contact-information .formulaire-contact form div label {
  color: var(--blue-color);
  font-style: italic;
}
main .nos-contact .contact-information .formulaire-contact form div div {
  border: 1px solid var(--blue-color);
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
  margin-top: 10px;
  /* background-color: var(--blue-color); */
}
main .nos-contact .contact-information .formulaire-contact form div div input {
  display: flex;
  width: 100%;
  border: 0px;
  outline: 0px;
  padding: 15px;
  background-color: transparent;
  /* color: white; */
}
main
  .nos-contact
  .contact-information
  .formulaire-contact
  form
  div
  div
  input:focus {
  /* background-color: #7b858a38; */
  transition: all 2s;
}
main
  .nos-contact
  .contact-information
  .formulaire-contact
  form
  div
  div
  textarea {
  width: 100%;
  border: 0px;
  resize: none;
  padding: 20px;
  outline: none;
}
main .nos-contact .contact-information .formulaire-contact form div button {
  border: 0px;
  background-color: var(--blue-color);
  color: white;
  padding: 15px 50px;
  cursor: pointer;
}
main .nos-contact .contact-information .adresse-contact {
  flex: 1;
}

/* ############################### */
/* FOOTER CONTENT */
/* ############################### */

footer {
  background-color: var(--blue-color);
  color: white;
  padding: 20px;
  text-align: center;
}
footer p {
  line-height: 24px;
}

footer .go-up {
  background-color: red;
  position: fixed;
  border-radius: 50px;
  padding: 7px;
  bottom: 100px;
  right: 20px;
  animation: iconGoUp 2s infinite alternate;
  transition: all 1s;
}
footer .go-up:hover {
  animation: 0s;
  transition: all 1s;
}
footer .go-up figure {
  display: flex;
  width: 25px;
  height: 25px;
}
footer .go-up figure img {
  width: 100%;
}

/* ############################### */
/* ANIMATIONS CONTENT */
/* ############################### */

@keyframes iconGoUp {
  0% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(10px);
  }
}

@keyframes icon-triangle {
  0% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(-5px);
  }
}

@keyframes changeTitleColor {
  0% {
    color: var(--blue-fonce-color);
    transform: translateY(0);
  }
  100% {
    color: var(--white-color);
    transform: translateY(10px);
  }
}
