html,
body {
  height: 71vw;
  width: 100%;
  margin: 0;
  background-color: #1e2030;
  background-image: url("../imgs/topo.svg");
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Quicksand", sans-serif;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #cad3f5;
  filter: drop-shadow(0 0 3px #cad3f580);
}

h3 {
  color: #cad3f5;
  filter: drop-shadow(0 0 5px #cad3f580);
  font-size: 16px;
}

#shadowBox {
  position: relative;
  padding: 0;
  border-radius: 30px;
  width: fit-content;
  height: fit-content;
  margin: auto;
  box-sizing: border-box;
  overflow: visible;
  height: auto;
  max-height: 96%;
}

.shadowBox-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle,
    #6666ff40,
    #0099ff40,
    #00ff0040,
    #ff339940,
    #6666ff40
  );
  background-size: 200% 200%;
  animation: rainbow_animation 8s ease-in-out infinite;
  filter: blur(30px);
  padding: 40px;
  z-index: 0;
  height: auto;
  max-height: 96%;
}

.shadowBox-content {
  position: relative;
  z-index: 1;
  border-radius: inherit;
}

#shadowBox:hover {
  transform: scale(1.02);
}

@keyframes rainbow_animation {
  0%,
  100% {
    background-position: 0 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.mainBox {
  background-color: #24273a;
  width: 60vw;
  height: 68vw;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 0 20px #000000b3;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  transition: transform 0.3s ease-in-out;
}

.title {
  font-size: 56px;
  transition: filter 0.5s ease, text-shadow 0.5s ease;

  filter: drop-shadow(0 0 8px #cad3f580);
  margin-bottom: 6px;
}

.caption {
  font-size: 18px;
  filter: drop-shadow(0 0 3px #cad3f560);
  transition: filter 0.5s ease, text-shadow 0.5s ease;
  margin-top: 0;
}

.title:hover,
.caption:hover {
  filter: brightness(1.2);
  text-shadow: 0 0 7px #cad3f5e6;
}

.title:not(:hover),
.caption:not(:hover) {
  filter: brightness(1);
  text-shadow: 0 0 5px #cad3f580;
}

.icons {
  display: flex;
  justify-content: center;
  align-items: center;
  transform-origin: center center;
  transform: scale(0.5);
  filter: brightness(1);
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
  gap: 10px;
}

.icons:hover > .github-mark:hover,
.icons:hover > .discord-mark:hover {
  transform: scale(1.1);
  filter: brightness(1.2) drop-shadow(0 0 8px #cad3f5ff);
  box-shadow: none;
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.github-mark,
.discord-mark {
  height: 10%;
  width: 10%;
  flex-shrink: 0;
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
  transform-origin: center center;
  cursor: pointer;
  filter: drop-shadow(0 0 3px #cad3f5b3);
  box-shadow: none;
}

#snow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.main-separator {
  width: 80%;
  height: 3px;
  background: #363a4f;
  border: none;
  margin: 24px auto 0;
  border-radius: 2px;
}

.tools-section {
  margin-top: 40px;
  text-align: center;
}

.section-title {
  font-size: 28px;
  color: #cad3f5;
  text-shadow: 0 0 4px #cad3f580;
  margin-bottom: 20px;
}

.tools-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 2;
}

.tool-card {
  width: 300px;
  height: 180px;
  background-color: #494d6430;
  border-radius: 15px;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 0 15px #00000080;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  z-index: 2;
}

.tool-card:hover {
  filter: brightness(1.2);
  box-shadow: 0 0 8px #cad3f54d;
  z-index: 2;
}

.tool-name {
  color: #cad3f5;
  font-size: 20px;
  margin-bottom: 6px;
  text-shadow: 0 0 3px #cad3f5a0;
  z-index: 2;
}

.tool-desc {
  font-size: 14px;
  color: #aab2cf;
  z-index: 2;
}

.tool-paid {
  display: block;
  font-size: 12px;
  color: #e88;
  text-shadow: 0 0 3px #e88a;
  margin-top: -6px;
  margin-bottom: 6px;
  z-index: 2;
}

.devs-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.dev-card {
  width: 300px;
  height: 150px;
  background-color: #24273a;
  border-radius: 15px;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 0 15px #00000080;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: default;
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.dev-card:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
  box-shadow: 0 0 15px #494d6480;
}

.dev-name {
  font-size: 20px;
  margin-bottom: 8px;
  color: #cad3f5;

  filter: drop-shadow(0 0 3px #cad3f5b3);
}

.dev-contact {
  font-size: 16px;
  color: #61dafb;
  text-decoration: underline;
  cursor: pointer;
  user-select: none;
  margin-top: auto;
}

.dev-contact:hover {
  color: #21a1f1;
}

.dev-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  transform-origin: center center;
  transform: scale(0.5);
  filter: brightness(1);
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
  gap: 10px;
  max-width: 100%;
}

.dev-img {
  height: 80px;
  width: 80px;
  flex-shrink: 0;
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
  transform-origin: center center;
  cursor: pointer;
  filter: drop-shadow(0 0 3px #cad3f5b3);
  box-shadow: none;
  object-fit: contain;
}

.dev-img:hover {
  transform: scale(1.1);
  filter: brightness(1.2) drop-shadow(0 0 8px #cad3f5ff);
  box-shadow: none;
}