html,
body {
    overflow-y: scroll;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

body {
    background-color: #141414;
    color: #fff;
}

header {
    position: fixed;
    inset: 0;
    bottom: auto;
    z-index: 999;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.hero video,
.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero .overlay {
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero .content {
    position: relative;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 20px;
    max-width: 600px;
    text-align: left;
}

.carousel-section {
    padding: 2rem 0;
}

.caroulsel-header {
    padding: 0 20px;
}

.card-custom {
    background: none;
    border: none;
    transition: transform 0.3s ease;
}

.card-custom:hover {
    transform: scale(1.05);
}

footer {
    background: #111;
    padding: 3rem 1rem 2rem 1rem;
    color: #aaa;
    font-size: 0.9rem;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: flex-start;
    margin-bottom: 2rem;
}

.footer-column {
    min-width: 200px;
}

.footer-column h6 {
    color: #fff;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-column a {
    color: #aaa;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-column a:hover {
    text-decoration: underline;
}

.footer-overlay::before{
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    height: 48px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    z-index: 10;
}

.bottom-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
    z-index: 10;
}

.bottom-navbar a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bottom-navbar a span {
    font-size: 0.75rem;
}

/* 
[class^="number-slide"],
[class*=" number-slide"] {
    background: grey;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: #fff;
    font-weight: 500;
    height: 300px;
    max-height: 100vh;
} */



.navigation-wrapper {
    position: relative;
}




@media (max-width: 767px) {
    .navigation-wrapper .arrow {
        display: none;
    }

}

@media (min-width: 768px) {
    .navigation-wrapper .arrow {
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        -ms-transition: all 0.5s ease;
        transition: all 0.5s ease;

        opacity: 0;
        /* width: 150px; */ width: 91px;
        position: absolute;
        top: 0;
        bottom: 14px;
        cursor: pointer;
        background-repeat: no-repeat, no-repeat;
        background-position: left center, center;
        /* background-size: auto, 2.5rem; */
        z-index: 3;
    }

    .navigation-wrapper:HOVER .arrow {
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        -ms-transition: all 0.5s ease;
        transition: all 0.5s ease;
        opacity: 1;
    }
}

.arrow--left {
    left: 0;
    background-image:  
    url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24' %3E%3Cpath d='M16.67 0l2.83 2.829-9.339 9.175 9.339 9.167-2.83 2.829-12.17-11.996z' %3E%3C/path%3E%3C/svg%3E"),
    linear-gradient(to left, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.9))
    ;
}

.arrow--right {
    right: 0;
    background-image: 
    url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24' %3E%3Cpath d='M5 3l3.057-3 11.943 12-11.943 12-3.057-3 9-9z'%3E%3C/path%3E%3C/svg%3E"),
    linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.9))
    ;
}



