/*
	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.4s;
}

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
*/
section.frontpage-hero {
  height: calc(100vh - 108px);
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  margin-bottom: 128px !important;
}

section.frontpage-hero .video-wrapper {
  width: 100%;
  height: 100%;
}

section.frontpage-hero .video-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(34deg, #000000, rgba(102, 102, 102, 0));
}

section.frontpage-hero .video-wrapper .bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 0;
}

section.frontpage-hero .block-section-wrapper {
  position: absolute;
  z-index: 1;
  bottom: 69px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  padding-left: 0;
}

section.frontpage-hero .block-section-wrapper .hero-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

section.frontpage-hero .block-section-wrapper .hero-content .hero-title {
  width: 576px;
}

section.frontpage-hero .block-section-wrapper .hero-content .hero-title h1 p {
  font-size: 72px;
  font-weight: 200;
  line-height: 128%;
  margin: 0;
}

section.frontpage-hero .block-section-wrapper .hero-content .hero-title h1 p strong {
  font-size: inherit;
  font-weight: 700;
}

section.frontpage-hero .block-section-wrapper .hero-content .small-text {
  width: 471px;
}

section.frontpage-hero .block-section-wrapper .hero-content .small-text p {
  font-size: 25px;
  font-weight: 500;
  line-height: 128%;
  text-align: right;
}

@media screen and (max-width: 768px) {
  section.frontpage-hero .block-section-wrapper .hero-content {
    flex-direction: column;
    width: 320px;
  }
  section.frontpage-hero .block-section-wrapper .hero-content .hero-title {
    width: 320px;
  }
  section.frontpage-hero .block-section-wrapper .hero-content .hero-title h1 p {
    font-size: 42px;
  }
  section.frontpage-hero .block-section-wrapper .hero-content .hero-title h1 p strong {
    font-size: inherit;
  }
  section.frontpage-hero .block-section-wrapper .hero-content .small-text {
    width: 320px;
    padding: 0 0 82px 0;
  }
  section.frontpage-hero .block-section-wrapper .hero-content .small-text p {
    text-align: left;
  }
}
section.frontpage-hero .block-section-wrapper .scroll-wrapper {
  position: absolute;
  left: 50%;
  bottom: 26px;
  border-radius: 28px;
  border: 2px solid #fff;
  transform: translateX(-50%);
  cursor: pointer;
  transition: transform 0.3s ease;
}

section.frontpage-hero .block-section-wrapper .scroll-wrapper a .scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 60px;
}

section.frontpage-hero .block-section-wrapper .scroll-wrapper a .scroll-indicator img {
  height: 15px;
  animation: scroll-bounce 2s infinite ease-in-out;
}

section.frontpage-hero .block-section-wrapper .scroll-wrapper:hover {
  background-color: #375172;
  transform: translate(-50%, 20px);
}

section.frontpage-hero .block-section-wrapper .scroll-wrapper:active {
  transform: translate(-50%, 20px);
}

@keyframes scroll-bounce {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(15px) scale(0.7);
    opacity: 0.8;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
@media screen and (max-width: 768px) {
  section.frontpage-hero .block-section-wrapper .scroll-wrapper {
    bottom: 0px;
  }
  section.frontpage-hero .block-section-wrapper .scroll-wrapper:active {
    transform: translate(-50%, 20px);
  }
}
@media screen and (max-width: 768px) {
  section.frontpage-hero .block-section-wrapper {
    bottom: 33px;
    padding-left: 0.5rem;
  }
}
