* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

.header-banner {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  background-color: #1a1a1a;
  color: white;
  align-items: center;
  padding: 10px;
}

.header-banner a {
  text-decoration: none;
  color: white;
}

.header-banner div {
  display: flex;
}


.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(15px, 4vw, 20px);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(15px, 4vw, 20px) 0;
  flex-wrap: wrap;
  gap: 15px;
}

.logo {
  font-weight: bold;
  font-size: clamp(1.5rem, 5vw, 2rem);
}

.nav-buttons {
  display: flex;
  gap: clamp(12px, 3vw, 18px);
  flex-wrap: wrap;
  font-weight: bold;
}

.get-started-btn {
  background-color: white;
  border: 1px solid #888;
  padding: clamp(8px, 2vw, 10px) clamp(15px, 4vw, 20px);
  cursor: pointer;
  font-size: clamp(0.8rem, 2.5vw, 0.9rem);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.get-started-btn:hover {
  background-color: #f0f0f0;
}

.get-started-btn a {
  display: block;
  color: inherit;
  text-decoration: none;
  width: 100%;
  height: 100%;
}

.content-section {
  padding: clamp(30px, 8vw, 50px) 0;
  max-width: 100%;
}

.letter-title {
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: clamp(1rem, 4vw, 2rem);
  line-height: 1.1;
}

.letter-date {
  text-align: right;
  font-size: clamp(1rem, 4vw, 1.5rem);
  margin-bottom: 1rem;
}

hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: clamp(1.5rem, 4vw, 2rem) 0;
}

.letter-intro {
  font-size: clamp(1rem, 4vw, 1.5rem);
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.5;
}

.language-selector {
  margin-top: clamp(2rem, 6vw, 3rem);
}

.language-option {
  display: flex;
  justify-content: space-between;
  padding: clamp(12px, 3vw, 15px) 0;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
  font-size: clamp(1.2rem, 5vw, 2rem);
  transition: all 0.3s ease;
}

.language-option:hover {
  background-color: #f5f5f5;
  color: black;
  padding-left: 10px;
  padding-right: 10px;
}

.letter-section-heading {
  text-align: center;
  margin-bottom: clamp(20px, 6vw, 30px);
  font-size: clamp(1.2rem, 4vw, 1.5rem);
}

.letter-section-content {
  margin-bottom: clamp(15px, 4vw, 20px);
}

.letter-section-content strong {
  display: block;
  margin-bottom: clamp(3px, 1vw, 5px);
  font-size: clamp(1rem, 3vw, 1.1rem);
}

.letter-section-content p {
  line-height: 1.6;
  font-size: clamp(0.9rem, 3vw, 1rem);
  margin-bottom: clamp(10px, 3vw, 15px);
}

.letter-image {
  max-width: 100%;
  margin-top: clamp(15px, 4vw, 20px);
  margin-bottom: clamp(15px, 4vw, 20px);
}

.letter-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.letter-signature {
  margin-bottom: clamp(30px, 8vw, 50px);
  margin-top: clamp(40px, 10vw, 70px);
  text-align: left;
}

.letter-signature img {
  max-width: 200px;
  width: 100%;
  height: auto;
}

.letter-date-intro {
  margin-bottom: clamp(50px, 12vw, 100px);
  font-size: clamp(0.9rem, 3vw, 1rem);
}

.letter-footer {
  margin-top: clamp(30px, 8vw, 40px);
}

.letter-footer p {
  margin-bottom: clamp(8px, 2vw, 10px);
  font-size: clamp(0.9rem, 3vw, 1rem);
}

@media screen and (max-width: 480px) {
  .navbar {
    flex-direction: column;
    text-align: center;
  }

  .nav-buttons {
    width: 100%;
    justify-content: center;
  }

  .get-started-btn {
    flex: 1;
    min-width: 120px;
  }

  .content-section {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .letter-title {
    text-align: center;
  }

  .language-option {
    padding: 15px 10px;
  }

  .header-banner {
    padding: 12px 10px;
  }

  .header-banner span {
    display: block;
    padding: 0 40px;
  }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
  .content-section {
    max-width: 85%;
  }

  .navbar {
    flex-wrap: nowrap;
  }
}


@media screen and (min-width: 769px) {
  .content-section {
    max-width: 70%;
  }

  .navbar {
    flex-wrap: nowrap;
  }
}