@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

nav {
  position: fixed;
  top: 0;
  z-index: 99;
  width: 100%;
  background: #fcf1f0;
  padding-top: 8px;
  z-index: 100;
}
nav .wrapper{
  position: sticky;
  max-width: 1300px;
  padding: 0px 30px;
  height: 70px;
  line-height: 50px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wrapper .logo a{
  color: #f9ca24;
  font-size: 40px;
  font-weight: 800;
  font-family: "Playfair Display";
  text-decoration: none;
}
.wrapper .logo a:hover{
  content: url(kaleidoscope.png);
  width: 6%;
  position: absolute;
  top: 0px;
  left: 20px;
}

.wrapper .nav-links{
  display: inline-flex;
  position: relative;
}
.nav-links li{
  list-style: none;
  position: relative;
}
.nav-links li a{
  color: #f0932b;
  text-decoration: none;
  font-size: 1.15em;
  font-weight: 700;
  display: inline;
  padding-left: 100px;
  width: 175px;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.nav-links li a:hover{
  color: #f9ca24;
}

.nav-links .dot {
  width: 8px;
  height: 8px;
  background: #f9ca24;
  border-radius: 50%;
  opacity: 0;
  position: absolute;
  bottom: -1px; /* positions dot below text */
  left: 20%;
  transform: translateX(-50%);
  opacity: 0; /* hidden by default */
  transition: opacity 0.2s ease-in-out;
}

.nav-links a:nth-child(1):hover ~ .dot {
  -webkit-transform: translateX(30px);
  transform: translateX(30px);
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  opacity: 1;
}

.nav-links a:nth-child(2):hover ~ .dot {
  -webkit-transform: translateX(210px);
  transform: translateX(210px);
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  opacity: 1;
}

.nav-links a:nth-child(3):hover ~ .dot {
  -webkit-transform: translateX(380px);
  transform: translateX(380px);
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  opacity: 1;
}

h1{
	padding-left: 175px;
	padding-top: 60px;
	color: #bf2c6a;
/*    text-shadow: #FC0 1px 0 10px;*/
	font-size: 3vw;
	font-weight: 500;
	font-family: "Poppins", sans-serif;
	padding-bottom: 20px;
}

h2{
	text-align: center;
	color: #f0932b;
	float: left;
	font-size: 2.5vw;
	font-family: "Satisfy", cursive;
	padding-left: 195px;
}

h3{
	padding-left: 175px;
	justify-content: center;
	float: left;
	color: #6a9a62;
	font-size: 1.2vw;
/*	line-height: 25px;*/
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	padding-top: 55px;
/*    font-style: italic;*/
}

.column{
	align-items: flex-start;

}

body {
  font-family: "Heebo", sans-serif;
  font-weight: 800;
  background: #fcf1f0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: center;
  align-items: center;
  padding-top: 100px;
  position: fixed;
}

.words {
  color: #fcf1f0;
  font-size: 0;
  font-weight: bold;
  line-height: .75;
  letter-spacing: 1.5px;
  padding-top: 20px;
  padding-left: 230px;
}

.words:hover{
	cursor: default;
}

.words span {
  font-size: 4.2vw;
  display: inline-block;
  animation: move 8s ease-in-out infinite;
  animation-delay: .5s;
}

@keyframes move {
  0% {
    transform: translate(-10%, 0);
  }
  50% {
    text-shadow: 0px 10px 20px #b5a8a8;
  }
  100% {
    transform: translate(10%, 0);
  }
}

.words span:nth-child(2) {
  animation-delay: 0.25s;
}

.words span:nth-child(3) {
  animation-delay: .35s;
}

.words span:nth-child(4) {
  animation-delay: .45s;
}

.words span:nth-child(5) {
  animation-delay: .55s;
}

.words span:nth-child(6) {
  animation-delay: .65s;
}

.words span:nth-child(7) {
  animation-delay: .75s;
}

.words span:nth-child(8) {
  animation-delay: .85s;
}

.words span:nth-child(9) {
  animation-delay: .95s;
}

.words span:nth-child(10) {
  animation-delay: 1.05s;
}

.words span:nth-child(11) {
  animation-delay: 1.15s;
}

.words span:nth-child(11) {
  animation-delay: 1.25s;
}

.words span:nth-child(12) {
  animation-delay: 1.35s;
}


* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root{
    --tile-length: 15.5vmin;
    --animation-duration: 12s;
}

section{
    height: 90vh;
    width: 45vw;
    float: right;
    background: #fcf1f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    overflow: hidden;
    padding-right: 170px;
}

.kaleidoscope{
    position: relative;
    width: calc(6 * .866 * var(--tile-length));
    height: 90vmin;
    -webkit-animation: rotation var(--animation-duration) linear infinite;
            animation: rotation var(--animation-duration) linear infinite;
    border-radius: 80%;
    overflow: hidden;
}

.kaleidoscope:after{
    content:'';
    position:absolute;
    height: inherit;
    width: inherit;
    background: radial-gradient(circle at center, transparent 40%, #fcf1f0 55%);
    z-index: 10;
}

.container{
    position: absolute;
    width: calc(2 * var(--tile-length));
    height: calc(2 * var(--tile-length));
    border-radius: 50%;
    overflow: hidden;
    transform: translate( calc(var(--tile-length) * -0.134 ), -50%);
}

.container:nth-child(1){
    top: 50%;
    left: 0%;
}

.container:nth-child(2){
    top: 50%;
    left: calc(2 * calc(var(--tile-length) * 0.866 ));
}

.container:nth-child(3){
    top: 50%;
    left: calc(4 * calc(var(--tile-length) * 0.866 ));
}

.container:nth-child(4){
    top: calc(50% - calc(1.5 * var(--tile-length)));
    left: calc(var(--tile-length) * 0.866 );
}

.container:nth-child(5){
    top: calc(50% - calc(1.5 * var(--tile-length)));
    left: calc(3 * var(--tile-length) * 0.866 );
}

.container:nth-child(6){
    top: calc(50% + calc(1.5 * var(--tile-length)));
    left: calc(var(--tile-length) * 0.866 );
}

.container:nth-child(7){
    top: calc(50% + calc(1.5 * var(--tile-length)));
    left: calc(3 * var(--tile-length) * 0.866 );
}

@-webkit-keyframes rotation{
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
}

@keyframes rotation{
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
}

.tile{
    position: absolute;
    top: 28%;
    left: 25%;
    width: var(--tile-length);
    height: calc(var(--tile-length) * 0.866);
    -webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
            clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tile:nth-child(1){
    transform: rotate(30deg) translateY(50%) scaleX(-1);
}

.tile:nth-child(2){
    transform: rotate(90deg) translateY(50%);
}

.tile:nth-child(3){
    transform: rotate(150deg) translateY(50%) scaleX(-1);
}

.tile:nth-child(4){
    transform: rotate(210deg) translateY(50%);
}

.tile:nth-child(5){
    transform: rotate(270deg) translateY(50%) scaleX(-1);
}

.tile:nth-child(6){
    transform: rotate(330deg) translateY(50%);
}

.texture{
    position: absolute;
    height: calc(1.75 * var(--tile-length));
    width: calc(1.75 * var(--tile-length));
/*    background-image: url(https://zupimages.net/up/21/39/6p27.png);*/
    background-image:url("6p27V3.png") ;
    background-size: 100%;
    -webkit-animation: rotation var(--animation-duration) linear infinite;
            animation: rotation var(--animation-duration) linear infinite;
}

/* Flashlight overlay setup */
#flashlightOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), 
    transparent 100px, 
    rgba(0, 0, 0, 0.15) 150px, 
    rgba(0, 0, 0, 0.5) 215px,
    rgba(0, 0, 0, 0.7) 250px,
    rgba(0, 0, 0, 0.85) 275px,
    rgba(0, 0, 0, 0.97) 300px);
  mix-blend-mode: multiply;
  z-index: 9999;
  display: none;
  transition: background 0.1s ease;
}

/* Switch container */
.switch {
  position: fixed;
  bottom: 50px;
  right: 100px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10000;
  font-family: "Poppins", sans-serif;
}

/* Hide default checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Slider track */
.slider {
  position: relative;
  width: 50px;
  height: 26px;
  background-color: #f9ca24;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

/* Slider knob */
.slider::before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

/* On toggle */
.switch input:checked + .slider {
  background-color: #ccc;
}

.switch input:checked + .slider::before {
  transform: translateX(24px);
}

/* Optional label */
.label-text {
  color: white;
  font-size: 1rem;
}



/*.footer {
  color: pink;
  text-align: left;
  font-size: 10px;
  font-weight: 1300;
  padding-left: 175;
  padding-top: 30px;
  position: relative;
  bottom: 0;
  width: 100%;
}*/



