.project-card {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-card a {
    display: flex;
    text-decoration: none;
    color: #333;
}

.image-container {
    position: relative;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
}

.image-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: none;
    min-width: 100%;
    width: auto;
    height: 80%;
}

.project-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.project-card h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.project-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
}

.aside {
    display: none;
}
/*Des fois que je voudrais remettre le aside, mais j'hésite tout le temps*/

.project-card:hover .aside {
    opacity: 1;
}

main .container {
    display: grid;
    grid-template-columns:1fr;
    grid-gap: 1rem;
    margin: 0 auto;
}
