@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

:root {
  --verde-utsem: #006341;
  --verde-claro: #00A859;
  --gris-oscuro: #2c3350;
  --blanco: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

::selection {
  background: var(--verde-utsem);
  color: var(--blanco);
}

body {
  line-height: 1.6;
  background-color: #f9f9f9;
}

header {
  width: 100%;
  padding-top: 100px;
  padding-bottom: 40px;
  position: relative;
  background-color: var(--blanco);
}

nav {
  background-color: var(--verde-utsem);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  height: 60px;
  width: 120px;
}

.logo img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.menu {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.menu li {
  list-style: none;
}

.menu a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 15px;
  padding: 6px 12px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.menu a:hover {
  background-color: var(--verde-claro);
  box-shadow: 0 0 8px var(--verde-claro);
}

.text-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.text-content .name {
  color: var(--verde-utsem);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
}

.text-content .p {
  color: var(--gris-oscuro);
  font-size: 16px;
  text-align: justify;
  margin-bottom: 20px;
}

.buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.buttons button {
  background-color: transparent;
  border: 2px solid var(--verde-utsem);
  color: var(--verde-utsem);
  padding: 10px 18px;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.buttons button:hover {
  background-color: var(--verde-utsem);
  color: var(--blanco);
  transform: scale(0.97);
}

footer.pie-pagina {
  background-color: var(--verde-utsem);
  color: white;
  padding: 30px 20px;
  font-size: 14px;
}

footer .grupo-1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

footer .box {
  flex: 1 1 250px;
}

footer .box h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

footer .box p,
footer .box a {
  color: #e0e0e0;
  text-decoration: none;
  line-height: 1.6;
}

footer .box a:hover {
  color: var(--verde-claro);
}

footer .grupo-2 {
  text-align: center;
  background-color: #004d2a;
  padding: 15px 10px;
  margin-top: 30px;
  font-size: 13px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .menu a {
    padding: 10px;
    width: 100%;
  }

  .text-content .name {
    font-size: 24px;
  }

  .logo {
    height: 50px;
    width: 100px;
  }
}
