body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    padding: 20px 0;
    position: relative;
}

.logo img {
    padding-top: 30px;
    height: 150px;
}

nav {
    padding-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.menu {
    list-style-type: none;
    display: flex;
    justify-content: center;
    margin: 10px 0;
    padding: 0;
}

.menu li {
    margin: 0 15px;
}

.menu a {
    padding: 0 10px;
    font-size: 38px;
    text-decoration: none;
    color: #000;
    font-weight: 300;
}

#overmij,
#contact {
    opacity: 50%;
    transition: opacity 200ms ease-out;
}

#overmij:hover,
#contact:hover {
    opacity: 100%;
    transition: opacity 200ms ease-in;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
}

.hamburger-menu span {
    height: 3px;
    width: 25px;
    background: #000;
    margin: 4px 0;
}

main {
    padding: 20px;
    width: 100%;
    max-width: 1200px;
}

.portfolio {
    width: 100%;
}

.thumbnails {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    justify-items: center;
}

.thumbnail {
    position: relative;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
}

.thumbnail img {
    width: 100%;
    border-radius: 13px;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.thumbnail img:hover {
    filter: grayscale(0%);
}

.thumbnail p {
    margin-top: 20px;
    font-size: 16px;
}

h3 {
    font-size: 25px;
    font-weight: 500;
}

small {
    opacity: 50%;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 200;
}

.arrows-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

a {
    text-decoration: none;
}

.arrow {
    font-size: 60px;
    color: black;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.arrow:hover {
    opacity: 1;
}

@media (min-width: 600px) {
    .thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .menu.active {
        display: flex;
    }

    .hamburger-menu {
        display: flex;
    }

    .logo {
        order: 1;
    }

    nav {
        order: 2;
    }

    .about {
        flex-direction: column;
    }

    .about-img img {
        margin-right: 0;
        margin-bottom: 20px;
    }
}