html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
    padding-top: 100px;
    box-sizing: border-box;
    position: relative;
    overflow-y: auto;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/background.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: blur(3px);
    z-index: -1;
}

.footer {
    margin-top: auto;
}

.footer a {
    color: #fff;
    text-decoration: none;
    font-size: 2em;
    text-shadow: 1px 1px 2px #000;
}

.footer a:hover {
    text-decoration: underline;
}

.container {
    text-align: center;
    width: 100%;
    max-width: 1400px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

h1 {
    color: #fff;
    font-size: 4em;
    text-shadow: 2px 2px 4px #000;
    margin: 0 0 40px 0;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 40px;
    width: 100%;
}

.gallery img {
    width: 100%;
    height: auto;
    object-fit: contain;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, z-index 0.3s ease;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    position: relative;
    transform-origin: top center;
}

.gallery img:hover {
    transform: scale(2.5);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
    z-index: 10;
}