﻿
:root {
    --bs-primary-rgb: 30,67,150;
    --bs-primary: #1e4296;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #1e4296;
    --bs-btn-border-color: #1e4296;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0b5ed7;
    --bs-btn-hover-border-color: #0a58ca;
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0a58ca;
    --bs-btn-active-border-color: #0a53be;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #1e4296;
    --bs-btn-disabled-border-color: #1e4296;
}

.btn-outline-primary {
    --bs-btn-color: #1e4296;
    --bs-btn-bg: #fff;
    --bs-btn-border-color: #1e4296;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #1e4296;
    --bs-btn-hover-border-color: #1e4296;
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #1e4296;
    --bs-btn-active-border-color: #1e4296;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #f0f0f0;
    --bs-btn-disabled-border-color: #1e4296;
}

.nav {
    padding: 0;
}

.cuerpo {
    display: none;
}

.btn {
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    padding-top: 88px;
    overflow-x: hidden;
}

p {
    text-align: start;
}

.home-title {
    color: #1d1d1d;
    font-size: 36px;
}


.noticia {
    height: 400px;
    overflow: hidden;
}
.noticia::after {
    content: " ";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,255));
    width: 100%;
    height: 50px;
}
.noticia img {
    height: 150px;
    object-fit: cover;
    object-position: top;
}
#carouselHome .carousel-item {
    height: 40vw;
}

.bannerText {
    color: #000;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 5%;
    width: auto;
    max-width: 45%;
    padding: 32px;
    border-radius: 16px;
    background: rgba(255,255,255,0.8);
    --background: linear-gradient(to right, rgba(var(--bs-primary-rgb), 1) 0%, rgba(var(--bs-primary-rgb), 0.8) 50%, rgba(var(--bs-primary-rgb), 0) 70%);
}
.img-banner-home {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.carousel-control-next, .carousel-control-prev {
    width: 5%;
}
#carouselHome .btn {
    border-radius: 56px;
    font-weight: normal;
    border: solid 1px #888;
}
.carousel-control-next, .carousel-control-prev, .carousel-indicators {
    display: none;
}
.carousel:hover .carousel-control-next, .carousel:hover .carousel-control-prev, .carousel:hover .carousel-indicators {
    display: flex;
}
.carousel-indicators {
    margin-bottom: 0;
}
.img-testimonio {
    height: 350px;
    width: 100%;
    object-fit: cover;
}
#carouselTestimonios .testimonio {
    position: relative;
    margin-bottom: 1.5rem;
}
.testimonio .texto {
    padding: 16px 16px 16px 42px;
    border-left: solid 5px black;
    width: 500px;
    max-width: 100%;
}

.practicas {
    padding: 0;
    position: relative;
    height: 800px;
}
.practicas .home-title {
    text-align: center;
    background: rgba(255,255,255,0.7);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    border-radius: 8px;
    padding: 8px;
    z-index: 1;
}
.practicas .contador {
    position: relative;
    font-size: 2em;
    border-bottom: solid 1px #aaa;
}
.practicas .contador:after {
    content: " ";
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom: solid 2px #000;
    width: 16px;
    height: 5px;
}
.practicas .page-empresas {
    height: 240px;
}
.practicas-textos {
    background: rgba(255,255,255,0.8);
    padding: 3rem;
    padding-top: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#empresas-carousel {
    cursor: default;
}
.grid-empresas {
    display: grid;
    margin: auto;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    padding: 0 16px;
}
.empresa {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    padding: 8px;
}
    .empresa img {
        width: 100%;
        max-width: 200px;
        max-height: 120px;
    }
    .services {
        background-color: #ffffff;
    }

    .services .post {
        background-color: transparent;
        margin: 0 0 15px;
        padding: 30px 20px 30px;
        border-radius: 3px;
        transition: 0.3s;
    }

