/* Needed for the sticky header for mobile*/
body {
  overflow-x: visible;
}

/** Page layers **/
.layer,
.layer--vert,
.layer--featured {
  overflow: hidden;
}

@media (min-width: 768px) {
  .layer {
    min-height: 480px;
  }
}

.layer__img {
  height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 768px) {
  .layer--vert .layer__content--img {
    height: 350px;
    overflow: hidden;
  }

  .layer__img {
    height: 480px;
  }

  .layer--vert .layer__img {
    height: 350px;
    transition: transform 1s ease-out;
  }

  .layer--vert .layer__img:hover {
    transform: scale(1.1);
  }

  .layer--featured .layer__img {
    height: 300px;
  }
}

.layer__content {
  margin: 1rem;
}

@media (min-width: 768px) {
  .layer__content {
    display: flex;
    flex-direction: column;
    margin: auto 1.5rem;
    justify-content: center;
    height: 100%;
  }

  .layer--standalone .layer__content,
  .layer--vert .layer__content {
    height: auto;
    margin-top: 3rem;
    margin-bottom: 3rem;
  }

  .layer--standalone .layer__content {
    flex-direction: row;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (min-width: 992px) {
  .layer__content {
    margin: auto 12.5%;
  }
}

.layer__content p {
  margin-bottom: 1.5rem;
}

.layer__head,
.layer__head--gold {
  margin-bottom: 1.5rem;
}

.layer--standalone .layer__head,
.layer__head--name {
  font-family: var(--fhsu-serif);
  font-weight: 700;
}

.layer--standalone .layer__head {
  margin-bottom: 0;
  font-size: 3rem;
  line-height: 1;
}

.layer__head--gold,
.layer__head--name {
  color: var(--primary);
}

.layer__head--name {
  font-size: 3.125rem;
  line-height: 0.9;
  text-transform: uppercase;
}

.layer__head--name span {
  font-size: 1.8125rem;
  font-weight: 400;
  color: #fff;
  display: block;
}

@media (min-width: 768px) {
  .layer__head--name {
    text-align: right;
  }
}

@media (min-width: 992px) {
  .layer__head--name {
    font-size: 4.0625rem;
  }
  .layer__head--name span {
    font-size: 2.3125rem;
  }
}

@media (min-width: 1200px) {
  .layer__head--name {
    font-size: 6.5rem;
  }
  .layer__head--name span {
    font-size: 3.75rem;
  }
}

h4.layer__head {
  font-family: var(--font-family-sans-serif);
  font-size: 1rem;
  line-height: 1.5;
  text-transform: none;
}

.layer--vert .layer__cta {
  font-size: 1.125rem;
  font-weight: bold;
}

.layer--vert .layer__cta a:hover,
.layer--vert .layer__cta a:focus,
.layer--vert .layer__cta a:active {
  color: #d49902;
  text-decoration: underline;
}

.gold-bg .layer--vert .layer__cta a {
  color: #212529;
}

.gold-bg .layer--vert .layer__cta a:hover,
.gold-bg .layer--vert .layer__cta a:focus,
.gold-bg .layer--vert .layer__cta a:active {
  color: #000;
}

header.banner {
  position: sticky;
  top: 0;
  z-index: 10001;
  overflow: hidden;
  box-shadow: 0 4px 4px 0 rgba(0 0 0 / 25%);
}
@media (min-width: 992px) {
  header.banner {
    position: fixed;
    left: 0;
    width: 100%;
  }
}
/** 
  Adjust header on scroll
  TODO: Will need to update MQ when the rest is adjusted
**/
@media (min-width: 992px) {
  .banner.scrolled {
    position: fixed;
    z-index: 100;
  }
}

/**
  Hero video
  TODO: rename with BEM
**/

#spotlight video {
  width: 100%;
  overflow: hidden;
}

@media (min-width: 768px) {
  #spotlight {
    height: 100vh;
    position: relative;
    z-index: -1;
  }

  #spotlight video {
    position: fixed;
    height: 100vh;
    top: 0;
    left: 0;
    object-fit: cover;
  }

  #spotlight.scrolled video {
    position: static;
  }
}

@media only screen and (max-width: 767px) {
  #big-video-wrap {
    object-fit: cover;
  }

  video {
    max-height: 500px;
    min-height: 350px;
    object-fit: cover;
    margin-bottom: -7px;
  }
}

/**
  CTA Buttons
  TODO: Rename with BEM
**/

.btn-white-color,
.btn-gold-color,
.btn-dark-color {
  background-color: transparent !important;
  font-weight: bold !important;
  min-width: 220px;
}
.btn-white-color {
  color: #000 !important;
  border: 4px solid var(--primary) !important;
}
.btn-gold-color {
  color: #000 !important;
  border: 4px solid #fff !important;
}
.btn-dark-color {
  color: #fff;
  border: 4px solid var(--primary) !important;
}
.btn-white-color:hover,
.btn-white-color:focus,
.btn-white-color:active {
  background-color: var(--primary) !important;
}
.btn-gold-color:hover,
.btn-gold-color:focus,
.btn-gold-color:active {
  background-color: #fff !important;
}
.btn-dark-color:hover,
.btn-dark-color:focus,
.btn-dark-color:active {
  background-color: var(--primary) !important;
  color: #000;
}

/**
  Helper classes
**/

.gold-bg {
  background-color: var(--primary);
}

.skipnav:focus,
.skipnav:active {
  color: var(--primary) !important;
  position: relative;
  z-index: 10002;
  font-weight: bold;
  text-decoration: none;
  background: black;
  width: 100% !important;
  display: block;
}

@media (min-width: 992px) {
  .skipnav:focus,
  .skipnav:active {
    width: auto !important;
    display: inline-block;
  }
}
