* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

body {
    display: flex;
    flex-direction: column;
    font-family: sans-serif;
    background-color: #f0f2f5;
    align-items: center;
}

h1 {
    margin: 10px;
}
h2 {
    margin: 10px;
}

p {
    margin: 3px;
}

main {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer {
    display: flex;
    flex-direction: column;
    margin: 5px;
    align-items: center;
}

section {
    display: flex;
    flex-direction: column;
    margin: 10px;
    width: 100%;
    max-width: 1300px;
    align-items: left;
}

.link-list {
    max-width: 350px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.link-list a {
    display: block;
    font-family: 'Cascadia Mono', 'Consolas', monospace;
    background: white;
    text-decoration: none;
    color: #333;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-list img {
    width: 24px;
    margin: 8px;
    vertical-align: middle;
}

.link-list a:hover {
    background: #f7f7f7;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: min-content;
    gap: 0px;
    width: 100%;
}

.gallery-grid li {
    display: flex;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.gallery-grid li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.global-nav {
    background-color: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

.global-nav ul {
    display: flex;
}

.global-nav a {
    display: block;
    color: #000000;
    text-decoration: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.2s;
}

.global-nav a:hover {
    background-color: #f7f7f7;
}
