@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gloria+Hallelujah&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


:root {
    --mainfont: "Poppins", sans-serif;
    --colorletter: #12110F;
    --colorYellow: #FFCC26;
    --colorWhite: #ffffff;
    --itemhover: #e2e2e2;
}

body{
    font-family: var(--mainfont);
    color: var(--colorletter);
}

main{
    flex-direction: column;
    margin-top: 30px;
}

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

img{
    width: 100%;
    height: 100%;
}

.flex-center{
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-align-center{
    display: flex;
    align-items: center;
}

.font-weight{
    font-weight: 500;
}

h1 {
    font-family: "Gloria Hallelujah", cursive;
    font-weight: 400;
    font-style: normal;
}

div h1{
    width: 100%;
    height: auto;
    font-size: 2.6vw;
    text-decoration: 3.5px underline var(--colorYellow);
    margin-bottom: 60px;
    margin-top: 20px;
}

div h3{
    width: 100%;
    height: auto;
    font-size: 1.25vw;
    margin-bottom: 80px;
    text-align:left;
}

h2,
p {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    transition: all 100ms ease-out;
}

h6{
    height: 30px;
    color: #C4C4C4;
    font-size: 1.3vw;
    letter-spacing: 0.3px;
}

a{
    text-decoration: none;
    color: var(--colorletter);
}

header{
    width: 100%;
    height: auto;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    /* backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); */
    position: fixed;
    background-color: var(--colorWhite);
    top: 0;
    z-index: 1000;
}

#header1 {
    height: auto;
    width: 90%;
    display: flex;
}

#logo {
    width: 60%;
    height: auto;
}

#main-title {
    font-size: 2.5vw;
    font-family: "Poppins", sans-serif;
}

#nav{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: right;
    align-items: center;
}

#title-proyectos{
    width: 100%;
    height: auto;
    padding-right: 20px;
    font-size: 1.1vw !important;
}

#btn-descargar{
    border: none;
    width: 20%;
    height: auto;
    border-radius: 5px;
    background-color: #1967d2;
    color: white;
    font-size: 1.1vw !important;
    cursor: pointer;
    padding: 10px;
    box-shadow: 6px 6px 9px rgba(0,0,0,0.2);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 10%;
    height: 20px;
    cursor: pointer;
    margin-left: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

.hamburger span {
    background: #333;
    height: 3px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Menú colapsable para móviles */
#nav {
    display: flex;
    gap: 10px;
}

/* Botón cerrar (X) */
.close-btn {
    display: none;
    align-self: flex-end;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}



/*--------------------------------MEDIA MOVIL--------------------------------*/


@media (max-width: 430px) {

    #nav {
        display: none;
        flex-direction: column;
        background-color: white;
        position: absolute;
        top: 40px;
        right: 0%;
        width: 100%;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        padding: 10px;
        z-index: 999;
    }

    #nav.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    #btn-descargar {
        font-size: 4vw !important;
    }

    #btn-descargar {
        width: 100%;
    }

    .close-btn {
        display: flex;
        width: 100%;
        justify-content: right;
        margin-right: 5%;
    }

    h6{
        font-size: 3.5vw;
    }

    div h1{
        
        font-size: 7vw;
        margin-bottom: 40px;
        margin-top: 10px;
    }
    
    div h3{
        font-size: 3.6vw;
        margin-bottom: 50px;
        text-align:center;
    }

    #logo {
        width: 45px;
    }

    #main-title {
        font-size: 5vw;
        margin-left: 5px;
    }

    #title-proyectos{
        width: 100%;
        height: auto;
        padding-right: 0px;
        font-size: 4.2vw !important;
    }

    #title-proyectos:active {
        text-decoration: underline 3px var(--colorYellow);
    }

    #btn-descargar{
        width: 50%;
        font-size: 4vw !important;
        padding: 10px;
        letter-spacing: 0.4px;
        margin: 10px 0px;
    }

}