/* reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "open sans", sans-serif;
  font-size: 1rem;
  background: url(../images/BKG.jpg) no-repeat top center;
}

p {
  color: #242424;
}

h1,
h2,
h3,
h4 {
  color: #242424;
}

a {
  text-decoration: none;
  color: #242424;
}

ul {
  list-style: none;
}

.container {
  max-width: 980px;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

#retour-haut {
  position: fixed;
  text-align: center;
  width: 980px;
  bottom: 3rem;
}

#retour-haut img {
  width: 3rem;
  height: 3.2rem;
}

hr {
  border: 0;
  border-bottom: 2px solid #eaae20;
  margin: auto 4rem;
  margin-bottom: 3rem;
}

/* header */

header {
  padding: 1rem 3rem;
  background: white;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
}
#logo {
  height: 3.4rem;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
}

header nav ul {
  display: flex;
  flex-flow: row nowrap;
}

header nav ul li {
  padding: 1rem;
  font-weight: 500;
}

header nav ul li:hover {
  border-bottom: 1px solid #ca2026;
}

/* main-image */

#main-image {
  flex: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  background: url(../images/main-image-1.jpg) center center/cover;
}

.design {
  position: relative;
}

.design-1 {
  margin-top: 60px;
}

#main-image small {
  font-size: 1.7rem;
}
#main-image h2 {
  color: #ca2026;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 3.4rem;
  padding: 4.4rem 0 0 3.8rem;
  line-height: 3rem;
  animation-name: move;
  animation-duration: 2s;
}

@keyframes move {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
  }
}

@keyframes moved {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#main-image h3 {
  padding: 1.2rem 0 0 3.8rem;
  font-style: italic;
  text-transform: uppercase;
  animation-name: moved;
  animation-duration: 2s;
}

.button-1 {
  display: block;
  width: 148px;
  height: 32px;
  background-color: #fff;
  border-radius: 1.6rem;
  text-transform: uppercase;
  font-family: "open sans extrabold";
  margin: 1.4rem 0 0 3.8rem;
  text-align: center;
  line-height: 2rem;
  transition: background 1s;
}

.button-1:hover {
  color: #fff;
  background: #242424;
}

#main-image p {
  margin: 1.2rem 0 0 3.8rem;
  font-size: 0.9rem;
  font-style: italic;
  animation-name: moved;
  animation-duration: 2s;
}

/* presentation */

#presentation {
  display: flex;
  flex-flow: row nowrap;
}

.block-1 {
  flex: 1;
}

.block-1 img {
  width: 100%;
}

.block-2 {
  flex: 1;
  display: flex;
}

.box {
  position: relative;
  height: 100%;
  display: flex;
  flex-flow: column nowrap;
}

.read-more-state {
  display: none;
}

.read-more-target {
  opacity: 0;
  max-height: 0;
  font-size: 0;
  transition: 0.25s ease;
}

.read-more-state:checked ~ .read-more-wrap .read-more-target {
  opacity: 1;
  font-size: inherit;
  max-height: 999rem;
}

.read-more-state ~ .read-more-trigger:before {
  content: "LIRE PLUS";
}

.read-more-state:checked ~ .read-more-trigger:before {
  content: "Réduire";
}

.read-more-trigger {
  cursor: pointer;
  display: inline-block;
  width: 148px;
  height: 32px;
  color: #fff;
  font-weight: bold;
  background: #ca2026;
  text-align: center;
  line-height: 2rem;
  border-radius: 1.6rem;
  margin: 1.4rem 0 1.4rem 3rem;
  transition: background 1s;
}

.read-more-trigger:hover {
  color: #ca2026;
  background: #fff;
  border: 1px solid #ca2026;
}
.box h3 {
  margin: 0;
  font-size: 1.2rem;
}

.block-2 h3 {
  margin: 1.8rem 0 0 2.8rem;
}

.block-2 h2 {
  margin-left: 2.8rem;
  font-size: 2rem;
  color: #ca2026;
}

.block-2 p {
  margin: 0.7rem 2.8rem 0 2.8rem;
}

/*SERVICES*/

#services {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #eaae20;
}

#services h2 {
  font-size: 2rem;
  color: #ca2026;
  font-weight: 900;
  margin: 1.2rem auto;
}

.titre {
  text-align: center;
  text-transform: uppercase;
  color: #ca2026;
}

.sous {
  display: flex;
  max-width: 70%;
  text-align: center;
  margin: 1.2rem auto;
  font-size: 1.2rem;
}

.boite {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
}

.card {
  position: relative;
  width: 205px;
  height: 205px;
  background: #fff;
  margin: 1.5rem 1.5rem;
}

.face1 {
  background: url(../images/gallerie-0.jpg);
  box-sizing: border-box;
  width: 205px;
  height: 205px;
  padding: 10px;
  border: 1px solid #eee;
}

