/* Style for Carousel section*/

.section-carousel {
    width: 100%;
    height: calc(min(100vw, 1920px) / 1920 * 700);
    max-height: 700px;
    min-height: 300px;
    opacity: 0;
    transform: translateX(100%);
    animation: slide-in 2s ease forwards;
}

.section-carousel .carousel {
    width: 100%;
    height: 100%;
}

.section-carousel .item {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-carousel .carousel-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.section-carousel .carousel-img-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    animation: zoom 10s ease-in-out infinite alternate;
}

.section-carousel .item.active .carousel-img-container img {
    transform: scale(1.1);
}

.section-carousel .carousel-caption {
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
}

.section-carousel .carousel-caption h3 {
    font-size: calc(20px + (30) * ((100vw - 300px) / (1600 - 300)));
    text-align: center;
}

.section-carousel .carousel-caption p {
    font-size: calc(10px + (20) * ((100vw - 300px) / (1600 - 300)));
}

.section-carousel .carousel-caption button {
    border: 2px solid var(--rosewood);
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px;
    background-color: transparent;
    color: var(--rosewood);
    transition: all 0.3s ease;
}

.section-carousel .item.active .carousel-caption {
    opacity: 1;
    transform: translateY(0%);
}

.section-carousel .carousel-caption:nth-child(1) {
    animation-name: slide-up;
}

.section-carousel .carousel-caption:nth-child(2) {
    animation-name: slide-up;
}

.section-carousel .carousel-caption:nth-child(3) {
    animation-name: slide-up;
}

.section-carousel .carousel-control {
    height: 100%;
    max-width: 100px;
    top: 0;
    display: table;
}

.section-carousel .carousel-control.left i {
    display: table-cell;
    vertical-align: middle;
    font-size: 50px;
    color: var(--lightPink);
}

.section-carousel .carousel-control.right i {
    display: table-cell;
    vertical-align: middle;
    font-size: 50px;
    color: var(--lightPink);
}

@keyframes slide-up {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0%);
        opacity: 1;
    }
}

@keyframes slide-in {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.carousel_home {
    width: 100%;
    position: relative;
}

/* Video section */

.section-video {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    padding: 100px 15px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-bottom: 50px;
    margin: auto;
    position: relative;
    margin: 50px 0 0 0;
}

.section-video video {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    object-fit: cover;
}

.section-video .dark_cloak {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: rgb(0, 0, 0, 0.75);
}

.section-video .container {
    position: relative;
    max-width: 850px;
    text-align: center;
    border-radius: 2px;
    color: var(--white);
    padding: 32px;
    z-index: 2;
    display: flex;
    justify-content: center;
    margin: auto;
}

.container .header {
    position: absolute;
    top: 31px;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 100%;
}

.container .header .image {
    width: 240px;
    height: auto;
}

.announcement {
    position: relative;
    border: 3px solid currentColor;
    border-top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.announcement:before,
.announcement:after {
    content: '';
    position: absolute;
    top: 0;
    border-top: 3px solid currentColor;
    height: 0;
    width: calc(50px + (50 - 5) * ((100vw - 750px) / (768 - 320)));
}

.announcement:before {
    left: -3px;
}

.announcement:after {
    right: -3px;
}

.section-video .container .announcement .center-text {
    margin-top: 60px;
}

.section-video .container .announcement .center-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: calc(3vw + 1em);
    font-weight: 600;
    line-height: 1em;
}

.section-video .container .announcement .center-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125em;
    font-weight: 400;
    padding: 0.625em;
    line-height: 1.875em;
}

/* Style for Courses section*/

.section-courses {
    background-color: var(--white);
    padding-bottom: 130px;
    padding-top: 100px;
    display: flex;
    justify-content: center;
    margin: 50px 0;
}

.section-courses .content .section-one {
    display: flex;
    flex-wrap: wrap;
}

.section-courses .content .section-one .texts {
    width: 50%;
}

.section-courses .content .section-one .texts .tittle h2 {
    color: var(--darkBlue);
    font-family: 'Poppins', sans-serif;
    font-size: 50px;
    line-height: 60px;
    font-weight: 600;
    padding: 5px;
}

