@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600&display=swap');

/********** Template CSS **********/
:root {
    --primary: rgb(234, 166, 54);
    --secondary: #545454;
    --light: #FDF5EB;
    --dark: #1E1916;
    /*My variable*/
    --white: #FFFFFF;
    --blue: #333A88;
    --gray-light: #d2d1d1;
    --gray: rgb(160, 160, 160);
    --gray-transparent: rgba(160, 160, 160, 0.6);
    --blue-clr: #115ec6;
    --yellow: #FFD700;
    --bg-gray: rgba(104, 104, 104, 0.6);
    --primary-shadow: rgba(234, 166, 54, 0.5);
    --shadow-black: rgba(17, 17, 17, 0.5);
    --tipografy: 'Nunito';
}

* {
    font-family: var(--tipografy);
    font-size: 500;
}

html {
    width: 100vw;
    height: auto;
}

body {
    overflow: hidden;
    height: 0%;
}

/*CLASS PERSONALITY*/
.bg-blue {
    background-color: var(--blue);
}

.bg-white {
    background-color: var(--white);
}

.nav-blue {
    background-color: var(--blue);
}

.text-white {
    color: var(--white);
}

.text-dark {
    color: var(--dark);
}

.text-primary {
    color: var(--primary);
}

.text-justify {
    text-align: justify;
}

.header-title-carousel {
    font-size: 2em;
}

.follow-links {
    color: var(--dark);
    background-color: var(--white);
}

.follow-links:hover {
    color: var(--white);
    background-color: var(--blue);
}

.content-info {
    transition: transform 0.5s ease-in-out 0s;
}

.spn {
    width: 100%;
    height: 0%;
    background-color: var(--bg-gray);
    position: absolute;
    z-index: 10;
    transition: height 0.3s ease-out 0s;
    overflow: hidden;
}

.content-info:hover {
    transform: translate(0px, 20px);
}

.content-info:hover .spn {
    height: 100%;
}

/*
TAMAÑO DE LAS CARDS DEL CARRUCEL DE BOOSTRAP
*/
.cards-carrousel {
    width: 90%;
    height: auto;
    /* background-color: var(--light) ; */
}

.btn-carousel-next {
    display: inline-block;
    font-size: 2.5rem;
    position: absolute;
    z-index: 4;
    top: 50%;
    right: 0px;
    background-color: var(--primary);
    border-radius: 30%;
}

.btn-carousel-prev {
    display: inline-block;
    font-size: 2.5rem;
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 0px;
    background-color: var(--primary);
    border-radius: 30%;
}

.btn-carousel-next i {
    font-size: 2.5rem;
    color: var(--light);
}

.btn-carousel-prev i {
    font-size: 2.5rem;
    color: var(--light);
}

.btn-carousel-next:active {
    box-shadow: 0px 0px 0px 6px var(--primary-shadow);
}

.btn-carousel-prev:active {
    box-shadow: 0px 0px 0px 6px var(--primary-shadow);
}

.img-size {
    height: 80%;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: 600 !important;
    font-family: var(--tipografy);
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 35px 15px;
    color: var(--light);
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.fixed-top {
    transition: .5s;
}

/* Boton Menu  */
.navbar-toggler>.navbar-toggler-icon {
    position: relative;
}

.navbar-toggler-icon span:nth-child(1) {
    position: absolute;
    width: 150%;
    height: 10%;
    left: 50%;
    top: 50%;
    background-color: var(--light);
    transform: translate(-50%, 10px);
    border-radius: 15px;
    transition: transform 0.2s ease-in;
    box-shadow: 0px 2px 1px 0px var(--shadow-black);
}

.navbar-toggler-icon span:nth-child(2) {
    position: absolute;
    width: 150%;
    height: 10%;
    left: 50%;
    top: 50%;
    background-color: var(--light);
    transform: translate(-50%, -50%);
    border-radius: 15px;
    transition: width 0.2s ease-in;
    box-shadow: 0px 2px 1px 0px var(--shadow-black);
}

.navbar-toggler-icon span:nth-child(3) {
    position: absolute;
    width: 150%;
    height: 10%;
    left: 50%;
    top: 50%;
    background-color: var(--light);
    transform: translate(-50%, -14px);
    border-radius: 15px;
    transition: transform 0.2s ease-in;
    box-shadow: 0px 2px 1px 0px var(--shadow-black);
}

/* end style button menu */

.navbar-nav a {
    font-family: var(--tipografy);
}

.navbar a.navbar-brand img {
    aspect-ratio: 2/1.3;
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, .3);
        background: var(--dark);
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel .owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 600px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-nav {
    position: relative;
    width: 80px;
    height: 80px;
    margin: -40px auto 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-carousel .owl-nav::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transform: rotate(45deg);
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: relative;
    font-size: 40px;
    color: var(--primary);
    transition: .5s;
    z-index: 1;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.page-header {
    margin-bottom: 6rem;
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--light);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #111111;
}

.copyright a {
    color: var(--primary);
}

.copyright a:hover {
    color: var(--light);
}

/* 
*******Diplomados******
 */
.container-cards-graduates {
    display: flex;
    flex-flow: row wrap;
    align-content: center;
    justify-content: center;
    gap: 18px;
}

.card-graduates {
    position: relative;
    width: 100%;
    height: auto;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-graduates .imgBx-graduates {
    position: relative;
    width: 100%;
    height: 240px;
    border-radius: 15px;
    margin-bottom: 10px;
}

.card-graduates .imgBx-graduates img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    object-fit: cover;
}

.card-graduates .imgBx-graduates::before {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 20px;
    height: 20px;
    background: transparent;
    border-radius: 50%;
    box-shadow: -10px 10px 0 var(--white);
}

.card-graduates .imgBx-graduates::after {
    content: '';
    position: absolute;
    bottom: 70px;
    left: 0%;
    width: 20px;
    height: 20px;
    background: transparent;
    border-radius: 50%;
    box-shadow: -10px 10px 0 var(--white);
}

.card-graduates .content-graduates {
    position: relative;
    width: 100%;
    height: auto;
    background: var(--blue);
    border-radius: 15px;
    border-top-left-radius: 0px;
    padding: 6px 12px;
}

.card-graduates .content-graduates .title {
    position: absolute;
    top: -80px;
    left: 0px;
    height: 80px;
    width: 50%;
    background: var(--blue);
    border-top: 10px solid var(--white);
    border-right: 10px solid var(--white);
    border-top-right-radius: 25px;
}

.card-graduates .content-graduates .title::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background: transparent;
    border-radius: 50%;
    box-shadow: -10px -10px 0 var(--white);
}

.card-graduates .content-graduates .title::after {
    content: '';
    position: absolute;
    bottom: 0px;
    right: -25px;
    width: 25px;
    height: 25px;
    background: transparent;
    border-radius: 50%;
    box-shadow: -10px 10px 0 var(--blue);
}

.card-graduates .content-graduates .title h3 {
    display: block;
    background: var(--white);
    border-radius: 6px;
    margin: 12px;
    text-align: center;
}

.card-graduates .content-graduates ul {
    list-style: none;
    color: var(--white);
}

@media screen and (min-width: 480px) {
    .card-graduates {
        width: 80%;
    }
}

@media screen and (min-width: 640px) {
    .card-graduates {
        width: 40%;
    }
}