:root {
	--darkgray: #2e2e2e;
	--lightdark: #373737;
	--ulightdark: #403f3f;
	--magic: #41e9f7;
	--darkmagic: #41d3f7;
	--purple: #c52bd2;
	--green: #70eb5f;
	--red: #e5402a;
}

::selection {
	background-color: var(--magic);
	color: black;
}

body {
	background-color: var(--darkgray);
	background: url('bc.png');
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
	color: var(--magic);
}

.red {
	color: var(--red);
}

.box {
	margin-top: 15px;
	padding: 10px;
	background-color: var(--lightdark);
	border: 2px solid var(--ulightdark);
	border-radius: 12px;
}

.form-control, .form-control:active, .form-control:focus {
	background-color: transparent;
	border: none;
	border-radius: 0;
	border-bottom: 2px solid var(--magic);
	color: var(--magic);
}

.magic-symbol {
    position: absolute;
    font-size: 4px;
    color: #41e9f7;
    pointer-events: none;
    opacity: 50%;
    z-index: 9999;
}

option {
	background-color: var(--darkmagic);
	color: black;
}

.btn-cyan {
	background-color: var(--magic);
	border: 2px solid var(--darkmagic);
	color: black;
}

.btn-cyan:hover {
	background-color: var(--darkmagic);
	border: 2px solid var(--magic);
	color: black;
}

.alert-cyan {
	background-color: var(--darkmagic);
	border-color: var(--magic);
	color: black;
}

.bold {
	font-weight: bold;
}

.text-green {
	color: var(--green);
}

.text-magic {
  font-family: "Yusei Magic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.text-cyan {
	color: var(--magic);
}

.magic {
	transition: all .3s;
	cursor: pointer;
}

.magic:hover {
	text-shadow: 0 0 60px var(--magic);
	filter: drop-shadow(0 0 15px var(--magic));
}

.icon {
	max-height: 60px;
	pointer-events: none;
}

#serverStatus {
	position: absolute;
	top: 5vh;
	left: 50%;
	transform: translate(-50%);
	z-index: 9999;
}

.magic-footer {
  background-color: #0a192f;
  color: #a0f0ff;
  border-top: 3px solid #41e9f7;
  box-shadow: 0px -4px 20px rgba(0, 0, 0, 0.7);
}

.magic-footer a {
  color: #41e9f7;
  text-decoration: none;
}

.magic-footer a:hover {
  color: #f7c70a;
  text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.8);
}

.text-glow {
  text-shadow: 0px 0px 5px rgba(65, 233, 247, 0.8);
}

.magic-footer ul {
  padding: 0;
  list-style: none;
}

.magic-footer ul li {
  display: inline-block;
  margin: 0 15px;
}


.img-container {
  display: inline-block;
  width: 30%;
  height: 70vh;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  filter: brightness(0.7) grayscale(70%) hue-rotate(200deg) saturate(2);
  clip-path: polygon(0% 0%, 80% 0%, 100% 100%, 20% 100%);
  margin: 0 0;
}

.img-container:hover {
  filter: brightness(1.2) grayscale(0);
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 0px 0px 5px black, 0px 0px 15px black;
  font-size: 2em;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  text-align: center;
}

.img-container:hover .text-overlay {
  opacity: 1;
}

#alertinfo {
	position: absolute;
	top: 3vh;
	right: 3vh;
	width: auto;
}

.random-spell-box {
  background: linear-gradient(135deg, #091236, #1E215D);
  color: #41e9f7;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  text-align: center;
  font-family: 'Lora', serif;
  font-size: 1.2em;
  position: relative;
  transition: transform 0.3s ease;
  z-index: 999;
  margin-bottom: 20px;
}

.random-spell-box:hover {
  transform: scale(1.05);
}

.random-spell-box h3 {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 1.5em;
}

.random-spell-box p {
  color: #cccccc;
  font-size: 1.1em;
}

.random-spell-box .spell-icon {
  color: #41e9f7;
  font-size: 2em;
}


@media (max-width: 768px) {
	.img-container {
		width: 100%;
		height: 50vh;
		margin-bottom: 20px;
		clip-path: none;
	}
	
	.text-overlay {
		opacity: 1;
		font-size: 2.5em;
	}

	#serverStatus {
		top: 0vh;
		position: relative;
  	}
}