body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    font-family: "Bebas Neue", sans-serif;  
}

.container {
    display: flex;
    flex-wrap: wrap; /* Permite que los items se envuelvan según el ancho */
    justify-content: space-around; /* Distribuye espacio uniformemente alrededor de los elementos */
    gap: 10px; /* Espacio entre los proyectos */
    padding: 20px;
}

.project {
    flex: 1 1 45%; /* Flexibilidad y base para cada proyecto */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding: 20px;
    margin-top: 10px;
    transition: transform 0.3s ease;
}

.project:hover {
    transform: scale(1.05);
}

.img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 10px;
}

.project h2 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.project p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

h1{
    text-align: center;
    font-size: 30px;
}

@media (max-width: 768px) {
    .project {
        flex: 1 1 100%; /* Ocupa todo el ancho en dispositivos más pequeños */
    }
}

.r{
    width: 400px;
    height: auto;
    margin-bottom: 10px;
    border-radius: 10px;
}