/* CSS Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --charcoal-gray: hwb(0 20% 80% / 0.521);
    --stone-gray: #c7c7c7;
    --light-gray: #f8f3f3;
    --beige: #F5F5DC;
    --deep-blue: #001325;
}

body {
    background-color: var(--light-gray);
    font-family: 'Poppins', sans-serif;
}
.beginner-challenges {
    padding: .5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: var(--stone-gray);
    margin-bottom: 1rem;
}

.beginner-responsive-challenges {
    padding: .5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: var(--stone-gray);
    margin-bottom: 1rem;
}

h1 {
    font-weight: 600;
    color: var(--deep-blue);
    text-align: center;
    margin-bottom: 1rem;
}

p {
    font-weight: 500;
    color: var(--deep-blue);
    text-align: center;
    line-height: 1.6;
}

.section-h2 {
    display: block;
    text-align: center;
    color: var(--deep-blue);
    width: 100%;
}

h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--deep-blue);
    text-align: center;
    margin-bottom: 1rem;
}

#project-list {
    padding: .5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.project-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border: 10px solid var(--beige);
    margin: 0.5rem; /* Adjust margin for spacing between project containers */
    padding: 1rem; /* Adjust padding as needed for inner content */
    flex: 1 0 300px; /* Allow flexible sizing, with a maximum width of 300px */
    max-width: 300px; /* Set a maximum width for consistency */
    box-sizing: border-box;
    transition: filter 0.3s;
}

.project-container p {
    text-align: justify;
}

.project-container h2 {
    text-align: center;
}

.project-container a {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Use the color defined by the parent element */
}

.project-container img {
    width: 100%; /* Ensure the image takes up 100% of the container width */
    height: 150px; /* Set a fixed height for the image */
    object-fit: contain; /* Show all the image */

}
.project-container:hover img {
    transform: scale(1.3); /* Zoom out by 10% on hover */
    filter: brightness(110%); /* Adjust brightness on hover */
}