/*
	Abstracts are helpers, variables and functions
	for scss compliation.
*/
/*
	@TODO: Add to theme: new division fix for updated sass package.
*/
/**==================================================================================================================================
BREAKPOINT
@TODO: remove? What is use case?? either use simple global points or write custom line. why does first breakpoint have to be 0?
 ==================================================================================================================================*/
/**==================================================================================================================================
BREAKPOINT ENDS
==================================================================================================================================*/
span.edit-link {
  display: inline-block;
  background-color: yellow;
  font-weight: 700;
  position: fixed;
  left: 0;
  bottom: 3.125rem;
  transform: translateX(-45px);
  transition: all 0.2s;
}

span.edit-link a {
  display: block;
  padding: 0.9375rem;
}

span.edit-link:hover {
  transform: translateX(0);
}

/*
	Variables for compliation
	NB! Colors should be added to base/config file as css root variable.
*/
/**
 * Block section background colors.
 * Include the background options ACF fields group to use these.
 */
/*
 * makes ul/ol as a dropdown select (normaly in mobile)
 * Structure: div > title > list > li > a
*/
/*
	Variables for legacy dc plugins
*/
.chapter-3-video-intro {
  height: 100%;
  width: 100%;
  color: var(--color__dark-purple);
  background-color: #bba2e3;
  position: relative;
}

.chapter-3-video-intro .content-wrapper {
  position: relative;
  height: auto;
  padding-bottom: 60vh;
  overflow-x: hidden;
  width: 100%;
  /* border: 2px solid red; */
  display: grid;
  grid-template-areas: "hero" "section-1" "section-2" "section-3";
  /* 		.container-4 {
  	grid-area: section-4;
  } */
  /* 		.image-container {
  	position: fixed;
  	top: 0;
  	left: 0;
  	width: 100vw;
  	height: 100vh;
  	transform-style: preserve-3d;
  	perspective: 500px;
  	overflow: hidden;
  	z-index: 2;

  	.chapter-image {
  		position: absolute;
  		width: 400px;
  		height: 500px;
  		will-change: transform, opacity;
  		top: 20%;
  		left: 50%;
  		opacity: 0;
  		visibility: hidden;
  	}

  	.chapter-image.js-initialized {
  		visibility: visible;
  	}

  } */
}

.chapter-3-video-intro .content-wrapper .video-container {
  height: 100vh;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.chapter-3-video-intro .content-wrapper .video-container video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transform: translate(0, 0) !important;
  display: block;
}

.chapter-3-video-intro .content-wrapper .video-container .video-overlay {
  width: 100%;
  height: 100%;
  background-color: #bba2e3;
  opacity: 0.7;
  position: absolute;
  top: 0;
  z-index: 305;
}

.chapter-3-video-intro .content-wrapper .hero-section {
  grid-area: hero;
  height: 100vh;
  position: relative;
  z-index: 99;
  background-color: transparent;
  width: 100%;
  /*  border: 2px solid yellow; */
  display: grid;
  grid-template-rows: 1fr 150px;
  place-items: center;
}

.chapter-3-video-intro .content-wrapper .hero-section .header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.chapter-3-video-intro .content-wrapper .hero-section .header-container .chapter-tag {
  padding: 0.2rem 1rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  border-radius: 0.2em;
  text-transform: initial;
}

.chapter-3-video-intro .content-wrapper .hero-section h1 {
  color: var(--color__dark-purple);
  max-width: 65vw;
  text-align: center;
  text-wrap: balance;
}

@media (max-width: 77.5em) {
  .chapter-3-video-intro .content-wrapper .hero-section h1 {
    font-size: 4.5rem;
    max-width: 85vw;
  }
}
.chapter-3-video-intro .content-wrapper .hero-section .scrolldown {
  margin-top: -4rem;
  padding-top: 0;
}

.chapter-3-video-intro .content-wrapper .paragraphs-container {
  height: 60vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  /*   border: 2px solid green; */
}

.chapter-3-video-intro .content-wrapper .paragraphs-container .paragraph-text {
  text-align: center;
  text-wrap: balance;
  max-width: 50vw;
}

@media (max-width: 87.5em) {
  .chapter-3-video-intro .content-wrapper .paragraphs-container .paragraph-text {
    font-size: 1.5rem;
    max-width: 55vw;
  }
}
.chapter-3-video-intro .content-wrapper .container-1 {
  grid-area: section-1;
}

.chapter-3-video-intro .content-wrapper .container-2 {
  grid-area: section-2;
}

.chapter-3-video-intro .content-wrapper .container-3 {
  grid-area: section-3;
}
