/*
 Theme Name:        Uptown Nexus Theme
 Text Domain:       uptown-child-nexus
 Author:            April Auger
 Author URI:        https://aprilauger.com
 Description:       Nexus is a child theme designed to be used alongside the Uptown theme.
 Template:          uptown
 Version:           1.0.0
 Requires at least: 6.4
 Tested up to:      6.4
 Requires PHP:      8.0
 License:           GNU General Public License v2 or later
 License URI:       http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Hero Section */
.hero-section,
.hero-section .kt-inside-inner-col {
	max-height: 1200px;
}

/* Wave animation */
.inner-header {
	height: 75vh;
	margin: 0;
	padding: 0;
	width: 100%;
}

@media (min-width: 992px) {
	.inner-header {
		height: 85vh;
	}
}

.waves {
	position: relative;
	height: 15vh;
	margin-bottom: -7px;
	max-height: 150px;
	min-height: 100px;
	width: 100%;
}

.parallax>use {
	animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.parallax>use:nth-child(1) {
	animation-delay: -2s;
	animation-duration: 7s;
}

.parallax>use:nth-child(2) {
	animation-delay: -3s;
	animation-duration: 10s;
}

.parallax>use:nth-child(3) {
	animation-delay: -4s;
	animation-duration: 13s;
}

.parallax>use:nth-child(4) {
	animation-delay: -5s;
	animation-duration: 20s;
}

@keyframes move-forever {
	0% {
		transform: translate3d(-90px, 0, 0);
	}

	100% {
		transform: translate3d(85px, 0, 0);
	}
}

.watch-videos {
	margin-top: -100px;
}

/* Wave animation for mobile. */
@media (max-width: 991.98px) {
	.waves {
		height: 5vh;
		min-height: 5vh;
	}

	.jumbotron h1 {
		font-size: calc(1rem + 1.25vw);
	}
}

/* Video Section */
#watch-videos {
	margin-top: -140px;
}


@media (min-width: 992px) {
	#watch-videos {
		margin-top: -180px;
	}
}

.watch-video .wp-block-image {
  cursor: pointer;
  display: inline-block;
  position: relative;
}

.watch-video .wp-block-image::before {
  align-items: center;
  color: #DF8E72;
  content: '\f522'; /* Dashicon for 'video-play' */
  display: flex;
  font-family: 'Dashicons';
  font-size: 3.5rem;
  height: 3.5rem;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 3.5rem;
  z-index: 2;
}

.watch-video .wp-block-image::after {
  background: rgba(255, 255, 255, 0.35);
  border: 3px solid #DF8E72;
  border-radius: 50%;
  content: '';
  height: 5rem;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 5rem;
  z-index: 1;
}

.watch-video .wp-block-image:hover::after {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 600px) {
  .watch-video .wp-block-image::before {
    font-size: 2.5rem;
    height: 2.5rem;
    width: 2.5rem;
  }

  .watch-video .wp-block-image::after {
    height: 4rem;
    width: 4rem;
  }
}

.watch-video img {
	box-shadow: 8px 7px 39px -12px rgba(0,0,0,0.34);
}

/* Video Popup */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.pum-title.popmake-title {
	display: none;
}

/* Buttons */
.wp-block-button__link.has-white-color:hover {
	background: var(--wp--preset--color--primary);
	border-color: var(--wp--preset--color--primary);
}

.wp-block-button__link {
	height: auto;
    width: auto;
}

/* Images */
.site-logo img {
	max-width: 250px;
}

/* Footer */
#footer {
	position: relative;
	overflow: hidden;
	z-index: 0
}

#footer * {
	z-index: 3
}

#footer .footer-bkg-img {
	bottom: -4rem;
	left: -4rem;
	opacity: .8;
	position: absolute;
	max-width: 400px;
	z-index: 2;
}

/* Layout */
.wp-block-kadence-rowlayout .kt-row-column-wrap.kb-theme-content-width {
	z-index: 0;
}
