/* Video Styling */

.vid-background {
  position: absolute;
  background: #000;
  height: 2000px;
  width: 100%;
  z-index: -999;
}

#HomeVid .video-stage {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  min-width: 300px;
  height: auto;
  overflow-x: hidden;
  z-index: -999;
  top: calc(160px - 5vw);
}

@media (min-width: 320px) {
  #HomeVid .video-stage {
    top: calc(170px - 2vw);
  }
}

@media (min-width: 480px) {
  #HomeVid .video-stage {
    top: calc(260px - 23vw);
  }
}

@media (min-width: 780px) {
  #HomeVid .video-stage {
    top: calc(250px - 28vw);
  }
}

@media (min-width: 1200px) {
  #HomeVid .video-stage {
    min-width: 1300px;
    top: calc(330px - 17vw);
  }
}

#HomeVid .video-stage video {
  width: 100%;
  height: auto;
  display: block;
}

#HomeVid .video-stage .video-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, rgba(0,0,0,0), #000);
  pointer-events: none;
}

/* fade video out when modal is opened */

.video-stage {
  opacity: 1;
  transition: opacity 0.8s ease-in-out;
}

body.modal-open .video-stage {
  opacity: 0 !important;
  pointer-events: none;
}

/* Text Styling */

.hero-text {
  text-shadow: 0px 0px 6px #000, 0px 0px 6px #000;
}

.hero-text h1 {
  font-size: calc(17px + 2.0vw);
}

@media (min-width: 768px) {
  .hero-text h1 {
    font-size: calc(13px + 2.0vw);
  }
}

@media (min-width: 992px) {
  .hero-text h1 {
    font-size: calc(12px + 2.5vw);
  }
}

.hero-text h2 {
  margin-top: calc(140px + 30vw);
}

@media (min-width: 1200px) {
  .hero-text h2 {
    margin-top: calc(140px + 20vw);
    font-size: calc(12px + 1.7vw);
  }
}

.hero-text-wrapper {
  color: #000;
  font-weight: 400;
  text-shadow: none;
  background: #d9d9d9;
  box-shadow: 0px 0px 15px rgba(0,0,0,0.5);
  padding: 20px;
}

.greeting-text {
  font-family: 'Nothing You Could Do', serif;
  font-size: calc(16px + 4vw);
  line-height: 1.2;
}

@media (min-width: 576px) {
  .greeting-text {
    font-size: 44px;
  }
}

@media (min-width: 768px) {
  .greeting-text {
    font-size: 38px;
  }
}

@media (min-width: 992px) {
  .greeting-text {
    font-size: 50px;
  }
}

@media (min-width: 1200px) {
  .greeting-text {
    font-size: 50px;
  }
}

@media (min-width: 1400px) {
  .greeting-text {
    font-size: 66px;
  }
}

.signature-text {
  font-size: 23px;
  font-family: 'Nothing You Could Do';
}

@media (min-width: 768px) {
  .signature-text {
    font-size: 28px;
    font-family: 'Nothing You Could Do';
  }
}

@media (min-width: 1200px) {
  .signature-text {
    font-size: 32px;
    font-family: 'Nothing You Could Do';
  }
}

/* Program Buttons Styling */

#buttons p {
  font-size: 18px;
}

@media (min-width: 992px) {
  #buttons p {
    font-size: 20px;
  }
}

#buttons {
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}

#buttons .col > a {
  display: block;
}

#buttons .box {
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background-color: #000;
  box-shadow: 3px 3px 10px rgba(0,0,0,0.15);
  border: solid 1px #000;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

#buttons .box p {
  font-size: 18px;
  line-height: 1.4;
}

@media (min-width: 992px) {
  #buttons .box p {
    font-size: 20px;
  }
}

@media (min-width: 1200px) {
  #buttons .box p {
    font-size: 19px;
  }
}

@media (min-width: 1400px) {
  #buttons .box p {
    font-size: 18px;
  }
}

#buttons .box .box-content {
  display: block;
  width: 92%;
  height: 94%;
  position: absolute;
  top: 3%;
  left: 4%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 10px 10px;
  transform: scale(0);
  transition: all 0.5s ease 0s;
  border: solid 1px #ff0000;
  border-radius: 5px;
}

@media (min-width: 992px) {
  #buttons .box .box-content {
    padding: 10px 15px;
  }
}

#buttons .box:hover .box-content {
  transform: scale(1);
}

#buttons .box .heading {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.5);
  background: url("../../assets/img/rival-box-bg.jpg");
  background-size: cover;
  text-align: center;
  padding: 7px 0px 7px 0px;
  transition: all 0.5s;
  border-top: solid 1px #000;
}

#buttons .box:hover .heading {
  bottom: 0;
}

@media (min-width: 992px) {
  #buttons .box:hover .heading {
    bottom: -35%;
  }
}

@media (min-width: 992px) {
  #buttons .box:hover img {
    opacity: .7;
    transition: opacity 0.3s;
  }
}

#buttons .box .heading h3 {
  margin: 0;
  font-size: calc(7px + 2.3vw);
  color: #fff;
  text-shadow: 0px 0px 5px #000;
}

@media (min-width: 576px) {
  #buttons .box .heading h3 {
    font-size: 20px;
  }
}

@media (min-width: 768px) {
  #buttons .box .heading h3 {
    font-size: 21px;
  }
}

@media (min-width: 992px) {
  #buttons .box .heading h3 {
    font-size: 24px;
  }
}

#buttons .box .heading h4 {
  color: #fff;
  font-size: 16px;
  text-shadow: 0px 0px 5px #000;
  margin-bottom: 0;
}

@media (min-width: 576px) {
  #buttons .box .heading h4 {
    font-size: 18px;
  }
}

@media (min-width: 768px) {
  #buttons .box .heading h4 {
    font-size: 19px;
  }
}

@media (min-width: 992px) {
  #buttons .box .heading h4 {
    font-size: 22px;
  }
}

/* Mobile Description Styling */

#buttons .mobile-description {
  font-size: 16px;
  line-height: 1.3;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  word-break: break-word;
  word-wrap: break-word;
  margin: 10px auto 0px;
  padding: 0 2px;
  max-width: 320px;
}

@media (min-width: 768px) {
  #buttons .mobile-description {
    font-size: 17px;
  }
}

#buttons .toggle-link {
  font-size: 16px;
  display: block;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
  padding: 0 4px;
  max-width: 320px;
  margin: 0 auto;
}

#buttons .toggle-link:focus, .toggle-link:active, .toggle-link:hover {
  text-decoration: underline;
  box-shadow: none;
}

