.banner-home-cursos::after {
    background: rgba(0, 0, 0, 0);
}

.new-background-cursos {
    background-image: url('https://upc-cdn.b-cdn.net/web-postgrado/landings/cursos-de-especializacion/images/cursos-mobile-2.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* z-index: 10; */
    padding-left: 0;
}

.forms-container {
    display: flex;
    flex-direction: row;
    position: absolute;
    margin-top: 25%;
    width: 100%;
}

.semicircle {
    height: 220px;
    width: 110px;
    background-color: #6ac7dd;
    border-radius: 0 220px 220px 0;
    position: relative;
    left: -20px;
    top: 0;
    z-index: -1;
}

.rectangle {
    height: 220px;
    width: 280px;
    background-color: #6ac7dd;
    position: relative;
    border-radius: 0 20px 20px 0;
    color: #543477;
}

.forms-container .flecha-roja {
    transform: rotate(45deg);
    position: relative;
    width: 90px;
    top: 175px;
    left: 17px;
}

.forms-container .new-content-header {
    margin-left: 35px !important;
    margin-top: 12px !important;
}

#form-epg #register-form-container-vive-upc {
    height: 670px !important;
}

@media (min-width: 768px) {

    .new-background-cursos {
        background-image: url('https://upc-cdn.b-cdn.net/web-postgrado/landings/cursos-de-especializacion/images/cursos-desktop.png');
    }

    #form-epg #register-form-container-vive-upc {
        height: 500px !important;
    }
}

/* .new-content-header {
    margin-top: 35%;
    position: absolute;
} */

.new-content-header h1 {
    font-family: zizou-slab-bold;
    font-size: 25px;
}

.new-content-header .flecha-header {
    font-family: zizou-slab-regular;
    font-size: 30px;
    margin-right: 10px;
}

.new-content-header p {
    font-family: zizou-slab-regular;
    font-size: 14px;
    line-height: 1.2;
}

.new-content-header p span {
    font-family: zizou-slab-bold;
    font-size: 14px;
    line-height: 1.2;
}

.line-purple-sling {
    width: 100%;
    border-bottom: 1.5px solid #543477;
    margin: 5px 0;
}

@media (min-width: 768px) {
    .forms-container {
        margin-top: 8%;
    }

    .semicircle {
        height: 350px;
        width: 175px;
        border-radius: 0 350px 350px 0;
        left: -50px;
    }

    .rectangle {
        height: 350px;
        width: 470px;
        border-radius: 0 50px 50px 0;
    }

    .forms-container .new-content-header {
        margin-left: 120px !important;
        margin-top: 18px !important;
    }

    .forms-container .flecha-roja {
        transform: rotate(45deg);
        position: relative;
        width: 140px;
        top: 180px;
        left: 42px
    }

    .new-content-header h1 {
        font-size: 42px;
        line-height: 1;
    }

    .new-content-header .flecha-header {
        font-size: 60px;
    }

    .new-content-header p,
    .new-content-header p span {
        font-size: 23px;
    }

    .line-purple-sling {
        border-bottom: 1.5px solid #543477;
        margin: 15px 0;
    }
}

