/*
	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
*/
.epilepsi-hero {
  position: relative;
}

.epilepsi-hero__preload-image {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.epilepsi-hero__sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: var(--color__dark-purple);
  z-index: 1;
}

.epilepsi-hero__title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  margin: 0;
  color: var(--color__white);
  opacity: 0;
  font-size: clamp(8.75rem, 14vw, 12.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.epilepsi-hero .sticky-section {
  background-color: var(--color__dark-purple);
  border-top-left-radius: 2.4em;
  border-top-right-radius: 2.4em;
}

.epilepsi-hero__fluid-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

.epilepsi-hero__section {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.epilepsi-hero__section p {
  color: var(--color__white);
  text-wrap: balance;
  pointer-events: auto;
}

.epilepsi-hero__section .epilepsi-hero__pin-fade {
  opacity: 0;
  z-index: 5;
}

.epilepsi-hero__spacer {
  height: 20vh;
  position: relative;
  z-index: 22;
  background-color: yellow;
}

.epilepsi-hero__bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0 1rem 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  pointer-events: auto;
}

.epilepsi-hero__bottom .intro-header-small {
  max-width: 25rem;
  text-align: center;
  color: #fff;
  margin: 0;
}

.epilepsi-hero__bottom .intro-button-small {
  background: none;
  border: none;
  color: #fff;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 1rem;
}

.epilepsi-hero__bottom .header-small {
  display: none;
  max-width: 15rem;
  text-align: center;
  color: #fff;
  margin: 0;
}

.epilepsi-hero__bottom .scrolldown {
  display: none;
}
