.nav-bar {
    position:relative !important;
}

.head {
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content:center;
    width:100%;
    gap:30px;

    h1 {
        color:var(--prpl-b-col);
    }

    .flag {
        width:200px;
        display:flex;
        align-items: center;
        justify-content:space-around;
        text-transform: uppercase;
        font-size:20px;
        gap:10px;
        padding:10px;
        font-weight:600;
        border:2px solid var(--prpl-b-col);
        color:var(--prpl-b-col);
        cursor:pointer;
        border-radius:10px;
    }
}

.switching-tabs {
    display:flex;
    align-items: center;
    justify-content:center;
    margin-top:20px;

    .tabs {
        display:flex;
        align-items: center;
        justify-content:center;
        border-radius:20px;
        border:2px solid var(--prpl-b-col);
    }

    .tab {
        width:200px;
        padding:10px;
        font-weight:600;
        cursor:pointer;
        color:var(--prpl-b-col);
        transition:all 0.3s ease-in-out;
        text-align: center;

        &.active {
            background-color:var(--prpl-b-col);
            border-radius:15px;
            color:white;
        }
    }
}

.memberships {
    display:flex;
    align-items: center;
    align-content:center;
    justify-content:center;
    gap:40px;
    margin-top:100px;
    flex-wrap:wrap;

    #builder {  
        .icon .char {
            background:#ffffff57;
        }
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color:white !important;
        transform:scale(1.1);

        .check {
            color:rgba(255, 255, 255, 0.425);
        }

        ul li {
            color:white;
        }

        .price {
            color:white;
            background:transparent !important;                
            -webkit-background-clip:unset;
            -webkit-text-fill-color: unset;
        }

        #des {
            color:white;
        }

        button {
            background:white;
            color:#8C52FF;
        }

        .payment-options {
            border:1px solid #ffffff8e;
            li {
                color:rgba(255, 255, 255, 0.397);
            }

            .active {
                color:black;
                background:white;
            }
        }
    }

    #free {
        .price {
            color:black;
            background:transparent !important;                
            -webkit-background-clip:unset;
            -webkit-text-fill-color: unset;
        }

        .bottom {
            width:100%;
            button {
                width:100%;
                padding:20px;
                background:transparent;  
                border: 2px solid #8C52FF;
                color: #8C52FF;
                transition:.3s ease-in-out;

                &:hover {
                    color:white;
                    background:#8C52FF;
                }
            }
        }
    }

    .membership {
        background-color:white;
        border-radius:20px;
        width:350px;
        height:683px;
        box-shadow:0 0 10px rgba(0,0,0,0.08);
        border:1px solid rgba(0, 0, 0, 0.171);
        display:flex;
        flex-direction: column;
        align-items: center;
        gap:15px;
        transition:all 0.3s ease-in-out;
        padding:2rem;
        z-index:9;

        .top {
            border-radius: 20px 20px 0 0;
            width:100%;
            text-align:center;

            h2 {
                font-weight: 900;
            }

            .icon {
                display:flex;
                width:100%;
                justify-content: center;
                .char {
                    display:flex;
                    align-items: center;
                    justify-content: center;
                    width:64px;
                    height:64px;
                    background:rgba(70, 70, 70, 0.164);
                    border-radius:10px;
                }
            }
            .price {
                font-weight: 900;
                font-size:30px;
                background: linear-gradient(135deg, #8C52FF, #C9A2FF);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
            }
        }
        #des {
            color:gray;
            font-size:13px;
        }

        .mid {
            display:flex;
            justify-content: center;
            width:100%;
        }

        &:hover {
            transform:translateY(-10px); 
            box-shadow:0 0 20px rgba(0,0,0,0.2);
        }


        ul {
            width:80%;
            display:flex;
            flex-direction:column;
            list-style-type:none;
            padding:0;

            .check {
                color:rgb(179, 250, 179);
            }

            li {
                margin:10px 0;
                font-size:16px;
                color:gray;
            }
        }

        .bottom { 
            width:100%;
            padding:20px;
        }

        .bottom button {  
            background: linear-gradient(135deg, #8C52FF, #C9A2FF);
            color:white;
            border:none;
            width:100%;
            padding:20px;
            border-radius:10px;
            cursor:pointer;
            font-weight:600;
            transition:background-color 0.3s ease-in-out;

            &:hover {
                background-color:var(--prpl-col);
            }
        }

        .payment-options {
                width:100%;
                margin:10px 0;
                padding:3px;
                display:flex;
                flex-direction: row;
                border:1px solid #8c52ff77;

                li {
                    width:80%;
                    padding:5px;
                    list-style: none;
                    color:#00000079;
                    text-align: center;
                    cursor:pointer;
                }

                .active {
                    background:#8C52FF;
                    color:white;
                    border-radius:4px;
                }
        }
    }
}