.details-cursos {
    background: #543477;
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.details-cursos .detail-container {
    display: flex;
    padding: 1rem 2rem;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
}

.details-cursos .details-item {
    text-align: center;
}

.details-cursos .detail-container-2 {
    text-align: center;
}

.details-cursos .detail-container-2 p{
    font-size: 16px;
}

@media (min-width: 992px) {
    .details-cursos {
        background: #482783 url(https://upc-cdn.b-cdn.net/web-postgrado/landings/images/landing_img/details-pattern-2.png) no-repeat;
        color: #fff;
        display: flex;
        padding: 3rem 2rem;
        background-position: right top;
        background-size: auto 100%;
        flex-direction: column;
        align-items: normal;
    }

    .details-cursos .detail-container {
        display: flex;
        padding: 1rem 2rem;
        justify-content: space-around;
        align-items: center;
        flex-direction: row;
        width: 90%;
    }

    .details-cursos .details-item {
        text-align: left;
    }

    .details-cursos .detail-container-2 {
        padding-left: 115px;
        text-align: left;
    }
}

.details-cursos .details-item .item-text {
    margin-top: 0.625rem;
    margin-bottom: 0;
    font-size: 18px;
    font-family: "zizou-slab-bold";
}

.details-cursos .details-item .item-text p {
    font-family: "zizou-slab-regular";
    font-size: 14px;
}

.details-cursos .details-item p {
    font-size: 1.2rem;
}

/* certificado */
.certificate {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 50px 0;
}

.certificate .line {
    width: 45%;
    height: 2px;
    background-color: #fff;
}

@media (min-width: 768px) {
    .certificate .line {
        width: 32%;
    }
}

.certificate .btn-main-accent {
    margin-bottom: 4rem;
}

.certificate p {
    font-size: 1.2rem;
    font-family: "zizou-slab-regular";
}

.certificate-img {
    position: relative;
    padding-top: 0;
    padding-left: 0;
    z-index: 1;
}

.certificate-img .pattern {
    width: 50%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

@media (min-width: 992px) {

    .certificate-img {
        position: relative;
        padding-top: 4rem;
        padding-left: 6rem;
        z-index: 1;
    }
}

@media (min-width:768px) {
    .d-md-none {
        display: none !important
    }
}

@media (min-width:576px) {
    .d-sm-none {
        display: none !important
    }
}

/* cursos */
.container-areas-cursos {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 2.5%;
}

.container-areas-cursos .item {
    width: 42%;
    margin-bottom: 30px;
}

@media (min-width:768px) {
    .cursos-container {
        padding: 0 8% ;
    }
    .container-areas-cursos {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
    }

    .container-areas-cursos .item {
        width: 18%;
    }
}

.card .card-content {
    display: flex;
    flex-direction: column;
    height: 160px;
    justify-content: space-around;
}

.card-text {
    height: 90px;
}

.title-box {
    height: 90px;
    width: 100%;
    border: none;
    padding: 16px 25px;
    background-color: #6AC7DD;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

.title-box h3 {
    font-size: 28px;
    color: #543477;
}

.title-box-small {
    height: 90px !important;
}

.card h3 {
    font-size: 20px;
    line-height: 1.2;
    font-family: 'sgothic-bdcap' !important;
    font-weight: 500;
    color: #250C52;
    padding: 0 20px;
    text-align: left;
    font-size: 20px;
}

.item .card {
    background-color: #FAFAFA !important;
    cursor: auto;
}

.card .card-content {
    display: flex;
    flex-direction: column;
    height: 160px;
    justify-content: space-around
}

.card .img-fluid {
    height: 135px;
    width: 100%;
    border-radius: 0px 0px 20px 0px;
    object-fit: cover;
}

.btn-programas {
    display: block;
    padding: 1rem;
    background: #543477;
    color: #fff !important;
    width: 80%;
    font-family: "zizou-slab-regular";
    font-size: 16px;
    cursor: pointer;
    /* display: flex;
    align-items: center;
    gap: 1rem; */
    position: relative;
    margin: 0 15px;
    text-align: center;
}

.btn-programas::before {
    content: "";
    width: 100%;
    height: 100%;
    border: 2px solid #543477;
    position: absolute;
    left: 5px;
    top: 5px;
}

.btn-programas-red {
    display: block;
    padding: 0.5rem 1rem;
    background: #E50A17;
    color: #fff !important;
    width: 60%;
    font-family: "sgothic-bdcap";
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.section-heading {
    font-family: "zizou-slab-bold";
    color: #35158c;
    display: flex;
    align-items: center;
    margin-top: 2.5rem;
    font-size: 20px;
}

.section-heading::before {
    content: "";
    width: 4px;
    height: 2rem;
    background: #35158c;
    margin-right: 0.5rem;
}
@media (min-width: 768px) {
    .section-heading {
        font-size: 32px;
    }
}

/* header landing transversal */

.forms-container .content-header-cursos {
    margin-left: 35px !important;
    margin-top: 12px !important;
    margin-bottom: 20px !important;
}

.content-header-cursos h1 {
    font-family: 'zizou-slab-bold';
    font-size: 25px;
}

.content-header-cursos .flecha-header {
    font-family: 'zizou-slab-regular';
    font-size: 30px;
    margin-right: 10px;
}

.content-header-cursos p {
    font-family: 'zizou-slab-regular';
    font-size: 14px;
    line-height: 1.2;
}

.content-header-cursos p span {
    font-family: 'zizou-slab-bold';
    font-size: 14px;
    line-height: 1.2;
}

.forms-container .form-2 {
    height: 245px;
    width: 110px;
    background-color: #6ac7dd;
    border-radius: 0 220px 220px 0;
    position: relative;
    left: -20px;
    top: 0;
    z-index: -1;
}

.forms-container .form-1 {
    height: 245px;
    width: 280px;
    background-color: #6ac7dd;
    position: relative;
    border-radius: 0 20px 20px 0;
    color: #543477;
}

@media (min-width: 768px) {

    .forms-container .form-2 {
        height: 335px !important;
        width: 160px;
        border-radius: 0 380px 380px 0;
        left: -80px;
    }

    .forms-container .form-1 {
        height: 335px !important;
        width: 450px;
        border-radius: 0 70px 70px 0;
    }

    .forms-container .content-header-cursos {
        margin-left: 100px !important;
        margin-top: 18px !important;
        margin-bottom: 24px !important;
    }

    .forms-container .form-2 .flecha-roja {
        transform: rotate(45deg);
        position: relative;
        width: 110px;
        top: 255px;
        left: 60px
    }

    .content-header-cursos h1 {
        font-size: 35px;
        line-height: 1;
    }

    .content-header-cursos .flecha-header {
        font-size: 60px;
    }

    .content-header-cursos p,
    .content-header-cursos p span {
        font-size: 20px;
    }

}

/* seccion pagos */
section.pagos {
    background: #f8f8f8;
}

.heading-section {
    font-family: "zizou-slab-bold";
    color: #35158c;
    display: flex;
    align-items: center;
    margin-top: 2.5rem;
}

section.pagos .pagos-info {
    background: #FFFFFF;
    border: solid 2px #482783;
    padding: 20px;
    font-size: 16px;
    border-radius: 10px;
}

section.pagos .pagos-info p,
section.pagos .pagos-info h4 {
    font-family: "zizou-slab-regular";
    font-size: 16px;
    line-height: 1.75;
}

.what-upc-text {
    margin: 1.5rem 0 2.5rem 0;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: -0.54px;
    font-family: "zizou-slab-regular";
}

.btn-main-accent {
    display: block;
    padding: 0.5rem 1rem;
    background: #ff0000;
    color: #fff;
    width: 100%;
    font-family: "sgothic-bdcap";
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    margin-bottom: 15px;
}

.btn-main-accent::before {
    content: "";
    width: 100%;
    height: 100%;
    border: 2px solid #ff0000;
    position: absolute;
    left: 5px;
    top: 5px;
}

.btn-main-accent:hover {
    background: #ff0000;
    color: #fff;
}

/* slider profesores */

.new-conteiner-profesores {
    background: #f8f8f8;
}

.new-conteiner-profesores img {
    border-radius: 0 0 25px 0;
    width: 70%;
    height: 50%;
}

.line-skyblue-sling {
    width: 200px;
    border-bottom: 1.5px solid #4DC0FF;
    margin: 5px 0;
}

.new-conteiner-profesores .description {
    font-family: zizou-slab-regular;
    font-size: 20px;
    line-height: 1.4;
}


@media (min-width: 768px) {
    .new-conteiner-profesores img {
        width: 100%;
        height: 70%;
    }

}

#slider-profesores img {
    width: 250px;
    height: auto;
}

.font-zizou-bold {
    font-family: "zizou-slab-bold";
}
.font-zizou {
    font-family: "zizou-slab-regular";
}
.profesores-container {
    display: flex !important;
    flex-direction: column !important;
}
.container-line{
    border-left: 2px solid #35158c;
    height: 40px;
    position: relative;
    padding-left: 0;
    margin-top: 20px;
}

.container-line::before {
    content: "";
    position: absolute;
    border-top: 2px solid #35158c;
    width: 30px;
    transform: rotate(330deg);
    transform-origin: 0% 0%;
    left: -2px;
}


@media (min-width: 768px) {
    .profesores-container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
    }

    .profesor-info {
        width: 30%;
        padding: 10px;
    }

    .profesor-info p {
        line-height: 1.2;
    }

    .profesor-info-educacion {
        width: 40%;
        padding: 10px;
    }
}
/* WHY UPC SECTION */
.info-grid .info-grid-item {
    background: transparent;
    padding: 2rem 3rem;
}
.info-grid .info-grid-item:nth-child(1),
.info-grid .info-grid-item:nth-child(4) {
    background-color: #58C9E7;
    padding: 60px;
}

.info-grid .info-grid-item:nth-child(2),
.info-grid .info-grid-item:nth-child(3) {
    background-color: #8CDBEF;
    padding: 60px;
}
.info-grid .info-grid-item h3 {
    font-family: "sgothic-bdcap";
    font-size: 2rem;
}
.text-uppercase {
    text-transform: uppercase !important;
}
.info-grid .info-grid-item h3{
    font-family: "sgothic-bdcap";
    font-size: 2.5rem;
    color: #35158c;
  }
  .info-grid .info-grid-item p{
    font-family: "zizou-slab-regular";
    font-size: 1.5rem;
    color: #35158c;
  }
  .info-grid.ver2 .info-grid-item {
    padding: 3rem 2rem;
}
  .info-grid.ver2 .info-grid-item h3 {
    font-size: 1.5rem;
}
.info-grid.ver2 .info-grid-item p{
    font-size: 1rem;
  }
.btn-compra-ahora {
    width: fit-content;
}
.btn-compra-ahora .btn-main-accent {
    font-size: 17px !important;
    z-index: 1;
}
.btn-main-accent:hover {
    background: #B70812;
}
a.btn-main-accent:focus {
    color: white;
}
.btn-main-accent:hover::before {
    border: 2px solid #B70812;
}
@media (min-width: 768px) {
    .btn-compra-ahora {
        max-width: 180px;
        width: 100%;
    }
    .btn-compra-ahora .btn-main-accent {
        font-size: 20px!important;
    }
}