/* Reset & base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: Arial, sans-serif;
  background-color: #ffffff;
}

main {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.language-selector {
  text-align: center;
  padding: 1rem;
}

.language-selector h1 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #333;
}

.flags {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.flag-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 8px;
  padding: 0.5rem;
}

.flag-button img {
  width: 120px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease;
}

.flag-button span {
  margin-top: 0.5rem;
  color: #333;
  font-weight: 500;
}

.flag-button:hover {
  transform: scale(1.05);
}

.flag-button:hover img {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 500px) {
  .flag-button img {
    width: 90px;
  }

  .language-selector h1 {
    font-size: 1.2rem;
  }
}
