@font-face {
  font-family: 'MyHandwriting-Regular';
  src: url('https://koerbi.neocities.org/MyHandwriting-Regular.ttf');
}

* {
  margin: 0px;
  padding: 0px;
}

@-webkit-keyframes snowflakes-fall {
		0% {
			top: -10%
		}
		100% {
			top: 100%
		}
	}
	
	@-webkit-keyframes snowflakes-shake {
		0%,
		100% {
			-webkit-transform: translateX(0);
			transform: translateX(0)
		}
		50% {
			-webkit-transform: translateX(80px);
			transform: translateX(80px)
		}
	}
	
	@keyframes snowflakes-fall {
		0% {
			top: -10%
		}
		100% {
			top: 100%
		}
	}
	
	@keyframes snowflakes-shake {
		0%,
		100% {
			transform: translateX(0)
		}
		50% {
			transform: translateX(80px)
		}
	}
	
	.snowflake {
		position: absolute;
		top: -10%;
		z-index: 9999;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
		-webkit-animation-name: snowflakes-fall, snowflakes-shake;
		-webkit-animation-duration: 10s, 3s;
		-webkit-animation-timing-function: linear, ease-in-out;
		-webkit-animation-iteration-count: infinite, infinite;
		-webkit-animation-play-state: running, running;
		animation-name: snowflakes-fall, snowflakes-shake;
		animation-duration: 10s, 3s;
		animation-timing-function: linear, ease-in-out;
		animation-iteration-count: infinite, infinite;
		animation-play-state: running, running
	}
	
	.snowflake:nth-of-type(0) {
		left: 1%;
		-webkit-animation-delay: 0s, 0s;
		animation-delay: 0s, 0s
	}
	
	.snowflake:nth-of-type(1) {
		left: 10%;
		-webkit-animation-delay: 1s, 1s;
		animation-delay: 1s, 1s
	}
	
	.snowflake:nth-of-type(2) {
		left: 20%;
		-webkit-animation-delay: 6s, .5s;
		animation-delay: 6s, .5s
	}
	
	.snowflake:nth-of-type(3) {
		left: 30%;
		-webkit-animation-delay: 4s, 2s;
		animation-delay: 4s, 2s
	}
	
	.snowflake:nth-of-type(4) {
		left: 40%;
		-webkit-animation-delay: 2s, 2s;
		animation-delay: 2s, 2s
	}
	
	.snowflake:nth-of-type(5) {
		left: 50%;
		-webkit-animation-delay: 8s, 3s;
		animation-delay: 8s, 3s
	}
	
	.snowflake:nth-of-type(6) {
		left: 60%;
		-webkit-animation-delay: 6s, 2s;
		animation-delay: 6s, 2s
	}
	
	.snowflake:nth-of-type(7) {
		left: 70%;
		-webkit-animation-delay: 2.5s, 1s;
		animation-delay: 2.5s, 1s
	}
	
	.snowflake:nth-of-type(8) {
		left: 80%;
		-webkit-animation-delay: 1s, 0s;
		animation-delay: 1s, 0s
	}
	
	.snowflake:nth-of-type(9) {
		left: 90%;
		-webkit-animation-delay: 3s, 1.5s;
		animation-delay: 3s, 1.5s
	}
	
	.snowflake:nth-of-type(10) {
		left: 25%;
		-webkit-animation-delay: 2s, 0s;
		animation-delay: 2s, 0s
	}
	
	.snowflake:nth-of-type(11) {
		left: 65%;
		-webkit-animation-delay: 4s, 2.5s;
		animation-delay: 4s, 2.5s
	}

.car {
  position: absolute;
  z-index: 999;
  top: 110px;
  left: 1190px;
}

.dark-theme .nav {
  position: absolute;
  width: 296px;
  height: 525px;
  background: #847CB8;
  transform: rotate(10.497deg);
  top: 250px;
  left: 60px;
  text-align: center;
}



.light-theme .nav {
  position: absolute;
  width: 296px;
  height: 525px;
  background: #989769;
  transform: rotate(10.497deg);
  top: 250px;
  left: 60px;
  text-align: center;
}

.dark-theme .nav a {
  color: white;
  text-decoration: none;
  font-size: 32px;
  font-family: system-ui;
}

