/* ------------------------------------ *\
  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: #fff;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("/sites/www.univ-amu.fr/themes/amu_www/css/../images/bg-video.png");
  background-color: #00558bb3;
  opacity: 1;
  transition: all ease-in-out 2s;
}

.special--opened.special-header__container p.special-header__text--center span {
  position: relative;
  display: block;
  top: 0;
  font-size: 2.875rem;
  line-height: 1.1;
  font-family: "Titillium Web", sans-serif;
  font-weight: 600;
  letter-spacing: .09rem;
  width: 100%;
}

.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.special--opened::before,
.special-header__container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0000006b;
}

.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;
  border: 2px solid #ebb818;
  background: linear-gradient(#00558bb3, #246d9a59);
}

.special-header__container button i {
  font-size: 3rem;
  color: #fff;
}

.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;
}

.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,
.url-pattern--intramu a.link-special {
  padding: .5rem 3rem;
  background-color: #ebb818;
  color: #021623;
  font-family: "Titillium Web", sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  border-radius: 39px;
}

.special-header .link-special:hover {
  border: 2px solid #ebb818;
  background-color: rgba(0, 85, 139, .2);
  color: #ebb818;
}

.special-header .link-special:focus {
  color: #021623;
}

.special-header__expanded-msg div:nth-child(2) {
  text-align: center;
  margin: 3rem 0;
  position: relative;
}

.logo-10yrs {
  padding: 0 1rem;
}

/* ------------------------------------ *\
  == MEDIA QUERIES
\* ------------------------------------ */
@media screen and (max-width: 39.9375em) {
  .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 {
    font-size: 1.1rem;
    margin-left: 1rem;
  }

  .special-header a.link-special {
    font-size: 1.2rem;
    padding: .5rem 1.5rem;
  }

  .special-header .logo-10yrs {
    width: 90%;
  }
}

@media screen and (max-width: 63.9375em) {
  .special-header__expanded-msg.special--opened {
    justify-content: center;
  }

  .special-header__expanded-msg div:nth-child(2) {
    text-align: center;
  }

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