/*
	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
*/
.canvas-container {
  position: fixed !important;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(1deg, #583cc7 0%, #16084b 100%);
  display: grid;
  place-items: center;
}

.canvas-container #canvas-particle-brain {
  height: 100%;
  width: 100%;
}

.home {
  height: auto;
  width: 100%;
  background-color: #583cc7;
  color: var(--color__white);
}

.home .text-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  background-color: transparent;
}

.home .text-container p {
  text-wrap: balance;
}

@media (max-width: 87.5em) {
  .home .text-container p {
    font-size: 1.5rem;
    max-width: 55vw;
  }
}
.home .hero-section {
  height: 100vh;
  position: relative;
  z-index: 99;
  background-color: transparent;
  width: 100%;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  place-items: center;
}

.home .hero-section h1 {
  grid-row: 2;
  margin-top: -6rem;
}

@media (max-width: 77.5em) {
  .home .hero-section h1 {
    font-size: 4.5rem;
  }
}
.home .hero-section .hero-bottom-content {
  grid-row: 3;
  align-self: start;
  margin-top: auto;
  padding-bottom: 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
}

.home .hero-section .hero-bottom-content .intro-header-small {
  max-width: 25rem;
  text-align: center;
}

.home .hero-section .hero-bottom-content .intro-button-small {
  background: none;
  border: none;
  color: var(--color__white);
  text-decoration: underline;
  cursor: pointer;
  margin-top: 1rem;
}

.home .hero-section .hero-bottom-content .header-small {
  display: none;
  max-width: 15rem;
  text-align: center;
}

.home .hero-section .hero-bottom-content .scrolldown {
  display: none;
}

.home .scroll-section-brain {
  height: 120vh;
  width: 100%;
  position: relative;
  z-index: 99;
}

.home .scroll-section-brain .text-container {
  height: 60vh;
}

.home .scroll-section-video {
  height: 220vh;
  width: 100%;
  position: relative;
  z-index: 100;
  display: grid;
  grid-template-areas: "vid-section1" "vid-section2" "vid-section3";
}

.home .scroll-section-video p {
  text-wrap: balance;
  max-width: 45vw;
}

@media (max-width: 87.5em) {
  .home .scroll-section-video p {
    font-size: 1.5rem;
    max-width: 55vw;
  }
}
.home .scroll-section-video .vid-text-container-one {
  height: 80vh;
  grid-area: vid-section1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.home .scroll-section-video .vid-text-container-two {
  height: 80vh;
  grid-area: vid-section2;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.home .scroll-section-video .video-container {
  height: 100vh;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  grid-area: vid-section1;
  background: linear-gradient(1deg, #583cc7 0%, #16084b 100%);
}

.home .scroll-section-video .video-container .video-overlay {
  width: 100%;
  height: 100%;
  background-color: #583cc7;
  opacity: 0.7;
  position: absolute;
  top: 0;
  z-index: 305;
}

.home .scroll-section-video .video-container .neuron-video {
  filter: grayscale(100%);
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.home .particle-man-section {
  height: 200vh;
  width: 100%;
  position: relative;
  z-index: 101;
  margin-top: -50vh;
  display: grid;
  align-items: center;
  grid-template-areas: "section1" "section2";
}

.home .particle-man-section p {
  text-wrap: balance;
}

.home .particle-man-section .text-container-one {
  height: 100vh;
  grid-area: section1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0vh;
}

.home .particle-man-section .text-container-two-bottom {
  height: 100vh;
  grid-area: section2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.home .particle-man-section .text-container-two-bottom .particle-bottom-text {
  max-width: 45vw;
  text-align: center;
  text-wrap: balance;
  z-index: 2;
  margin-bottom: 2rem;
}

@media (max-width: 87.5em) {
  .home .particle-man-section .text-container-two-bottom .particle-bottom-text {
    font-size: 1.5rem;
    max-width: 55vw;
  }
}
.home .particle-man-section .text-container-two-bottom .bottom-btn-container {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.home .particle-man-section .text-container-two-bottom .bottom-btn-container .scroll-top {
  gap: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home .particle-man-section .text-container-two-bottom .bottom-btn-container .scroll-top .arrow-up {
  display: block;
  height: 32px;
  width: 32px;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjgiIGhlaWdodD0iMjkiIHZpZXdCb3g9IjAgMCAyOCAyOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjAwMDEgMjIuMzQ1N0MxMy4wMDAxIDIyLjg5OCAxMy40NDc4IDIzLjM0NTcgMTQuMDAwMSAyMy4zNDU3QzE0LjU1MjQgMjMuMzQ1NyAxNS4wMDAxIDIyLjg5OCAxNS4wMDAxIDIyLjM0NTdIMTMuMDAwMVpNMTQuNzA3MiA1Ljk0NjUzQzE0LjMxNjcgNS41NTYwMSAxMy42ODM1IDUuNTU2MDEgMTMuMjkzIDUuOTQ2NTNMNi45MjkwNSAxMi4zMTA1QzYuNTM4NTMgMTIuNzAxIDYuNTM4NTMgMTMuMzM0MiA2LjkyOTA1IDEzLjcyNDdDNy4zMTk1OCAxNC4xMTUyIDcuOTUyNzQgMTQuMTE1MiA4LjM0MzI3IDEzLjcyNDdMMTQuMDAwMSA4LjA2Nzg1TDE5LjY1NyAxMy43MjQ3QzIwLjA0NzUgMTQuMTE1MiAyMC42ODA3IDE0LjExNTIgMjEuMDcxMiAxMy43MjQ3QzIxLjQ2MTcgMTMuMzM0MiAyMS40NjE3IDEyLjcwMSAyMS4wNzEyIDEyLjMxMDVMMTQuNzA3MiA1Ljk0NjUzWk0xNC4wMDAxIDIyLjM0NTdIMTUuMDAwMVY2LjY1MzY0SDE0LjAwMDFIMTMuMDAwMVYyMi4zNDU3SDE0LjAwMDFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K);
}

.home .particle-man-section .text-container-two-bottom .bottom-btn-container button {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  z-index: 1;
  min-width: 280px;
  height: 60px;
  text-decoration: none;
}

@media screen and (max-width: 849px) {
  .home .particle-man-section .text-container-two-bottom .bottom-btn-container button {
    min-width: 260px;
    height: 50px;
  }
}
.home .particle-man-section .canvas-man-container {
  height: 100vh;
  position: -webkit-sticky;
  position: sticky;
  grid-area: section1;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(1deg, #583cc7 0%, #16084b 100%);
}

.home .particle-man-section .canvas-man-container #canvas-particle-man {
  height: 100%;
  width: 100%;
}

.home .particle-man-section .canvas-man-container .particle-man-video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transform: translate(0, 0) !important;
  display: block;
}
