body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #fff;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 16px;
    padding: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.proyecto {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 250px;
    transition: transform 0.3s ease-in-out;
}

.proyecto a {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    position: relative;
}

.proyecto_imagen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-in-out;
}

.proyecto_imagen_hover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.proyecto_info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    text-align: center;
    padding: 16px;
    box-sizing: border-box;
}

.proyecto_info p {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.proyecto:hover .proyecto_imagen {
    transform: scale(1.1);
}

.proyecto:hover .proyecto_imagen_hover {
    opacity: 1;
}

.proyecto:hover {
    transform: scale(1.05);
}

.proyecto:hover .proyecto_info {
    background-color: rgba(103, 108, 103, 0.3);
}

.proyecto:hover .proyecto_info {
    opacity: 0;
}

@media (max-width: 750px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .proyecto {
        min-width: 80%;
    }
}

@media (min-width: 800px) and (max-width: 1199px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .proyecto {
        min-width: 380px;
    }
}

@media (min-width: 1200px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .proyecto {
        min-width: 380px;
    }
}

#contenido {
    margin: 20px auto;
    padding: 20px;
    max-width: 1200px;
    background: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 300px;
}

.footer {
    text-align: center;
    padding: 15px 0;
    background: #f8f8f8;
    border-top: 1px solid #ddd;
}

#carouselExampleIndicators {
    max-width: 1200px;
    margin: 10px auto;
    border-radius: 10px;

}

.carousel-inner img {
    max-height: 350px;
    object-fit: cover;
    width: 100%;
    border-radius: 10px;
}

.carousel-indicators button {
    background-color: #000;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}


.contenedor {
    max-width: 120rem;
    margin: 2rem;
}