/*
	Abstracts are helpers, variables and functions
	for scss compliation.
*/
/**==================================================================================================================================
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
*/
section.logo-reveal {
  height: 200vh;
  margin: 0;
  background: var(--color__white);
}

section.logo-reveal .logo-reveal__sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

section.logo-reveal .logo-reveal__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

section.logo-reveal .logo-reveal__logo {
  margin-bottom: 4.375rem;
}

section.logo-reveal .logo-reveal__logo svg {
  display: block;
  width: 12.5rem;
  height: auto;
}

section.logo-reveal .logo-reveal__title {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 3vw, 2.75rem);
  color: var(--color__grey);
}

@media screen and (max-width: 850px) {
  section.logo-reveal .logo-reveal__title {
    margin-bottom: 1.125rem;
  }
}
section.logo-reveal .logo-reveal__text {
  max-width: 41.25rem;
  margin-bottom: 2.75rem;
  line-height: 1.6;
  color: var(--color__grey);
}

@media screen and (max-width: 850px) {
  section.logo-reveal .logo-reveal__text {
    margin-bottom: 1.5rem;
  }
}
@media screen and (max-width: 850px) {
  section.logo-reveal .logo-reveal__logo {
    margin-bottom: 2.5rem;
  }
  section.logo-reveal .logo-reveal__logo svg {
    width: 8.5rem;
  }
}
