@font-face {
    font-family: "HANSON-BOLD";
    src: url('../fonts/HANSON-BOLD.OTF');
}

.navigation {
    margin: 10px 0;
    padding: 0px;
    list-style-type: none;
    .nav-link {
        display: inline-block;
        padding: 7px 10px;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        border-radius: 7px;
        cursor: pointer;
    }

    .nav-link:hover {
        background-color: rgba(0, 0, 0, 1);
    }

    .nav-link.active {
        background-color: rgba(0, 0, 0, 1);
    }
}

#section_registros {
    display: none;
    padding-bottom: 10px;
}

#section_registros.active {
    display: block;
}

#section_votos {
    display: none;
    padding-bottom: 10px;
}

#section_votos.active {
    display: block;
}

#section_participantes {
    display: none;
    padding-bottom: 10px;
}

#section_participantes.active {
    display: block;
}

h2 {
    text-align: center;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
    .card {
        .card-body {
            padding: 5px;
            .card-header {
                text-align: center;
                img{
                    width: 100% ;
                }
            }

            .card-description {
                .card-title, .card-conteo {
                    text-align: center;
                    margin: 0px;
                    padding: 0px;
                }
                .card-conteo {
                    background-color: #E5262B;
                    border-radius: 7px;
                    color: white;
                    padding: 7px ;
                }
            }
        }
    }
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.main {
    width: 100%;
    height: 100vh;
    background-image: url(/images/fondo_discoOnda2024_desktop.png);
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}
/* 
#form_modal {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    width: 100vw;
    height: 100svh;
    position: absolute;
    z-index: 9999;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    place-items: center;
    display: none;
}

#form_modal.active {
    display: grid
}

#form_modal>form {
    margin: 0 auto;
    background-color: black;
    color: white;
    border-radius: 20px;
    border: solid white 6px;
    padding: 10px;
}

#form-btn {
    background-color: white;
    color: black;
    border: none;
}

#form-btn:active {
    background-color: #E5262B;
    color: white;
}

.label_name {
    font-size: 0.9rem;
}

.x-icon {
    float: right;
    cursor: pointer;
}

.x-icon::after {
    clear: both;
}

.form_title {
    border-bottom: 3px solid white;
}

.form-btn {
    float: right;
}

.form-btn::after {
    clear: both;
}

.form-btn-container {
    margin-top: 4px;
    border-top: 4px solid white;
    padding-top: 4px;
}

.form_fields {
    overflow-x: hidden;
    padding-right: 10px;
}

select:disabled {
    opacity: 0.7;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: #FF3D00;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.loader_container {
    display: none;
}

.tyc_container {
    text-align: right;
    padding: 4px 0;
}

.tyc_link {
    color: white;
} */

#section_1 {
    width: 100%;
    height: 100vh;
    display: none;
    place-items: center;
    
    .mid_content {
        position: relative;
        /* width: 88.7vw; */
        width: 95vw;
        /* height: 68.4vh; */
        height: 75vh;
        display: flex;
        text-align: center;

        .left_content {
            position: relative;
            width: 49%;
            height: 100%;
            
            .logo_disco_onda {
                position: absolute;
                top: 0;
                left: 50%;
                transform: translateX(-50%);    
                height: 70%;
                width: 100%;
                object-fit: contain;
            }

            .artistas {
            position: absolute;
                bottom: 0;
                left: 50%;
                transform: translateX(-50%);
                height: 50%;
                width: 100%;
                object-fit: contain;
            }
        }

        .right_content {
            width: 49%;
            
            .texto_vota_y_gana_desktop {
                width: 80%;
            }

            
            .smartwatch_container {
                height: 75%;
                position: relative;
                
                .texto_vota_y_gana_mobile {
                    display: none;
                }
                
                .smartwatch {
                    height: 100%;
                }
                
                .redmi_text {
                    width: 30%;
                    position: absolute;
                    top: 10%;
                    left: 40px;
                    
                }
                
                .fecha {
                    position: absolute;
                    width: 60%;
                    bottom: 0;
                    left: 50%;
                    transform: translateX(-50%);
                }
            }
        }

        .boton_vota_aqui_container {
            width: 400px;
            height: 80px;
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            
            .boton_vota_aqui {
                background-color: #E87100;
                width: 100%;
                border: none;
                outline: none;
                height: 100%;
                font-family: "HANSON-BOLD", sans-serif;
                border-radius: 100px;
                display: flex;
                gap: 10px;
                font-size: 2.1rem;
                color: white;
                align-items:  center;
                justify-content: center;
                
                .arrow_image {
                    width: 2.2rem; 
                    margin-left: 10px;
                }
            }
        }
    }

}

