/*
	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-2-video {
  height: 100%;
  width: 100%;
  color: var(--color__white);
  /* background-color: #bba2e3; */
  position: relative;
}

.chapter-2-video .content-wrapper {
  position: relative;
  height: auto;
  width: 100%;
  padding-bottom: 60vh;
  display: grid;
  grid-template-areas: "hero" "section-1" "section-2";
}

.chapter-2-video .content-wrapper .video-container {
  height: 100vh;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
}

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

.chapter-2-video .content-wrapper .video-container .video-overlay {
  width: 100%;
  height: 100%;
  background-color: var(--color__bg-black);
  opacity: 0.5;
  position: absolute;
  top: 0;
  z-index: 3;
}

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

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

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

.chapter-2-video .content-wrapper .hero-section h1 {
  color: var(--color__white);
  max-width: 65vw;
  text-align: center;
}

@media (max-width: 77.5em) {
  .chapter-2-video .content-wrapper .hero-section h1 {
    font-size: 4.5rem;
    max-width: 85vw;
  }
}
.chapter-2-video .content-wrapper .paragraphs-container {
  height: 60vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.chapter-2-video .content-wrapper .paragraphs-container .paragraph-text {
  text-align: center;
  max-width: 45vw;
}

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

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