* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background: #050816;
  color: #ffffff;
  font-family: Arial, sans-serif;
}

/*
  This is the important part:
  the browser handles mouse-wheel, trackpad and touch scrolling.
*/
.container {
  width: 100%;
  height: 100vh;

  overflow-y: auto;
  overflow-x: hidden;

  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;

  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}

.background {
  position: relative;

  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;

  overflow: hidden;

  scroll-snap-align: start;
  scroll-snap-stop: always;

  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.background::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.25);
}

.content-wrapper {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  width: 100%;
  min-height: 100vh;

  padding: 32px 20px 48px;

  color: #ffffff;
  text-align: center;
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.45;
  text-align: center;
}

a {
  color: inherit;
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.background:first-child {
  background-color:#222;
}

.background .content-wrapper div {
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto;
  margin: auto auto 1vh auto;
}

.background:first-child .content-wrapper div:first-child{
  margin: auto;
  width: 95%;
  min-height: 60vh;
  max-height: 80vh;
  background-image: url("../media/secret.svg");
}
.background:first-child .content-wrapper div:last-child,
.background:nth-child(2) .content-wrapper div:last-child {
  max-width: 5%;
  min-width: 100px;
  max-height: 10vh;
  min-height: 10vh;
  margin: auto;
  animation: fade infinite 2s;
  background-image: url("../media/arrow.svg");
  cursor: pointer;
}
.background:nth-child(2) {
  background-color: #fec84e;
  background-image: linear-gradient(220deg, #f8c048 0%, #ffdea8 74%);
  background-image: url("../media/slide2.jpg");
  background-size: fill; 
}

.background:nth-child(2) .content-wrapper div:first-child{
  margin: auto;
  width: 95%;
  height:100%;
  min-height: 30vh;
  max-height: 50vh;
  background-image: url("../media/header.svg");
}

.background:nth-child(3) {
  background-color: #fec84e;
  background-image: url("../media/slide3.jpg");
  background-size: fill;
  text-shadow: 0.1em 0.1em #555;
}
.background:nth-child(3) .content-wrapper div {
	margin:auto;
}
.background:nth-child(3) .content-wrapper  div:first-child div:first-child{
  font-size: 1.4em;
  font-weight: bolder;
  padding-bottom: 0.5em;
}

a img {
  width: 1em;
  height: 1em;
}

a:has( > img ) {
	float: left;
	margin: auto 0.5em;
    align-items: center;
	background-color: rgba(255, 255, 255, 0.05);
	border-radius: 6px;
	border-width: 0px;
	border-image-outset: 0;
	border-image-repeat: stretch;
	border-image-slice: 100%;
	border-image-source: none;
	border-image-width: 1;
	box-shadow: rgb(255, 255, 255) 0px 0px 0px 0px inset, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset, rgba(0, 0, 0, 0) 0px 0px 0px 0px;
	box-sizing: border-box;
	color: #FFF;
	column-gap: 8px;
	cursor: auto;
	display: flex;
	font-family: "Inter var", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	font-feature-settings: normal;
	font-size: 14px;
	font-variation-settings: normal;
	font-weight: 500;
	height: 36px;
	justify-content: center;
	line-height: 20px;
	row-gap: 8px;
	text-decoration-color: rgb(255, 255, 255);
	text-decoration-line: none;
	text-decoration-style: solid;
	text-decoration-thickness: auto;
	width: 119px;
}

@keyframes arrowFade {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.45;
  }
}


/* Animated background orbs */

.orbs {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;

  width: min(420px, 70vw);
  height: min(420px, 70vw);

  border-radius: 50%;
  opacity: 0.75;
  filter: blur(70px);

  animation: moveOrb 8s ease-in-out infinite alternate;
}

.orb-blue {
  top: -120px;
  left: -100px;
  background: #0066ff;
}

.orb-purple {
  top: 10%;
  right: -120px;
  background: #9b00ff;
  animation-delay: -2s;
  animation-duration: 11s;
}

.orb-cyan {
  bottom: -180px;
  left: 25%;
  background: #00d9ff;
  animation-delay: -4s;
  animation-duration: 13s;
}

.orb-pink {
  right: 25%;
  bottom: -180px;
  background: #ff168f;
  opacity: 0.45;
  animation-delay: -6s;
  animation-duration: 10s;
}

@keyframes moveOrb {
  0% {
    transform: translate(-180px, -80px) scale(0.8);
  }

  50% {
    transform: translate(180px, 120px) scale(1.3);
  }

  100% {
    transform: translate(-80px, 260px) scale(0.95);
  }
}


/* Mobile layout */

@media (max-width: 600px) {
  .content-wrapper {
    justify-content: center;
    padding: 24px 16px 36px;
    font-size: 1;
    line-height: 1.35;
  }

  .orb {
    width: 280px;
    height: 280px;
    filter: blur(55px);
  }
}


/* Very small screens */

@media (max-height: 680px) and (max-width: 600px) {
  .content-wrapper {
    padding-top: 16px;
    padding-bottom: 24px;
    font-size: 14px;
  }
}