/*               */
/* CONTACT COVER */
/*               */
.contact-card {
  padding: 3rem 5rem;
  background: var(--bg-grey);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 450px) {
  .contact-card {
    padding: 2rem;
    width: 80%;
  }

  .contact-card a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    text-align: center;
  }

  .contact-card a > i {
    margin-bottom: .5rem;
  }
}

/*              */
/* PRESENTATION */
/*              */
.presentation-container {
  margin: 4rem auto;
  width: 700px;
}

@media screen and (max-width: 1000px) {
  .presentation-container {
    width: 100%;
    margin: 0 auto;
  }
}

.presentation {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  background: var(--bg-grey);
}

@media screen and (max-width: 1000px) {
  .presentation {
    position: initial;
    padding: 2rem;
    flex-direction: column;
  }
}

@media screen and (max-width: 800px) {
  .presentation {
    position: initial;
    padding: 2rem;
    flex-direction: column;
  }
}

.presentation-img {
  margin: 0 auto;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateX(-75%) translateY(-50%);
  width: 300px;
}

@media screen and (max-width: 1000px) {
  .presentation-img {
    position: initial;
    top: initial;
    right: initial;
    transform: initial;
    order: 2;
    width: 415px;
  }
}

@media screen and (max-width: 800px) {
  .presentation-img {
    width: 60%;
  }
}

@media screen and (max-width: 500px) {
  .presentation-img {
    width: 100%;
  }
}

.text {
  margin: 3rem auto;
}

@media screen and (max-width: 800px) {
  .text {
    margin-top: 0;
  }
}

.text-header {
  margin-bottom: 2rem;
}

.text p {
  width: 60%;
  margin: 0 auto;
  position: relative;
  padding: 2.5rem;
}

@media screen and (max-width: 1000px) {
  .text p {
    width: 70%;
  }
}

@media screen and (max-width: 800px) {
  .text p {
    width: 85%;
  }
}

@media screen and (max-width: 500px) {
  .text p {
    padding: 0;
    width: 100%;
  }
}

.text p::before, .text p::after {
  content: '';
  position: absolute;
  width: 5rem;
  height: 5rem;
  border-style: solid;
  border-color: var(--text-green);
}

.text p::before {
  top: 0;
  left: 0;
  border-width: .2rem 0 0 .2rem;
}

.text p::after {
  bottom: 0;
  right: 0;
  border-width: 0 .2rem .2rem 0;
}

@media screen and (max-width: 500px) {
  .text p::before, .text p::after {
    display: none;
  }
}

.citation {
  width: 300px;
  background: var(--bg-green);
  padding: 1rem;
  margin: 0 auto;
  text-align: center;
  color: var(--text-grey);
  font-style: italic;
  font-size: 1.5rem;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(75%, -50%);
}

@media screen and (max-width: 1000px) {
  .citation {
    position: relative;
    top: initial;
    right: initial;
    transform: initial;
    order: 3;
    margin-top: 2rem;
    width: 415px;
  }
}

@media screen and (max-width: 800px) {
  .citation {
    width: 60%;
  }
}

@media screen and (max-width: 500px) {
  .citation {
    width: 100%;
  }
}

.citation::before {
  font: var(--fa-font-solid);
  content: "\f10d";
  font-size: 1.5rem;
  color: var(--text-grey);
  padding: 0;
  position: absolute;
  top: .2rem;
  left: .5rem;
}

.citation::after {
  font: var(--fa-font-solid);
  content: "\f10e";
  font-size: 1.5rem;
  color: var(--text-grey);
  padding: 0;
  position: absolute;
  bottom: .2rem;
  right: .5rem;
}

/*                        */
/* DOMAINES INTERVENTIONS */
/*                        */
.domaines-interventions-container {
  margin: 4rem auto;
  margin-top: 6rem;
  padding: 4rem;
  width: 1000px;
  background: var(--bg-grey);
  position: relative;
}

@media screen and (max-width: 1000px) {
  .domaines-interventions-container {
    width: 100%;
  }
}

@media screen and (max-width: 800px) {
  .domaines-interventions-container {
    position: initial;
    padding: 2rem;
    margin: 0 auto;
  }
}

.domaines-interventions-container h1 {
  color: var(--text-grey);
  background: var(--bg-green);
  margin: 0 auto;
  padding: 1rem;
  position: absolute;
  top: 0;
  right: 50%;
  transform: translate(50%, -50%);
}

@media screen and (max-width: 800px) {
  .domaines-interventions-container h1 {
    width: 60%;
    position: initial;
    top: initial;
    right: initial;
    transform: initial;
  }
}

@media screen and (max-width: 500px) {
  .domaines-interventions-container h1 {
    width: 100%;
  }
}

.domaines-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

@media screen and (max-width: 800px) {
  .domaines-container {
    flex-direction: column;
  }
}

.domaine {
  width: 40%;
  margin: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-green);
  position: relative;
}

.domaine:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 800px) {
  .domaine {
    width: 100%;
    margin: 2rem auto;
    margin-bottom: 0;
  }
}

.domaine:hover {
  color: var(--text-green) !important;
}

.domaine-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-green);
}

.domaine-text h3 {
  color: var(--text-green);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.domaine-text h3::after {
  content: '';
  position: absolute;
  width: 10%;
  height: 100%;
  transition: .5s;
  border-bottom: .3rem solid var(--text-green);
}

.domaine:hover .domaine-text h3::after {
  width: 50%;
}

.domaine-text p {
  margin: 0;
}
