/*------------------------------------------- RESETS ------------------------------------------*/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

:root{
    --color-white: #fff;
    --color-lightBlue: #00afef;
    --color-yellow: #ffee01;
}

@font-face{
    font-family:'rubik';
    src: url('../assets/fonts/Rubik-VariableFont_wght.ttf') format('ttf'); 
}

@font-face{
    font-family: 'rubik-italic';
    src: url('../assets/fonts/Rubik-Italic-VariableFont_wght.ttf') format('ttf');
}

body{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    font-family: 'rubik', sans-serif;
}

.section{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.whatsapp--btn{
    display: flex;
    gap: 10px;
    border-radius: 5px;
    padding: 10px 20px;
    background: #1fce1a;
    transition: all .2s;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--color-white);
    font-weight: bold;
    position: fixed;
    bottom: 40px;
    right: 20px;
    z-index: 100;
    
}

.whatsapp--btn:hover{
    background: #005f5f;
}

.whatsapp--btn img{
    width: 30px;
}
/*----------------------------------------------------------------- HEADER -----------------------------------------------------------------*/

/*-------------------- NAV BUTTONS -----------------------*/

.nav-btn{
    width: 30px;
    position: absolute;
    top: 25px;
    right: 20px;
}

.close-menu{
    display: none;
    z-index: 20;
}

/*-------------------- LOGO HEADER -----------------------*/

.img--header{
    width: 250px;
}

/*-------------------- NAVBAR -----------------------*/
.header--nav-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header--title{
    font-size: 1.5rem;
    margin-top: 20px;
    color: var(--color-white);
}

.header--navbar{
    height: 100vh;
    background: var(--color-lightBlue);
    width: 0%;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10;
    transition: width 0.3s ease-in-out;
    overflow: hidden;
}

.ul--nav-header{
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    margin: 12vh 20px 0 0;
    align-items: end;
}

.li--nav-header a{
    text-decoration: none;
    color: var(--color-white);
    font-weight: bolder;
    font-size: 1.3rem;

}



/*-------------------- HEADER -----------------------*/

header{
    background: var(--color-lightBlue);
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.header--container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 150px;
}
/*----------------------------------------------------------------- MAIN -----------------------------------------------------------------*/
main{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/*------------------------------------------- HERO SECTION ------------------------------------------*/

.hero--container{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    justify-content: center;
}
/*-------------------- IMG HERO -----------------------*/
.img--hero-container{
    display: flex;
    height: 30vh;
    align-items: center;
}

.img--hero{
    width: 400px;
    height: 200px;
}

/*-------------------- PROPOSAL HERO -----------------------*/

.proposals--container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--color-lightBlue);
}

.hashtag--container{
    height: 80px;
    border-bottom: 4px solid var(--color-lightBlue);
    display: flex;
    
    align-items: center;
}

.hashtag--container h3{
    font-weight: 900;
    font-size: 2rem;
}

.proposal--title-container h3{
    font-weight: 900;
    font-size: 3rem;
    font-style: italic;
}

/*------------------------------------------- ICONS SECTION ------------------------------------------*/

.icons--section{
    margin-top: 100px;
}

.icons--container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
    width: 100%;
    max-width: 1280px;
}

.icons{
    width: 50px;
}

.arrow{
    width: 10px;
    display: flex;
}

.icon--container h2 div{
    position: relative;
    background: var(--color-lightBlue);
    border-radius: 50%;
    padding: 10px 12px;
}

.icon--container{
    display: flex;
    flex-direction: column;

}

.icon--svg-container{
    display: flex;
    flex-direction: column;
    align-items: center;

}

.icon--container h2{
    display: flex;
    align-items: center;
    color: var(--color-lightBlue);
    font-weight: 900;
    gap: 10px;
    position: relative;
}

.info--icons-container{
    display: none;
    width: 100%;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    margin-top: 30px;

}

.info--icons-container ul{
    width: 80%;
    gap: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


/*------------------------------------------- IMG POLITICOS SECTION ------------------------------------------*/

.img--section{
    background: var(--color-lightBlue);
    margin: 100px 0;
    padding: 50px 0 0;
    width: 100%;
}


.img--politicos-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.img--politicos-container img{
    width: 400px;
}

/*------------------------------------------- INFO CONTACT SECTION ------------------------------------------*/

.info--container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.info--container h2{
    font-weight: 900;
    font-size: 3rem;
    text-align: center;
    color: var(--color-lightBlue);
}

.icons--info{
    width: 30px;
}

.info--container p{
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    color: var(--color-lightBlue);
    font-size: 1.5rem;
}

.info--container p a{
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-lightBlue);
}

