@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: 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);
}

#title-projects{
    width: 100%;
    height: 380px;
    margin-top: 15px;
    margin-bottom: 80px;
    flex-direction: column;
    background-image: url("../media/fondo5.png");
    background-repeat: no-repeat;
    background-size: cover;
}

#title-projects h1{
    border: 5px solid var(--colorYellow);
    width: 20%;
    height: 100px;
    font-size: 2.5vw;
    margin-top: 30px;
    color: var(--colorletter);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.815);
}

.btn-project{
    width: 90%;
    height: auto;
}

.btn-black{
    border: none;
    width: 9%;
    height: auto;
    font-size: 1.3vw;
    border-radius: 5px;
    background-color: #12110F;
    color: var(--colorWhite);
    font-family: "Poppins", sans-serif;
    cursor: pointer;
    margin-top: 60px;
    padding: 10px;
}

.btn-black:hover {
    border: 2px solid var(--colorletter);
    color: var(--colorletter);
    background-color: var(--colorWhite);
}

#projects{
    width: 100%;
    height: auto;
    margin-bottom: 100px;
}

#div-projects{
    width: 90%;
    height: auto;
}

.div-project{
    width: 100%;
    border-radius: 30px;
    height: auto;
    margin-bottom: 80px;
    display: flex;
}

.border-yellow{
    border: 6px solid var(--colorYellow);
}

.border-black{
    border: 6px solid var(--colorletter);
}

.div-project-text{
    width: 90%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.div-project-text h2{
    width: 90%;
    font-size: 1.8vw;
    font-weight: 500;
    margin-top: 50px;
    margin-bottom: 20px;
    text-decoration: 4px underline var(--colorYellow);
}

.div-project-text p{
    width: 100%;
    font-size: 1.2vw;
    text-align: justify;
    height: auto;
    padding: 30px 30px;
}

.div-project-img{
    width: 100%;
    height: auto;
    padding: 60px 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.div-project-img img{
    width: 100%;
    height: auto;
}

/*.div-project-img img#whatscita{
    object-fit: contain;
}*/
















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


@media (max-width: 430px) {

    #title-projects{
        height: 250px;
        margin-top: 10px;
        margin-bottom: 60px;
    }
    
    #title-projects h1{
        border: 4px solid var(--colorYellow);
        width: 35%;
        height: 50px;
        font-size: 5vw;
    }
    
    .btn-black{
        width: 25%;
        font-size: 4vw;
    }
    
    .div-project{
        height: auto;
        margin-bottom: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    
    .div-project-text h2{
        font-size: 4.5vw;
        margin-bottom: 20px;
    }
    
    .div-project-text p{
        font-size: 3.8vw;
        margin-bottom: 30px;
        padding: 0px 15px;
    }
    
    .div-project-img{
        margin-bottom: 30px;
        padding: 0px 25px;
    }
    
    .div-project-img img{
        width: 100%;
        height: auto;
    }


}