.section-courses .content .section-one .texts .description p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 30.4px;
    font-weight: 400;
    padding: 5px;
}

.section-courses .content .section-one .texts .type-course {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.section-courses .content .section-one .texts .type-course div {
    width: 50%;
    display: flex;
    flex-direction: row;
    padding: 5px;
    justify-content: center;
    align-items: center;
}

.section-courses .content .section-one .texts .type-course div img {
    width: 70pX;
    height: 70px;
}

.section-courses .content .section-one .texts .type-course div div {
    width: 100%;
}

.section-courses .content .section-one .texts .type-course div div h3 {
    color: var(--darkBlue);
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
    line-height: 26px;
    font-weight: 500;
    margin-left: 10px;
}

.section-courses .content .section-one .texts .type-links {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    justify-content: center;
    align-items: center;
}

.section-courses .content .section-one .texts .type-links div {
    position: relative;
    width: 235px;
    height: 68px;
    margin: 10px;
}

.section-courses .content .section-one .texts .type-links div a {
    width: 235px;
    height: 68px;
    background: var(--rosewood);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.section-courses .content .section-one .texts .type-links div a span {
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
}

.section-courses .content .section-one .image {
    width: 50%;
    position: relative;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-courses .content .section-one .image .container-image {
    width: 100%;
    height: 100%;
    max-width: 500px !important;
    max-height: 500px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.section-courses .content .section-one .image .container-image .img-circle {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    max-width: 500px !important;
    max-height: 500px !important;
    z-index: 1;
}

.section-courses .content .section-one .image .container-image::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 20px solid var(--white);
    width: 60%;
    height: 60%;
    z-index: 2;
}

.section-courses .content .section-one .image .container-image .circle-border {
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: 499px !important;
    max-height: 499px !important;
    border-radius: 50%;
    border: 2px solid var(--rosewood);
    z-index: 0;
    transition: all 0.3s ease;
}

.section-courses .content .section-one .image .container-image:hover .circle-border {
    transform: translateX(0);
}

.section-courses .content .section-one .image .container-image:not(:hover) .circle-border {
    transform: translateX(-20px);
}

.section-courses .content .section-one .image .circle-text {
    position: absolute;
    border-radius: 50%;
    width: 36% !important;
    height: 36% !important;
    background-color: var(--white);
    box-shadow: 0 0 10px 0 var(--black-50);
    z-index: 3;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0;
    left: 0;
    padding: 5px;
}

.section-courses .content .section-one .image .circle-text::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px dotted var(--black);
    width: 86%;
    height: 86%;
    z-index: 2;
}

.section-courses .content .section-one .image .circle-text span {
    color: var(--grey70);
    font-family: 'Poppins', sans-serif;
    font-size: calc(16px + (100vw - 768px) / 768);
    ;
    font-weight: 400;
    display: inline-block;
    vertical-align: middle;
    text-transform: uppercase;
}

.section-courses .content .section-two h2 {
    color: var(--darkBlue);
    font-family: 'Poppins', sans-serif;
    font-size: 50px;
    line-height: 60px;
    font-weight: 600;
    text-align: center;
    padding-top: 200px;
}

/* Style for course section */

.section-courses .content .courses {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
}

/* Style for About Me section */

.about-me {
    width: 100%;
    height: auto;
    max-height: 800px;
    min-height: 300px;
    position: relative;
    overflow: hidden;
    background-color: transparent;
    margin: 50px 0 0 0;
}

.about-me .image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-me .image img {
    width: 100%;
    height: auto;
    max-height: 800px;
    min-height: 300px;
    object-fit: cover;
}

.about-me .information {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: var(--white-50) !important;
    padding: 80px 10px;
    box-sizing: border-box;
}

.about-me .information h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600px;
    font-size: 18px;
    color: var(--white);
    background-color: var(--lightPink);
    border-radius: 15px;
    padding: 1px 15px;
    margin: 0;
}

.about-me .information h2 {
    font-family: 'Satisfy';
    font-weight: 600px;
    font-size: calc(16px + (20) * ((100vw - 300px) / (1600 - 300)));
    color: var(--darkBlue);
    margin: 0;
    text-align: center;
}

.about-me .information a {
    border: 2px solid var(--rosewood);
    padding: 10px 18px;
    transition: all 0.3s ease-in-out;
    font-family: 'Poppins', sans-serif;
    font-weight: 500px;
    font-size: 18px;
    color: var(--rosewood);
    text-transform: uppercase;
    margin: 0;
    background: transparent;
}

.about-me .information a:hover {
    background-color: var(--rosewood);
    color: var(--white);
    cursor: pointer;
}

/* Style for explore the recipes section*/

.section-explore {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 370px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0 0 0;
}

.section-explore .explore .title {
    width: 400px;
    text-align: center;
    margin-top: -20px;
}

.section-explore .explore .title span {
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 50px;
    font-weight: 600;
    line-height: 60px;
    letter-spacing: 1px;
}

.section-explore .explore .link {
    margin-top: 50px;
    text-align: center;
}

.section-explore .explore .link a {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    width: 150px;
    height: 40px;
    background-color: var(--lightPink);
    color: var(--white);
    text-align: center;
    line-height: 40px;
    text-decoration: none;
}

/* Style for Saving section with products */

.section-pro {
    width: 100%;
    background-color: var(--rosewood);
    margin: 50px 0 0 0;
}

.section-pro .content {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 70px;
    padding-top: 70px;
    flex-direction: column;
}

.section-pro .content .title {
    width: 100%;
    font-family: 'Satisfy';
    font-size: 75px;
    color: var(--white);
    text-align: center;
}

.section-pro .content .header {
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-pro .content .header .title {
    max-width: 100%;
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    color: var(--white);
    padding: 0 25px;
}

.section-pro .content .header .cont {
    margin-top: 20px;
}

.section-pro .content .header .cont button {
    width: 100%;
    font-size: 16px;
    height: 40px;
    border: none;
    border-radius: 6px;
    color: var(--rosewood);
    background-color: var(--white);
    cursor: pointer;
}

.section-pro .content .header .cont .brillo {
    display: none;
}

@media (min-width: 768px) {
    .section-pro .content .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .section-pro .content .header .title {
        max-width: 600px;
        font-size: 36px;
        padding: 0 25px;
    }

    .section-pro .content .header .cont {
        width: 300px;
        margin-top: 0;
    }

    .section-pro .content .header .cont button {
        width: 100%;
        font-size: 20px;
    }

    .section-pro .content .header .cont .brillo {
        display: block;
        transform: skewX(-10deg);
        background: transparent;
        opacity: .5;
        width: 60px;
        height: 40px;
        position: relative;
        top: -40px;
        left: -60px;
        transition: all .3s linear;
    }

    .section-pro .content .header .cont:hover .brillo {
        transform: translateX(380px);
        background: var(--grey40-50);
        transition: all .3s linear;
    }
}

.section-pro .content .header .cont:hover .brillo {
    transform: translateX(380px);
    background: var(--grey40-50);
    transition: all .3s linear;
}

.section-pro .content .carousel-products {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
}

.section-pro .item-product {
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 420px;
    position: relative;
    padding: 20px;
}

.section-pro .item-product {
    text-decoration: none;
    color: inherit;
}

.section-pro .item-product:focus {
    outline: none;
}

.section-pro .image {
    width: 100%;
    height: 240px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}

.section-pro .image img {
    width: 100%;
    height: 100%;
    -webkit-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.section-pro .image:hover img {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

.section-pro .image:hover:before {
    opacity: 1;
}

.section-pro .image:before {
    content: "";
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    cursor: pointer;
    -webkit-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
    z-index: 1;
    opacity: 0;
}

.section-pro .price {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    white-space: nowrap;
}

.section-pro .price span {
    font-family: 'Satisfy';
    font-size: 26px;
    font-weight: 700;
    color: var(--rosewood);
}

.section-pro ._text {
    background-color: var(--white);
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 10px, 5px, 10px, 5px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

.section-pro ._text h3 {
    width: 100%;
    height: 80px;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 25px;
    z-index: 3;
    text-align: center;
    padding: 0 5px 0 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--darkBlue);
}

.section-pro .cont {
    width: 200px;
    height: 40px;
    overflow: hidden;
}

.section-pro .cont button {
    width: 200px;
    height: 40px;
    font-size: 20px;
    border: none;
    border-radius: 6px;
    color: white;
    background-color: var(--lightPink);
    cursor: pointer;
}

.section-pro .brillo {
    transform: skewX(-10deg);
    background: transparent;
    opacity: .5;
    width: 60px;
    height: 40px;
    position: relative;
    top: -40px;
    left: -60px;
    transition: all .3s linear;
}

.section-pro .cont:hover .brillo {
    transform: translateX(280px);
    background: var(--white-50);
    transition: all .3s linear;
}

.section-pro .controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

.section-pro .control-left,
.section-pro .control-right {
    width: 50px;
    height: 50px;
    margin: 0 10px;
    font-size: 24px;
    color: var(--white);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    border-radius: 50%;
    border: 1px solid var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-pro .control-left:hover,
.section-pro .control-right:hover {
    color: var(--lightPink);
    border: 2px solid var(--lightPink);
}

/* Testimonial carousel */

.testimonials {
    min-height: 200px;
    margin: 50px 0 0 0;
}

.heading {
    text-align: center;
    color: var(--darkBlue);
    font-size: 36px;
    font-weight: 700;
    position: relative;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
}

.section-borders {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
}

.section-borders span {
    height: 5px;
    background: var(--rosewood);
    width: 50px;
    display: inline-block;
    border-radius: 2px;
}

.section-borders span.black-border {
    background: var(--darkBlue);
    width: 30px;
    margin: 0 6px;
}

.carousel_testimonial {
    width: 100%;
    position: relative;
}

/* testimonial video */

.video-box {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(500px - 350 * ((100vh - 800px) / (300 - 800)));
}

.player {
    width: 80%;
    border: 0.25rem solid var(--grey70-50);
    position: relative;
    font-size: 0;
    overflow: hidden;
    z-index: 1;
}

.player_video {
    width: 100%;
    cursor: pointer;
}

.fa {
    color: var(--white);
    font-size: 4rem;
}

.fa-play:hover,
.fa-pause:hover {
    color: var(--rosewood);
    cursor: pointer;
}

.player_button {
    background: none;
    border: 0;
    line-height: 1;
    color: white;
    text-align: center;
    outline: 0;
    padding: 5px;
    cursor: pointer;
    max-width: 50px;
    font-size: 2rem;
}

.player_controls {
    display: flex;
    position: absolute;
    bottom: 0;
    width: 100%;
    transition: all 0.3s;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.329);
    padding: 0 1.5rem;
}

.right-controls {
    display: flex;
    justify-content: flex-end;
}

.left-controls {
    display: flex;
    justify-content: flex-start;
}

.player_controls>* {
    flex: 1;
}

.progress-range {
    flex: 10;
    position: relative;
    display: flex;
    flex-basis: 100%;
    height: 0.75rem;
    transition: height 0.3s;
    background: var(--white-50);
    cursor: pointer;
}

.progress-bar {
    background: var(--lightPink) !important;
    width: 50%;
    height: 100%;
    transition: all 250ms ease;
}

.time {
    text-align: right;
    position: relative;
    top: 0;
    padding-left: 0.5em;
    margin-right: 1em;
    color: var(--white);
    font-weight: 600;
    font-size: 1.5rem;
}

.video-box .information {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.video-box .information .image-circular {
    z-index: 1;
    border-radius: 50%;
    overflow: hidden;
    width: calc(100px - 60 * ((100vw - 1600px) / (500 - 1600)));
    height: auto;
    box-shadow: 0px 0px 5px var(--black-50);
    border: 2px solid var(--white);
    aspect-ratio: 1/1
}

.video-box .information .image-circular img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-box .information .title {
    z-index: 1;
    font-family: 'Poppins', sans-serif;
    font-size: calc(8px + (10) * ((100vw - 300px) / (1600 - 300)));
    font-weight: 600;
    color: var(--darkBlue);
    background-color: var(--white-50);
    padding: calc(8px - 60 * ((100vw - 1600px) / (500 - 1600))) 10px;
    border-radius: 5px;
    margin-left: 15px;
}

.custom-prev-btn,
.custom-next-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background-color: var(--rosewood-90);
    color: #fff;
    font-size: 12px;
    border: none;
    border-radius: 50%;
    transition: background-color 0.3s ease-in-out;
    z-index: 2;
}

.custom-prev-btn {
    left: 10px;
}

.custom-next-btn {
    right: 10px;
}

.custom-prev-btn:hover,
.custom-next-btn:hover {
    background-color: var(--rosewood);
}

/* testimonial photo */

.testimonial_photo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 50px;
    height: calc(500px - 350 * ((100vh - 800px) / (300 - 800)));
}

.testimonial_photo .description_testimonial,
.testimonial_photo .image_testimonial {
    width: 50%;
    min-height: 100%; /* Modificado aquí */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto; /* Añadido aquí */
    position: relative;
}

.testimonial_photo .image_testimonial::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

.testimonial_photo .description_testimonial .text_textimonial{
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    font-weight: 600;
    align-items: flex-start;
    overflow: auto;
    padding: 10px;
}

.testimonial_photo .image_testimonial img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


@media screen and (max-width: 750px) {
    .testimonial_photo {
        flex-direction: column-reverse;
    }

    .testimonial_photo .description_testimonial,
    .testimonial_photo .image_testimonial {
        width: 100%;
        min-height: 50%; /* Modificado aquí */
        align-items: normal;
    }

    /* Hace el gradiente lateral completamente transparente en lugar de eliminarlo */
    .testimonial_photo .image_testimonial::after {
        background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 100%);
    }

    /* Añade un desvanecimiento hacia abajo para pantallas pequeñas */
    .testimonial_photo .image_testimonial::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
        z-index: 1; /* Asegúrate de que el pseudo-elemento se sitúa por encima de la imagen */
    }
}

/* Style for the fourth section of the house */

.section-course {
    margin: 50px 0 50px 0;
}

.section-course .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-course .content .container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.section-course .content .container .image-wrapper {
    flex: 1;
    margin: auto;
    padding: 10px;
    max-width: 500px;
}

.section-course .content .container .image-wrapper img {
    max-width: 100%;
    height: auto;
}

.section-course .content .container .container-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-left: 20px;
}