.carousel{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/*------------------------------------------- CAROUSEL SECTION ------------------------------------------*/

#gallery {
    width: 100%;
    margin: auto;
    overflow: hidden;
    margin-top: 100px;
}

.gallery-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.gallery-item {
    min-width: 100%;
    width: 85px;
    box-sizing: border-box;
}

.gallery-item img {
    width: 100%;
    display: block;
    border-radius: 5px;
}

.gallery-navigation {
    display: flex;
    justify-content: space-between;
    position: relative;
    top: -50px;
    width: 0%;
    overflow: hidden;
}

.nav-button:hover {
    background-color: #005f5f;
}

/*------------------------------------------- TITLE SECTION ------------------------------------------*/
.title--container{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: var(--color-lightBlue);
    font-size: 1.4rem;
    margin: 30px 0;
    text-align: center;
}

/*------------------------------------------- LINE SECTION ------------------------------------------*/

.line--container{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.line{
    width: 28%;
    border-radius: 20px;
    height: 4px;
    background: var(--color-lightBlue);
}

/*------------------------------------------- ABOUT SECTION ------------------------------------------*/

.about--section{
    margin-top: 40px;
}

.about--container-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1280px;
}

.about--container{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

.info--about-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    gap: 20px;
}

.info--about-container div{
    display: flex;
    flex-direction: column;
    gap: 20px;
    line-height: 1.7rem;
}

.info--about-container div h2{
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-lightBlue);

}

.img--about-container{
    width: 50%;
    display: flex;
    justify-content: center;

}

.img--about-container img{
    border-radius: 10px;
    width: 260px;
}

/*------------------------------------------- POLITICS SECTION ------------------------------------------*/

.politics--section{
    margin-top: 40px;
}

.politics--container{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1280px;
}

.politics--info-container{
    display: flex;
    flex-direction: column;
    line-height: 1.7rem;
    gap: 20px;
}

.politics--info-container h2{
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-lightBlue);
}

/*------------------------------------------- EXTRA INFO SECTION ------------------------------------------*/

.extra--info-section{
    margin-top: 40px;
}

.extra--info-container-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1280px;
}

.extra--info-container{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    gap: 20px;
    line-height: 1.7rem;
}

.info--right{
    width: 50%;
}

.info--left{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.info--right h2, .info--left h2{
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--color-lightBlue);
}

/*------------------------------------------- CANDIDATURA SECTION ------------------------------------------*/

.candidatura--section{
    margin-top: 40px;
    line-height: 1.7rem;
}

.candidatura--container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1280px;
}

.candidatura--container{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.candidatura--section h2{
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-lightBlue);
    margin-bottom: 20px;
}

/*------------------------------------------- FORM SECTION ------------------------------------------*/

.form--section{
    margin-top: 40px;
}

.form--container{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    max-width: 1280px;
}

.form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.form div{
    display: flex;
    flex-direction: column;
}

input, textarea{
    width: 400px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #000;
}

textarea{
    height: 150px;
    resize: none;
}

label{
    padding: 0 0 5px 10px;
}

.btn--submit{
    display: flex;
    justify-content: center;
    justify-content: center;
}

button{
    width: fit-content;
    padding: 10px 20px;
    border: 2px solid var(--color-lightBlue);
    background: #fff;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    z-index: 10;
}

button::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    background: var(--color-lightBlue);
    height: 100%;
    z-index: -10;
    
}

button:hover::after{
    width: 100%;
    transition: width 0.2s ease-in-out;
}

button:not(:hover)::after{
    width: 0%;
    transition: width 0.2s ease-in-out;
}

/*------------------------------------------- FORM SECTION ------------------------------------------*/

.img--section{
    margin-top: 40px;
}

.img--terminos{
    background-image: url('../assets/images/terminos1.png');
    background-size: cover;
    width: 100%;
    height: 450px;
}


/*------------------------------------------- FORM SECTION ------------------------------------------*/

.conditions--section{
    margin-top: 40px;
}

