/* Define CSS Variables for Colors */
:root {
  --color-black: #000000;
  --color-white: #F4F4F9;
  --color-background: #2F4550;
  --color-link: #B8DBD9;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: "Poppins", sans-serif;
  line-height: 2;
  color: var(--color-black);
  background-color: var(--color-background);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* Ensures the body takes up the full viewport height */
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200;
  margin: 0 auto;
  padding: 50px;
  gap: 40px;
  color: #F4F4F9;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  flex: 1;
}

.hero-content p {
  font-size: 1rem;
  flex: 1;
}

.hero-picture {
  max-width: 50%;
  min-width: 25%;
  text-align: center;
}

.hero-picture img {
  width: 100%;
  max-width: 600px;
  /* Increased max-width */
  min-width: 300px;
  /* Increased min-width */
  height: auto;
}

/* Responsive Design */
@media screen and (max-width: 600px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-picture {
    max-width: 100%;
    margin-top: 20px;
    min-width: 200px;
  }

  .hero-picture img {
    width: 80%;
    max-width: 500px;
    margin: 0 auto;
    min-width: 200px;
  }
}

/* Main Content Wrapper */
main {
  flex: 1;
  /* Pushes the footer to the bottom by taking up remaining space */
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  width: 100%;
  background: var(--color-black);
  color: var(--color-white);
  position: relative;
  /* Remove fixed positioning */
}

@media screen and (max-width: 480px) {
  footer {
    bottom: 0;
    left: 0;
    width: 100%;
  }
}

/* Links */
a {
  color: var(--color-link);
  text-decoration: underline;
}

/* Font Weights */
[class^="poppins-"] {
  font-family: "Poppins", serif;
}

.poppins-regular {
  font-weight: 400;
}

.poppins-medium {
  font-weight: 500;
}

.poppins-semibold {
  font-weight: 600;
}

.poppins-bold {
  font-weight: 700;
}