.section-course .content .container .container-text h1 {
    color: var(--darkBlue);
    font-family: 'Poppins', sans-serif;
    font-size: 50px;
    line-height: 60px;
    font-weight: 600;
}

.section-course .content .container .container-text h2 {
    color: var(--lightPink);
    font-family: 'Satisfy';
    font-style: italic;
    font-size: 30px;
    line-height: 48px;
    font-weight: 400;
}

.section-course .content .container .container-text p {
    color: var(--grey70);
    font-family: 'Poppins', sans-serif sans-serif;
    font-size: 16px;
    line-height: 30.4px;
}

/* Style for Subscription section to Chef Selene Aguilar's channel */

.section-sub {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    height: calc(100vw / 2.5);
    max-height: 500px;
    min-height: 350px;
}

.section-sub .content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.section-sub .content .section-sub-text {
    width: 50%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-sub .content .section-sub-text p {
    color: var(--rosewood);
    font-family: 'Poppins', sans-serif;
    font-size: calc(20px + (30) * ((100vw - 300px) / (1600 - 300)));
    line-height: 76px;
    font-weight: 600;

}

.section-sub .content .section-sub-link a i {
    color: var(--white);
}

.section-sub .content .section-sub-link {
    width: 50%;
    position: relative;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}


.section-sub .content .section-sub-link .boton-contenedor {
    position: relative;
    display: inline-flex;
}

.section-sub .content .section-sub-link .boton-onda {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--rosewood);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: zoom-btn 2s infinite;
    text-decoration: none;
    z-index: 2;
}

