body,html{
    width: 100%;
    margin: 0;
}
/* Import font */
body {
  font-family: 'Noto Sans', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #005ca9 0%, #d9001b 100%);
  background-attachment: fixed;
  color: #333;
}

/* Parent container */
.history-container {
  width: 90%;
  margin: 40px auto;
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Main heading */
.history-container h1 {
  text-align: center;
  color: #005ca9;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Introduction paragraph */
.intro {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #222;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Flex container for each pair of divs */
.history-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 2%;
  margin-bottom: 30px;
  text-align: justify;
}

/* Individual history item */
.history-item {
  flex: 1;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-left: 6px solid #005ca9;
  border-top: 4px solid #d9001b;
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.history-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

/* Headings inside each div */
.history-item h2 {
  color: #005ca9;
  font-size: 1.3em;
  margin-bottom: 10px;
  border-bottom: 2px solid #d9001b;
  padding-bottom: 5px;
  text-align: center;
}

/* Images */
.history-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* Paragraphs inside items */
.history-item p {
  font-size: 1em;
  line-height: 1.6;
  color: #333;
  flex-grow: 1;
}

/* Responsive design */
@media (max-width: 900px) {
  .history-row {
    flex-direction: column;
  }

  .history-item {
    width: 100%;
    margin-bottom: 20px;
  }
}
