/* General styles */
body {
  font-family: 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  margin: 0;
  padding: 0;
  background: #f0f4f8;
  color: #334e68;
  line-height: 1.75;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background: #fff;
  color: #334e68;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 0 2rem;
  width: 100%;
  z-index: 1000;
}

nav {
  width: 100%; /* ensures nav is full width */
  display: flex;
  justify-content: center;
  align-items: center;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 64px;
}

nav ul li {
  margin: 0 20px;
}

nav ul li a {
  text-decoration: none;
  color: #334e68;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a:focus {
  color: #007BFF;
}

.hero-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to right, #5cb87a, #408c60);
  color: #ffffff;
  text-align: center;
  padding: 120px 20px;
  margin-top: 64px;
}

.hero-section h1 {
  font-size: 2.8rem;
}

.hero-section p {
  font-size: 1.2rem;
  max-width: 600px;
}

.button-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.custom-button {
  padding: 10px 25px;
  background-color: #58a4b0;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(50,50,93,0.11), 0 1px 3px rgba(0,0,0,0.08);
  transition: all 0.15s ease;
}

.custom-button:hover {
  background-color: #417d7a;
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(50,50,93,0.1), 0 3px 6px rgba(0,0,0,0.08);
}

.description, .main-content {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  padding: 2rem;
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
}

.description h2, .main-content h1 {
  font-size: 2rem;
  color: #334e68;
}

.description p, .main-content p {
  font-size: 1.1rem;
  color: #627d98;
}

footer {
  background-color: #334e68;
  color: #ffffff;
  text-align: center;
  padding: 1.5rem 0;
  position: relative;
  width: 100%;
  clear: both;
  margin-top: auto; /* pushes the footer to the bottom of the page */
}

.footer-content {
  display: flex;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  padding: 0 1rem;
}

.footer-section h3 {
  margin-bottom: 0.75rem;
}

.footer-section p,
.footer-section ul,
.footer-section li {
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-section ul li a:hover {
  color: #adebeb;
  text-decoration: underline;
}

/* Media Queries for Responsive Layout */
@media (max-width: 768px) {
  .hero-section, .description, .main-content {
      padding: 50px 20px;
      width: 90%;
  }

  nav ul {
      flex-direction: column;
      height: auto;
  }

  nav ul li {
      margin: 10px 0;
  }
}
img {
  max-width: 25%;
  max-height: 25%;
}

.portrait {
  height: 80px;
  width: 30px;
}

.landscape {
  height: 30px;
  width: 80px;
}

.square {
  height: 75px;
  width: 75px;
}