/* === BASIS === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "MuseoModerno", sans-serif;
  letter-spacing: 0.1em;
}

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  background-color: rgb(175, 175, 255);
}

@font-face {
  font-family: "MuseoModerno";
  src: url(MuseoModerno/static/MuseoModerno-Medium.ttf);
}

/* === LAYOUT === */
.layout {
  display: flex;
  height: 100vh;
  width: 100%;
}

.left {
  width: 40%;
  display: flex;
  flex-direction: column;
}

.right {
  width: 60%;
  display: flex;
  flex-direction: column;
}

/* === LEFT SIDE === */
.left-top {
  flex: 0 0 20vh;
  background-color: #a7c7ff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.title h1 {
  font-size: clamp(3rem, 6vw, 8rem);
  text-shadow: 0.2em 0.2em 0.3em rgba(255, 235, 145, 0.8);
}

.title img {
  width: clamp(120px, 15vw, 300px);
  height: auto;
}

.subtitle {
  text-align: center;
  margin-top: 1rem;
}

.subtitle h2 {
  font-size: clamp(1.5rem, 3vw, 3.5rem);
  text-shadow: 0.15em 0.15em 0.25em rgba(247, 179, 179, 1);
}

/* LEFT BOTTOM */
.left-bottom {
  flex: 1;
  background-color: #7ea7e0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* === BOXEN === */
.welcome-container,
.info-container {
  width: min(85%, 900px);
  background-color: rgb(145, 255, 186);
  border: 0.6rem solid white;
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  text-align: start;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease;
}

.hidden {
  display: none;
}

.welcome-container h2,
.info-container h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.8rem);
  text-shadow: 0.2em 0.2em 0.3em rgba(255,235,145,1);
}

.welcome-container p,
.info-container p {
  font-size: clamp(1rem, 1.5vw, 1.7rem);
  line-height: 1.6;
  margin-top: 0.5rem;
}

.welcome-container h3 {
  font-size: clamp(1rem, 1.3vw, 1.6rem);
  color: rgb(140, 140, 229);
  text-shadow: 0.1em 0.1em 0.2em rgba(255,235,145,1);
  margin-top: 1rem;
}

/* === UV ROW === */
.uv-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
}

#uvCircle {
  width: clamp(40px, 4vw, 60px);
  height: clamp(40px, 4vw, 60px);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(255,255,255,0.8), 0 0 30px rgba(255,255,255,0.4);
}

#uvValue {
  font-size: clamp(1.2rem, 1.6vw, 1.8rem);
  font-weight: bold;
}

/* === RIGHT SIDE === */
/* .right-top {
  flex: 0 0 15vh;
  background-color: #ffe59d;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 5%;
} */

.right-top {
  flex: 0 0 15%;
  background-color: #ffe59d;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 5%;
}

.button-container {
  display: flex;
  gap: 1rem;
}

.karte-button,
.analyse-button {
  height: 50px;
  width: 150px;
  border-radius: 10px;
  border: 5px white solid;
  font-size: clamp(1rem, 1.5vw, 1.4rem);
  font-weight: bold;
  cursor: pointer;
}


.karte-button {
  background-color: rgb(189, 189, 189);
  color: rgb(105, 105, 105);
}

.analyse-button {
  background-color: rgb(255, 146, 138);
}

/* === MAP === */
.right-middle {
  flex: 1;
  background-color: #fff2cc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.europa-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.europa-container img {
  width: 75%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

/* === MARKER === */
.marker {
  position: absolute;
  width: 2vw;
  height: 2vw;
  min-width: 15px;
  min-height: 15px;
  max-width: 35px;
  max-height: 35px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  z-index: 2;
}

.marker:hover {
  transform: translate(-50%, -50%) scale(1.4);
}

.marker::after {
  content: attr(data-city);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  color: #333;
  padding: 0.2rem 0.4rem;
  border-radius: 0.4rem;
  font-size: clamp(0.7rem, 1vw, 1rem);
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.marker:hover::after {
  opacity: 1;
}

/* === MEDIA QUERIES === */
@media (max-width: 1600px) {
  .title h1 { font-size: clamp(2.5rem, 5vw, 6rem); }
}

@media (max-width: 1024px) {
  .layout { flex-direction: column; }
  .left, .right { width: 100%; }
  .title { flex-direction: column; }
  .subtitle { margin-left: 0; }
}

@media (max-width: 600px) {
  .welcome-container,
  .info-container { width: 90%; padding: 1rem; }
  .button-container { justify-content: center; }
  .karte-button, .analyse-button { flex: 1 1 100%; }
}


