/* 
PECE Custom Functionality Styles
Version: 1.1.0
*/

.menu-label {
    display: none;
}

.chatonline {
    border: 1px solid #38393B;
}

.elementor-10054 .elementor-element.elementor-element-6fd86334 .chatonline.menu-item a.hfe-menu-item,
.elementor-13 .elementor-element.elementor-element-e863a29 .chatonline.menu-item a.hfe-menu-item {
    padding-left: 38px;
    padding-right: 38px;
}

.heading-lines .elementor-headline-dynamic-text {
    display: inline-block;
    line-height: 1.2;
    padding-bottom: 6px;
    vertical-align: bottom;
}

.heading-lines .elementor-headline-dynamic-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 15px;
    width: 0;
    background: var( --e-global-color-533158d );
    transition: width 0.6s ease;
    z-index: -1;
    bottom: 20px;
}

.heading-lines .elementor-headline-dynamic-text.elementor-headline-text-active::after {
    width: 100%;
}

.tabs-container {
    display: flex;
    justify-content: center;
}

.courses-tabs {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    display: flex;
    gap: 18px;
    width: max-content;
    background-color: #f0f0f0;
    border-radius: 100px;
    padding: 5px;
}

.courses-tabs li {
    padding: 10px 25px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    font-family: "Instrument Sans", Sans-serif;
}

.courses-tabs li:hover {
    color: var(--e-global-color-91dbcbb);
}

.courses-tabs li.active {
    background-color: var(--e-global-color-5c3dec0);
    color: var(--e-global-color-91dbcbb);
    border-radius: 100px;
}

.course-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 100px 0px;
}

.course-item {
    flex: 0 0 calc(33.333% - 20px);
    box-sizing: border-box;
    padding: 20px;
}

h3.course-title {
    font-family: "Instrument Sans", Sans-serif;
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 26px;
    font-weight: 500;
}

.course-excerpt,
.course-excerpt p {
    font-size: 18px;
    font-weight: 400;
    color: #777777;
    font-family: "Instrument Sans", Sans-serif;
}

.course-item {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-link a {
    display: inline-block;
    text-decoration: none;
    color: var(--e-global-color-5c3dec0);
    background-color: var(--e-global-color-91dbcbb);
    padding: 15px 36px;
    border-radius: 10px;
    border: 1px solid var(--e-global-color-91dbcbb);
    font-weight: 500;
    margin: 10px 0px;
    font-family: "Instrument Sans", Sans-serif;
}

.course-link a:hover {
    background-color: transparent;
    color: var(--e-global-color-91dbcbb);
}

.course-content {
    margin-bottom: 20px;
}

.scroll-container {
    width: 90%;
    margin: 0 auto;
    transition: width 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}

.according-pece :where(.elementor-widget-n-accordion .e-n-accordion-item>.e-con) {
    border: 0px;
}

.elementor-widget-n-accordion.according-pece .e-n-accordion-item-title {
    justify-content: space-between;
}

.elementor-align-center.btn-fullwidth a.elementor-button {
    width: 100%;
}

.marquee-wrapper {
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    white-space: nowrap;
    position: relative;
    padding: 30px 0px;
}

.marquee-text {
    display: inline-block;
    font-size: 60px;
    font-weight: 600;
    white-space: nowrap;
    will-change: transform;
}

.fadeeffect span {
    display: block;
    opacity: 0.3;
    transform: translateY(30px);
    transition: opacity 1.3s ease-in-out, transform 1.3s ease-in-out;
}

.fadeeffect span.visible {
    opacity: 1;
    transform: translateY(0);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    border-radius: 10px;
    background: black;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.video-wrapper video.active {
    display: block;
}

.elementor-kit-6 button.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    padding: 22px 25px;
    line-height: 0px;
    cursor: pointer;
    z-index: 10;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .menu-label {
        display: block;
    }

    .elementor-13 .elementor-element.elementor-element-e863a29 .chatonline.menu-item a.hfe-menu-item {
        padding-left: 38px;
        padding-right: 38px;
    }

    .hfe-nav-menu li.social-icon {
        margin-top: 30px;
        display: inline-block;
    }
}

@media (max-width: 1024px) {
    .elementor-13 .elementor-element.elementor-element-4aa1847 .chatonline.menu-item a.hfe-menu-item {
        padding-left: 38px;
        padding-right: 38px;
        font-size: 12px;
    }

    .hfe-flyout-container .hfe-nav-menu li.chatonline.menu-item {
        width: max-content;
    }

    .hfe-flyout-container .hfe-nav-menu li.contacto.menu-item {
        padding: 36px 0px 0px 0px;
    }

    .elementor-13 .elementor-element.elementor-element-4aa1847 .menu-label.menu-item a.hfe-menu-item {
        font-size: 30px;
    }

    .elementor-13 .elementor-element.elementor-element-4aa1847 .menu-item.contact-menu a.hfe-menu-item {
        font-size: 15px;
    }

    .hfe-nav-menu li.social-icon a i.fa-linkedin {
        margin-left: 0px;
    }

    .hfe-nav-menu li.social-icon a i {
        font-size: 30px;
        margin-left: 20px;
    }

    .heading-lines .elementor-headline-dynamic-text::after {
        height: 10px;
    }

    .courses-tabs {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        border-radius: 20px;
    }

    .courses-tabs li {
        font-size: 15px;
        padding: 8px 18px;
    }

    .course-item {
        flex: 0 0 calc(50% - 10px);
        padding: 10px;
    }

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

    .course-link a {
        font-size: 14px;
        padding: 10px 30px
    }

    .marquee-text {
        font-size: 48px;
    }
}

@media (max-width: 767px) {
    .menu-label {
        display: block;
    }

    .elementor-13 .elementor-element.elementor-element-4aa1847 .menu-label.menu-item a.hfe-menu-item {
        font-size: 17px;
    }

    .elementor-13 .elementor-element.elementor-element-4aa1847 .menu-item.contact-menu a.hfe-menu-item {
        font-weight: normal;
        font-size: 15px;
    }

    .hfe-nav-menu li.social-icon {
        margin-top: 10px;
        display: inline-block;
    }

    .hfe-nav-menu li.social-icon a i {
        font-size: 18px;
        margin-left: 20px;
    }

    .heading-lines .elementor-headline-dynamic-text::after {
        height: 6px;
    }

    .tabs-container {
        justify-content: flex-start;
    }

    .courses-tabs {
        flex-wrap: wrap;
        overflow-x: unset;
        border-radius: 12px;
        gap: 10px;
        justify-content: center;
    }

    .courses-tabs li {
        flex: 0 0 auto;
        font-size: 14px;
        padding: 8px 16px;
    }

    .course-item {
        flex: 0 0 calc(100% - 10px);
        padding: 10px;
    }

    .marquee-text {
        font-size: 36px;
    }
}

@media (min-width: 768px) {
    .slide-home {
        background: #1E346E;
        margin-top: -25px;
    }
}