/* ------------------------------------ *\
  CONTENTS
\* ------------------------------------ */

/**
* TEN YEARS AMU .........................
* .... Animation full screen ............
* MEDIA QUERIES .........................
*/

/* ------------------------------------ *\
  == TEN YEARS AMU
\* ------------------------------------ */
.special-header {
  position: relative;
}

.special-header .special-header__container {
  min-height: 8.875rem;
  height: 0;
  justify-content: space-between;
  align-items: center;
  color: #0a0a0a;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #cdeafc;
  opacity: 1;
  transition: all ease-in-out 2s;
}

.special--hide {
  visibility: hidden;
  opacity: 0;
  transition: all ease-in-out 1s;
}

.special-header__container.special--opened,
.special-header__container {
  position: relative;
}

.special-header__container p.special-header__text {
  font-family: "Titillium Web", sans-serif;
  font-weight: 600;
  letter-spacing: .09rem;
  position: absolute;
  margin-left: 3rem;
  font-size: 1.875rem;
  line-height: 1.1;
  width: 30rem;
}

.special-header__container p.special-header__text span {
  display: block;
}

.special-header__container button {
  position: absolute;
  top: 2.4rem;
  right: 1rem;
  border-radius: 50%;
  height: 3.7rem;
  width: 3.7rem;
  margin-right: 3.4rem;
  cursor: pointer;
}

.special-header__container button i {
  font-size: 3rem;
  color: rgb(0 0 0);
}

.special-header__container button#btn-deploy i {
  margin-top: -1.2rem;
}

.special-header__container button#btn-close {
  display: none;
}

.special-header__expanded-msg {
  height: 0;
  overflow: hidden;
  transition: opacity ease-in 3s;
}

/* == Animation full screen -------- *\
\* --------------------------------- */
.special-header__container.special--opened {
  min-height: 100vh;
  transition: all ease-in-out 2s;
  overflow: hidden;
  background-image: url("../images/bg-carriere.jpg");
}

.special-header__container.special--closed {
  min-height: 8.875rem;
  transition: all ease-in-out 2s;
}

.special-header__expanded-msg.special--opened {
  display: flex;
  height: 100%;
  align-items: center;
  margin: 0 auto;
  width: 100%;
}

.special-header__container.special--opened button#btn-close {
  display: block;
}

.link-special__text {
  font-style: normal;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.25;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  min-height: 2.625rem;
  padding-inline: 1.5rem;
  padding-block: .875rem .75rem;
}

.link-special__arrow {
  position: relative;
  align-self: flex-start;
  width: 2rem;
  transition: width .3s cubic-bezier(.76, 0, .24, 1);
  overflow: hidden;
  height: 2rem;
  text-align: center;
  background-color: #1d1d1b;
  color: #fff;
}

.link-special,
.url-pattern--intramu a.link-special {
  background-color: #cdeafc;
  font-family: "Titillium Web", sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  position: absolute;
  top: 1rem;
  left: 3rem;
  letter-spacing: .09rem;
  display: inline-flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(29 29 27 / 20%);
  text-align: left;
  color: rgb(0 0 0);
  transition: border-color .3s cubic-bezier(.76, 0, .24, 1);
}

.link-special:hover,
.link-special:focus,
.link-special:active {
  border-color: #1d1d1b;
  color: rgb(0 0 0);
}

/* ------------------------------------ *\
  == MEDIA QUERIES
\* ------------------------------------ */

@media screen and (max-width: 499px) {
  .special-header__container button {
    height: 3rem;
    width: 3rem;
    right: -2rem;
    top: 3.2rem;
  }

  .special-header__container button i {
    font-size: 2rem;
  }

  .special-header__container p.special-header__text {
    margin-left: .5rem;
    width: 15rem;
    font-size: 1.2rem;
  }

  .special-header__container.special--opened {
    background-image: url("../images/bg-carriere-mobile.jpg");
    background-size: 18em;
  }

  .link-special,
  .url-pattern--intramu a.link-special {
    width: 13rem;
    top: 10%;
    left: 40%;
    transform: translate(-50%, -50%);
  }

  .link-special__text {
    font-size: 1rem;
    padding-inline: .8rem;
  }
}

@media screen and (min-width: 500px) and (max-width: 799px) {
  .special-header__container.special--opened {
    background-size: 34em;
  }

  .link-special,
  .url-pattern--intramu a.link-special {
    width: auto;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

@media screen and (min-width: 800px) and (max-width: 1199px) {
  .special-header__container p.special-header__text {
    width: auto;
  }

  .special-header__container.special--opened {
    background-size: 60em;
  }

  .link-special,
  .url-pattern--intramu a.link-special {
    width: auto;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

@media screen and (min-width: 1200px) and (max-width: 1599px) {
  .special-header__container.special--opened {
    min-height: 110vh;
  }

  .link-special,
  .url-pattern--intramu a.link-special {
    top: 3rem;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

@media screen and (min-width: 1600px) {
  .link-special,
  .url-pattern--intramu a.link-special {
    top: 3rem;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}
