* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: white;
    font-family: sans-serif;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    background-color: rgb(39, 39, 39);
    padding: 10px;
}

.logo img {
    height: 50px;
    padding: 10px;
}

nav {
    display: flex;
    align-items: center;
}

.menu-horizontal {
    display: flex;
    list-style: none;
}

.menu-horizontal li {
    position: relative;
}

.menu-horizontal li a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
}

.menu-horizontal li:hover {
    background-color: rgb(37, 37, 197);
    border-radius: 25px;
}

.menu-horizontal li a:hover {
    color: gold;
}

.menu-vertical {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    list-style: none;
    border-radius: 5px;
    min-width: 150px;
    z-index: 2000;
}

.menu-horizontal li:hover .menu-vertical,
.menu-horizontal li.dropdown.active .menu-vertical {
    display: block;
}

.menu-vertical li a {
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    display: block;
    text-align: center;
}

.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

#menu-toggle:checked + .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked + .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.hamburger:hover span {
    background-color: gold;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .menu-horizontal {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgb(39, 39, 39);
        z-index: 1000;
    }

    #menu-toggle:checked + .hamburger + .menu-horizontal {
        display: flex;
    }

    .menu-horizontal li {
        width: 100%;
        text-align: center;
    }

    .menu-horizontal li:hover {
        border-radius: 0;
    }

    .menu-vertical {
        position: static;
        transform: none;
        background-color: rgba(0, 0, 0, 0.9);
        width: 100%;
        z-index: 2000;
    }

    .menu-vertical li a {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .logo img {
        height: 40px;
    }

    h1 {
        font-size: 24px;
    }
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}

.gallery-item {
    overflow: hidden;
    position: relative;
    aspect-ratio: 1/1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s, transform 0.5s;
}

.gallery-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.footer {
    background: rgb(39, 39, 39);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: auto;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 10px 0;
}

.icon {
    color: white;
    font-size: 28px;
    margin: 0 10px;
    transition: transform 0.3s, color 0.3s;
}

.icon:hover {
    transform: translateY(-5px);
    color: gold;
}

.menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
oportant;
    padding: 10px 0;
}

.menu-icon {
    color: white;
    font-size: 18px;
    text-decoration: none;
    margin: 5px 15px;
    opacity: 0.75;
    transition: opacity 0.3s, color 0.3s;
}

.menu-icon:hover {
    opacity: 1;
    color: gold;
}

.footer p {
    color: white;
    font-size: 14px;
    margin: 10px 0;
}

h1 {
    text-align: center;
    margin: 20px 0;
    font-size: 32px;
}