body {
  font-family: "DM Serif Text", serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: #fff;
  color: #333;
}

header {
  background-color: #fff;
  padding: 20px;
  width: 100%;
  text-align: center;
}

hr {
  margin: 40px 0;
}

main {
  padding: 20px;
  width: 100%;
  max-width: 600px;
  text-align: center;
}

section {
  margin-bottom: 20px;
}

h1,
h2 {
  margin: 0 0 10px;
  font-family: "DM Serif Text", serif;
}

p {
  margin: 0;
  font-size: 1.2em;
}

a {
  color: black !important;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.color-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.calendar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 200px;
  padding: 12px 32px;
  border: 1px solid rgba(0, 0, 0, 0.7);
  background: transparent;
  color: rgba(0, 0, 0, 0.8) !important;
  font-family: "DM Serif Text", serif;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.calendar-link:hover {
  color: white !important;
  background: black;
  border-color: black;
  text-decoration: none !important;
}

.calendar-link img {
  transition: filter 0.3s ease;
}

.calendar-link:hover img {
  filter: brightness(0) invert(1);
}

.form-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 40px 0;
}

.form-input {
  width: 100%;
  padding: 12px 4px;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  font-size: 16px;
  font-family: "DM Serif Text", serif;
  background: transparent;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-bottom-color: black;
}

.form-input::placeholder {
  color: rgba(0, 0, 0, 0.5);
  font-style: italic;
  font-size: 14px;
}

.form-button {
  width: auto;
  min-width: 200px;
  padding: 12px 32px;
  border: 1px solid rgba(0, 0, 0, 0.7);
  background: transparent;
  color: rgba(0, 0, 0, 0.8);
  font-family: "DM Serif Text", serif;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-button:hover {
  color: white !important;
  background: black;
  border-color: black;
}

.color-container {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.back-button {
  width: 220px;
  padding: 8px;
  border-radius: 4px;
  background-color: white;
  border: 1px solid;
  color: #749bb8 !important;
  border-color: #749bb8;
  font-size: 1em;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 0.3s ease;
  text-decoration: none !important;
}

.back-button:hover {
  background-color: #749bb8;
  color: white !important;
}

.scroll-button {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

.scroll-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: transform 0.3s ease;
}

.scroll-button:hover::after {
  transform: translate(-50%, -50%) rotate(45deg) scale(1.2);
}

.lang-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  gap: 16px;
  font-family: "DM Serif Text", serif;
  transition: color 0.3s ease;
}

.lang-option {
  color: rgba(255, 255, 255, 0.7);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  transition: all 0.3s ease;
}

.lang-option.active {
  color: white;
  border-bottom: 1px solid white;
}

.lang-option:hover {
  color: white;
}

/* Add styles for when switcher is not over home section */
.lang-switcher:not(.over-home) .lang-option {
  color: rgba(0, 0, 0, 0.5);
}

.lang-switcher:not(.over-home) .lang-option.active {
  color: black;
  border-bottom: 1px solid black;
}

.lang-switcher:not(.over-home) .lang-option:hover {
  color: black;
}

/* Add white arrow styles for home section */
#home .scroll-button::after {
  border-right-color: white;
  border-bottom-color: white;
}

#home .scroll-button:hover::after {
  transform: translate(-50%, -50%) rotate(45deg) scale(1.2);
  border-right-color: white;
  border-bottom-color: white;
}

/* Base font sizes */
h1 {
  font-size: 2.5em;
  margin-bottom: 24px;
}

h2 {
  font-size: 2em;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.2em;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Mobile font sizes */
@media (max-width: 768px) {
  h1 {
    font-size: 2em;
    margin-bottom: 20px;
  }

  h2 {
    font-size: 1.6em;
    margin-bottom: 14px;
  }

  h3 {
    font-size: 1em;
    line-height: 1.4;
    margin-bottom: 14px;
  }

  .form-button,
  .calendar-link {
    font-size: 14px;
    padding: 10px 24px;
  }

  .lang-option {
    font-size: 14px;
  }

  #countdown {
    font-size: 0.9em;
  }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
  h1 {
    font-size: 1.8em;
    margin-bottom: 16px;
  }

  h2 {
    font-size: 1.4em;
    margin-bottom: 12px;
  }

  h3 {
    font-size: 0.9em;
    line-height: 1.3;
    margin-bottom: 12px;
  }
}
