:root {
    /* Colors: */
    --medex-primary: #005487;
    --medex-secondary: #238DC1;
    --medex-light: #6BC4E8;
    --medex-light-2: #F0F4F7;

    --ipade-primary: #0A2240;
    --ipade-secondary: #002D74;
    --ipade-light: #ABC8E7;

    --cont-primary: #005f61;
    --cont-secondary: #008c95;
    --cont-light: #b1e4e3;

    --white: #fff;
    --black: #000;
    --gray: #393939;
    --gray-light: #F2F2F2;

    --font-dm: "DM Sans", "Verdana", Arial, Helvetica, sans-serif;
    --font-signika: "Signika", "DM Sans", Arial, Helvetica, sans-serif;

    --p: clamp(1rem, 0.8667rem + 0.2153vw, 1.125rem);
}

/* General */
html, body {
    margin: 0;
    padding: 0;
    /* font-family: var(--font-dm); */
    font-family: var(--font-signika);
    font-size: 16px;
    font-weight: 400;
    color: var(--gray);
    background-color: var(--white);
}
.rounded {
    border-radius: 20px!important;
}
/* Background */
.bg-ipade-primary {
    background-color: var(--ipade-primary);
}
.bg-ipade-secondary {
    background-color: var(--ipade-secondary);
}
.bg-medex-primary {
    background-color: var(--medex-primary);
}
.bg-medex-secondary {
    background-color: var(--medex-secondary);
}
.bg-medex-light-2 {
    background-color: var(--medex-light-2);
}
.bg-medex-light {
    background-color: var(--medex-light);
}
.bg-cont-primary {
    background-color: var(--cont-primary);
}
.bg-cont-secondary {
    background-color: var(--cont-secondary);
}
.bg-cont-light {
    background-color: var(--cont-light);
}
.bg-cont-light-2 {
    background-color: #f0f4f7;
}
.bg-graylight {
    background-color: var(--gray-light);
}
/* Colors */
.color-medex-secondary {
    color: var(--medex-secondary);
}
.color-medex-primary {
    color: var(--medex-primary);
}
.color-medex-light {
    color: var(--medex-light);
}
.color-cont-primary {
    color: var(--cont-primary);
}
.color-cont-secondary {
    color: var(--cont-secondary);
}
/* Buttons */
a {
    -webkit-transition: all .25s ease-in;
    -moz-transition: all .25s ease-in;
    -ms-transition: all .25s ease-in;
    -o-transition: all .25s ease-in;
    transition: all .25s ease-in;
}
.btn {
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 24px;
    -webkit-transition: all .25s ease-in;
    -moz-transition: all .25s ease-in;
    -ms-transition: all .25s ease-in;
    -o-transition: all .25s ease-in;
    transition: all .25s ease-in;
}
.btn:hover {
    border-color: transparent;
}
.btn-medex-secondary {
    color: var(--white);
    background-color: var(--medex-secondary);
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 20px;
}
.btn-medex-secondary:hover,
.btn-medex-secondary:focus,
.btn-medex-secondary:active {
    color: var(--white);
    border-color: var(--ipade-primary);
    background-color: var(--ipade-primary);
}
.btn-cont-secondary {
    color: var(--white);
    background-color: var(--cont-secondary);
    border-radius: 20px;
}
.btn-cont-secondary:hover,
.btn-cont-secondary:focus,
.btn-cont-secondary:active {
    color: var(--white);
    border-color: var(--cont-primary);
    background-color: var(--cont-primary);
}
/* Títulos */
h1 {
    font-family: var(--font-signika);
    /* max 45px - min 30px  */
    font-size: clamp(1.875rem, 0.8749rem + 1.6146vw, 2.8125rem);
}
h2 {
    /* max 36px - min 24px  */
    font-size: clamp(1.5rem, 0.6999rem + 1.2917vw, 2.25rem);
}
h3 {
    /* max 24px - min 20px  */
    font-size: clamp(1.25rem, 0.9833rem + 0.4306vw, 1.5rem);
}
.btn-close {
    position: absolute;
    top: 0;
    right: 0;
    margin: -1rem -.5rem 0 0;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    background-color: var(--medex-secondary);
    opacity: 1;
}
/* Navbar */
.navbar {
    position: relative;
    top: 0;left: 0;
    padding: 21px 0;
    width: 100%;
    z-index: 5;
    -webkit-transition: all .25s ease-in;
    -moz-transition: all .25s ease-in;
    -ms-transition: all .25s ease-in;
    -o-transition: all .25s ease-in;
    transition: all .25s ease-in;
}
.navbar-brand {
    margin: 0;
}
.navbar-brand img {
    max-width: 215px;
    width: 100%;
    height: auto;
    -webkit-transition: all .25s ease-in;
    -moz-transition: all .25s ease-in;
    -ms-transition: all .25s ease-in;
    -o-transition: all .25s ease-in;
    transition: all .25s ease-in;
}
.navbar .navbar-collapse {
    gap: 40px;
}
.navbar-expand-lg .navbar-nav .nav-link {
    font-family: var(--font-signika);
    font-size: clamp(1rem, 0.8667rem + 0.2153vw, 1.125rem);
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    padding: 13px 20px;
    -webkit-transition: all .25s ease-in;
    -moz-transition: all .25s ease-in;
    -ms-transition: all .25s ease-in;
    -o-transition: all .25s ease-in;
    transition: all .25s ease-in;
}
.navbar-expand-lg .navbar-nav .nav-link.boton {
    background-color: var(--cont-secondary);
}
.navbar-expand-lg .navbar-nav .nav-link i {
    font-size: 85%;
}
.navbar-expand-lg .navbar-nav .nav-item:hover .nav-link,
.navbar-expand-lg .navbar-nav .nav-item:active .nav-link,
.navbar-expand-lg .navbar-nav .nav-item:focus .nav-link {
    color: var(--white)!important;
    background-color: var(--cont-primary);
}
.button-whatsapp {
    font-family: var(--font-signika);
    font-size: clamp(1rem, 0.8667rem + 0.2153vw, 1.125rem);
    font-weight: bold;
    color: var(--white);
    background-color: #25D366;
    text-decoration: none;
    padding: 0 0 0 13px;
}
.button-whatsapp i {
    font-size: 1.25rem;
    margin-right: 13px;
}
.button-whatsapp span {
    display: inline-block;
    color: var(--gray);
    padding: 13px;
    background-color: var(--gray-light);
}
.button-whatsapp:hover {
    color: var(--white);
}
.fixed-navbar {
    position: fixed;
    -webkit-transition: all .25s ease-in;
    -moz-transition: all .25s ease-in;
    -ms-transition: all .25s ease-in;
    -o-transition: all .25s ease-in;
    transition: all .25s ease-in;
}
.fixed-navbar .navbar-brand img {
    max-width: 105px;
}
.fixed-navbar .button-whatsapp {
    height: 52px;
    width: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}
