/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


/* montserrat-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('https://openup.biz/wp-content/themes/generatepress_child/fonts/montserrat-v31-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('https://openup.biz/wp-content/themes/generatepress_child/fonts/montserrat-v31-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-alternates-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat Alternates';
  font-style: normal;
  font-weight: 700;
  src: url('https://openup.biz/wp-content/themes/generatepress_child/fonts/montserrat-alternates-v18-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body{
    font-family: "Montserrat";
}

@media (max-width: 768px) {
    .hl{
        font-size: 34px !important;
    }
}

h1, h2, h3{
    font-family: "Montserrat Alternates";
}

h1.hl{
	font-size: 80px;
	margin-bottom: 30px !important;
}

.hl{
    font-size: 64px;
}

.hm{
    font-size: 28px;
}

p{
    font-size: 18px;
}

.ps {
    font-size: 16px;
}


.btn-dark, .btn-dark:hover {
    background-color: var(--contrast-2) !important;
    border-radius: 5px;
    padding: 13px 40px !important;
}

.btn-dark:after{
    content: "";
    height: 10px; width: 10px;
    background-image: url("https://openup.biz/wp-content/themes/generatepress_child/assets/chevron-right.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-left: 8px;
    margin-top: 2px;
}

.btn-light, .btn-light:hover {
    background-color: var(--base-2) !important;
    border-radius: 5px;
    padding: 13px 40px !important;
	color: var(--contrast) !important;
}

.btn-light:after{
    content: "";
    height: 10px; width: 10px;
    background-image: url("https://openup.biz/wp-content/themes/generatepress_child/assets/chevron-right-dark.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-left: 8px;
    margin-top: 2px;
}

/* NAV */

.site-header .grid-container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1400px;
}

div#primary-menu a {
    text-transform: uppercase;
    font-weight: 600;
}

.main-navigation ul ul{
	background-color: var(--contrast-2) !important;
	min-width: 300px !important;
}

/* ---- Animations ---- */


/* lifeline */ 

.lifeline {
    width: 100%;
    margin: auto;
	}
/*
@media (min-width: 1350px){
.lifeline {
    width: 1300px;
    margin: auto;
	}
}



@media (min-width: 1250px) and (max-width: 1349px){
.lifeline {
    width: 1200px;
    margin: auto;
	}
}

@media (min-width: 1025px) and (max-width: 1249px){
.lifeline {
    width: 1000px;
    margin: auto;
	}
}

@media (min-width: 900px) and (max-width: 1024px) {
 .lifeline {
    width: 900px;
    margin: auto;
	}
}

@media (min-width: 700px) and (max-width: 899px) {
 .lifeline {
    width: 700px;
    margin: auto;
	}
}

@media (min-width: 500px) and (max-width: 699px) {
 .lifeline {
    width: 500px;
    margin: auto;
	}
}

@media (max-width: 499px) {
    .lifeline {
    width: 300px;
    margin: auto;
    }
}
*/

.desktop-line {
  display: block;
}

.mobile-line {
  display: none;
}

@media (max-width: 768px) {
  .desktop-line {
    display: none;
}

.mobile-line {
    display: block;
  }
}

/* Reveal text */


.split-char {
  opacity: 0.1;
  display: inline-block;
  white-space: pre;
  position: relative;
}


.split-line {
  display: block;
  overflow: hidden;
  position: relative;
}

.split-line__inner {
  display: inline-block;
  will-change: transform;
}

/* Fixed scroll */

.hijack-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.inner-scroll{
	padding-bottom: 500px;
}
 
.situation .step {
    padding: 20px 0px !important;
	margin-bottom: 20px !important;
}
.situation .inner-scroll{
	padding-bottom: 200px !important;
}

@media (max-width: 1024px) {
    .hijack-section {
    height: auto;
	}
	
	.inner-scroll{
		padding-bottom: 0px;
	}
}

/* TAGS */

.light-tags .tag {
    background: #1123351c;
    border-radius: 100px;
    padding: 5px 15px;
    margin: 3px;
    display: inline-flex;
    font-size: 13px;
    text-transform: uppercase;
}

/* Blog */

.comments-area {
    display: none;
}

.breadcrumb a:not(breadcrumb_last) {
    color: white;
	text-decoration: underline 0.5px;
}

/* Preloader */

html.is-loading,
html.is-loading body {
  overflow: hidden;
}

.home-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--contrast);
  display: flex;
  align-items: start;
  justify-content: center;
  overflow: hidden;
}

.home-loader__inner {
  width: 100%;
	padding-top: 40vh;
}

.loader-line svg {
  width: 100%;
  height: auto;
  display: block;
}

.home {
  position: relative;
  will-change: transform, opacity;
}

.loader-line path {
  opacity: 0;
}

html.is-loading .loader-line path {
  opacity: 1;
}

/* CUBES */

.cards-layout {
  width: 100%;
  height: 70vh;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 20px;
  position: relative;
}

section.cards-layout {
    padding: 5%;
}

.main-slot,
.preview-list,
.preview-slot {
  min-width: 0;
  min-height: 0;
}

.main-slot {
  height: 100%;
  position: relative;
}

.preview-list {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 20px;
  height: 100%;
}

.preview-slot {
  position: relative;
}

.slot > .card {
  width: 100%;
  height: 100%;
}

.card {
  cursor: pointer;
}

.card-inner {
	width: 100%;
	height: 100%;
	border-radius: 24px;
	overflow: hidden;
	position: relative;
	padding: 24px;
	box-sizing: border-box;
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	flex-direction: column;
	color: #fff;
	font-size: clamp(20px, 3vw, 48px);
	font-weight: 600;
	letter-spacing: -0.04em;
	background-color: #06263d;
	will-change: transform;
}

.preview-slot .card-inner {
  border-radius: 20px;
  font-size: clamp(18px, 1.6vw, 26px);
}

@media (max-width: 900px) {
  .cards-layout {
    grid-template-columns: 1fr;
    grid-template-rows: 1.2fr 0.8fr;
    height: auto;
  }

  .main-slot {
    min-height: 320px;
  }

  .preview-list {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    min-height: 140px;
  }
}

.preview-list .links{
	display: none;
	font-size: 22px;
	opacity: 0;
	transition: 1s all ease-in-out;
}

.main-slot  .links{
	display: block;
	opacity: 1;
	transition: 1s all ease-in-out;
}

.main-slot h2{
	margin-bottom: 30px;
}

.main-slot .links a{
	font-size: 25px;
	color: white !important;
	text-decoration: none !important;
	margin-bottom: 10px !important;
}

.main-slot .links a:after{
	content: "";
	background-image: url("https://openup.biz/wp-content/themes/generatepress_child/assets/arrow.svg");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	height: 20px;
	width: 20px;
	font-size: 16px;
	padding: 2px 10px;
	border-radius: 100px;
	display: inline-flex;
	margin-left: 10px;
}

/* Footer */

.site-footer .sub {
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
	font-size: 17px !important;
}

.sub {
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
	font-family: "Montserrat";
	font-size: 22px;
}

.site-footer a{
	color: var(--contrast);
	text-decoration: none; 
}