@import url('https://fonts.cdnfonts.com/css/minecraft-4');

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

html, body {
  height: 100%;
  overflow: hidden;
  color: rgb(0, 0, 0);
  background-color: black; 
  font-family: 'Minecraft', sans-serif;
}

.bg-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100vw;
  min-height: 100vh;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
  filter: brightness(50%);
  background-color: black; 
}

.splash-screen {
  position: fixed;
  inset: 0;
  background-color: rgb(0, 0, 0);
  color: rgb(0, 0, 0);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  opacity: 1;
}

.fade-out {
  animation: fadeOut 0.6s forwards ease;
}

@keyframes fadeOut {
  to {
    opacity: 0;
  }
}

.splash-message {
  color: rgb(0, 0, 0);
  font-size: 1.5rem;
  font-weight: bold;
  opacity: 0.8;
  filter: drop-shadow(0 0 5px rgb(255, 255, 255));
}

.main {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hidden {
  display: none;
}

.center-box {
  background-color: rgba(0, 0, 0, 0.9);
  padding: 2rem 3rem;
  border-radius: 20px;
  text-align: center;
  color: white;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.name {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: rgb(0, 0, 0);
  filter: drop-shadow(0 0 5px rgb(255, 255, 255));
}

.icons {
	display: flex;
	gap: 20px;
	margin: 20px;
	white-space: nowrap; 
	justify-content: center; 
	align-items: center; 
}

.icons .icon {
	width: 40px;
	height: 40px;
	transition: transform 0.5s ease, drop-shadow 0.5s ease, border-radius 0.5s ease;
	cursor: pointer;
	border-radius: 0%;
	border: 2px solid transparent;
	filter: drop-shadow(0 0 2.5px rgb(255, 255, 255));
	cursor: url('cursor.cur'), pointer;
	display: inline-block; 
}

.icons .icon:hover {
	transform: scale(1.2);
	filter: drop-shadow(0 0 5px rgb(255, 255, 255));
}

.icons a {
    text-decoration: none; 
    display: inline-block; 
}

.tooltip1 {
	position: relative;
	display: inline-block;
}

.tooltip1 .tooltip1-text {
	visibility: hidden;
	background-color: rgba(255, 255, 255, 0);
	color: rgb(0, 0, 0);
	text-align: center;
	padding: 5px 10px;
	border-radius: 5px;
	filter: drop-shadow(0 0 2px rgb(255, 255, 255));
	position: absolute;
	bottom: -100%;
	left: 50%;
	transform: translateX(-50%);
	opacity: 0;
	transition: opacity 0.5s ease;
	white-space: nowrap;
}

.tooltip1:hover .tooltip1-text {
	visibility: visible;
	opacity: 1;
}

.tooltip2 {
	position: relative;
	display: inline-block;
}

.tooltip2 .tooltip2-text {
	visibility: hidden;
	background-color: rgba(255, 255, 255, 0);
	color: rgb(0, 0, 0);
	text-align: center;
	padding: 5px 10px;
	border-radius: 5px;
	filter: drop-shadow(0 0 2px rgb(255, 255, 255));
	position: absolute;
	bottom: -100%;
	left: 50%;
	transform: translateX(-50%);
	opacity: 0;
	transition: opacity 0.5s ease;
	white-space: nowrap;
}

.tooltip2:hover .tooltip2-text {
	visibility: visible;
	opacity: 1;
}

.tooltip3 {
	position: relative;
	display: inline-block;
}

.tooltip3 .tooltip3-text {
	visibility: hidden;
	background-color: rgba(255, 255, 255, 0);
	color: rgb(0, 0, 0);
	text-align: center;
	padding: 5px 10px;
	border-radius: 5px;
	filter: drop-shadow(0 0 2px rgb(255, 255, 255));
	position: absolute;
	bottom: -100%;
	left: 50%;
	transform: translateX(-50%);
	opacity: 0;
	transition: opacity 0.5s ease;
	white-space: nowrap;
}

.tooltip3:hover .tooltip3-text {
	visibility: visible;
	opacity: 1;
}

body {
	cursor: url('cursor.cur'), auto;
}

a {
	cursor: url('cursor.cur'), pointer;
}

a:hover {
	cursor: url('cursor.cur'), pointer;
}

.cursor-ghost {
	width: 32px;
	height: 32px;
	position: absolute;
	pointer-events: none;
	transform: translate(-50%, -50%);
	background: url('cursor.cur') no-repeat center center;
	background-size: contain;
	opacity: 0;
	transition: opacity 0.5s ease-out;
}

.rain-container {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.drop {
  position: absolute;
  bottom: 100%;
  width: 2px;
  height: 20px;
  background: rgba(255, 255, 255, 0.4);
  animation: fall linear infinite;
}

@keyframes fall {
  to {
    transform: translateY(110vh);
  }
}

body {
  transition: filter 0.4s ease, background-color 0.4s ease, color 0.4s ease;
}

.dark-mode {
  filter: invert(1) hue-rotate(180deg);
  background-color: #121212;
  color: #e0e0e0;
}

button {
  position: fixed;
  top: 1rem;
  right: 1rem;
  padding: 0.3rem 0.6rem;
  font-size: 0.7rem;
  border: 2px solid rgb(255, 255, 255);
  border-radius: 8px;
  cursor: pointer;
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  transition: background-color 0.3s, color 0.3s, filter 0.3s;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
  font-family: 'Minecraft', sans-serif;
}

.dark-mode button {
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  border-color: rgb(0, 0, 0);
  filter: drop-shadow(0 4px 6px rgb(0, 0, 0));
  font-family: 'Minecraft', sans-serif;
}