/* General Body Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo img {
  max-width: 25px;
  height: auto;
}

.profile-button {
  text-decoration: none;
  background-color: #0055ff;
  color: white;
  border: none;
  padding: 6px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.profile-button:hover {
  background-color: #0044cc;
  /* Darker shade on hover */
}

.button {
  background-color: #0055ff;
  /* Highlight color */
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #0044cc;
  /* Darker shade on hover */
}

.logged-in #login-button {
  display: none;
}

#logout-button {
  display: none;
}

.logged-in #logout-button {
  display: inline-block
}

#profile-button {
  display: none;
}

.logged-in #profile-button {
  display: inline-block;
}



/* Main Content Styles */
main {
  padding: 20px;
  max-width: 960px;
  margin: 0 auto;
  flex: 1 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 40px 0;
  background-color: #fff;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hero h1 {
  color: #0055ff;
  /* Highlight color */
  font-size: 2em;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1em;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.features {
  display: flex;
  flex-direction: column;
  /* Stack vertically on small screens */
  gap: 20px;
  margin-bottom: 20px;
}

.feature-item {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.feature-item img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
}

.feature-item h3 {
  color: #0055ff;
  /* Highlight color */
  margin-top: 0;
}

/* Success Checkmark Styles */
.center-success-checkmark {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.center-success-checkmark svg {
  color: #22c55e;
}

/* Footer Styles */
footer {
  text-align: center;
  padding: 20px;
  margin-top: 30px;
  background-color: #333;
  color: white;
  font-size: 0.9em;
}

/* Responsive adjustments for larger screens */
@media (min-width: 768px) {
  .features {
    flex-direction: row;
    /* Arrange horizontally on larger screens */
    justify-content: space-around;
  }

  .feature-item {
    flex: 1;
    /* Distribute space evenly */
    max-width: 30%;
    /* Limit width for larger screens */
  }

  .hero h1 {
    font-size: 2.8em;
  }
}