.light-theme .nav a {
  color: #331B08;
  text-decoration: none;
  font-size: 32px;
  font-family: system-ui;
}

.dark-theme .navtitle {
  position: absolute;
  width: 296px;
  height: 57px;
  background: #776DB3;
  transform: rotate(10.497deg);
  top: 255px;
  left: 102px;
}

.light-theme .navtitle {
  position: absolute;
  width: 296px;
  height: 57px;
  background: #8C8B5F;
  transform: rotate(10.497deg);
  top: 255px;
  left: 102px;
}

.navtitle h1 {
  font-family: MyHandwriting-Regular;
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  margin-top: 8px;
}

.maingrid {
  font-size: 40px;
  display: grid;
  grid-template-columns: 152px 152px 974px 152px;
  grid-template-rows: 175px 849px;
}

.grid-item1 {
}

.switch {
  scale: 1.25;
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin: 60px 40px
}

.switch #input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2196f3;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  z-index: 0;
  overflow: hidden;
}

.sun-moon {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: yellow;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

#input:checked + .slider {
  background-color: black;
}

#input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

#input:checked + .slider .sun-moon {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
  background-color: white;
  -webkit-animation: rotate-center 0.6s ease-in-out both;
  animation: rotate-center 0.6s ease-in-out both;
}

.moon-dot {
  opacity: 0;
  transition: 0.4s;
  fill: gray;
}

#input:checked + .slider .sun-moon .moon-dot {
  opacity: 1;
}

.slider.round {
  border-radius: 34px;
}

.slider.round .sun-moon {
  border-radius: 50%;
}

#moon-dot-1 {
  left: 10px;
  top: 3px;
  position: absolute;
  width: 6px;
  height: 6px;
  z-index: 4;
}

#moon-dot-2 {
  left: 2px;
  top: 10px;
  position: absolute;
  width: 10px;
  height: 10px;
  z-index: 4;
}

#moon-dot-3 {
  left: 16px;
  top: 18px;
  position: absolute;
  width: 3px;
  height: 3px;
  z-index: 4;
}

#light-ray-1 {
  left: -8px;
  top: -8px;
  position: absolute;
  width: 43px;
  height: 43px;
  z-index: -1;
  fill: white;
  opacity: 10%;
}

#light-ray-2 {
  left: -50%;
  top: -50%;
  position: absolute;
  width: 55px;
  height: 55px;
  z-index: -1;
  fill: white;
  opacity: 10%;
}

#light-ray-3 {
  left: -18px;
  top: -18px;
  position: absolute;
  width: 60px;
  height: 60px;
  z-index: -1;
  fill: white;
  opacity: 10%;
}

.cloud-light {
  position: absolute;
  fill: #eee;
  animation-name: cloud-move;
  animation-duration: 6s;
  animation-iteration-count: infinite;
}

.cloud-dark {
  position: absolute;
  fill: #ccc;
  animation-name: cloud-move;
  animation-duration: 6s;
  animation-iteration-count: infinite;
  animation-delay: 1s;
}

#cloud-1 {
  left: 30px;
  top: 15px;
  width: 40px;
}

#cloud-2 {
  left: 44px;
  top: 10px;
  width: 20px;
}

#cloud-3 {
  left: 18px;
  top: 24px;
  width: 30px;
}

#cloud-4 {
  left: 36px;
  top: 18px;
  width: 40px;
}

#cloud-5 {
  left: 48px;
  top: 14px;
  width: 20px;
}

#cloud-6 {
  left: 22px;
  top: 26px;
  width: 30px;
}

@keyframes cloud-move {
  0% {
    transform: translateX(0px);
  }

  40% {
    transform: translateX(4px);
  }

  80% {
    transform: translateX(-4px);
  }

  100% {
    transform: translateX(0px);
  }
}

.stars {
  transform: translateY(-32px);
  opacity: 0;
  transition: 0.4s;
}

.star {
  fill: white;
  position: absolute;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  animation-name: star-twinkle;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

#input:checked + .slider .stars {
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
}

#star-1 {
  width: 20px;
  top: 2px;
  left: 3px;
  animation-delay: 0.3s;
}

