@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body{
background: linear-gradient(90deg,rgba(1, 18, 44, 1) 0%, rgba(1, 18, 44, 1) 67%, rgba(3, 34, 63, 1) 100%);
}
:root {
    --color-01: #1a2a43;  /*** COLOR PRINCIPAL ***/
    --color-02: #FF8024;  /*** COLOR SECUNDARIO ***/
    --color-03: linear-gradient(85deg,rgba(255, 128, 36, 1) 0%, rgba(254, 136, 51, 1) 50%, rgba(255, 243, 150, 1) 100%);
    --color-04:#96c3dd;
}

*{
  font-family: "DM Sans", sans-serif;
}

html{
    font-size: 14px;
    scroll-behavior: smooth;
}


a:focus{
    color:color-mix(in srgb, var(--color-02) 75%, black) !important;
}

a:active{
    color:color-mix(in srgb, var(--color-02) 75%, black) !important;
}

::selection{
    background-color:var(--color-02) !important;
    color:var(--color-01) !important;
}

label{
    color:var(--color-01) !important;
    font-weight: 500;
}

.form-control:focus{
    border-color:#FF8024 !important;
    box-shadow:none !important;
}

/* VARIOS ==========================================
====================================================*/

.btn-participa{
    font-size: 24px;
    font-weight: 700;
}

.bg-areas-bluelight{
    background-color: #96c3dd;
}
.ln-areas-bluelight{
    border: 1px solid #96c3dd;
}

.bg-form-areas{
    background-color:#fffdf8;
}

.link-primary{
    color: var(--color-02) !important;
    text-decoration-color: color-mix(in srgb, var(--color-02) 75%, transparent) !important;
}
.link-primary:hover{
    color: color-mix(in srgb, var(--color-02) 75%, black) !important;
    text-decoration-color: color-mix(in srgb, var(--color-02) 90%, transparent) !important;
} 


.color1-areas{
    color:#1a2a43;
}

.color2-areas{
    color:#FF8024;
}



.btn-primary{
    background: var(--color-04) !important;
    color: #1a2a43;
    border-color: var(--color-04) !important;
    border-radius: 0px;
}
.btn-primary:hover{
    background: color-mix(in srgb, var(--color-04) 80%, black) !important;
    color: #1a2a43;
    border-color: color-mix(in srgb, var(--color-04) 80%, black) !important;
}


.btn-outline-secondary{
    color: var(--color-03) !important;
    border-color: var(--color-03) !important;
}
.btn-outline-secondary:hover{
    color: #f8f9fa !important;
    background: var(--color-03) !important;
}



.ratio-cards{
    aspect-ratio: 4 / 3;
}
.overlay-cards{
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, .9), rgba(0, 0, 0, 0) 70%);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
}




/* FUENTES ==========================================
====================================================*/

.text-small{
    font-size: 0.8rem;
}
.text-xsmall{
    font-size: 0.61rem;
}


.text-primary{
    color: var(--color-01) !important;
}

.text-title{
    color: #FFFFFF;
}

.tcolor-2{
    color:#FF8024;
}

.title-premios{
    font-size: 26px;
}
.subtitle-premios{
    font-size: 26px;
}

.fw900{
    font-weight: 900;
}

.fw700{
    font-weight: 700;
}

.texto-respetamos{
   font-weight: 400;
    font-size: 0.7rem;
    font-style: italic; 
    color:#555555;
}



/* BACKGROUNDS =====================================
====================================================*/

.bg-primary{
    background: var(--color-01) !important;
}

.bg-secondary{
    background: var(--color-03) !important;
}



/* MODALS ==========================================
====================================================*/

.banner-superior-modal{
    min-height: 500px;
}
.banner-superior-modal-info{
    width: 100%;
    height: 55%;
}
.banner-superior-modal-img{
    width: 100%;
    height: 45%;
    position: relative;
}

.tarjeta-modal{
    height: 150px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}


.mockup-responsive{
    height: 200px;
}






@media (min-width: 768px){

    html{
        font-size: 16px;
    }


    /* MODALS ==========================================
    ====================================================*/

    .banner-superior-modal{
        min-height: 550px;
    }

    .banner-superior-modal-info{
        height: 60%;
    }
    .banner-superior-modal-img{
        height: 40%;
        position: relative;
    }
}

@media (max-width: 992px){
    .logo-footer-areas{
        text-align: center !important;
    }
}


@media (min-width: 992px){

    /*.bg-banner-principal{
        background: url(../images/backgrounds/bg-main.jpg);
        background-size: cover;
        background-position: center center;
        padding-top: 12rem;
        padding-bottom: 4rem;
    }*/

    .ratio-cards{
        aspect-ratio: 16 / 9;
    }




    /* MODALS ==========================================
    ====================================================*/

    .banner-superior-modal{
        min-height: 450px;
    }
    .banner-superior-modal-info{
        width: 50%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
    .banner-superior-modal-img{
        width: 50%;
        height: 100%;
    }

    .tarjeta-modal{
        height: 200px;
        bottom: 10px;
        left: -30px;
        transform: none;
    }


    .mockup-responsive{
        position: absolute;
        bottom: 0;
        right: 0;
    }


}





@media (min-width: 1200px){

    .overlay-cards{
        background: linear-gradient(to top, rgba(0, 0, 0, .9), rgba(0, 0, 0, 0) 50%);
    }



    /* MODALS ==========================================
    ====================================================*/

    .banner-superior-modal{
        min-height: 400px;
    }


    .tarjeta-modal{
        left: -50px;
    }

}


#loader-overlay {
    display: none; /* Aquí mandamos que empiece oculto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#loader-overlay.active {
    display: flex !important; /* Solo se mostrará cuando JS añada la clase 'active' */
}