#section_1.active {
    display: grid;
}

#section_2 {
    display: none;
    color: white;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    position: relative;

    .logo_container {
        height: 45vh;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;

        img {
        max-height: 100%;
        }
    }

    .slider_container {
        width: 100%;
        height: 52.5vh;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        position: relative;

        .arrow_left,
        .arrow_right {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            font-size: 3rem;
            font-weight: bolder;
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            border: none;
            outline: none;
            margin: 5px;
            cursor: pointer;
            z-index: 20;
            background-color: white;
            color: #0A5040;
        }

        .arrow_left:disabled,
        .arrow_right:disabled {
            opacity: 0.3;
            pointer-events: none;
        }

        .arrow_left {
            left: 7vw;
            top: 40%;
            transform: translateY(-50%);
        }

        .arrow_right {
            right: 7vw;
            top: 40%;
            transform: translateY(-50%);
        }

        .swiper {
            width: 72vw;

            .swiper-wrapper {
                width: 100%;

                .swiper-slide {
                    width: 260px !important;
                    padding: 10px 20px;
                    background-color: white;
                    border-radius: 10px;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    cursor: pointer;

                    .imagen_candidato {
                        width: 100%;

                        img {
                            max-width: 100%;
                        }
                    }

                    .nombre_candidato {
                        text-align: center;
                        color: black;
                        font-weight: bolder;
                        height: 150px;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;
                        color: #0A5040;
                        font-family: Montserrat, sans-serif;
                        .titulo {
                            font-family: "HANSON-BOLD", sans-serif;
                            padding-top: 10px;
                            display: inline-block;
                            text-transform: uppercase;
                            line-height: 101%;
                            font-size: 1.4rem;
                        }
                    }

                }

                .swiper-slide.picked {
                    background-color: #E87100;

                    .nombre_candidato {
                        color: white;
                    }
                }
            }
        }
    }

}

#section_2.active {
    display: flex;
    overflow: hidden !important;
}

#section_3 {
    width: 100%;
    height: 100vh;
    display: none;
    position: relative;
    place-items: center;

    .logo_onda {
        position: absolute;
        top: 7.5vh;
        width: 14vw;
        left: 50%;
        transform: translateX(-50%);
    }
    .mid_content {
        position: relative;
        /* width: 88.7vw; */
        width: 95vw;
        /* height: 68.4vh; */
        height: 75vh;
        display: flex;
        text-align: center;

        .left_content {
            position: relative;
            width: 49%;
            height: 100%;
            
            .logo_disco_onda{
                height: 50%;
            }

            .premio_container {
                height: 66%;
                width: 100%;
                position: absolute;
                bottom: 0;
                left: 50%;
                transform: translateX(-50%);

                .smartwatch {
                    height: 100%;
                }

                .redmi_text {
                    width: 30%;
                    position: absolute;
                    top: 15%;
                    left: 40px;
                }

                .fecha {
                    position: absolute;
                    bottom: 0;
                    left: 50%;
                    transform: translateX(-50%);
                    width: 60%;
                }
            }
        }

        .right_content {
            position: relative;
            width: 49%;
            height: 100%;
            display: grid;
            place-items: center;
            color: white;

            form {
                width: 50%;
                text-align: center;
                
                .form_title {
                    margin-bottom: 40px;
                }

                input {
                    background-color: transparent;
                    border-radius: 10px;
                    border: solid 1px rgba(255, 255, 255, 0.6);
                    font-size: 1.5rem;
                    padding: 10px 20px;
                    margin-bottom: 20px;
                    color: white;
                }

                select {
                    background-color: transparent;
                    border-radius: 10px;
                    border: solid 1px rgba(255, 255, 255, 0.7);
                    font-size: 1rem;
                    padding: 10px 20px;
                    margin-bottom: 20px;
                    color: white;
                
                    option {
                        color: black;
                    }
                }

                select:disabled{
                    opacity: 0.6;
                }

                ::placeholder {
                    font-size: 1.5rem;
                    color: white;
                    opacity: 1; /* Firefox */
                }

                .form-btn-container {
                    .tyc_container {
                        display: flex;
                        align-items: center;
                        text-align: left;
                        gap: 10px;
                        margin-bottom: 30px;

                        .tyc_label {
                            cursor: pointer;
                            #tyc {
                                display: none;
                            }
                            
                            .tyc_span {
                                display: inline-block;
                                width: 11px;
                                height: 11px;
                                border-radius: 2px;
                                border: solid 2px #D96800;
                                background-color: white;
                            }

                            #tyc:checked + .tyc_span {
                                background-color: #D96800;
                            }
                        }

                        a {
                            text-decoration: none;
                            color: white;
                        }
                    }

                    .form-btn {
                        display: block;
                        margin: 0 auto;
                        padding: 10px 20px;
                        border-radius: 50px;
                        border: none;
                        outline: none;
                        font-family: "HANSON-BOLD", sans-serif;
                        font-size: 0.8rem;
                        color: #032C1F;
                    }
                }
            }   

        }
    }
}

