/* VStream website styles (converted from the Next.js version). Loaded after Bootstrap 4. */

@font-face {
  font-family: jacksonvilleFont;
  src: url('/FONT/NFL_Jacksonville_Jaguars.ttf');
  font-display: swap;
}

@font-face {
  font-family: montserratFont;
  src: url('/FONT/Montserrat/Montserrat-Regular.ttf');
  font-display: swap;
}

/* ---------- Base ---------- */

html,
body {
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans,
    Droid Sans, Helvetica Neue, sans-serif;
}

a,
a:hover {
  color: inherit;
  text-decoration: none;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

button {
  padding: 0.5rem 1rem;
  font-weight: bold;
}

.flip {
  transform: scaleX(-1);
}

.jacksonville_font {
  font-family: jacksonvilleFont;
}

/* ---------- Header ---------- */

.site_header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  color: #fff;
  background-color: #4e4b4c69;
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
  font-family: Roboto, Helvetica, Arial, sans-serif;
}

.site_header_inner {
  display: flex;
  align-items: center;
  max-width: 1536px;
  min-height: 56px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 600px) {
  .site_header_inner {
    min-height: 64px;
    padding: 0 24px;
  }
}

.site_header_logo {
  display: block;
  max-width: 40px;
}

.site_nav {
  display: none;
  flex-grow: 1;
  justify-content: flex-end;
}

.site_nav a {
  display: block;
  min-width: 64px;
  margin: 16px 0;
  padding: 6px 8px;
  border-radius: 4px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.02857em;
  text-align: center;
  text-transform: uppercase;
}

.site_nav a:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.08);
}

.site_nav_mobile {
  position: relative;
  display: flex;
  flex-grow: 1;
}

.site_nav_toggle {
  padding: 12px;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: none;
  line-height: 0;
}

.site_nav_toggle:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.site_menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  margin: 0;
  padding: 8px 0;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
}

.site_menu[hidden] {
  display: none;
}

.site_menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 6px 16px;
  color: #000;
  font-size: 1rem;
  line-height: 1.5;
}

.site_menu a:hover {
  color: #000;
  background-color: rgba(0, 0, 0, 0.04);
}

@media (min-width: 900px) {
  .site_nav {
    display: flex;
  }

  .site_nav_mobile {
    display: none;
  }
}

/* ---------- Page ---------- */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: montserratFont;
}

.site_footer {
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #c6c2c4;
}

/* ---------- Hero ---------- */

.background_video {
  width: 100%; /* not 100vw: that includes the scrollbar and causes a horizontal scrollbar */
  object-fit: cover;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
}

@media only screen and (min-width: 768px) {
  .background_video {
    height: 100vh;
  }
}

.title_section {
  min-height: 215px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  background-color: transparent;
  background-size: cover;
  color: white;
}

@media only screen and (min-width: 768px) {
  .title_section {
    padding: 0 0 0 5rem;
    min-height: 100vh;
  }
}

@media only screen and (max-width: 767px) {
  .title_section {
    text-align: center;
  }

  .title_card {
    font-size: 15px;
  }
}

/* ---------- About ---------- */

