/*!
Theme Name: hm-holiday
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: hm-holiday
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

hm-holiday is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# RESETS
--------------------------------------------------------------*/

html {
	box-sizing: border-box;
	font-size: 16px;
	font-family: 'apparat', sans-serif;
	overflow-x: hidden;
	overflow-y: scroll;
	word-break: break-word;
  }

  *, *:before, *:after {
	box-sizing: inherit;
  }
  body{
	  overflow-x:hidden;
  }
  body, h1, h2, h3, h4, h5, h6, p, ol, ul {
	margin: 0;
	padding: 0;
	font-weight: normal;
  }
  ol{
	  list-style: number;
  }
  ul{
	  list-style: square;
  }
  header ol, header ul{
	  list-style: none;
  }

  main li{
	  margin-bottom:1rem;
	  margin-left: 1.3rem;
  }

  img {
	max-width: 100%;
	height: auto;
  }
  a {
	text-decoration: none;
  }

  /*--------------------------------------------------------------
  # FONTS
  --------------------------------------------------------------*/


  /*--------------------------------------------------------------
  # COLORS
  --------------------------------------------------------------*/

  :root {
	/* Colors */
	--primary: #d10d33; /* primary color */
	--white: #ffffff; /* white */
	--black: #000000; /* black */
  }

  /*--------------------------------------------------------------
  # BUTTONS
  --------------------------------------------------------------*/

 button {
    padding: 1rem 1.5rem;
    font-family: 'apparat', sans-serif;
    font-size: 80%;
		font-weight: 300;
    text-transform: uppercase;
    letter-spacing: .15rem;
    border: 0;
	cursor: pointer;
  }

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

  .oldies_share_credits_btns button {
	margin-right: 7px;
  }

  #share-btn, #oldies-btn, #credits-btn {
	color: var(--white);
	border-radius: 7px;-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	 -ms-transition: all 0.3s ease-in-out;
	  -o-transition: all 0.3s ease-in-out;
		 transition: all 0.3s ease-in-out;
  }

  #share-btn:hover, #oldies-btn:hover, #credits-btn:hover {
	  color: var(--black);
	}

  #share-btn {
	background-color: var(--primary);
  }

  #share-btn:hover {
	background-color: var(--white);
  }

  #oldies-btn {
	background-color: var(--primary);
  }

  #oldies-btn:hover {
	background-color: var(--white);
  }

  #credits-btn {
	background-color: var(--primary);
	display: none;
  }

  #credits-btn:hover {
	background-color: var(--white);
  }

/*--------------------------------------------------------------
# GLOBALS
--------------------------------------------------------------*/

body {
font-family: 'apparat', sans-serif;
color: var(--white);
background-color: var(--black);
}

p {
font-size: 1.25rem;
line-height: 2rem;
font-family: 'apparat', sans-serif;
font-weight: 300;
}

.p-highlight {
color: var(--white);
max-width: 800px;
margin: 0 auto;
}

h1 {
font-size: 3.375rem;
line-height: 3.375rem;
}

h2 {
font-size: 2.5rem;
line-height: 2.5rem;
}

h3 {
font-size: 2rem;
line-height: 2rem;
}

h4 {
font-size: 1.75rem;
line-height: 1.75rem;
}

h5 {
font-size: 1.5rem;
line-height: 1.5rem;
}

h6 {
font-size: 1.125rem;
line-height: 1.125rem;
}

a {
	color: var(--primary);
}

a:hover {
cursor: pointer;
}

p, ul, ol, hr {
margin-bottom: 2rem;
}

li {
padding-bottom: .5rem;
}

h1, h2, h3, h4, h5, h6 {
	margin: 1rem 0;
}

ul {
padding-left: 2.5rem;
}

img {
	-moz-user-select: -moz-none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-o-user-select: none;
	user-select: none;
}

.contained{
display: grid;
grid-template-columns: minmax(auto, 1280px);
justify-content: center;
width: 100%;
position: relative;
padding: 1rem 2rem;
}

.more-contained {
display: grid;
grid-template-columns: minmax(auto, 1024px);
justify-content: center;
padding: 4rem 2rem;
}

.full{
display: grid;
grid-template-columns: minmax(auto, 100%);
position: relative;
overflow: hidden;
}

.block-section{
position: relative;
display: block;
margin: 0;
}

.sub-heading {
color: var(--green);
text-transform: uppercase;
font-size: 1.25rem;
letter-spacing: .1rem;
margin: 0;
}