#star-2 {
  width: 6px;
  top: 16px;
  left: 3px;
}

#star-3 {
  width: 12px;
  top: 20px;
  left: 10px;
  animation-delay: 0.6s;
}

#star-4 {
  width: 18px;
  top: 0px;
  left: 18px;
  animation-delay: 1.3s;
}

@keyframes star-twinkle {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.2);
  }

  80% {
    transform: scale(0.8);
  }

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

.grid-item2 {
}

.container {
  --color: #a5a5b0;
  --size: 50px;
  display: flex;
  cursor: pointer;
  font-size: var(--size);
  user-select: none;
  fill: var(--color);
  margin: 50px 40px;
}

.container .mute {
  position: absolute;
  animation: keyframes-fill .5s;
}

.container .voice {
  position: absolute;
  display: none;
  animation: keyframes-fill .5s;
}

/* ------ On check event ------ */
.container input:checked ~ .mute {
  display: none;
}

.container input:checked ~ .voice {
  display: block;
}

/* ------ Hide the default checkbox ------ */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* ------ Animation ------ */
@keyframes keyframes-fill {
  0% {
    transform: rotate(0deg) scale(0);
    opacity: 0;
  }

  50% {
    transform: rotate(-10deg) scale(1.2);
  }
}

.grid-item3 {
  justify-self: center;
}

.pen {
  margin-top: 21px;
}

.grid-item4 {
}

.grid-item5 {
}

.grid-item6 {
}

.grid-item7 {
}

.dark-theme #main {
  width: 965px;
  height: 802px;
  border-radius: 37px;
  border: 5px solid #D2B9E0;
  background: #3D3358;
  content: 979px x 802px;
}

.light-theme #main {
  width: 965px;
  height: 802px;
  border-radius: 37px;
  border: 5px solid #92374E;
  background: #E3BBBC;
  content: 979px x 802px;
}

.divider1 {
  display: grid;
  grid-template-columns: 370px 380px;
  grid-template-rows: 70px 170px;
  box-sizing: border-box;
  width: 807px;
  height: 235px;
  flex-shrink: 0;
  content: 807px x 228px;
  margin: 26px 40px 23px 132px;
  text-align: left;
  padding: 35px 21px 10px 21px;
}

.inside-grid-item1 {
}

.inside-grid-item2 {
}

.inside-grid-item3 {
  grid-column: 1 / 3;
}

.divider2 {
  display: grid;
  grid-template-columns: 200px 132px 132px 132px 132px;
  grid-template-rows: 70px 200px 163px;
  box-sizing: border-box;
  width: 807px;
  height: 490px;
  flex-shrink: 0;
  content: 807px x 228px;
  margin: 0px 40px 0px 132px;
  padding: 20px 35px;
}

.inside2-grid-item1 {
  grid-row: 1 / 4
}

.inside2-grid-item2 {
  grid-column: 2 / 6
  
}

.inside2-grid-item3 {
  grid-column: 2 / 6
}

.inside2-grid-item4 {
}

.inside2-grid-item5 {
}

.inside2-grid-item6 {
}

.inside2-grid-item7 {
}

.grid-item8 {
}

body {
  width: 1440px;
  height: 1024px;
}

h1 {
  font-family: MyHandwriting-Regular;
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

p {
  font-family: system-ui;
  font-size: 17px;
}

.pbigger p {
  font-family: system-ui;
  font-size: 25px;
}

.centered h1 {
  margin: 0px 0px 0px 150px;
}

/* LIGHT THEME (default) */
body.light-theme {
  background-color: #F8EFDA;
  color: #331B08;
}

body.light-theme .navbar {
  background-color: #f3e0d2;
}

body.light-theme a {
  color: #0077cc;
}

/* DARK THEME */
body.dark-theme {
  background-color: #1F1925;
  color: white;
}

body.dark-theme .navbar {
  background-color: #1e1e1e;
}

body.dark-theme a {
  color: #ffd700;
}

/* Dark theme styles */
.dark-theme .divider1,
.dark-theme .divider2 {
  border: 3px dashed #D2B9E0; /* or any dark tone */
}

/* Light theme styles */
.light-theme .divider1,
.light-theme .divider2 {
  border: 3px dashed #92374E; /* or any light tone */
}