@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_masmas2025_desktop.jpg);
    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;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    .logo_container {
        width: 21vw;
        height: 18vh;

        img {
            filter: drop-shadow(5px 5px 10px black);
            height: 100%;
        }
    }

    .mid_content {
        width: 81vw;
        height: 52vh;
        display: flex;
        justify-content: space-evenly;

        .logo_mas_mas {
            height: 100%;

            img {
                filter: drop-shadow(5px 5px 10px black);
                max-height: 100%;
            }
        }

        .texto_vota {
            font-family: "HANSON-BOLD", sans-serif;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            font-size: 2vw;
            line-height: 100%;
            font-weight: 600;
            color: white;
            text-shadow: 2px 2px 10px rgb(0, 0, 0);
            -webkit-text-shadow: 2px 2px 4px rgb(0, 0, 0);
            P {
                padding: 0 10%;
                margin: 0;
                position: relative;
                top: 10%;
            }

            .parlante_desktop {
                display: inline-block;
                width: 85%;
                height: 60%;
                object-fit: contain;
            }

            .parlante_mobile {
                display: none;
            }

            .texto_vota_fecha {
                position: relative;
                top: -10%;
            }

        }

        .texto_vota.show_new_text {
            font-size: 5.6rem;
        }
    }

    .boton_vota_aqui_container {
        width: 21vw;
        height: 18vh;

        .btn_plateado,
        .btn_dorado {
            cursor: pointer;
            height: 100%;
        }

        .btn_dorado {
            display: none;
        }
    }

    .boton_vota_aqui_container:hover>.btn_dorado {
        display: block;
    }

    .boton_vota_aqui_container:hover>.btn_plateado {
        display: none;
    }

    .boton_vota_aqui_container.show_text {
        width: 100%;
        font-family: "HANSON-BOLD", sans-serif;
        text-shadow: 5px 5px 10px black;
        color: white;
        font-size: 3rem;
        display: flex;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .social-info-container {
        height: 70px;
        border-top: 8px solid white;
        font-family: "HANSON-BOLD", sans-serif;
        box-shadow: 5px 5px 10px black;

        .social-info {
            height: 100%;
            display: flex;
            justify-content: space-between;

            .sitio-web {
                width: 48%;
                color: white;
                display: flex;
                align-items: center;
                justify-content: flex-start;
                font-size: 1.2rem;
                text-shadow: 5px 5px 10px black;
            }

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

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

#section_1.active {
    display: flex;
}

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

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

        img {
            max-height: 100%;
        }
    }

    .send_vote_modal {
        height: 52.5vh;
        width: 100%;
        position: absolute;
        bottom: -60vh;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(0, 0, 0, 0.2);
        transition: all 0.5s ease-in-out;
        z-index: 100;


        .close_send_vote_modal {
            position: absolute;
            top: 50%;
            left: 10vw;
            transform: translateY(-50%);
            cursor: pointer;
            width: 70px;
            height: 70px;
            border-radius: 50%;
            border: solid white 7px;
            font-size: 3rem;
            font-weight: bolder;
            display: flex;
            align-items: center;
            justify-content: center;

        }

        .btns_container {
            width: 500px;

            img {
                width: 500px;
                height: auto;
                cursor: pointer;
            }

            .btn_dorado {
                display: none;
            }
        }

        .btns_container:hover>.btn_dorado {
            display: block;
        }

        .btns_container:hover>.btn_plateado {
            display: none;
        }

    }

    .send_vote_modal.show {
        bottom: 140px;
    }

    .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%;
            border: solid white 7px;
            font-size: 3rem;
            font-weight: bolder;
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            margin: 5px;
            cursor: pointer;
            z-index: 20;
            background-color: transparent;
            color: white;
        }

        .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;
                        font-family: "Poppins", sans-serif;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;

                        .titulo {
                            padding-top: 10px;
                            display: inline-block;
                            text-transform: uppercase;
                            line-height: 101%;
                            font-size: 1.8rem;
                        }
                    }

                }

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

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

    .social-info-container {
        height: 70px;
        border-top: 8px solid white;
        font-family: "HANSON-BOLD", sans-serif;
        box-shadow: 5px 5px 10px black;

        .social-info {
            height: 100%;
            display: flex;
            justify-content: space-between;

            .sitio-web {
                width: 48%;
                color: white;
                display: flex;
                align-items: center;
                justify-content: flex-start;
                font-size: 1.5rem;
                text-shadow: 5px 5px 10px black;
            }

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

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

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



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

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

@media screen and (max-width: 1200px) {
    #section_1 {
        & .mid_content {
            .texto_vota {
                font-size: 2.5rem;
            }
        }
    }
}

@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_masmas2025_mobile.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        height: 100svh;
    }

    #section_1 {
        height: 100svh;
        justify-content: flex-start;

        .logo_container {
            width: 100%;
            height: 15svh;
            text-align: center;
        }

        .mid_content {
            width: 100%;
            height: calc(70svh - 80px);
            display: flex;
            flex-direction: column;
            justify-content: flex-start;

            .logo_mas_mas {
                height: 40%;
                text-align: center;

                img {
                    filter: drop-shadow(5px 5px 10px black);
                    max-height: 100%;
                }
            }

            .texto_vota {
                flex-grow: 1;
                /* height: 50%; */
                font-family: "HANSON-BOLD", sans-serif;
                display: flex;
                flex-direction: column;
                /* align-items: center;
                justify-content: center;
                text-align: center; */
                line-height: 100%;
                font-size: 1.2rem;
                padding: 0 10px;
                font-weight: 600;
                color: white;
                text-shadow: 5px 5px 10px black;
                padding-top: 10px;

                p {
                    margin: 0;
                    padding: 0 30px;
                    position: relative;
                    top: 0%;
                    font-size: 1rem;
                }

                .parlante_desktop {
                    display: none;
                }

                .parlante_mobile {
                    flex-grow: 1;
                    display: inline-block;
                    height: 100px;
                }

                .texto_vota_fecha {
                    position: relative;
                    top: -3%;
                }
            }

            .texto_vota.show_new_text {
                font-size: 2.2rem;
            }
        }

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

            .btn_plateado,
            .btn_dorado {
                cursor: pointer;
                height: 100%;
                transform: scale(1.3);
            }

            .btn_dorado {
                display: none;
            }
        }

        .boton_vota_aqui_container:hover>.btn_dorado {
            display: block;
        }

        .boton_vota_aqui_container:hover>.btn_plateado {
            display: none;
        }

        .boton_vota_aqui_container.show_text {
            width: 100%;
            font-family: "HANSON-BOLD", sans-serif;
            text-shadow: 5px 5px 10px black;
            color: white;
            padding: 0 10px;
            font-size: 2rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

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

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

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

                .social-icons {
                    width: 100%;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    padding-bottom: 5px;
                    gap: 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_2 {
        display: none;
        color: white;
        width: 100%;
        height: 100svh;
        flex-direction: column;
        justify-content: space-between;
        position: relative;

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

            img {
                max-height: 100%;
            }
        }

        .slider_container {
            width: 100%;
            height: calc(80svh - 100px);
            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: #FECF59;
                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;

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

                    }

                    .swiper-slide.picked {
                        background-color: #E5262B;
                        border: solid #E5262B 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;
                    }
                }
            }
        }
    }

}



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

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


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

    #form_sorteo {
        transform: scale(1.3);
    }

    #section_1 {
        width: 100%;
        height: 100vh;
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    
        .mid_content {
            width: 81vw;
            height: 52vh;
            display: flex;
            justify-content: space-evenly;
    
            .logo_mas_mas {
                width: 49%;
                height: 100%;
                text-align: center;
                img {
                    filter: drop-shadow(5px 5px 10px black);
                    max-height: 100%;
                }
            }
    
            .texto_vota {
                font-family: "HANSON-BOLD", sans-serif;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                text-align: center;
                font-size: 2vw;
                line-height: 100%;
                font-weight: 600;
                width: 50%;
                color: white;
                text-shadow: 2px 2px 10px rgb(0, 0, 0);
                -webkit-text-shadow: 2px 2px 4px rgb(0, 0, 0);
                P {
                    padding: 0 10px;
                    margin: 0;
                    position: relative;
                    top: 10%;
                }
    
                .parlante_desktop {
                    display: inline-block;
                    width: 85%;
                }
    
                .parlante_mobile {
                    display: none;
                }
    
            }
    
        }
    
    
    }
}