/*==========================================
PARTICIPA - FO' QUE RICO
Versi贸n 1.0
==========================================*/

:root{

    --primary:#FDD71C;
    --secondary:#111;
    --white:#fff;
    --gray:#666;
    --light:#f7f7f7;
    --border:#e7e7e7;
    --radius:18px;

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:Arial,Helvetica,sans-serif;

    background:#fff;

    color:#222;

    overflow-x:hidden;

}



/****************************************

HERO

****************************************/

.participa-hero{

    position:relative;

    width:100%;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    overflow:hidden;

    background:
    
    url("../fodoColores.jpg") center center/cover no-repeat;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:    url("../personajes.png") center center/cover no-repeat;

}

.hero-content{

    position:relative;

    z-index:2;

    max-width:900px;

    padding:30px;

}

.hero-badge{

    display:inline-block;

    background:var(--primary);

    color:#fff;

    padding:12px 28px;

    border-radius:50px;

    font-weight:bold;

    margin-bottom:25px;

    font-size:15px;

}

.hero-content h1{

    color:#fff;

    font-size:72px;

    line-height:1.1;

    margin-bottom:25px;

}

.hero-content h1 span{

    color:#fff;

}

.hero-content p{

    color:#fff;

    font-size:22px;

    line-height:1.7;

    margin-bottom:40px;

}

.hero-btn{

    display:inline-block;

    padding:18px 45px;

    background:var(--primary);

    color:#111;

    text-decoration:none;

    border-radius:50px;

    font-weight:bold;

    transition:.35s;

}

.hero-btn:hover{

    transform:translateY(-6px);

}



/****************************************

SECCI脫N

****************************************/

.participa-section{

    padding:120px 20px;

    background:#13385e;

}

.container{

    width:1200px;

    max-width:95%;

    margin:auto;

}

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.section-title h2{

    font-size:45px;

    margin-bottom:15px;
    
        color:#fff;

}

.section-title p{

    color:#777;

    font-size:18px;

}


/*=========================================
    SECCIÓN 2
=========================================*/

.section2{
    width:100%;
    background:#fff;
    overflow:hidden;
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
}

.section2 img{
    width:100%;
    height:auto;
    display:block;
    transition:transform .5s ease;
}

.section2:hover img{
    transform:scale(1.02);
}

.section2{
    width:100%;
    height:100vh;
    overflow:hidden;
}

.section2 img{
    width:100%;
    height:100%;
    object-fit:cover;
}


/****************************************

TABS

****************************************/

.tabs{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

    margin-bottom:50px;

}

.tab{

    border:none;

    cursor:pointer;

    padding:18px 35px;

    border-radius:50px;

    background:#ececec;

    font-size:17px;

    font-weight:bold;

    transition:.35s;

}

.tab:hover{

    transform:translateY(-4px);

}

.tab.active{

    background:var(--primary);

}

.tab-content{

    display:none;

}

.tab-content.active{

    display:block;

}



/****************************************

FORMULARIO

****************************************/

.participa-form{

    background:#fff;

    border-radius:25px;

    padding:50px;

    box-shadow:0 20px 60px rgba(0,0,0,.08);

}

.grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:25px;

}

.input-group{

    margin-bottom:25px;

}

.input-group label{

    display:block;

    margin-bottom:10px;

    font-weight:bold;

}

.input-group input,

.input-group textarea{

    width:100%;

    border:1px solid var(--border);

    border-radius:14px;

    padding:15px;

    font-size:15px;

    outline:none;

    transition:.3s;

}

.input-group input:focus,

.input-group textarea:focus{

    border-color:var(--primary);

}

textarea{

    resize:none;

}

.submit-btn{

    margin-top:20px;

    width:100%;

    border:none;

    cursor:pointer;

    padding:18px;

    background:var(--primary);

    font-size:18px;

    font-weight:bold;

    border-radius:14px;

    transition:.35s;

}

.submit-btn:hover{

    transform:translateY(-5px);

}



/****************************************

PREVIEW

****************************************/

.preview{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

    margin-top:15px;

    margin-bottom:30px;

}

.preview img{

    width:140px;

    height:140px;

    object-fit:cover;

    border-radius:15px;

    box-shadow:0 10px 30px rgba(0,0,0,.1);

}



/****************************************

CTA

****************************************/

.participa-cta{

    background:#111;

    color:#fff;

    padding:120px 20px;

    text-align:center;

}

.participa-cta h2{

    font-size:48px;

    margin-bottom:25px;

}

.participa-cta p{

    font-size:20px;

    margin-bottom:40px;

}

.participa-cta a{

    display:inline-block;

    background:var(--primary);

    color:#111;

    padding:18px 45px;

    text-decoration:none;

    border-radius:50px;

    font-weight:bold;

}



/****************************************

RESPONSIVE

****************************************/

@media(max-width:992px){

.hero-content h1{

font-size:55px;

}

.grid{

grid-template-columns:1fr;

}

.participa-form{

padding:35px;

}

}

@media(max-width:768px){

.hero-content h1{

font-size:40px;

}

.hero-content p{

font-size:18px;

}

.section-title h2{

font-size:34px;

}

.tab{

width:100%;

}

.participa-form{

padding:25px;

}

}

@media(max-width:480px){

.hero-content h1{

font-size:34px;

}

.hero-btn{

width:100%;

}

.submit-btn{

font-size:16px;

}

}


.submit-btn{

    position:relative;

    transition:.3s;

}

.submit-btn:disabled{

    opacity:.7;

    cursor:not-allowed;

}

.submit-btn.loading{

    pointer-events:none;

}

.submit-btn.loading{

display:flex;

justify-content:center;

align-items:center;

gap:12px;

}

.submit-btn.loading::before{

content:"";

width:18px;

height:18px;

border-radius:50%;

border:3px solid rgba(0,0,0,.2);

border-top-color:#111;

animation:girar .8s linear infinite;

}

@keyframes girar{

to{

transform:rotate(360deg);

}

}