body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: 	#1e1e1e;
}

/* ==== Barra principal ==== */
.contenedor {
    height: 80px;
    background-color: #202735;
    color: #f1f1f1;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    text-align: center;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    font-weight: bold;
}
.contenedor div {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#logo {
    grid-column-start: 1;
    grid-column-end: 2;
    font-size: 20px;
    justify-content: center;
    align-items: center;
}

#logo img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
}  

#home {
    grid-column-start: 2;
    grid-column-end: 3;
    font-size: 20px;
}

#acerca {
    grid-column-start: 5;
    grid-column-end: 6;
    font-size: 20px;
}

#desarrollos {
    grid-column-start: 6;
    grid-column-end: 7;
    font-size: 20px;
    background-color: #3a3f51;
}

#ii {
    grid-column-start: 7;
    grid-column-end: 8;
    font-size: 20px;
}

#contacto {
    grid-column-start: 8;
    grid-column-end: 9;
    font-size: 20px;
}

.barra a {
    text-decoration: none;
    color: inherit;

    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.enlace_cards {
    text-decoration: none;
    color: inherit;
    display: block; /* bloque pero no ocupa más que su contenido */
    width: fit-content;
    margin: 0 auto; /* centra horizontalmente si se desea */
}

/* ==== Pestana activa ==== */


/* ==== Otras pestanas ==== */
.contenedor div:hover {
    background-color: #3a3f51; /* color al pasar el mouse */
    cursor: pointer;
}


/* ==== Descripción ==== */
#descripcion {
    margin-bottom: 10px;
    margin-left: 5%;
    font-size: 25px;
    font-weight: bold;
    color: #f1f1f1;
}

#descripcion_info {
    margin-top: 0px;
    margin-left: 5%;
    color: #f1f1f1;
}


/* ==== Inicio Cards ==== */
#titulo { text-align: center; color: #f1f1f1;}


/* ================== Desarrollos ================== */

.desarrollo {
    width: 80%;
    height: 300px;
    justify-self: center;
    background-color: #2a2a2a;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 40px;
    border-radius: 25px;
}

.desarrollo_izquierda_img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    grid-area: 1 / 1 / 2 / 2; 
    position: relative;
}
.desarrollo_derecha_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    grid-area: 1 / 3 / 2 / 4; 
    position: relative;
}

.desarrollo_izquierda_img img, .desarrollo_derecha_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;    
    display: block;  
    border-radius: 25px;
}

.desarrollo_izquierda_img::after, .desarrollo_derecha_img::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4); 
    box-shadow: inset 0 0 100px rgb(48, 45, 45);
    pointer-events: none;
    border-radius: 25px;
}

.desarrollo_izquierda_img:hover::after, .desarrollo_derecha_img:hover::after {
    background-color: rgba(0, 0, 0, 0.0);
    box-shadow: inset 0 0 0px rgb(48, 45, 45);
}

.desarrollo_info_izquierda, .desarrollo_info_derecha {
    display: flex;
    flex-direction: column;
    width: 80%;
    height: 80%;
    justify-self: center;
    align-self: center;
}

.desarrollo_info_izquierda {
    grid-area: 1 / 2 / 2 / 4;
    border-left: 2px solid #f1f1f1;
}
.desarrollo_info_derecha {
    grid-area: 1 / 1 / 2 / 3;
    border-left: 2px solid #f1f1f1;
}


.desarrollo_card_title {
    font-size: 30px;
    color: #f1f1f1;
    margin: 10% 5% 3% 5%;
}


.desarrollo_card_info {
    font-size: 20px;
    color: #f1f1f1;
    margin: 0px 20px;
}