.face1 h3 {
  padding-bottom: 1rem;
}

.face1 p {
  font-size: 0.9rem;
  font-weight: 600;
}

.face2 {
  background-image: url(../images/gallerie-1.jpg);
  transition: 0.5s;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
}
.face3 {
  background-image: url(../images/gallerie-2.jpg);
  transition: 0.5s;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
}
.face4 {
  background-image: url(../images/gallerie-3.jpg);
  transition: 0.5s;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
}

.card:hover .face2,
.card:hover .face3,
.card:hover .face4,
.card:hover .face5,
.card:hover .face6,
.card:hover .face7,
.card:hover .face8,
.card:hover .face9,
.card:hover .face10,
.card:hover .face11,
.card:hover .face12,
.card:hover .face13,
.card:hover .face14,
.card:hover .face15,
.card:hover .face16 {
  height: 1.6rem;
}

.face2,
.face3,
.face4,
.face5,
.face6,
.face7,
.face8,
.face9,
.face10,
.face11,
.face12,
.face13,
.face14,
.face15,
.face16 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.button-2 {
  display: block;
  width: 200px;
  height: 32px;
  color: #fff;
  background-color: #242424;
  border-radius: 1.6rem;
  text-transform: uppercase;
  font-weight: bold;
  margin: 1.6rem auto;
  text-align: center;
  line-height: 32px;
  transition: background 1s;
}

.button-2:hover {
  color: #242424;
  background: #fff;
}

/*AUTRES*/

#autres {
  display: flex;
  flex-flow: row-reverse nowrap;
}

.block-3 {
  flex: 1;
  background: #e3e3e3;
}

.block-3 img {
  width: 100%;
  background-size: cover;
}

.block-4 {
  flex: 1;
  display: flex;
}

.box-1 {
  position: relative;
  height: 100%;
  display: flex;
  flex-flow: column nowrap;
}

.read-more-state-1 {
  display: none;
}

.read-more-target-1 {
  opacity: 0;
  max-height: 0;
  font-size: 0;
  transition: 0.25s ease;
}

.read-more-state-1:checked ~ .read-more-wrap-1 .read-more-target-1 {
  opacity: 1;
  font-size: inherit;
  max-height: 999rem;
}

.read-more-state-1 ~ .read-more-trigger-1:before {
  content: "LIRE PLUS";
}

.read-more-state-1:checked ~ .read-more-trigger-1:before {
  content: "Réduire";
}

.read-more-trigger-1 {
  position: relative;
  cursor: pointer;
  display: inline-block;
  width: 148px;
  height: 32px;
  color: #fff;
  font-weight: bold;
  background-color: #eaae20;
  text-align: center;
  line-height: 2rem;
  border-radius: 1.6rem;
  margin: 1rem 0 1.4rem 3rem;
  transition: background 1s;
}

.read-more-trigger-1:hover {
  color: #eaae20;
  background: #fff;
  border: 1px solid #eaae20;
}
.box-1 h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #274053;
}

.block-4 h3 {
  margin: 1.8rem 0 0 2.8rem;
}

#box-1-h3 {
  margin: 0.8rem 0 0 2.8rem;
  color: #eaae20;
}

.block-4 h2 {
  margin-left: 2.8rem;
  font-size: 2rem;
  color: #ca2026;
  text-transform: uppercase;
  font-weight: 900;
  color: #274053;
}

.block-4 p {
  margin: 0.7rem 2.8rem 0 2.8rem;
  font-size: 0.9rem;
}

/*PAGE-1*/

#main-image-2 {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: 1fr;
}

#main-image-2 img {
  filter: grayscale(100%);
}

#main-image-2 img:hover {
  filter: grayscale(0%);
  transition: 0.5s;
}

.cat-1 {
  grid-column: 1 / 2;
  min-height: 50%;
  max-width: 100%;
}

.cat-2 {
  grid-column: 2 / 3;
  min-height: 50%;
  max-width: 100%;
}

#services-2 {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-content: center;
  width: 100%;
  /*    background-color: #eaae20;*/
}

#services-2 h2 {
  font-size: 2rem;
  color: #ca2026;
  font-weight: 900;
  margin: 1.2rem auto;
}

.boite-1 {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
}

#services-2 .prix {
  font-size: 1.5rem;
  color: #ca2026;
  font-weight: 900;
  margin: 0 0;
}