#section_3.active {
    display: grid;
}

#section_4 {
    width: 100%;
    height: 100vh;
    display: none;
    place-items: center;

    .mid_content {
        position: relative;
        /* width: 88.7vw; */
        width: 95vw;
        /* height: 68.4vh; */
        height: 75vh;
        display: flex;
        text-align: center;

        .left_content {
            position: relative;
            width: 49%;
            height: 100%;
            
            .logo_disco_onda{
                height: 60%;
            }

            .premio_container {
                height: 55%;
                width: 100%;
                position: absolute;
                bottom: 0;
                left: 50%;
                transform: translateX(-50%);

                .smartwatch {
                    height: 100%;
                }

                .redmi_text {
                    width: 30%;
                    position: absolute;
                    top: 15%;
                    left: 40px;
                }

            }
        }

        .right_content {
            position: relative;
            width: 49%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: white;

            .logo_onda {
                height: 25%;
            }

            .gracias_por_votar {
                height: 52%;
                width: 100%;
                object-fit: contain;
            }

            .fecha {
                height: 13%;
            }

        }
    }
}

#section_4.active {
    display: grid;
}



@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 1400px) {
    #section_1 {
        
        & .mid_content {
            & .left_content {
                .artistas {
                    bottom: 10%;
                }
            }
        }
    }
}

