body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-image: url("imagenes/fondo.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

header {
  background-color: #000000;
  opacity: 0.8;
  font-size: 24px;
  display: flex;
  align-items: center;
  padding: 50px;
}

.logo img {
  width: 50%;
height: 250;
}

.section-title{
color: #7fba00;
font-size: 30px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 60px;
}

.project-item {
  position: relative;
  overflow: hidden;
}

.project-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

.project-info {
  position: absolute;
  
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(149, 255, 50, 0.452);
  color: #fff;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.project-item:hover .project-info {
  transform: translateY(0);
  opacity: 1;
}

.section {
  padding: 80px 0;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.text {
  text-align: center;
  font-size: 24px;
}

.text h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #7fba00;
}

.text p {
  margin-bottom: 0;
}

.image {
  display: flex;
  flex-basis: 50%;
}

.image img {
  max-width: 60%;
  height: auto;
  margin-right: 40px;
  margin-top: 40px;
  justify-content: center;
  align-items: center;
}


.contact-info {
  text-align: left;
  color: #ffffff;
}

.contact-item {
  margin-bottom: 5px;
}

.contact-label {
  color: #7fba00;
  font-weight: bold;
  text-align: right;
}

nav {
  background-color: #ffffff;
  font-size: 26px;
  padding: 20px 0;
  text-align: center;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: inline;
  margin-right: 10px;
}

nav ul li a {
  color: #000000;
  text-decoration: none;
  padding: 5px;
}

nav ul li.active a {
  color: #7fba00;
  font-weight: bold;
}

.hero {
  background-color: #7fba00;
  color: #fff;
  text-align: center;
  padding: 50px;
  opacity: 0.8;
}

.hero-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-button {
  display: inline-block;
  background-color: #000;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  margin-top: 20px;
}

footer {
  background-color: #000000;
  opacity: 0.8;
  color: #7fba00;
  padding: 40px 0;
}

.container {
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-section {
  flex-basis: 25%;
  margin-bottom: 30px;
}

.footer-section h5 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
}

.back-to-top {
  text-align: right;
  margin-top: 20px;
  margin-right: 20px;
}

.back-to-top a {
  color: #7fba00;
  text-decoration: none;
  font-weight: bold;
}

.back-to-top a:hover {
  text-decoration: underline;
}