.section-sub .content .section-sub-link .boton-onda:hover {
    background-color: var(--grey70);
}

.section-sub .content .section-sub-link .boton-onda i {
    font-size: 24px;
    color: var(--white);
}

.section-sub .content .section-sub-link .boton-contenedor::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: var(--rosewood-90);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    animation: onda 2s infinite;
    z-index: 1;
}

@keyframes onda {
    0% {
        width: 0;
        height: 0;
        opacity: 0;
    }

    40% {
        width: 115%;
        height: 115%;
        opacity: 0.5;
    }

    50% {
        width: 115%;
        height: 115%;
        opacity: 0.5;
    }

    100% {
        width: 200%;
        height: 200%;
        opacity: 0.1;
    }
}

@keyframes zoom-btn {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}


/* medias querys for the general design of some elements */

@media screen and (min-width: 1151px) {

    .section-courses .content .section-one {
        max-width: 1150px;
    }

    .section-sub .content {
        max-width: 1150px;
        justify-content: center;
        margin: 0 auto;
    }

    .section-course .content {
        margin: 0 auto;
        max-width: 1150px;
    }

    .section-pro {
        display: flex;
        justify-content: center;
    }

    .section-pro .content {
        max-width: 1200px;
    }
}

@media screen and (max-width: 1150px) {

    .section-courses .content .section-one .texts,
    .section-courses .content .section-one .image {
        width: 100%;
    }

    .section-courses .content .section-one .texts .type-course div {
        max-width: 50%;
    }
}

