.wrapper {
    max-width: 1134px;
    margin: 0 auto;
}

header {
    height: 100px;
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 1124px;
    top: 30px;
    z-index: 100;
    transition: all 500ms ease;
}

nav .logo {
    color: black;
    font-size: 40px;
    font-weight: 700;
    font-family: var(--font-itc-avant-garde-gothic-lt);
    word-wrap: break-word
}

nav.hidden {
    transform: translateY(calc(-1*nav));
    box-shadow: none;
}

nav.scrolled {
    background: rgba(39, 51, 70, 0.8);
    box-shadow: 0 16px 14px -8px rgba(0, 0, 0, 0.3);
    border-radius: 0 0 15px 15px;
    top: 0;
    padding: 18px;
    font-family: var(--font-itc-avant-garde-gothic-lt);
}

nav ul {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
    margin: 0;
}

nav ul li a {
    text-decoration: none;
    color: black;
    font-size: 24px;
    font-family: Inter;
    font-weight: 600;
    word-wrap: break-word
}

.gallery {
    display: flex;
    flex-wrap: wrap;
}

.image {
    position: relative;
    width: 200px;
    height: 150px;
    margin: 10px;
}

.image img {
    width: 100%;
    border-radius: 20px;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s;
}

.image:hover .overlay {
    opacity: 1;
    cursor: pointer;
}

#enlarged-view {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    z-index: 9999;
    display: none;
}

#enlarged-image {
    width: 100%;
    height: auto;
}