.services .post:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.1);
    background-color: #fff;
    -webkit-transform: translateY(-7px);
    -ms-transform: translateY(-7px);
    transform: translateY(-7px);
    -webkit-box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.1);
}

    }

    .services .post-thumbnail {
        position: relative;
        text-align: center;
        margin: 0 auto 1.875rem;
    }

        .services .post-thumbnail img {
            width: 150px;
            max-width: 100%;
        }

        .services .post-thumbnail a {
            position: relative;
            z-index: 1;
        }

    .services .entry-header {
        display: block;
        margin: 0 0 15px;
        padding: 0;
    }

    .services .entry-header .entry-title {
        margin: 0;
        font-weight: 600;
        font-size: 16px;
    }

    .services p {
        margin: 0;
        text-align: center;
        font-size: 14px;
    }

.izquierdo {
    background: transparent;
    padding: 50px 0;
}
.izquierdo .texto {
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 32px;
    width: 500px;
    max-width: 100%;
    border-radius: 16px;
}
.oferta .card {
    transition: 0.3s ease-out;
}

.oferta .card:hover {
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}
.oferta .card .card-title {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 16px;
}
.colorInf {
    background-color: #fde7fe;
    color: #787676;
}
.colorAdm {
    background-color: #e9efaf;
    color: #787676;
}
.colorMPU {
    background-color: #daf4f8;
    color: #787676;
}
.oferta ul
{
    font-size: 14px;
    min-height: 4em;
    padding-left: 25px;
    margin-bottom: 16px;
}

@media (max-width: 820px) {
    #carouselHome .carousel-item {
        height: 60vw;
    }

    .bannerText {
        max-width: 90%;
    }

    #carouselHome .btn {
        border-radius: 34px;
        padding: 10px 16px;
        font-size: 14px;
        line-height: 14px;
    }

    .carousel-control-next, .carousel-control-prev, .carousel-indicators {
        display: flex;
    }

    .testimonio {
        height: auto;
    }
    .testimonio .texto {
        border: none;
        padding: 16px;
    }

    .practicas {
        height: 550px;
    }

    .practicas-textos {
        background: rgba(255,255,255,0.8);
        padding:16px;
        justify-content: end;
    }
    .practicas-imagen {
        position: absolute;
        top:0;
        bottom:0;
        left:0;
        right: 0;
        z-index:-1;
    }
    .practicas .home-title {
        background: transparent;
        margin: 0;
        left: 0;
        top: 0;
        right: 0;
        transform: none;
        border-radius: 0;
        width: 100%;
    }

    .grid-empresas {
        gap: 20px;
    }
    .empresa {
        width: 150px;
        height: 100px;
    }

}

@keyframes reveal-scale {
    from {
        opacity: 0;
        transform: scale(0);
    }

    to {
    }
}

@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(300px);
    }

    to {
    }
}

@keyframes reveal-left {
    from {
        opacity: 0;
        transform: translateX(-300px);
    }

    to {
    }
}

@keyframes reveal-right {
    from {
        opacity: 0;
        transform: translateX(300px);
    }

    to {
    }
}

.reveal-up {
    animation: reveal-up ease-in forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
}
.reveal-left {
    animation: reveal-left ease-out forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
}
.reveal-right {
    animation: reveal-right ease-out forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
}

.reveal-scale {
    animation: reveal-scale ease-out forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
}

@media (max-width: 820px) {
    .reveal-up, .reveal-left, .reveal-right {
        animation: reveal-up linear forwards;
        animation-timeline: view();
        animation-range: entry 0% cover 25%;
    }
}

.funfact {
    color: #fff;
    padding: 80px 0;
    background: url(/img/home/portal.jpg);
    background-size:cover;
    background-position: center;
}
.funfact .home-title {
    color: #fff;
}


.funfact-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
}
.funfact-inner {
    background: rgba(255,255,255,0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 48px 0;
    width: 250px;
    gap: 20px;
}
.funfact-inner .num {
    font-size: 90px;
    line-height: 90px;
}
.funfact-inner hr {
    background: #fff;
    opacity: 1;
    width: 80px;
    height: 3px;
    margin: auto;
}
.funfact-inner .text {
    text-align: center;
    font-size: 22px;

}

@media (max-width: 820px) {
    .funfact-list {
        flex-direction:column;
        align-items: center;
    }
}