﻿body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #f7f7f7;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header section */
header {
  background-color: #35654d;
  color: white;
  padding: 20px 0;
  text-align: center;
  background-blend-mode: overlay;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

nav {
  background-color: #35654d;
}

.hotbar {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 10px 0;
  gap: 15px;
}

.hotbar li a {
  color: #ecf0f1;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  transition: background-color 0.3s ease;
}

.hotbar li a:hover {
  background-color: #2d5140;
  border-radius: 5px;
}

/* Main content layout */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.image-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-align: center;
}

.image-text img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.image-text p {
  font-size: 1rem;
  color: #555;
}

.image-text .image-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}

.image-text.no-stack .image-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 20px;
}

.image-text.no-stack img {
  flex: 0 0 40%;
  max-width: 40%;
  height: auto;
}

.image-text.no-stack p {
  flex: 0 0 60%;
  font-size: 1rem;
  color: #555;
}

/* Highlight sections */
.highlight-section {
  background-color: #e8f5e9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.highlight-section h2 {
  color: #35654d;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.highlight-section p {
  font-size: 1.1rem;
  color: #333;
}

/* Responsive  */
@media (max-width: 768px) {
  .image-text img {
    max-width: 80%;
  }

  .image-text p {
    font-size: 0.9rem;
  }

  .hotbar {
    flex-direction: column;
    align-items: center;
  }

  header h1 {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .image-text img {
    max-width: 600px;
    height: auto;
  }
  .image-text.no-stack .image-row {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  .image-text.no-stack img {
    flex: 0 0 40%;
    max-width: 40%;
    height: auto;
  }
  .image-text.no-stack p {
    flex: 0 0 50%;
    padding-left: 20px;
  }
  .highlight-section .image-text {
    flex-direction: row;
    align-items: center;
    gap: 30px;
    text-align: left;
  }
  .highlight-section .image-text img {
    max-width: 40%;
    flex: 0 0 40%;
    margin: 0;
  }
  .highlight-section .image-text ul {
    flex: 0 0 60%;
    max-width: 60%;
    margin: 0;
  }
}

@media (max-width: 768px) {
  .image-text.no-stack .image-row {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .image-text.no-stack img,
  .image-text.no-stack p {
    flex: unset;
    max-width: 100%;
    padding-left: 0;
  }
}

/* Footer section */
footer {
  background-color: #35654d;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: auto;
}

/* Faded green class */
.faded-green {
  background-color: #cedcd19e;
  border-radius: 10px;
  padding: 20px;
}

.highlight-section h2, .faded-green h2 {
  color: #5f9648;
}
