/* Base styles
---------------------------------------- */
html {
  font-size: 16px;
}

body {
  font-family: "Libre Baskerville", "Times New Roman", Times, serif;
  font-size: 1.125rem;
  line-height: 1.8;
  color: #333;
  max-width: 42.5rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 1.75rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography
  ---------------------------------------- */
p {
  margin-top: 0;
  padding-top: 0;
}

h2 {
  font-size: 1.4rem;
  text-align: left;
  padding-bottom: 0;
  margin-bottom: 0.5rem;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

li {
  margin-bottom: 0.5rem;
}

.logo {
  position: relative;
  font-weight: bold;
  line-height: 1;
  margin: 0;
  padding: 0 0 0.5rem;
}

.logo::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #333;
}

/* Buttons
  ---------------------------------------- */
.btn {
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 4px;
}

.btn:hover {
  text-decoration: none;
}

.btn.success {
  background-color: #4caf50;
}
.btn.success:hover {
  background-color: #45a049;
}

.btn.delete {
  background-color: #dc3545;
}
.btn.delete:hover {
  background-color: #c82333;
}

/* Navigation
  ---------------------------------------- */
.nav-container {
  margin: 1.5rem 0 0;
  padding-bottom: 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-content > .logo {
  font-size: 1.8rem;
}

.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  line-height: 1;
  margin: 0;
  padding: 0 0 0.5rem;
}

.nav-list li {
  margin-bottom: 0;
}

.nav-list li a {
  color: #333;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-list li a:hover {
  color: #007bff;
}

/* Content sections
  ---------------------------------------- */
section {
  margin: 3.5rem 0;
  /* padding: 2.5rem 0; */
}

/* Add new separator style */
/* section:not(:first-of-type)::before {
  content: "⋆ ⋆ ⋆";
  display: block;
  text-align: center;
  font-size: 1.5rem;
  padding-bottom: 2.5rem;
  color: #ccc;
} */

/* Footer
  ---------------------------------------- */
.footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
}

.footer p {
  margin: 0;
}

.footer a {
  text-decoration: underline;
  font-size: 0.75rem;
}

.footer a:hover {
  color: #007bff;
}

.footer-logo {
  width: 2rem; /* 20px at default font size */
  height: 2rem;
  margin-bottom: 0.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Media queries
  ---------------------------------------- */
@media (max-width: 37.5rem) {
  html {
    font-size: 14px;
  }

  body {
    padding: 1rem;
  }

  .nav-content {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .nav-title {
    font-size: 1.6rem;
  }

  .nav-list {
    gap: 1rem;
  }

  h2 {
    font-size: 1.6rem;
  }
}

a.try-now-button {
  color: #000;
  display: inline-block;
  border: 1px solid #000;
  padding: 4px 8px;
  text-decoration: none;
  border-radius: 2px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

a.try-now-button:hover {
  color: #000;
}
