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

:root {
    --text: #1e1e1e;
    --primary: #d5d5d5;
    --secondary: #e1e7e1;
    --highlight: #edf2ed;
}

body {
    background-color: var(--secondary);
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}

.gallery-container {
    display:grid;
    margin: 20px auto;
    padding: 20px;
    width: 52%;
    max-width: 1200px;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    background-color: var(--highlight);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    background-color: var(--secondary);
    color: var(--text);
    margin-left: -20px;
    margin-right: -20px;
    margin-top: -20px;
    border-top: none;
    border-bottom: 2px solid var(--primary);
    height: 240px;
    overflow: hidden;
    text-align: center;
}

.hero-text {
    width: 45%;
    padding: 30px;
}

.hero-text h1{
    font-size: 2rem;
}

.hero-text p {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 7px;
    font-size: 1rem;
}

.hero-image {
    width: 55%;
    height: 100%;
    object-fit: cover;
    margin-left: auto;
}

.main-display{
    grid-column: 1 / -1;
    height: 400px;
    width: 100%;
    margin-top: 10px;
    border: 1px solid var(--primary);
}

.thumb {
    height: 165px;
    overflow: hidden;
    border: 1px solid var(--primary);
    border-radius: 4px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.thumb:hover {
    border-color: var(--text);
    box-shadow: 0 0 0 2px rgba(30, 30, 30, 0.1);
}

.main-display img, .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

footer {
    grid-column: 1 / -1;
    width: calc(100% + 40px);
    height: 80px;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: -20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary);
    color: var(--text);
    padding: 0 20px;
    font-size: 0.875rem;
    border-top: 2px solid var(--primary);
}

footer p {
    margin-bottom: 5px;
}

footer a {
    display: inline-block;
    color: var(--text);
}