@import url("https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&display=swap");

body {
  background: #1ba19d;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #222;
  margin: 0;
  padding: 0;
}
header {
  background: #105e5b;
  color: #fff;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: row;
}
nav {
  background: #0c4644;
  padding: 0.5rem 0;
  text-align: center;
}
nav a {
  margin: 0 1.5rem;
  font-size: larger;
}
a {
  font-family: "Pixelify Sans", sans-serif;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}
a:hover {
  color: #188e8a;
}
main {
  max-width: 800px;
  margin: 2rem auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
h1,
h2,
h3,
img {
  font-family: "Pixelify Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
}
h3 {
  font-size: 1.2rem;
}
p,
ul {
  font-family: "Pixelify Sans", sans-serif;
  font-weight: 400;
  font-size: large;
}
.minecraft-block {
  width: 48px;
  height: 48px;
  margin: 1rem 1rem 0rem 1rem;
}
.img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: flex;
  justify-content: start;
  gap: 0.5rem;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}
.container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: auto;
}
.container img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
input[type="range"] {
  accent-color: #0f5b59;
  background: #e0f7f6;
  width: 100%;
}
.switches {
  display: flex;

  gap: 20px;
  margin-bottom: 20px;
  width: 100%;
}
.switch {
  display: flex;
  flex-direction: column;

  align-items: center;
}
.switch input {
  display: none;
}
.sliderSwitch {
  position: relative;
  width: 50px;
  height: 26px;
  background-color: #444;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.sliderSwitch::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s;
}
input:checked + .sliderSwitch {
  background-color: #188e8a;
}
input:checked + .sliderSwitch::before {
  transform: translateX(24px);
}
.label {
  margin-top: 5px;
}
#slider {
  margin-top: 10px;
}
.card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
}
.profile {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}
.profile img {
  width: auto;
  height: 64px;
  border-radius: 20%;
  border: #0c4644 2px solid;
  box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}
footer {
  font-family: "Pixelify Sans", sans-serif;
  text-align: center;
  padding: 1rem 0;
  background: #105e5b;
  color: #fff;
  margin-top: 2rem;
}

/* VIEWER SECTION */

html,
body {
  width: 100%;
  height: 100%;
}

#viewer {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  cursor: grab;
}

#map {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: top left;
  user-select: none;
  pointer-events: none;
}
