* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background-color: white;
  color: black;
}

.page-container {
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 20px;
  min-height: 220px;
}

.site-title h1 {
  margin: 0;
  font-size: 2.4rem;
}

.site-title h2 {
  margin: 0;
  font-size: 1.7rem;
}

#live-time {
  margin-top: 10px;
  font-size: 0.95rem;
}

.team-card {
  width: 340px;
  background-color: #eeeeee;
  border-radius: 8px;
  padding: 14px;
}

.team-card h2 {
  margin-top: 0;
  margin-bottom: 8px;
}

.team-card p {
  margin-top: 0;
  font-style: italic;
}

.team-card h3 {
  margin-bottom: 4px;
}

.team-card ul {
  margin-top: 0;
  padding-left: 25px;
}

.homework-section {
  margin-bottom: 18px;
}

.homework-section h2 {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.homework-box {
  background-color: #eeeeee;
  border-radius: 7px;
  padding: 10px;
}

.homework-box ul {
  margin: 0;
  padding-left: 25px;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.language-column h3 {
  margin-top: 0;
  margin-bottom: 4px;
  font-size: 1.2rem;
  font-weight: normal;
}

.language-column ul {
  margin: 0;
  padding-left: 25px;
}

footer {
  margin-top: auto;
  text-align: center;
  padding: 35px 0 25px;
}

@media (max-width: 900px) {
  header {
    flex-direction: column;
    gap: 25px;
    min-height: auto;
    padding-bottom: 30px;
  }

  .team-card {
    width: 100%;
  }

  .language-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}