.fixed-navbar .button-whatsapp span {
    display: none;
}
/* Footer */
.footer {
    padding: clamp(2.3125rem, 1.7791rem + 0.8611vw, 2.8125rem) 0;
}
footer ul li {
    background-color: transparent;
}
footer ul li a:hover {
    color: var(--ipade-light)!important;
}
footer .p {
    font-size: var(--p);
}
footer .p a {
    text-decoration: none;
}
/* Section - Header */
.header-main {
    padding: calc(137px * 2) 0 0;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-image: url('https://image.edu.ipade.mx/lib/fe2b11747364057e741d77/m/1/4e3a608c-29b0-4f66-8633-8bd18b0fa2ca.jpg');
}
.header-main img {
    width: 100%;
}
.header-main h1 {
    font-weight: 300;
}
.header-main h2 {
    font-size: clamp(1rem, 0.7333rem + 0.4306vw, 1.25rem);
}
.header-main h1 b {
    font-weight: bold;
}
.header-main p {
    font-size: var(--p);
}
.header-main p.mt-2 {
    font-size: clamp(0.75rem, 0.4833rem + 0.4306vw, 1rem);
}
.header-main .d-flex p {
    font-size: clamp(0.75rem, 0.6167rem + 0.2153vw, 0.875rem);
    max-width: 140px;
    width: 100%;
}
.header-main .btn-agendar {
    position: absolute;
    bottom: 0;
    right: 0;
    margin-right: 0;
    margin-bottom: -145px;
    max-width: 200px;
    -webkit-transition: all .25s ease-in;
    -moz-transition: all .25s ease-in;
    -ms-transition: all .25s ease-in;
    -o-transition: all .25s ease-in;
    transition: all .25s ease-in;
    z-index: 5;
}
.header-main .btn-agendar.fixed-agendar {
    position: fixed;
    margin-bottom: 15px;
    margin-right: 15px;
}
/* Section - Menú */
.nav-list {
    padding: 0;
}
.nav-list .nav-link {
    font-family: var(--font-signika);
    font-weight: bold;
    font-size: .85rem;
    color: var(--white);
    text-decoration: none;
}
.nav-list .nav-item:hover .nav-link,
.nav-list .nav-item.active .nav-link,
.nav-list .nav-link:hover {
    font-weight: bold;
    color: var(--cont-light)!important;
    /* text-decoration: underline; */
}
/* Section - Información programa */
.informacion-programa {
    padding: clamp(3.125rem, -0.2086rem + 5.3821vw, 6.25rem) 0;
}
.informacion-programa h1 + p {
    font-size: var(--p);
}
.informacion-programa h3 {
    font-family: var(--font-signika);
    font-size: clamp(1.5rem, 1.2333rem + 0.4306vw, 1.75rem);
}
.informacion-tabla h3 {
    font-size: clamp(1rem, 0.7333rem + 0.4306vw, 1.25rem);
}
.informacion-tabla .col-lg-5.mb-4 {
    display: flex;
    flex-direction: column;
}
.informacion-tabla .bg-cont-light-2 {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.informacion-programa form {
    max-width: 400px;
    margin: 0 auto;
}
.informacion-programa .btn {
    max-width: 270px;
    width: 100%;
}
.form-label {
    font-weight: bold;
    background-color: transparent;
}
.form-select,
.form-control {
    padding: .5rem .75rem;
    border: 0;
    border-radius: 0;
    box-shadow: 0px 3px 6px #00000029;
}
::placeholder {
    color: #9A9A9A;
    font-style: italic;
    opacity: 1;
}
::-ms-input-placeholder {
    font-style: italic;
    color: #9A9A9A;
}
.enlace-aviso {
    font-size: 12px;
    color: var(--gray);
}
.opinan h2 {
    font-family: var(--font-signika);
}
/* Section - Mejor imba */
.mejor-imba {
    padding: 0 0 clamp(3.125rem, -0.2086rem + 5.3821vw, 6.25rem);
}
.mejor-imba h2 {
    font-family: var(--font-signika);
    line-height: 1.65;
}
.mejor-imba h2 span {
    padding: 5px;
}
.mejor-imba h3 {
    font-family: var(--font-signika);
    font-size: clamp(1.25rem, 0.9833rem + 0.4306vw, 1.5rem);
}
.mejor-imba p {
    /* font-size: clamp(1rem, 0.4666rem + 0.8611vw, 1.5rem); */
    font-size: clamp(1rem, 1.9834rem + -1.5877vw, 0.078125rem);
}
img.acreditaciones {
    max-width: 450px;
}
.imba-gif {
    width: 100%;
}
.imba-gif a {
    display: block;
}
.mejor-imba img {
    display: block;
    width: 100%;
}
.imba-caja {
    padding: 50px 2rem;
    border-radius: 0 20px 20px 0px;
    /* max-width: 650px; */
    width: 100%;
}
/* Section - Folleto informativo */
.folleto-informativo {
    padding: 35px 0;
}
.folleto-informativo h2 {
    font-family: var(--font-signika);
    font-size: clamp(1.25rem, 0.4499rem + 1.2917vw, 2rem);
}
.folleto-informativo p {
    font-size: clamp(1rem, 0.7333rem + 0.4306vw, 1.25rem);
}
/* Section - Razones */
.razones {
    padding: clamp(3.125rem, 2.1249rem + 1.6146vw, 4.0625rem) 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-image: url('https://image.edu.ipade.mx/lib/fe2b11747364057e741d77/m/1/72de48c3-03ce-4605-8c73-c7634b806c95.png');
}
.razones h1 span {
    padding: 5px 7px;
}
.razones p {
    font-size: var(--p);
}
.razones .bg-cont-primary-opacity {
    padding: 12px 24px;
    background-color: rgba(0, 95, 97, .8);
    height: 100%;
}
.razones p.big {
    font-family: var(--font-signika);
    /* font-size: 3.75rem; */
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0;
}
.razones h3 {
    font-family: var(--font-signika);
    font-size: clamp(1.25rem, 0.9833rem + 0.4306vw, 1.5rem);
    font-weight: bold;
}
/* Section - Networking */
.networking {
    padding: clamp(2.1875rem, 0.8541rem + 2.1529vw, 3.4375rem) 0;
}
.networking h2 {
    font-family: var(--font-signika);
}
.networking p span.fw-bold {
    font-size: clamp(2rem, 1.4666rem + 0.8611vw, 2.5rem);
    font-family: var(--font-signika);
}
.networking h5 {
    font-size: clamp(1rem, 0.7333rem + 0.4306vw, 1.25rem);
    font-weight: bold;
}
.networking-gif {
    max-width: 485px;
    width: 100%;
}
.networking-gif a {
    display: block;
}
.networking-gif img {
    display: block;
    width: 100%;
}
/* Section - acreditaciones */
.acreditaciones {
    padding: 2.5rem 1rem;
}
.acreditaciones h2 {
    font-family: var(--font-signika);
}
.acreditaciones img {
    display: block;
    max-width: 690px;
}
/* Section - Próximos eventos */
.proximos-eventos {
    padding: clamp(3.4375rem, 3.4375rem + 0vw, 3.4375rem) 0;
}
.proximos-eventos h2 {
    font-family: var(--font-signika);
}
.proximos-eventos img {
    display: block;
    width: 100%;
}
.proximos-eventos .bg-cont-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px 0 0 10px;
}
.proximos-eventos .h1 {
    font-family: var(--font-signika);
    font-size: clamp(1.25rem, -0.4168rem + 2.6911vw, 2.8125rem);
    font-weight: bold;
    color: var(--white);
    padding: 10px;
}
.proximos-eventos .flex-grow-1 {
    background-color: #EFF9FF;
    padding: 10px;
    border-radius: 0 10px 10px 0;
}
.proximos-eventos a {
    color: var(--gray);
    text-decoration: none;
}
.proximos-eventos p:hover a {
    font-weight: bold;
    text-decoration: underline;
}

