/* Base styling for the entire page */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: light;
  margin: 0;
  padding: 0;
  background-color: #bcceda;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100vw;
  box-sizing: border-box;
}

/* Container styling */
.container {
  flex: 1;
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
}

/* Jumbotron styling */
.jumbotron {
  background-color: #eedfcc;
  color: black;
  padding: 2rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
  width: 100%;
  box-sizing: border-box;
}

/* Header styling */
.header-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
  width: 100%;
}

/* Logo link */
.logo-placeholder {
  width: 80px;
  height: 80px;
  background-color: #ddd;
  border: 1px solid #bbb;
  border-radius: 45px;
  flex-shrink: 0;
}

/* Large heading styling */
.display-4 {
  font-size: clamp(1.2rem, 5vw + 1rem, 2.8rem); /* Flexible font size */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 150;
  margin: 0;
  flex-grow: 1;
  text-align: left;
  white-space: normal;
  overflow-wrap: break-word;
  margin-top: 1.5rem; /* Set top margin to 1.5rem */
}

/* Lead paragraph styling */
.lead {
  font-size: min(1.5rem, 90%); /* Ensures font size remains smaller than display-4 */
  font-size: clamp(1rem, 4vw, 1.4rem); /* Adjusts to remain proportionally smaller on mobile */
}

/* Responsive Footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #fff5ee;
  font-size: 0.9rem;
  color: #333;
  width: 100%;
  box-sizing: border-box;
  margin-top: auto;
}

.footer-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Footer copyright and flags arrangement */
.footer-links {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-links img {
  width: 24px;
  height: auto;
  vertical-align: middle;
}

/* Media Queries */
@media (max-width: 576px) { /* For mobile and smaller devices */
  .header-container {
    gap: 0.5rem;
  }
  .display-4 {
    font-size: clamp(1.1rem, 4vw, 2.2rem); /* Smaller range for mobile screens */
    text-align: center;
    margin-top: 1.5rem; /* Ensure top margin remains consistent */
  }
  .lead {
    font-size: calc(var(--display-4-font-size) - 0.2rem); /* Dynamically smaller than display-4 */
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links {
    justify-content: flex-start;
    gap: 0.5rem;
  }
}
