

/* ============================= */
/* HOSTING TECH */
/* ============================= */

.hosting-tech {
    position: relative;
    padding: 5em 2em;
    text-align: center;
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-title {
    font-size: 2rem;
    color: var(--color-primario);
    margin-bottom: 0.5em;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-primario);
    margin-bottom: 3em;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 auto;
    gap: 2em; /* Espaciado entre los elementos de la grilla */
}

/* Contenedor de cada plan */
.tech-item {
    color: var(--color-terciario);
    background-color: var(--color-segundario);
    justify-items: center;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 18em;
    height: 12em;
    margin-bottom: 2em;
    border-radius: 1em;
    text-decoration: none;
    opacity: 0;
    animation: aparecer 1s ease-out forwards;
    transition: transform 0.4s ease, 0.4s ease, box-shadow 0.4s ease;
}

/* Efecto de hover con crecimiento fluido */
.tech-item:hover {
    background: var(--color-primario);
    color: var(--color-segundario);
    box-shadow: 0 0 20px rgba(0, 115, 230, 0.6);
    transform: scale(1.1); /* Crecimiento suave */
}

.tech-item img {
    width: 100px;
    border-radius: 1em;
    margin: auto;
    margin-bottom: 15px;
}

.tech-item h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.tech-item p {
    font-size: 1rem;
    color: var(--secondary-color);
    max-width: 250px;
}

@keyframes slide-up {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Animación para el título y subtítulo */
.section-title, .section-subtitle {
    animation: slide-up 1s ease-out forwards;
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
}