@font-face {
    font-family: "Lato";
    src: url("./fonts/Lato-Regular.ttf") format("opentype");
    font-weight: 400;
}

@font-face {
    font-family: "Lato";
    src: url("./fonts/Lato-Bold.ttf") format("opentype");
    font-weight: 700;
}

@font-face {
    font-family: "Lato";
    src: url("./fonts/Lato-Black.ttf") format("opentype");
    font-weight: 900;
}

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Lato';
}

/*Utiles*/

.text-wrap {
    white-space: normal !important;
    word-wrap: break-word;
    word-break: break-word;
}

.imagen-fondo, .video-fondo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    -o-object-fit: cover;
        object-fit: cover;
    width: 100%;
    height: 100%;
    filter: brightness(0.7);
}

.video-fondo {
    -o-object-fit: contain;
        object-fit: contain;
    background: black;
}

.end-x {
    display: flex;
    align-items: center;
    justify-content: end;
}

/*Botones*/
.btn-base {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #048988;
    color: #fff !important;
    padding: 5px 60px;
    font-weight: 600;
    border-radius: 10px;
    font-size: 24px;
    transition: all 0.5s ease;
    cursor: pointer;
    margin-top: 40px;
    text-decoration: none !important;
}

.btn-base:hover {
    background-color: #046363;
    text-decoration: none;
}

/*Footer*/
footer{
    padding: 75px 0;
    background-color: #324877;
    color: #fff;
}
.logo-footer{
    width: 180px;
    max-width: 100%;
}
#footer-social{
    margin-top: 100px;
}
.social-icon{
    display: inline-block;
    position: relative;
    padding: 0 5px;
}
.footer-row{
    margin-bottom: 20px;
    font-size: 18px;
}
.footer-row:last-child{
    margin-bottom: 0;
}
.footer-row img{
    margin: auto;
}
.footer-row a{
    color: #fff;
}
.footer-row a:hover{
    color: #fff;
}
#sgs{
    margin: 40px auto 0 auto;
}

/*Main*/

.portada-section {
    margin-top: 50px;
}

.portada-section h1 {
    font-weight: 700;
    font-size: 48px !important;
    color: #fff;
    max-width: 650px;
    margin-bottom: 24px;
    text-shadow: 0 3px 10px rgba(0,0,0,0.6);
}

.portada-section .contenedor p {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    max-width: 650px;
    text-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.portada-section .col-xs-12 .imagen-fondo {
    object-position: left;
    display: none;
}

.contenedor {
    position: relative;
    padding: 40px 60px;
    margin-bottom: 24px;
}

.logo-portada {
    margin-top: 60px;
    display: flex;
    justify-content: end;
    align-items: center;
}

.logo-portada img {
    filter: drop-shadow( 1px 1px 10px rgba(0,0,0,0.5));
}

.links {
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.links .atras img {
    width: 40px;
    filter: drop-shadow( 1px 1px 10px rgba(0,0,0,0.5));
}

.redes {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.redes a {
    background-color:#048988;
    border-radius: 50%;
    height: 35px;
    width: 35px;
    flex-shrink: 0;
    margin-inline: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.redes a:hover {
    background-color: #046363;
    margin-top: -5px;
}

.cita {
    position: relative;
    padding: 40px 30px;
    margin-bottom: 50px;
}

.cita p {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    max-width: 650px;
    text-shadow: 0 6px 18px rgba(0,0,0,0.35);
    margin: 16px 0;
}

.comilla {
    width: 40px;
    height: 30px;
}

.autor {
    display: flex;
    align-items: center;
    justify-content: start;
    margin-top: 32px;
}

.ct-perfil {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
}

.ct-perfil img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.autor .nombre {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0px;
}

.autor .cargo {
    font-size: 16px;
    color: #fff;
}

.valores-section {
    margin-bottom: 50px;
}

.valores-section h2 {
    font-weight: 900;
    font-size: 48px;
    color: #41748d;
    position: relative;
    display: inline-flex;
    padding-bottom: 12px;
}

.valores-section h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80%;
    height: 2px;
    background-color: #f8af00;
}

.valores-section h3 {
    color: #41748d;
    margin-top: 12px;
    margin-bottom: 24px;
}

.valores-section img {
    max-width: 50%;
}

.valores {
    display: flex;
    align-items: center;
    justify-content: center;
}

.valores .info {
    background-color: #13426b;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    font-size: 18px;
    height: 380px;
}

.valores .info span {
    font-weight: 700;
}

.valores .info p {
    margin-bottom: 16px;
    font-weight: 400;
}

.mfp-close {
    background-color: transparent !important;
    margin-top: 30px !important;
    margin-left: 10px !important;
    
}

@media (max-width: 1200px) {
    .valores .info {
        height: 300px;
    }
    
}

@media screen and (max-width: 992px) {
    .logo-footer{
        margin: auto;
    }
    #footer-social{
        text-align: center;
        margin-top: 40px;
        margin-bottom: 50px;
    }

    .valores-section img {
        max-width: 100%;
    }

    .valores {
        flex-direction: column;
    }

    .valores .info {
        height: auto;
    }

    .portada-section h1 {
        font-size: 36px !important;
        margin-bottom: 24px;
    }

    .portada-section .contenedor p {
        color: #fff;
        font-size: 22px;
    }

    .btn-base {
        margin-top: 20px;
    }

}

@media screen and (max-width: 768px) {
    #footer-social{
        padding: 0;
    }
    #footer-social .col-xs-6{
        padding: 0;
    }

    .valores .info {
        padding: 30px 20px;
    }

    .links {
        margin-bottom: 30px;
    }

    .contenedor {
        padding: 30px 20px;
        margin-bottom: 24px;
    }

}

@media (max-width: 576px) {

    .portada-section h1 {
        font-size: 30px !important;
    }

    .portada-section p {
        font-size: 16px !important;
    }

    .btn-base {
        font-size: 18px;
        padding-inline: 30px;
    }

    .redes a {
        height: 30px;
        width: 30px;
    }

    .logo-portada {
        margin-top: 30px;
    }

    .logo-portada img {
        width: 120px;
    }

    .valores-section h2 {
        font-size: 42px;
    }

    .portada-section .video-fondo {
        display: none;
    }

    .portada-section .col-xs-12 .imagen-fondo {
        display: flex;
    }

}