/* Hero de la pagina de proyectos index */
.projectHeader_main{
    margin-top: 80px;
    position: relative;
    width: 100%;
    background-color: var(--mainColor);
    color: var(--neutral1);
    padding: var(--Space-padding);
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.projectHeader_main h1{
    margin-bottom: 20px;
    font-family: var(--Titulo);
    font-weight: bold;
    font-size: 5rem;
    line-height: 1.3rem;
}

.projectHeader_main p{
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.projectHeader_main .btn{    
    margin-top: 10px;
}

/* hero de los proyectos*/
.projectHeader_bg{
    position: relative;
    height:calc(100vh - 160px);
    min-height: 500px;
    width:100%;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background-color: #fff;
    color: var(--neutral1);
}

.projectHeader_bg figure{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;   
    padding: 0;
}

.projectHeader_bg figure img,
.projectHeader_bg figure video{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    padding: 0;
    overflow: hidden;
}

.projectHeader{
    position: relative;    
    display: flex;  
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    background-color: #fff;
    width: 100%;
}

.projectHeader figure{
    
    width: 100%;
}

.projectHeader figure img{
    width: 100%;
    display: block;
}

.projectHeader figure video{
    width: 100%;
    display: block;
}

.projectHeader_content{
    position: absolute;
    left: 50px;
    bottom: 50px;
    top: auto;
    z-index: 1;
    color: var(--mainColor);
}

.projectHeader_content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-family: Titulo;
}

.projectHeader_content h3{
    margin-bottom: 10px;
}

.projectHeader_content ul {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.projectHeader_content ul li{
    display: inline-block;
    padding: 5px 10px;
    background-color: var(--neutral1);
    color: var(--mainColor);
    border-radius: 5px;
    font-size: 1rem;
}

/* Seccio de colores */

/* SECCION DE COLORES CORPORATIVOD*/

.color-projectBox{
    width: 100%;
    aspect-ratio: 4/1;
    display: flex;
    color:#fff;   
}

.color-projectBox>*,
.color-projectBox-2nd>*{
    flex: 1;      
}

.color-projectBox-2nd>div,
.color-projectBox>section:first-child{
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.color-projectBox-2nd{
    display: flex;
    flex-direction: column;   
}

.color-projectBox section img{
    display: block;
    height: 90%;
    max-height: 100px;
    object-fit: contain;
    object-position: center;
}

/* GridBoxProjects */
.gridBoxProject{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.gridBoxProject figure{
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
   
    width: 100%;
}

.gridBoxProject figure img,
.gridBoxProject figure video{
    display: block;
    width: 100%;
    height: 100%;
    object-position: center;
}

.gridBoxProject figure video{
    object-fit: cover;}

.gridBoxProject figure img{
    object-fit: cover;;
}

@media (max-width: 768px) {
    .projectHeader_main,
    .projectHeader,
    .projectHeader_bg {
        margin-top: 0px;
    }

    .projectHeader_main h1 {
        font-size: 1.9rem;
        text-align: center;
    }

    .projectHeader_main{
        height: auto;
    }

    .projectHeader_bg{
    position: relative;
    height: auto;
    min-height: auto;
    padding: 0;
    gap: 0;

    }

    .projectHeader_bg figure{
        position: relative;
        width: 100%;
        height: 400px;
    }

    .projectHeader_bg .projectHeader_content{
        position: relative;
        height: auto;
        display: block;
        width: 100%;
        padding: 20px;
        top: 0;
        left: 0;
        background-color: var(--neutral1);
        z-index: 0;
    }



    /* Sección de colores */
     /* SECCION DE COLORES CORPORATIVOS*/

    .color-projectBox{
        flex-direction: column-reverse;
        min-height: 400px;
    }

    
}