.face5 {
  background-image: url(../images/gallerie-4.jpg);
  transition: 0.5s;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
}
.face6 {
  background-image: url(../images/gallerie-5.jpg);
  transition: 0.5s;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
}
.face7 {
  background-image: url(../images/gallerie-6.jpg);
  transition: 0.5s;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
}
.face8 {
  background-image: url(../images/gallerie-7.jpg);
  transition: 0.5s;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
}
.face9 {
  background-image: url(../images/gallerie-8.jpg);
  transition: 0.5s;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
}
.face10 {
  background-image: url(../images/gallerie-9.jpg);
  transition: 0.5s;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
}
.face11 {
  background-image: url(../images/gallerie-10.jpg);
  transition: 0.5s;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
}
.face12 {
  background-image: url(../images/gallerie-11.gif);
  transition: 0.5s;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
}
.face13 {
  background-image: url(../images/gallerie-12.jpg);
  transition: 0.5s;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
}
.face14 {
  background-image: url(../images/gallerie-13.jpg);
  transition: 0.5s;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
}
.face15 {
  background-image: url(../images/gallerie-14.jpg);
  transition: 0.5s;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
}
.face16 {
  background-image: url(../images/gallerie-15.jpg);
  transition: 0.5s;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
}

#autres-1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas: "titre titre";
}

.informatique {
  grid-area: titre;
  background-color: #274053;
}

.informatique h2 {
  font-size: 2rem;
  font-weight: 900;
  text-align: center;
  padding: 1rem;
  color: #e3e3e3;
}

.block-5 {
  padding: 1rem 2rem;
}

.block-5 h3 {
  font-size: 1.5rem;
  font-weight: 900;
  text-align: center;
  margin-top: 1rem;
  color: #274053;
}

.block-5 h4 {
  font-size: 1.2rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 1rem;
  color: #eaae20;
}

.block-5 p {
  font-size: 1.2rem;
  margin: 1rem 2rem;
  margin-bottom: 3rem;
  line-height: 2rem;
}

.block-5 strong {
  font-weight: 700;
  color: #274053;
}

.block-6 {
  padding: 1rem;
  background-color: #e3e3e3;
}

.block-6 h3 {
  font-size: 1.5rem;
  font-weight: 900;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 2.7rem;
  color: #274053;
}

.block-6 h5 {
  color: #274053;
}

.block-6 p {
  font-size: 1.15rem;
  margin: 1rem 2rem;
  line-height: 2rem;
}

.formation {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  text-align: center;
  margin: 1rem 1rem;
}

/*CONTACT*/

#contact {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#contact h2 {
  text-align: center;
  text-transform: uppercase;
  margin: 1.2rem auto;
  font-size: 2rem;
  color: #ca2026;
  font-weight: 900;
}

.boite-2 {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
}

.adresse {
  position: relative;
  margin: 1.5rem 3rem;
  text-align: center;
}

.adresse h4 {
  font-size: 1.3rem;
  padding-top: 9rem;
}

.img-1 {
  background: url(../images/phone.png) no-repeat top center;
}

.img-2 {
  background: url(../images/mail.png) no-repeat top center;
}

.img-3 {
  background: url(../images/adresse.png) no-repeat top center;
}

#contact p {
  font-size: 1.3rem;
  text-align: center;
}

#contact a img {
  margin-left: 0.5rem;
  height: 20px;
}

.devis {
  display: flex;
  flex-direction: row nowrap;
}

.button-3 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 32px;
  color: #fff;
  font-weight: bold;
  background-color: #ca2026;
  border-radius: 1.6rem;
  margin: 2rem 1rem;
  transition: background 1s;
}

.button-3:hover {
  color: #ca2026;
  background: #fff;
  border: 1px solid #ca2026;
}

.button-4 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 32px;
  color: #fff;
  font-weight: bold;
  background-color: #48c857;
  border-radius: 1.6rem;
  margin: 2rem 1rem;
  transition: background 1s;
}

.button-4:hover {
  color: #48c857;
  background: #fff;
  border: 1px solid #48c857;
}

/*footer*/

footer {
  color: #fff;
  background-color: #837870;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.footer-global {
  max-width: 980px;
}

.footer-global img {
  max-width: 100%;
}
.footer-content {
  padding: 1rem 3rem;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
}

footer h1 {
  color: #fff;
}
footer h4 {
  color: #fff;
  padding-top: 1.3rem;
}
footer p {
  color: #fff;
  font-style: italic;
  font-weight: 300;
  font-size: 0.9rem;
}

#footer-box ul {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
}

#footer-box ul li {
  margin: 1rem 2rem 0 0;
}

#footer-box ul li img {
  filter: grayscale(100%);
}

#footer-box ul li img:hover {
  filter: grayscale(0%);
  transition: 0.5s;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.5));
}

#footer-text {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
}

#footer-text li {
  margin: 0.6rem 0 0 2rem;
}

#footer-text a:hover {
  color: #eaae20;
}

#footer-text li ul li {
  margin: 0.6rem 0 0 0;
  font-size: 0.8rem;
}

footer ul li a {
  color: #fff;
}

.Copyrigth {
  color: #555;
  font-style: normal;
  font-weight: 600;
  font-size: 0.8rem;
  text-align: center;
  margin: 2rem auto;
}
