.inicio {
    background-image: url('../../images/hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    color: white;
    position: relative;
    overflow: hidden;
}

.inicio::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    animation: fadeBackground 1.5s ease-in-out forwards;
}

.inicio img {
    max-height: 90%;
    object-fit: contain;
    transform: translateY(30px);
    width: 100%;
    z-index: 2;
    animation: fadeIn 1.5s ease-in-out;
}

.contacto-div {
    padding-top: 20px;
    width: 50%;
    z-index: 1000;
}

.redes-sociales {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}
  
  .red-social-link {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--gris-texto);
    flex-direction: column;
    transition: var(--transicion);
    text-decoration: none;

  }
  
  .red-social-link i {
    font-size: 2rem;
    color: var(--gris);
    transition: var(--transicion);
  }
  
  .red-social-link:hover {
    color: var(--verde-principal);
  }
  
  .red-social-link:hover i {
    transform: scale(1.2);
  }

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(0px);
    }
    100% {
        opacity: 1;
        transform: translateY(30px);
    }
}

@keyframes fadeBackground {
    0% {
        background: rgba(0, 0, 0, 0);
    }
    100% {
        background: rgba(0, 0, 0, 0.5);
    }
}
@media (max-width: 768px) {
    .inicio {
        background-image: url('../../images/hero_min.jpg');
    }
    .contacto-div {
        padding-top: 50px;
        width: 100%;
        z-index: 1000;
    }
}