.progress-bar-wrapper {
    width: 100%;
    height: 4px;
    background: #333;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 10px;
    z-index: 1;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(to right, #dc3545, #ffd0d9);
    width: 0%;
    transition: width 0.3s ease;
}

.keen-slider {
    align-items: center;
    overflow: visible !important;
    z-index: 2;
}

.keen-slider__slide {
    border-radius: 8px;
    height: fit-content;
    position: relative !important;
    overflow: hidden !important;
    background-color: transparent;
    z-index: 20;
}

@media (min-width: 768px) {
    .keen-slider:not(.slider_portrait) .keen-slider__slide:hover {
        z-index: 30;
        overflow: visible !important;
        /* min-width: 20vw !important; */
    }
}

.keen-slider.info_show_right .slide_container {
    width: 100%;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;

    border-radius: 8px;
    background-color: #181818;
}

@media (min-width: 768px) {
    .keen-slider .slide_container {
        position: absolute;
        inset: 0;
        width: 100%;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        -ms-transition: all 0.5s ease;
        transition: all 0.5s ease;

    transition-delay: 0.25s !important;
    
        border-radius: 8px;
        background-color: #181818;
    }

    .keen-slider__slide:hover .slide_container {
        z-index: 20;
        width: 120%;
        height: fit-content;
        top: -20%;
        left: -10%;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        -ms-transition: all 0.5s ease;
        transition: all 0.5s ease;


    transition-delay: 0.1s !important;

        border-radius: 8px;
        box-shadow: 10px 10px 20px -3px rgba(0, 0, 0, 0.75);
        box-shadow: 20px 20px 30px -3px rgba(0, 0, 0, 0.50);
    }
}

@media (min-width: 768px) {
    .keen-slider__slide .slide_content:not(.slide_content_img) {
        opacity: 0;
        margin: 0 1rem;        
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        -ms-transition: all 0.5s ease;
        transition: all 0.5s ease;
        transition-delay: 0.25s;
    }

    .keen-slider__slide:hover .slide_content {
        opacity: 1;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        -ms-transition: all 0.5s ease;
        transition: all 0.5s ease;


    transition-delay: 0.1s !important;

    }
}

.keen-slider__slide .slide_content_img {
    border-radius: 8px;
}

.keen-slider.slider_portrait .slide_content_img {
    display: none;
}

@media (min-width: 768px) {
    .keen-slider.slider_portrait .slide_content_img {
        display: block;
    }

    .keen-slider__slide:hover .slide_content_img {
        border-radius: 8px 8px 0 0;
    }
}

.keen-slider__slide .slide_content_title_wrap {
    height: 60px;
    width: 100%;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 24px 0;
}

.keen-slider__slide .slide_content_title {
    padding-top: 20px;
    padding-bottom: 12px;
    font-size: 24px;
}

h5.slide_content_title {height: 74px;}

.keen-slider__slide .slide_content_title_wrap .slide_content_title {
    padding-top: 0;
    padding-bottom: 0;
}

.keen-slider__slide .slide_content_desc {
    font-size: 1rem;
}

.keen-slider__slide .slide_content_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

@media (min-width: 768px) {
    .keen-slider__slide .slide_content_title_wrap {
        margin: 0;
        height: fit-content;
    }

    .keen-slider__slide .slide_content_title_wrap .slide_content_title {
        padding-top: 20px;
        padding-bottom: 12px;
    }

    .keen-slider__slide_landscape {
        aspect-ratio: 16 / 9;
    }

    .keen-slider__slide_square {
        aspect-ratio: 1 / 1;
    }
}

.keen-slider__slide_portrait {
    aspect-ratio: 9 / 13;
}




.keen-slider.slider_portrait .number-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: min-width 0.5s ease;
    transition-delay: 0.25s;
}

.keen-slider.slider_portrait .absolute-link {
    position: absolute;
    inset: 0;
    bottom: 20%;
    z-index: 99;
}

@media (min-width: 768px) {
    .keen-slider.slider_portrait .slide_content:not(.slide_content_img) {
        display: none;
        z-index: 3;
    }

    .keen-slider.slider_portrait .number-slide:hover .slide_content {
        display: block;
    }

    .keen-slider.slider_portrait .number-slide .slide_content_img {
        opacity: 0;
        position: absolute;
        transition: opacity 0.5s ease-in-out;
    }

    .keen-slider.slider_portrait .number-slide:hover .slide_content_img {
        opacity: 1;
        position: relative;
    }

    /* .keen-slider.slider_portrait .number-slide .slide_content_img {
        opacity: 0;
        position: absolute;
        height: 100%;
    }

    .keen-slider.slider_portrait .number-slide:hover .slide_content_img {
        animation: fadeInAnimation 0.5s ease-in-out 0.25s forwards;
        z-index: 1;
        position: relative;
    } */
}


.keen-slider.slider_portrait .number-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 1;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
}