.about_section {
  min-height: 95vh;
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

@media only screen and (max-width: 767px) {
  .about_section {
    background-color: #3fa9f5;
  }
}

@media only screen and (min-width: 768px) {
  .about_section {
    background-image: url('/Background/background2.png');
    background-size: cover;
  }
}

.section_card {
  min-height: 50vh;
  padding: 3rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: auto;
  width: 90%;
}

@media only screen and (max-width: 767px) {
  .section_card {
    background-color: #4e4b4c;
    border-radius: 20px;
    padding: 3rem 3rem;
  }
}

.card_header {
  margin: 0 0 0.5rem;
  line-height: 1.15;
  font-size: 4rem;
  color: #3fa9f5;
  font-family: jacksonvilleFont;
}

.card_content {
  margin: 0 0 1rem;
  color: white;
}

@media only screen and (max-width: 767px) {
  .card_header {
    font-size: 3rem;
  }

  .card_content {
    font-size: 13px;
  }
}

/* ---------- Brands, projects, partners ---------- */

.info_section {
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  background-image: url('/Background/background5.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #4e4b4c;
}

@media only screen and (min-width: 768px) {
  .info_section {
    min-height: 100vh;
    padding: 5rem 0;
  }
}

.brand_logo {
  max-width: 70%;
  margin: 0 auto;
}

.brand_text {
  white-space: pre-line;
}

.info_card {
  padding: 2rem 3rem;
  display: flex;
  flex-direction: column;
  margin: 1rem auto 4rem auto;
  width: 70%;
  background-color: #3fa9f5;
  border-radius: 20px;
}

@media only screen and (max-width: 767px) {
  .info_card {
    padding: 1.5rem 2rem;
    font-size: 13px;
  }
}

.info_content {
  display: flex;
  justify-content: center;
  text-align: center;
  margin: 1rem auto;
  width: 100%;
}

.content_header,
.content_header_mobile {
  color: white;
  margin: 0 0 1rem;
  line-height: 1.15;
  font-size: 3rem;
  font-weight: 500;
  width: 100%;
}

.section_heading {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

@media only screen and (max-width: 767px) {
  .content_header {
    display: none;
  }
}

@media only screen and (min-width: 768px) {
  .content_header_mobile {
    display: none;
  }
}

.info {
  display: flex;
  justify-content: center;
}

.info_project {
  object-fit: cover;
  border-radius: 30px;
  width: 16rem;
  height: 9rem;
  margin: 0.5rem 1rem;
}

.info_image_container {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  border-radius: 30px;
  width: 15rem;
  height: 5rem;
  margin: 0.5rem 1rem;
}

.info_image {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.info_image_canon {
  width: 70%;
  height: 70%;
  object-fit: cover;
}

/* Scrolling film strips of project photos (desktop). Hovering pauses them. */

.filmstrip,
.filmstrip_reverse {
  cursor: pointer;
  display: flex;
  overflow: hidden;
  width: 100%;
  height: 200px;
}

.filmstrip img,
.filmstrip_reverse img {
  flex-shrink: 0; /* keep 200px even before the photo has loaded, so lazy loading finds it */
  width: 200px;
  height: 100%;
  object-fit: cover;
}

.filmstrip img {
  animation: scrollFilmstrip 50s linear infinite;
}

.filmstrip_reverse img {
  animation: scrollFilmstripReverse 50s linear infinite;
}

.filmstrip:hover img,
.filmstrip_reverse:hover img {
  animation-play-state: paused;
}

@keyframes scrollFilmstrip {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-3750px);
  }
}

@keyframes scrollFilmstripReverse {
  0% {
    transform: translateX(-3750px);
  }
  100% {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .filmstrip img,
  .filmstrip_reverse img {
    animation-play-state: paused;
  }
}

/* ---------- Carousel ---------- */

.carousel_wrap {
  --per-view: 1;
  position: relative;
  width: 100%;
  max-width: 76rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .carousel_three {
    --per-view: 3;
  }
}

.carousel_viewport {
  overflow: hidden;
  margin: 20px 0;
}

.carousel_track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel_static .carousel_track {
  justify-content: center;
}

.carousel_slide {
  flex: 0 0 calc(100% / var(--per-view));
  max-width: calc(100% / var(--per-view));
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel_arrow {
  position: absolute;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
}

.carousel_arrow[hidden] {
  display: none;
}

.carousel_arrow img {
  max-width: 50px;
}

.carousel_prev {
  left: 0;
}

.carousel_next {
  right: 0;
}

/* ---------- Banners ---------- */

.cta_section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  background-color: #4e4b4c;
  cursor: pointer;
}

.cta_image {
  display: block;
  width: 100%;
  margin: 0 auto;
}

/* ---------- Resources page ---------- */

.resources_header {
  margin-top: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #3fa9f5;
  font-weight: bold;
  font-size: 5rem;
}

.resources_icon {
  max-width: 80px;
  margin-right: 1rem;
}

@media only screen and (max-width: 767px) {
  .resources_header {
    font-size: 2rem;
    margin-top: 1rem;
  }

  .resources_icon {
    max-width: 40px;
    margin-right: 0.5rem;
  }
}

.resources_card_container {
  position: relative;
  max-width: 90%;
  margin: 0 auto;
}

.resources_card {
  border: 3px solid white;
  border-radius: 35px;
}

.download_icon {
  position: absolute;
  left: 20px;
  bottom: 15px;
  width: 30px;
  margin: auto;
}

.resource_pair {
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
}

.resource_pair .resources_card_container {
  max-width: none;
  margin: 1rem auto;
}

@media only screen and (max-width: 767px) {
  .resources_card_container,
  .resource_pair .resources_card_container {
    justify-content: center;
    width: 70%;
  }

  .resource_pair {
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.resources_empty {
  color: white;
  font-size: 1.5rem;
  text-align: center;
  margin: 3rem 1rem;
}

/* ---------- Contact ---------- */

.contact_section {
  padding: 0 0 3rem 0;
  display: flex;
  justify-content: center;
  width: 100%;
  background-color: #4e4b4c;
  color: white;
}

@media only screen and (max-width: 767px) {
  .contact_section {
    flex-direction: column;
  }
}

@media only screen and (min-width: 768px) {
  .contact_section {
    flex-direction: row;
  }
}

.contact_logo {
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-right: 3px solid white;
  font-size: 50px;
}

@media only screen and (max-width: 767px) {
  .contact_logo {
    width: 100%;
    border-right: 0px solid white;
  }
}

.contact_info {
  width: 70%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 0 0 2rem;
  font-size: 20px;
  font-weight: bold;
}

@media only screen and (max-width: 767px) {
  .contact_info {
    width: 100%;
    font-size: 12px;
    padding: 0 2rem 0 2rem;
  }
}

.contact_title {
  color: #3fa9f5;
}

@media only screen and (max-width: 767px) {
  .contact_title {
    display: none;
  }
}

.contact_row {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0.3rem 0;
}

.contact_icon {
  max-width: 40px;
  margin-right: 3px;
}

/* ---------- Project photo viewer ---------- */

.modal_body {
  background: #f4f4f5;
  border-radius: 5px;
}

.modalContainerImg {
  text-align: center;
  margin: 0 10%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

@media only screen and (max-width: 767px) {
  .modalContainerImg {
    margin: 0 10px;
  }
}

.lightbox_image {
  max-width: 80%;
}

.arrow_button {
  border: 0;
  background: transparent;
}

.arrow_button img {
  max-width: 50px;
}

.arrow_button:disabled img {
  opacity: 0.3;
}
