@import 'https://fonts.googleapis.com/css?family=Rajdhani:700';


/*no me acuerdo de que era revisar para despues xd */
.css-typing p {
    border-right: .15em solid white;
    white-space: nowrap;
    overflow: hidden;
}

.css-typing p:nth-child(1) {
    width: 37em;
    -webkit-animation: type 3s steps(40, end), blink .3s step-end infinite alternate;
    animation: type 3s steps(40, end), blink .3s step-end infinite alternate;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}


@keyframes type {
    0% {
        width: 0;
    }

    1% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes type {
    0% {
        width: 0;
    }

    1% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

@-webkit-keyframes blink {
    50% {
        border-color: transparent;
    }
}

/*no me acuerdo de que era revisar para despues xd */


@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    50% {
        border-right: 2px solid transparent;
    }
}

.typewriter {
    font-family: "Avenir Next" !important;
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    /* Elimina el margen superior e inferior */
    letter-spacing: 0.1em;
    text-align: justify;
    /* Esto justificará el texto si tiene más de una línea */
    max-width: 100%;
    /* Ajusta el ancho máximo para que se ajuste al tamaño de la pantalla */
}



#text {
    display: inline-block;
    white-space: normal;
    overflow: hidden;
    font-size: 17px;
    color: #000000;
    font-weight: bold;
    /* Añadir esta línea para hacer la letra más gruesa */
    mx
}


/* Media queries para dispositivos móviles */
@media only screen and (max-width: 600px) {
    .typewriter {
        font-size: 10px !important;
        /* Ajusta el tamaño de fuente para dispositivos móviles */
        width: 15rem !important;
    }

    #text {
        font-size: 8px;
        /* Ajusta el tamaño de fuente para dispositivos móviles */
    }
}










@keyframes background {
    from {
        background-position: 0 0%;
    }

    to {
        background-position: 0 -200px;
    }
}

/*  h1 {
        
        font-family: "Myriad Pro"!important;
        background: url(https://static.vecteezy.com/system/resources/thumbnails/022/976/140/small/blue-wave-modern-background-free-photo.jpg) repeat;
        background-size: 200px auto;
        -webkit-text-fill-color: transparent;
        -webkit-background-clip: text;
        animation: background 10s infinite linear;
    }*/











.info-boxes-container {
    background: linear-gradient(135deg, #1D70BA 100%, #1D70BA 100%);
    padding: 40px 0;
}

.info-box {
    background-color: #458fd0;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: white;
    display: flex;
    align-items: center;
    padding: 30px;
    margin: 20px auto;
    max-width: 800px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.info-box i {
    font-size: 40px;
    margin-right: 20px;
    color: rgb(255, 255, 255);
}

.info-box-content {
    flex-grow: 1;
}

.info-box h4 {
    font-size: 24px;
    margin: 0;
    display: flex;
    align-items: center;
}

.info-box h4 i {
    margin-left: 10px;
    font-size: 25px;
    color: #f3f8f8;
}

.about-text {
    font-size: 14px;
    /*color: white;*/
    text-align: justify;
    margin: 15px 0;
}

.info-box a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.info-box a:hover {
    color: #fff;
    text-decoration: underline;
}

.info-box a i {
    margin-left: 5px;
    font-size: 15px;
}

.signature {
    font-size: 14px;
    font-family: "Avenir Next" !important;
    /* Cambia la fuente a Arial */
    font-style: italic;
    /* Hace que el texto sea cursivo */
    color: #ffffff;
    margin-top: 20px;
}

































/* ==== Estilos generales ==== */
.partners-container {
    padding: 10px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

/* ==== Círculos de partners ==== */
.partner {
    text-align: center;
    border-radius: 50%;
    overflow: hidden;
    width: 205px;
    height: 205px;
    margin: 0 auto;
    position: relative;
    background: linear-gradient(135deg, #1D70BA, #ffffff);
    padding: 5px; /* espacio para borde degradado */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.partner:hover {
    transform: scale(1.07) rotate(9deg);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

/* ==== Imagen dentro del círculo ==== */
.zoom-effect {
    border-radius: 50%;
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: relative;
}

.zoom-effect img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.partner:hover .zoom-effect img {
    transform: scale(1.15);
}

.zoom-effect::before {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    pointer-events: none;
}

/* ==== Texto fijo en la parte inferior ==== */
.texto-home {
    position: absolute;
    bottom: 0;
    width: 90%;
    padding: 6px 5px;
    background: rgba(29, 112, 186, 0.85);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

/* ==== Efecto de texto sobre la imagen al pasar el mouse ==== */
.zoom-effect::after {
    content: attr(data-hover-text);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    padding: 15px;
    border-radius: 9px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    white-space: pre-line;
    text-align: center;
    width: 90%;
}

.zoom-effect:hover::after {
    opacity: 1;
}

/* ==== Responsive ==== */
@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .partners-grid {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
        margin-bottom: -10px;
    }

    .partner {
        flex: 0 0 auto;
        scroll-snap-align: start;
        display: inline-block;
        margin: 0 10px;
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }

    .partner {
        width: 150px;
        height: 150px;
        margin: 0 5px;
    }

    .texto-home {
        font-size: 12px;
        padding: 4px;
    }
}

@media (max-width: 767px) {
    .partners-grid {
        justify-content: flex-start;
    }
}