@media (min-width: 768px) {
    .keen-slider.slider_portrait .number-slide::before {
        opacity: 0;
        z-index: 2;
        background: radial-gradient(circle, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
    }

    .keen-slider.slider_portrait .number-slide:hover::before {
        opacity: 1;
    }
}

@keyframes fadeInAnimation {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


.video-player-container {
    background-color: #141414;
    position: relative;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    width: 100%;
    /* Assicura che occupi tutta la larghezza */
}

.video-player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    /* Rimuove il bordo dell'iframe */
}

.video-details {
    padding: 2rem 1rem;
    /* Padding per i dettagli */
}

.video-details-payd,
.video-details-no_payd {
    /* margin-top: calc(100vw / 16 * 9); */
    padding-top: 63px;
}


@media (min-width: 768px) {
    .video-details {
        padding: 2rem 5%;
        /* Più padding su schermi grandi */
    }

    .video-details-payd {
        margin-top: 60px;
    }

    .video-details-no_payd {
        margin-top: -18%;
        z-index: 10;
    }
}

.video-details h1 {
    color: #ffffff;
}

.video-details .badge {
    font-size: 0.9rem;
    padding: 0.4em 0.6em;
}

.video-details .lead {
    color: #cccccc;
    /* Colore leggermente più scuro per la descrizione */
    font-size: 1.1rem;
}

.video-details .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

.video-details p strong {
    color: #aaaaaa;
    /* Colore per le etichette dei metadati */
}

.related-content {
    padding: 2rem 1rem;
    /* Padding per contenuti correlati */
}

@media (min-width: 768px) {
    .related-content {
        padding: 2rem 5%;
        /* Più padding su schermi grandi */
    }
}

.related-content h2 {
    color: #ffffff;
    border-left: 4px solid #e50914;
    /* Bordo rosso come accento */
    padding-left: 0.8rem;
    margin-bottom: 1.5rem;
}

.related-content .card {
    border: none;
    background-color: #1a242f;
    /* Sfondo card leggermente diverso */
    transition: transform 0.2s ease-in-out;
}

.related-content .card:hover {
    transform: scale(1.03);
    cursor: pointer;
}

.related-content .card-body {
    padding: 0.75rem;
}

.related-content .card-title {
    font-size: 0.9rem;
    color: #ffffff;
}

.video .hero {
    /* position: fixed; */
    height: auto;
    top: 63px;
    left: 0;
    right: 0;
    aspect-ratio: 16/9;
    z-index: 1;
}


@media (min-width: 768px) {
    .video .hero {
        position: relative;
        top: 0;
    }
}

.slide_content_btn .rounded_btn {
    height: 42px;
}

.block_slide_6,
.block_slide_5,
.block_slide_4,
.block_slide_2 {
    transform: translateX(0) !important;
    transition: transform 0.5s ease-in-out !important;
    transition-delay: 0.25s !important;
}

.block_slide_6:has(.slide_6_a:hover) {
    transform: translateX(-340px) !important;
}

/* .block_slide_6:has(.slide_6_b:hover) {
    transform: translateX(-450px) !important;
} */

.block_slide_5:has(.slide_5_a:hover) {
    transform: translateX(-300px) !important;
}

/* .block_slide_5:has(.slide_5_b:hover) {
    transform: translateX(-400px) !important;
} */

.block_slide_4:has(.slide_4_a:hover) {
    transform: translateX(-260px) !important;
}

/* .block_slide_4:has(.slide_4_b:hover) {
    transform: translateX(-500px) !important;
} */


/* Sign In - Sign Out */
.login a {
    color: #FFF;
}

.login header,
.signup header {
    background: transparent;
    padding: 16px;
    /* backdrop-filter: none; */
}

.image_background {
    background-color: #141414;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/lw_assets/images/sfondo-prova.jpg');
background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.signup-wrapper {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('/lw_assets/images/sfondo-prova.jpg');
    background-size: cover;
}

.signup-wrapper-fill {
    background-color: #FFF;
    color: #141414;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('/lw_assets/images/sfondo-1.jpg');
    background-size: cover;
    background-position: right;
}

.signup-wrapper-fill-dark {
    background-color: #141414;
    color: #fff;
}




.login-container,
.signup-container {
    background-color: rgba(0, 0, 0, 0.85);
    max-width: 35rem;
}

.signup-wrapper-fill .login-container, .signup-container {
    background-color: rgb(255 255 255 /100%);
    max-width: 35rem;
}

.signup-container {
    width: 100%;
    max-width: 35rem;
}

/* Form input - label */
.form-control {
    background-color: transparent;
    line-height: 50px;
    padding: 0 16px;
    color: #888888;
}

.form-control::placeholder {
    color: #888888;
}

.form-control:focus {
    background-color: transparent;
    color: #888888;
}

.form-control-black,
.form-control-black::placeholder,
.form-control-black:focus {
    color: #141414;
}

.form-label {
    color: #FFF;
}

.btn_login,
.btn_signup {
    line-height: 38px;
}

.login-container,
.signup-container {
    padding: 16px;
}

.check_list_icon {
    font-size: 24px;
    line-height: 24px;
}

/* Plan Step */
.plan-card {
    display: block;
    width: 100%;
}

.list-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
    margin-right: 0.5rem;
    color: var(--bs-danger);
}

.plan-card .card {
    border-color: transparent;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.plan-card.selected .card {
    border-color: var(--bs-danger);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.plan-card input[type="radio"] {
    display: none;
}

/* Payment Step */
.payment-option {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 15px 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.payment-option:hover {
    border-color: #999;
}

.payment-option span {
    font-weight: 500;
}

.payment-option img {
    height: 25px;
    /* Altezza loghi pagamento */
    margin-left: 10px;
}

.payment-option .arrow {
    font-size: 20px;
    color: #666;
}

/* Stili per il form carta di credito (inizialmente nascosto) */
.credit-card-form {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 20px;
    margin-top: 10px;
    background-color: #f9f9f9;
}


.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.form-row .form-control {
    margin-bottom: 0;
}

.btn-start-membership {
    background-color: #e50914;
    border: none;
    font-size: 18px;
    font-weight: 400;
    padding: 15px 0;
    border-radius: 4px;
    margin-top: 24px;
    width: 100%;
    cursor: pointer;
    color: white;
    text-decoration: none;
    display: block;
    text-align: center;
}

.terms {
    font-size: 13px;
    color: #8c8c8c;
    margin-top: 20px;
}

.terms a {
    color: #0071eb;
    text-decoration: none;
}

.terms a:hover {
    text-decoration: underline;
}

/* Profile page */
.profile .image_background {
    margin-top: 16px;
}

.profile .nav-tabs {
    --bs-nav-tabs-border-color: #dc3645;
    --bs-nav-tabs-link-hover-border-color: #dc3645 #dc3645 #dc3645;
    --bs-nav-tabs-link-active-color: #fff;
    --bs-nav-tabs-link-active-bg: #dc3645;
    --bs-nav-tabs-link-active-border-color: #dc3645 #dc3645 #dc3645;
}

.profile .nav-link {
    color: #fff;
}

/* Utility */
.header-transparent {
    background: transparent;
    backdrop-filter: none;
}

.alpha_background {
    background-color: rgba(0, 0, 0, 0.75);
}

@media (min-width: 768px) {

    .login-container,
    .signup-container {
        padding: 60px;
    }

    .profile .image_background {
        margin-top: -48px;
    }

}
.arrow--disabled {display: none !important;}






.pagination-dark-red {
    background-color: #212529;
    padding: 10px;
    border-radius: 8px;
}

.pagination-dark-red .page-link {
    background-color: #141414;
    color: #fff;
    border: 1px solid #444;
}

.pagination-dark-red .page-link:hover {
    background-color: #550000;
    color: #fff;
}

.pagination-dark-red .page-item.active .page-link {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

.pagination-dark-red .page-item.disabled .page-link {
    background-color: #2c2c2c;
    color: #777;
    border-color: #444;
}
.ratio-strip {
    --bs-aspect-ratio: 143%;
    position: relative;
    width: 100%;
}