@media screen and (max-width: 1200px) {
    #section_1 {
        
        & .mid_content {

            .texto_vota {
                font-size: 4rem;
            }
        }
    }
}

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

    #form_sorteo {
        width: 100%;
    }

    .social-info-container {
        height: 140px;
    }
}

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

    .main {
        background-image: url(/images/fondo_discoOnda2024_mobile.png);
        background-size: cover;
        background-repeat: no-repeat;
        height: 100svh;
    }

    #section_1 {
        padding-top: 10%;
        width: 100%;
        height: 100svh;
        display: none;
        place-items: center;
        
        .mid_content {
            position: relative;
            width: 100%;
            height: 100svh;
            display: flex;
            flex-direction: column;
            text-align: center;
    
            .left_content {
                position: relative;
                width: 100%;
                height: 40svh;
                
                .logo_disco_onda {
                    position: absolute;
                    top: 0;
                    left: 50%;
                    transform: translateX(-50%);    
                    height: 60%;
                    width: 100%;
                    object-fit: contain;
                }
    
                .artistas {
                    position: absolute;
                    bottom: 0;
                    left: 50%;
                    transform: translateX(-50%);
                    height: 60%;
                    width: 100%;
                    object-fit: contain;
                }
            }
    
            .right_content {
                width: 100%;
                height: 55svh;
                position: relative;
                top: -20px;

                .texto_vota_y_gana_desktop {
                    display: none;
                }
    
                
                .smartwatch_container {
                    height: 75%;
                    position: relative;
                    display: flex;
                    flex-direction: row-reverse;
                    align-items: center;
                    justify-content: center;

                    .texto_vota_y_gana_mobile {
                        display: block;
                        width: 45%;
                        transform: translateY(-23%);
                    }
                    
                    .smartwatch {
                        width: 55%;
                        object-fit: contain;
                    }
                    .redmi_text {
                        width: 30%;
                        position: absolute;
                        top: 10%;
                        left: 0px;
                        
                    }
                    .fecha {
                        position: absolute;
                        width: 45%;
                        bottom: 33%;
                        left: 75%;
                        transform: translateX(-50%);
                    }
                }
            }
    
            .boton_vota_aqui_container {
                width: 60%;
                position: absolute;
                top: 77.5svh;
                left: 50%;
                padding: 10px 12px;
                transform: translateX(-50%);
                
                .boton_vota_aqui {
                    background-color: #E87100;
                    width: 100%;
                    border: none;
                    outline: none;
                    height: 100%;
                    font-family: "HANSON-BOLD", sans-serif;
                    border-radius: 100px;
                    display: flex;
                    gap: 10px;
                    font-size: 1.2rem;
                    color: white;
                    align-items:  center;
                    justify-content: center;

                    .arrow_image {
                        position: relative;
                        top: -3px;
                        width: 1.5rem; 
                        margin-left: 0;
                    }
                }
            }
        }
    
    }

    #section_2 {
        display: none;
        color: white;
        width: 100%;
        height: 100svh;
        flex-direction: column;
        justify-content: flex-start;
        position: relative;

        .logo_container {
            height: 25svh;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;

            img {
                max-height: 100%;
            }
        }

        .slider_container {
            height: 74svh;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            position: relative;

            .arrow_left,
            .arrow_right {
                width: 40px;
                height: 40px;
                border-radius: 50%;
                border: none;
                font-size: 3.2rem;
                font-weight: bolder;
                font-weight: bolder;
                display: block;
                /* align-items: center; */
                /* justify-content: center; */
                position: absolute;
                margin: 5px;
                cursor: pointer;
                z-index: 20;
                background-color: transparent;
                color: white;
                line-height: 150%;
            }

            .arrow_left:disabled,
            .arrow_right:disabled {
                opacity: 0.3;
                pointer-events: none;
                color: gray;
                border: none;
            }

            .arrow_left {
                left: 5px;
                top: -55px;
                transform: translateY(-50%);
            }

            .arrow_right {
                right: 5px;
                top: -55px;
                transform: translateY(-50%);
            }

            .swiper {
                width: 100%;
                height: 100%;
                /* padding: 5px; */

                .swiper-wrapper {
                    width: 100%;
                    height: 100%;


                    .swiper-slide {
                        width: calc(50vw - 10px) !important;
                        height: calc((100% - 8px ) / 2) !important;
                        padding:  0;
                        background-color: white;
                        border-radius: 10px;
                        border: solid white 2px;
                        /* display: flex;
                        flex-direction: column;
                        justify-content: center;
                        align-items: center; */
                        cursor: pointer;
                        
                        .imagen_candidato {
                            width: 100%;
                            height: 63%;
                            overflow: hidden;
                            border-radius: 8px;
                            img {
                                position: relative;
                                top: -20px;
                                border-radius: 8px;
                                max-width: 100%;
                            }
                        }

                        .nombre_candidato {
                            text-align: center;
                            color: black;
                            font-weight: bolder;
                            height: 37%;
                            font-family: "Poppins", sans-serif;
                            display: flex;
                            flex-direction: column;
                            align-items: center;
                            justify-content: center;
                            line-height: 100%;
                            font-size: 0.8rem;
                            color: #0A5040;

                            .titulo {
                                font-size: 1rem;
                                padding-top: 0px;
                                display: inline-block;
                            }
                        }

                    }

                    .swiper-slide.picked {
                        background-color: #E87100;
                        border: solid #E87100 2px;
                        .nombre_candidato {
                            color: white;
                        }
                    }
                }
            }
        }

        .social-info-container {
            height: 80px;

            .social-info {
                height: 100%;
                display: flex;
                flex-direction: column;

                .sitio-web {
                    width: 100%;
                    color: white;
                    justify-content: center;
                    font-size: 0.8rem;
                    padding-top: 5px;
                    text-shadow: 5px 5px 10px black;
                }

                .social-icons {
                    width: 100%;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    gap: 5px;
                    padding-bottom: 5px;

                    a {
                        display: inline-block;
                        box-shadow: 5px 5px 10px black;
                        text-shadow: 4px 4px 10px black;
                        width: 30px;
                        height: 30px;
                        border-radius: 50%;
                        display: grid;
                        place-items: center;
                        border: solid white 4px;
                        text-decoration: none;
                        color: white;
                        font-weight: 600;
                        font-size: 1rem;
                    }
                }
            }
        }
    }

    #section_3 {
        width: 100%;
        height: 100svh;
        display: none;
        position: relative;
        place-items: center;
    
        .logo_onda {
            display: none;
        }
        .mid_content {
            position: relative;
            /* width: 88.7vw; */
            width: 100%;
            /* height: 68.4vh; */
            height: 100svh;
            display: flex;
            flex-direction: column;
            text-align: center;
    
            .left_content {
                position: relative;
                width: 100%;
                height: 40%;
                
                .logo_disco_onda{
                    height: 60%;
                }
    
                .premio_container {
                    height: 60%;
                    width: 100%;
                    position: absolute;
                    bottom: 0;
                    left: 50%;
                    transform: translateX(-50%);
    
                    .smartwatch {
                        height: 100%;
                    }
    
                    .redmi_text {
                        width: 30%;
                        position: absolute;
                        top: 15%;
                        left: 40px;
                    }
    
                    .fecha {
                        position: absolute;
                        bottom: 0;
                        left: 50%;
                        transform: translateX(-50%);
                        width: 60%;
                    }
                }
            }
    
            .right_content {
                position: relative;
                width: 100%;
                height: 50%;
                display: grid;
                place-items: center;
                color: white;
    
                form {
                    padding: 0 10px;
                    width: 100%;
                    text-align: center;
                    
                    .form_title {
                        margin-bottom: 10px;
                    }
    
                    input {
                        background-color: transparent;
                        border-radius: 10px;
                        border: solid 1px rgba(255, 255, 255, 0.6);
                        font-size: 1.5rem;
                        padding: 8px 10px;
                        margin-bottom: 10px;
                        color: white;
                    }
    
                    select {
                        background-color: transparent;
                        border-radius: 10px;
                        border: solid 1px rgba(255, 255, 255, 0.7);
                        font-size: 1rem;
                        padding: 8px 10px;
                        margin-bottom: 10px;
                        color: white;
                    
                        option {
                            color: black;
                        }
                    }
    
                    select:disabled{
                        opacity: 0.6;
                    }
    
                    ::placeholder {
                        font-size: 1rem;
                        color: white;
                        opacity: 1; /* Firefox */
                    }
    
                    .form-btn-container {
                        .tyc_container {
                            display: flex;
                            align-items: center;
                            text-align: left;
                            gap: 10px;
                            margin-bottom: 30px;
    
                            .tyc_label {
                                cursor: pointer;
                                #tyc {
                                    display: none;
                                }
                                
                                .tyc_span {
                                    display: inline-block;
                                    width: 11px;
                                    height: 11px;
                                    border-radius: 2px;
                                    border: solid 2px #D96800;
                                    background-color: white;
                                }
    
                                #tyc:checked + .tyc_span {
                                    background-color: #D96800;
                                }
                            }
    
                            a {
                                text-decoration: none;
                                color: white;
                            }
                        }
    
                        .form-btn {
                            display: block;
                            margin: 0 auto;
                            padding: 10px 20px;
                            border-radius: 50px;
                            border: none;
                            outline: none;
                            font-family: "HANSON-BOLD", sans-serif;
                            font-size: 0.8rem;
                        }
                    }
                }   
    
            }
        }
    }
    
    #section_4 {
        width: 100%;
        height: 100svh;
        display: none;
        place-items: center;
    
        .mid_content {
            position: relative;
            /* width: 88.7vw; */
            width: 100vw;
            /* height: 68.4vh; */
            height: 100svh;
            display: flex;
            flex-direction: column;
            text-align: center;
    
            .left_content {
                position: relative;
                width: 100%;
                height: 50%;
                
                .logo_disco_onda{
                    height: 60%;
                }
    
                .premio_container {
                    height: 55%;
                    width: 100%;
                    position: absolute;
                    bottom: 0;
                    left: 50%;
                    transform: translateX(-50%);
    
                    .smartwatch {
                        height: 100%;
                    }
    
                    .redmi_text {
                        width: 30%;
                        position: absolute;
                        top: 15%;
                        left: 40px;
                    }
    
                }
            }
    
            .right_content {
                position: relative;
                width: 100%;
                height: 50%;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                color: white;
    
                .logo_onda {
                    height: 25%;
                }
    
                .gracias_por_votar {
                    height: 52%;
                    width: 100%;
                    object-fit: contain;
                }
    
                .fecha {
                    height: 13%;
                }
    
            }
        }
    }
    

}



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

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


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

    #form_sorteo {
        transform: scale(1.3);
    }
}