.conditions--container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1280px;
}

.info--conditions-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    gap: 20px;
    line-height: 1.7rem;
}

.info--conditions-container h3,h2{
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-lightBlue);
}

.info--conditions-container li{
    margin-left: 30px;
}

/*------------------------------------------- FOOTER ------------------------------------------*/

footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--color-lightBlue);
    width: 100%;
    min-height: 60vh;
}

.img--footer-container{
    width: 100%;
    background: var(--color-white);
    margin-top: 70px;
    display: flex;
    height: 450px;
    align-items: center;
    justify-content: center;
}

.img--footer-container img{
    width: 600px;
}

.social--media img{
    width: 30px;
    height: 30px;
}

.social--media-container{
    display: flex;
    gap: 20px;
}

.social--media{
    border-radius: 50%;
    background: var(--color-white);
    padding: 10px;
    display: flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
}

.linktree img{
    width: 30px;
    height: 30px;
}

.linktree, .conditions{
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-white);
    font-weight: bold;
    font-size: 1.2rem;
}

.conditions{
    font-size: 1.4rem;
    font-style: italic;
}

.info--footer-container{
    margin: 30px 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/*------------------------------------------- MEDIA QUERIES HEADER ------------------------------------------*/

@media screen and (min-width:900px){
    header{
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .header--container{
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 1280px;
        height: 100px;
    }

    .header--nav-container{
        flex-direction: row;
        justify-content: space-between;
        width: 70%;
    }

    .header--navbar{
        width: 100%;
        height: 100px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ul--nav-header{
        margin: 0;
        flex-direction: row;
    }

    .li--nav-header a{
        font-size: 1rem;
    }

    .nav-btn{
        display: none;
    }

    .header--title{
        width: 100%;
        display: flex;  
        justify-content: center;
        margin: 0;
    }

    /*------------------------------------------- MEDIA QUERIES HERO ------------------------------------------*/

    .img--hero{
        width: auto;
        height: auto;
    }

    .img--hero-container{
        height: 60vh;
    }

    /*------------------------------------------- MEDIA QUERIES ICONS ------------------------------------------*/

    .icons--container{
        flex-direction: row;
        justify-content: space-between;
        align-items: start;
    }

    .icon--container{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 300px;
        height: fit-content;
    }

    .icon--svg-container{
        gap: 10px;
    }

    /*------------------------------------------- MEDIA QUERIES IMG POLITICOS ------------------------------------------*/

    .img--politicos-container img{
        width:900px;
        height: 450px;
    }

    .img--section{
        padding: 50px 0 0;
    }

    /*------------------------------------------- MEDIA QUERIES CAROUSEL ------------------------------------------*/

    .gallery-item img{
        width: 500px;
    }

    .gallery-item{
        display: flex;
        justify-content: center;
    }

    /*------------------------------------------- MEDIA QUERIES FOOTER ------------------------------------------*/
    footer{
        min-height: 300px ;
    }

    .info--footer-container{
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        width: 100%;
    }
    
    
    
}

/*------------------------------------------- MEDIA QUERIES ABOUT ------------------------------------------*/

@media screen and (max-width:900px){
    .about--container{
        flex-direction: column-reverse;
    }
    
    .info--about-container{
        width: 90%;
        margin-top: 40px;
    }

    .politics--info-container{
        width: 90%;
    }

    .extra--info-container{
        flex-direction: column-reverse;
    }

    .info--left, .info--right{
        width: 90%;
    }

    .candidatura--container{
        width: 90%;
    }

    /*------------------------------------------- MEDIA QUERIES FORM ------------------------------------------*/

    .form--container{
        flex-direction: column;
        width: 90%;
    }

    .img--form-container{
        margin: 40px 0;
    }

    .form{
        width: 90%;
    }

    input, textarea{
        width: 100%;
    }

    /*------------------------------------------- MEDIA QUERIES TERMINOS ------------------------------------------*/

    .img--terminos{
        background-image: url('../assets/images/terminos1_movil.png');
        height: 500px;
        width: 100%;
        background-size: cover;
        background-position: center;
    }

    /*------------------------------------------- MEDIA QUERIES CONDITIONS ------------------------------------------*/
    
    .line{
        width: 300px;
        margin: 20px 0;
    }

    .info--conditions-container{
        width: 90%;
    }
}
