body {
  text-align:center;
  background-color: #141414;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  height: 85vh;
  padding: 0 10px;
}

h1 {
  color: #b688ff;
  font-family: Verdana, sans-serif;
  font-size: 96px;
}

a {
  color: #b688ff;
  font-family: Verdana, sans-serif;
  font-size: 36px;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

#lang {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: transparent;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 1000;
}

#lang i {
  color: #b688ff;
}

#lang-popup {
  position: absolute;
  font-family: Verdana, sans-serif;
  top: 3.5rem;
  right: 1rem;
  background-color: #120f16;
  color: #b688ff;
  border: 1px solid #281c3b;
  border-radius: 5px;
  padding: 10px;
  z-index: 1001;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

#lang-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


#lang-popup ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#lang-popup li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 16px;
}

#lang-popup .flag {
  width: 24px;
  text-align: center;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", Verdana, sans-serif;
}

#lang-popup li:hover {
  background-color: #281c3b;;
}

#lang-popup li.selected {
  background-color: #261246;
  font-weight: bold;
  color: #b688ff;
}

#ikea-link {
  font-size: 36px;
  color: #b688ff;
  margin-top: 10px;
}

@media (max-width: 768px) {
  body {
    padding: 10px;
    font-size: 20px;
  }

  h1 {
    font-size: 72px;
  }

  #lang-popup {
    top: 2.5rem;
    right: 0.5rem;
    width: 90%;
  }

  #lang-popup ul {
    padding: 5px;
  }

  #lang-popup li {
    display: flex;
    align-items: center;
    padding: 15px;
  }

  #ikea-link {
    font-size: 32px;
  }

  img {
    width: 100%;
    height: auto;
    padding-bottom: 10%;
  }
}