/* Section - Gracias */
.gracias {
    height: 71.5vmin;
    padding: 250px 0;
}

/* Responsive */
@media only screen and (min-width:1366px) {
    .container-fluid {
        padding-left: 2rem;
        padding-right: 2rem;
        max-width: 90%;
    }
}
@media only screen and (min-width:992px) {
    /* Section- Menú */
    .nav-list {
        padding-right: 2rem;
        padding-left: 2rem;
    }
    .nav-list li {
        width: 16%;
        text-align: center;
    }
    .header-main .bg-white {
        /* background-color: rgba(255,255,255,.9)!important; */
        background-color: hsla(0, 0%, 100%, .87)!important;
    }
    /* Section- Networking */
    .imba-caja {
        padding-top: 100px;
        padding-bottom: 100px;
    }
    .networking {
    }
    .networking-caja {
        position: relative;
        z-index: 0;
        max-width: 50%;
        left: 2.5%;
        max-width: 65%;
    }
    .networking-gif {
        position: relative;
        z-index: 1;
        right: 2.5%;
    }
    /* Section - Proceso admisión */
    .admision-caja {
        position: relative;
        z-index: 1;
        right: 2.5%;
        max-width: 65%;
    }
    .admision-gif {
        position: relative;
        left: 2.5%;
        z-index: 0;
    }
    .imba-gif {
        max-width: 540px;
    }
}
@media only screen and (max-width:991px) {
    /* General */
    .navbar-brand img {
        max-width: 125px;
    }
    .navbar-toggler {
        border: 0;
    }
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
    }
    .button-whatsapp {
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        height: 42px;
        width: 42px;
    }
    #nav .button-whatsapp,
    .button-whatsapp span {
        display: none;
    }
    .fixed-navbar .button-whatsapp {
        height: 42px;
        width: 42px;
    }
    /* Section- Header */
    .header-main {
        background-image: none;
        padding: 0;
    }
    .header-main .container {
        max-width: 100%;
    }
    .header-main .col-12 {
        padding-left: 0;
        padding-right: 0;
    }
    .header-main .bg-white {
        background-color: #ededed!important;
        /* background-color: rgba(255,255,255,.9)!important; */
    }
    /* Section / Menú */
    .nav-list {
        display: none;
    }
    /* Section- Información programa */
    .informacion-tabla .col-12 {
        display: flex;
    }
    .informacion-tabla .col-12 .bg-cont-primary {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        max-width: 40%;
        width: 100%;
    }
    .informacion-tabla .bg-cont-light-2 {
        width: 100%;
    }
    /* .informacion-tabla h3, */
    .informacion-tabla p {
        text-align: left!important;
    }
    .mejor-imba {
        position: relative;
        overflow: hidden;
        margin-top: -100px;
    }
    .imba-caja {
        padding: 100px 1rem 1rem;
        border-radius: 20px;
        transform: translate(12px, 0px);
    }
    .imba-gif {
        position: relative;
        margin-top: 2.5rem;
        transform: translate(0px, 70px);
        z-index: 2;
    }
    /* Section- Folleto informativo */
    .folleto-informativo .d-flex.d-lg-block {
        gap: 1rem;
        align-items: center;
    }
    .folleto-informativo img {
        max-width: 150px;
        width: 100%;
        height: auto;
    }
    /* Section- Razones */
    .razones {
        background-image: url("https://image.edu.ipade.mx/lib/fe2b11747364057e741d77/m/1/72de48c3-03ce-4605-8c73-c7634b806c95.png");
    }
    /* Section- Networking */
    .networking {
        position: relative;
        overflow: hidden;
    }
    .networking-gif {
        position: relative;
    }
    
}