.custom-classes {
    display:none;
    align-items: flex-start;
    justify-content:center;
    gap:20px;
    margin-top:30px;
    flex-wrap:wrap;

    .module {
        width:28%;
        padding:40px;
        background:white;
        box-shadow:0 0 10px rgba(0,0,0,0.1);

        .title {
            width:100%;
            display:flex;
            margin-bottom:35px;
            justify-content: center;
            flex-wrap: wrap;

            .logo {
                width:50%;
                img {
                    width:100%;
                    height:90px;
                    object-fit: cover;
                }
            }

            h1 {
                line-height: 0;
            }
        }

        .section-name {
            font-size:19px !important;
            font-weight:600 !important;
        }

        .programs {
            display:flex;
            flex-direction: row;
            padding:10px;
            margin-top:5px;
            gap:15px;

            .active {
                background:rgb(247, 214, 246);

                .check {
                    display:block !important;
                    color:var(--prpl-b-col);
                }
            }

            .program {
                display:flex;
                position:relative;
                flex-direction: column;
                align-items: center;
                justify-content: space-between;
                padding:10px;
                border:2px solid rgba(168, 127, 166, .3);
                border-radius:5px;
                text-align: center;
                cursor:pointer;

                .icon i {
                    font-size:30px;
                }

                .name {
                    font-size:17px;
                }

                .check {
                    display:none;
                    position:absolute;
                    font-size:13px;
                    right:5px;
                    top:5px;
                }

            }
        }

        .slider {
            -webkit-appearance: none;
            width: 100%;
            height: 6px;
            border-radius: 3px;
            outline: none;
        }

        .slider::-webkit-slider-runnable-track {
            height: 6px;
            border-radius: 3px;
            background: transparent; 
        }
        .slider::-moz-range-track {
            height: 6px;
            border-radius: 3px;
            background: transparent;
        }

        .slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: #1e88e5;
            cursor: pointer;
            border: none;
            margin-top: -7px;
        }
        .slider::-moz-range-thumb {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: #1e88e5;
            cursor: pointer;
            border: none;
        }

        .range {
            width:100%;
            display:flex;
            align-items: center;
            justify-content: space-between;
            color:#0000006b;
            font-weight: bold;
        }

        .class-duration {
            width:100%;
            margin-top:20px;
            .button-duration {
                display:flex;
                flex-direction: row;
                gap:5px;
                width:100%;

                .active {
                    background-color:var(--prpl-b-col);
                    color:white;
                }

                button {
                    width:50%;
                    color:white;
                    border:none;
                    padding:20px 20px;
                    border-radius:10px;
                    cursor:pointer;
                    font-weight:600;
                    font-size:16px;
                    color:black;
                    background:white;
                    border:2px solid rgba(168, 127, 166, .3);
                    transition:background-color 0.3s ease-in-out;
        
                    &:hover {
                        color:white;
                        background-color:var(--prpl-b-col);
                    }
                }
            }
        }

        .resume {
            margin-top:20px;
            width:100%;
            padding: 5px 15px;
            border-radius: 10px;
            display:flex;
            flex-direction: column;
            gap:10px;
            font-size:17px;
            background:#fcfcfc;
            border:2px solid rgba(168, 127, 166, .3);
        }

        .opciones-pago {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            gap: 10px;
            font-family: sans-serif;
        }

        .opcion {
            width:210px;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 16px;
            cursor: pointer;
            font-weight: bolder;
        }

        .opcion input[type="radio"] {
            accent-color: var(--prpl-b-col);
            width: 16px;
            height: 16px;
        }

        .descuento {
            background-color: #d4f7d4;
            color: #1a7f1a;
            font-size: 13px;
            font-weight: 600;
            padding: 2px 6px;
            border-radius: 6px;
            margin-left: 6px;
        }

        .submit-button-block {
            width:100%;
            button {
                width:100%;
                padding:20px;
                font-size:bolder;
                background-color:var(--prpl-b-col);
                color:white;
                border:none;
                border-radius:5px;
                font-size:16px;
                font-weight:600;
            }
        }
    }
}