/* oswald-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 200;
  src: url('fonts/oswald-v56-latin-200.eot'); /* IE9 Compat Modes */
  src: url('fonts/oswald-v56-latin-200.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/oswald-v56-latin-200.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/oswald-v56-latin-200.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('fonts/oswald-v56-latin-200.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('fonts/oswald-v56-latin-200.svg#Oswald') format('svg'); /* Legacy iOS */
}

/* oswald-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/oswald-v56-latin-300.eot'); /* IE9 Compat Modes */
  src: url('fonts/oswald-v56-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/oswald-v56-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/oswald-v56-latin-300.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('fonts/oswald-v56-latin-300.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('fonts/oswald-v56-latin-300.svg#Oswald') format('svg'); /* Legacy iOS */
}

/* oswald-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/oswald-v56-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('fonts/oswald-v56-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/oswald-v56-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/oswald-v56-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('fonts/oswald-v56-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('fonts/oswald-v56-latin-regular.svg#Oswald') format('svg'); /* Legacy iOS */
}

/* oswald-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/oswald-v56-latin-500.eot'); /* IE9 Compat Modes */
  src: url('fonts/oswald-v56-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/oswald-v56-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/oswald-v56-latin-500.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('fonts/oswald-v56-latin-500.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('fonts/oswald-v56-latin-500.svg#Oswald') format('svg'); /* Legacy iOS */
}

/* oswald-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/oswald-v56-latin-600.eot'); /* IE9 Compat Modes */
  src: url('fonts/oswald-v56-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/oswald-v56-latin-600.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/oswald-v56-latin-600.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('fonts/oswald-v56-latin-600.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('fonts/oswald-v56-latin-600.svg#Oswald') format('svg'); /* Legacy iOS */
}

/* oswald-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/oswald-v56-latin-700.eot'); /* IE9 Compat Modes */
  src: url('fonts/oswald-v56-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/oswald-v56-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/oswald-v56-latin-700.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('fonts/oswald-v56-latin-700.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('fonts/oswald-v56-latin-700.svg#Oswald') format('svg'); /* Legacy iOS */
}


body {
	background-color: #fff;
	font-family: 'Oswald';
  font-weight: 300;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
  height: 95dvh;          /* Example: ensure container has a defined height */
}

.text {
	font-size: 26vw ;
	font-weight: 300;
}

.text {
	position: relative;
}

.text .text-bottom {
  font-weight: 300;
	position: absolute;
	/* color: hsl(253, 92%, 69%); */
	z-index: -1;
	animation: sizeAnim 20s ease infinite,
  opacityAnim2 20s ease infinite;
  /* animation-timing-function: ease; */
}

/* OLD ANIMATIONS */
@keyframes myanim {
	0% { transform: scale(1); opacity: 0.1     }


    20% { transform: scale(1); opacity: 0.9     }

    47.5% { transform: scale(1.25);  opacity: 0.4 }

	52.5% { transform: scale(1.25);  opacity: 0.4 }
	
	80% { transform: scale(1); opacity: 0 }

	100% { transform: scale(1); opacity: 0.1 }
}
@keyframes myanim2 {
	0% { transform: scale(1); opacity: 0.1     }

  1% { transform: scale(1); opacity: 1     }

  24% { transform: scale(1.25); opacity: 0.6     }

  32% { transform: scale(1.25); opacity: 0.7     }

  39% { transform: scale(1.25); opacity: 0.5     }

  46% { transform: scale(1.25); opacity: 0.7     }

  60% { transform: scale(1.25); opacity: 0.6     }

  100% { transform: scale(1); opacity: 0.1     }

}
/* OLD ANIMATION OF OPACITY */
@keyframes opacityAnim {
	0% { opacity: 0.1     }
  5% { opacity: 1     }
  25% { opacity: 0.6     }
  26% { opacity: 0.5     }
  27% { opacity: 0.6     }
  29% { opacity: 0.5     }
  30% { opacity: 0.6     }
  35% { opacity: 0.4     }
  40% { opacity: 0.8     }
  45% { opacity: 0.4     }
  50% { opacity: 0.8     }
  55% { opacity: 0.4     }
  60% { opacity: 0.6     }
  100% { opacity: 0.1     }
}

@keyframes opacityAnim3 {
	0% { opacity: 0.0     }
  5% { opacity: 0.0     }
  25% { opacity: 0.5     }
  60% { opacity: 1     }
  100% { opacity: 0.0     }

}

@keyframes opacityAnimTop {
	0% { opacity: 1     }
  /* 5% { opacity: 0.0     } */
  25% { opacity: 1     }
  60% { opacity: 0.6     }
  100% { opacity: 1     }

}

/* ACTUAL ANIMATIONS OF SIZE AND OPACITY */
@keyframes sizeAnim {
	0% { transform: scale(1); }
  5% { transform: scale(1); }
  25% { transform: scale(1.25); }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
@keyframes opacityAnim2 {
	0% { opacity: 0.05     }
  5% { opacity: 0.3     }
  10% { opacity: 0.9     }
  25% { opacity: 0.65     }
  60% { opacity: 0.5     }
  100% { opacity: 0.05     }
}
@keyframes opacityAnimBrighSustain {
	0% { opacity: 0.05     }
  5% { opacity: 0.20     }
  25% { opacity: 0.7     }
  60% { opacity: 0.9     }
  100% { opacity: 0.05     }

}


/* OVERLAY */
/* Fullscreen overlay (hidden by default) */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  display: flex; /* center text */
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  font-size: clamp(22px, 4dvmin, 38px);
  /* font-size: clamp(22px, 3.4dvmax, 38px); */
  font-weight: 300;
  color: rgb(61, 61, 61);
  opacity: 0;
  pointer-events: none; /* don’t block clicks when invisible */
  transition: opacity 1s ease; /* smooth fade in/out */
  z-index: 9999;
}

#overlay a {
  text-decoration: none;
  transition: color 0.3s, background-color 0.3s;
  padding: 0.25em 0.5em;
  border-radius: 0.25em;
}

#overlay p {
  margin-top: 15dvmin;
  margin-bottom: 15dvmin;
}

#overlay a:hover,
#overlay a:active {
  text-decoration: underline overline dotted;
  text-underline-offset: 0.4em;
}

/* 
.parallax-wrap {
  position: absolute;       
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  will-change: transform;
} 
*/