.fancybox-content,
.fancybox-slide--iframe .fancybox-content {
background: transparent;
}

/* Text Selection */
::selection {
	background-color: var(--primary);
	color: white;
}
::-moz-selection {
	background-color: var(--primary);
	color: white;
}

  /* BG VIDEO */

.bg-video-wrap {
	position: absolute;
	overflow: hidden;
	width: 100vw;
	height: 100%;
	z-index: -1;
  }
  video {
	object-fit: cover;
	object-position: center;
	width: 100%;
	height: 100%;
	z-index: 1;
  }
  .bg-overlay {
	width: 100%;
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0;
	background: linear-gradient(0deg, rgb(0 0 0) 0%, rgb(0 0 20 / 70%) 50%, rgba(0,212,255,0) 100%);
	z-index: 2;
  }

  .fancybox-header {
	color: var(--black);
  text-align: center;
	font-family: 'apparat', sans-serif;
	font-weight: 600;
  }

  .aligncenter {
	display: block;
	margin: 0 auto;
  }

  .fancybox-slide--html .fancybox-close-small {
	  color: var(--primary);
  }

/*--------------------------------------------------------------
# HEADER
--------------------------------------------------------------*/

#masthead {
	display: none;
}

/*--------------------------------------------------------------
# COMPONENTS
--------------------------------------------------------------*/

  /* SINGLE VIDEO */

.single-video-section {
	text-align: center;
}

.single-video-section .play-button,
#videos .play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 90px;
	color: #ffffcb; /* Set the color of the play button icon */
	cursor: pointer;
	z-index: 2;
	transition: transform 0.3s ease;
	transform-origin: center center;
}

.single-video-section .play-button:hover,
#videos .play-button:hover {
	transform: translate(-50%, -50%) scale(1.3);
}


.single-vid-poster-container, .wysiwyg-copy {
	max-width: 850px;
	display: block;
	margin: 0 auto;
	text-align: center;
}

.single-vid-poster-container {
	padding: 0;
}

.single-vid-image, .show-video-poster {
	position: relative;
	width: 100%;
	height: inherit;
}

/* Overlay for the image */
.single-vid-poster-wrap {
	position: relative;
}

.single-vid-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.1); /* Adjust the opacity (last value) as needed */
	z-index: 1; /* Place the overlay above the image */
	/*  pointer-events: none; /* Allows clicks to pass through the overlay to the image */
}

.single-vid-description {
	font-size: 1.25rem;
	line-height: 2.5rem;
	width: 100%;
	max-width: 850px;
	margin: 0 auto;
}


/* SHARE OLDIES CREDITS */

.share-text {
	font-size: 1.125rem;
	line-height: 1.5rem;
}

#share, #oldies, #credits {
	display: none;
	max-width: 700px;
}

#share.fancybox-content, #oldies.fancybox-content, #credits.fancybox-content {
	background-color: var(--white) !important;
    border-radius: 0px;
    box-shadow: 2px 2px 110px var(--primary);
}

.oldies-videos {
	cursor: pointer;
}

#oldies h3 {
	font-size: 26px;
	font-family: 'apparat', sans-serif;
	font-weight: 600;
  color: var(--white);
	margin: 0;
}

#oldies .contained {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
}

.oldies-video-container {
	position: relative;
	overflow: hidden;
}

.oldies-video-container img  {
	width: 100%;
	height: auto;
	transition: transform 0.3s;
	transform-origin: center center;
	vertical-align: bottom;
}

.oldies-video-container:hover img {
 	 transform: scale(1.3);  /* Scale image when hovering over the container */
}

.oldies_year {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
}

.oldies_video_thumb {
  position: relative;
}


.oldies-video-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 1;
}

.credits-header {
	font-size: 1.3rem;
	margin-bottom: 0;
}

#credits p, .credits-header p {
	color: var(--black);
}

/*--------------------------------------------------------------
# FOOTER
--------------------------------------------------------------*/
footer p {
    color: var(--white);
    font-size: 0.875rem;
}

  .footer-social-icon-wrap {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

/*--------------------------------------------------------------
# MEDIA QUERIES
--------------------------------------------------------------*/

@media only screen and (min-width: 768px) {

	#oldies .contained {
		grid-template-columns: repeat(2, 1fr);
	}

	.wysiwyg-container.more-contained {
		display: grid;
		padding: 4rem 2rem;
	}
}

/* @media only screen and (min-width: 1024px) {

	#oldies .contained {
		grid-template-columns: repeat(4, 1fr);
	}

} */
