body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

header {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 20px 0;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
}

header p {
    margin: 10px 0 0;
    font-size: 1.2em;
	text-align: center;
}

footer {
    text-align: center;
}

footer p {
    margin: 12px 0 0;
    font-size: 1.2em;
    text-align: center;
}

main {
    padding: 20px;
}

.projects {
    max-width: 1200px;
    margin: 0 auto;
}

.projects h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2em;
}

.categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.category {
    position: relative;
    cursor: pointer;
}

.category img {
    width: 100%;
    height: auto;
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.category:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    margin: 0;
    font-size: 1.5em;
}

.overlay ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    text-align: justify;
}

.overlay ul li {
    margin: 5px 0;
    position: relative;
    padding-left: 20px; /* Add padding to make space for the bullet */
}

.overlay ul li::before {
    content: '\2022'; /* Unicode for bullet point */
    position: absolute;
    left: 0;
    top: 0;
}

.overlay ul li a,
.overlay ul li a:visited,
.overlay ul li a:active {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    transition: border-color 0.2s;
}

.overlay ul li a:hover {
    color: inherit;
}

.category.img-light .overlay ul li a,
.category.img-light .overlay ul li a:visited,
.category.img-light .overlay ul li a:active {
    color: #111;
    border-bottom-color: rgba(0,0,0,0.25);
}
.category.img-light .overlay ul li a:hover {
    color: #111;
    border-bottom-color: #111;
}

.category.img-dark .overlay ul li a,
.category.img-dark .overlay ul li a:visited,
.category.img-dark .overlay ul li a:active {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.3);
}
.category.img-dark .overlay ul li a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.category.img-light .overlay {
    background: rgba(255,255,255,0.75);
    color: #111;
}
.category.img-dark .overlay {
    background: rgba(0,0,0,0.7);
    color: #fff;
}