/* Reset and Base Styles */
@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");
:root {
  --primary-color: #fff;
  --secondary-color: #064d47;
  --background-color: #03265e;
  --text-color: #fff;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Raleway", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

p {
  font-size: 1.6rem;
}
/* Header Styles */
header {
  background-color: var(--background-color);
  padding: 1rem 0;
  margin: 0 auto;
}

header nav {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0 0;
}

header nav figure img {
  max-height: 80px;
  max-width: 100%;
}

/* Main Content Styles */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

main section {
  padding: 2rem;
}

main h1 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 3.5rem;
  line-height: normal;
}

main h2 {
  color: var(--primary-color);
  margin-top: 1rem;
  font-size: 1.6rem;
  font-weight: 300;
}
.flexcol {
  margin: 0 auto;
  max-width: 861px;
  width: 90%;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.semibold {
  font-weight: 600;
}
main p {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  font-weight: 300;
}

figure {
  margin: 0;
  padding: 0;
}

figure img {
  width: 100%;
  height: auto;
}

#hero figure {
  max-height: 735px;
  position: relative;
  img {
    width: 100%;
    height: auto;
  }
}
#hero figure::after {
    content: '';
    display: block;
    height: 120px;
    width: 120px;
    background: url(img/verde.png);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    z-index: 8;
    bottom: 0.4rem;
    left: 0;
}
/* Footer Styles */
footer {
  background-color: var(--background-color);
  color: var(--white);
  text-align: center;
  padding: 1rem 0;
}

footer div {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

footer figure img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

footer figure img:hover {
  transform: scale(1.1);
}

footer p {
    font-size: 1.6rem;
}
/* Responsive Design */
@media screen and (min-width: 481px) {
  #hero figure::after {
    content: '';
    height: 120px;
    width: 120px;
  }
  }
@media screen and (min-width: 769px) {
  main section {
    padding: 1rem;
  }

  main h1 {
    font-size: 2rem;
  }

  main h2 {
    font-size: 1.2rem;
  }
  footer div {
    flex-flow: column;
  }
  header nav figure {
    max-width: 80%;
}
#hero figure::after {
  content: '';
  height: 200px;
  width: 200px;
}
}
@media screen and (min-width: 961px) {
  #hero figure::after {
    content: '';
    height: 300px;
    width: 300px;
}
}
/* Accessibility Enhancements */
a:focus,
button:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
}