@media screen and (max-width: 900px) {
    .section-course .content .container {
        flex-direction: column;
    }

    .section-course .content .container .image-wrapper,
    .section-course .content .container .container-text {
        flex: 0;
    }

    .section-pro .content .header {
        flex-direction: column;
    }
}

@media screen and (max-width: 750px) {
    .section-courses .content .section-one .texts .type-course {
        display: flex;
        justify-content: center;
    }

    .section-courses .content .section-one .texts .type-course div {
        width: 100%;
        max-width: 350px;
        text-align: center;
    }

    .about-me .information {
        padding: 20px 10px;
    }

    .section-sub .content {
        flex-direction: column;
    }

    .section-sub .content .section-sub-text,
    .section-sub .content .section-sub-link {
        width: 100%;
    }
}

/* popup */

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 5px;
    cursor: pointer;
}

.popup-content {
    background-color: var(--lightPink);
    padding: 0 20px;
    max-width: 600px;
    text-align: center;
    position: relative;
    border-radius: 10px;
    cursor: auto;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    color: var(--white);
}

.close-btn:hover {
    color: var(--grey70);
}

.header_popup {
    margin-bottom: 10px;
    flex-shrink: 0;
}

.header_popup h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    color: var(--white);
}

.header_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: auto;
    flex: 1 1 auto;
}

.header_content .image_popup {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.header_content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.75); */
    z-index: 1;
}

.header_content .content_popup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff; /* Ajusta el color del texto según tus necesidades */
    text-align: center;
    z-index: 2; /* Asegurarse de que el contenido esté encima de la imagen */
}

.footer_popup {
    padding: 20px 0 20px 0;
    flex-shrink: 0;
}

.footer_popup .border {
    padding: 0.5rem 1rem;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    position: relative;
    border: 2px solid white;
    color: white;
    background-color: transparent;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.footer_popup .border::after,
.border::before,
.border span::after,
.border span::before {
    content: "";
    position: absolute;
    background-color: white;
    transition: 0.5s ease;
}

.footer_popup .border::after,
.border::before {
    height: 100%;
    width: 2px;
    top: -2px;
}

.footer_popup .border::after {
    left: -2px;
}

.footer_popup .border::before {
    right: -2px;
}

.footer_popup .border span::after,
.border span::before {
    height: 2px;
    width: 100%;
    left: -2px;
}

.footer_popup .border span::after {
    top: -2px;
}

.footer_popup .border span::before {
    bottom: -2px;
}

.footer_popup .border:hover:after {
    transform: translatex(-6px);
}

.footer_popup .border:hover:before {
    transform: translatex(6px);
}

.footer_popup .border:hover span::after {
    transform: translatey(-6px);
}

.footer_popup .border:hover span::before {
    transform: translatey(6px);
}
