body {
    background-color: #EBEBEB;
    margin: 0;
}

h1 {
    color: #FF6F00;
    font-size: 5vw;
    font-family: 'Bebas Neue', sans-serif;
    text-shadow: 13px 10px 5px #1b2d50;
}

h2 {
    color: #FF6F00;
    font-size: 2vw;
    font-family: 'Bebas Neue', sans-serif;
    text-shadow: 13px 10px 5px #1b2d50;
}


.home {
    position: absolute;
    right: 25%;
    font-size: 7vw;
}


p, ul {
    font-size: 1rem;
    color: #B8E2FF;
    font-family: 'Orbitron', sans-serif;
}

.study {
    font-size: 2rem;
    position: absolute;
    left: 17%;
    top: 15%;
}

.vertical-text {
    right: 15%;
    position: absolute;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3vw;
    color: #B8E2FF;
    text-shadow: 13px 10px 5px #1B263E;
    letter-spacing: -10px;
}

nav {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    top: 20px;
    height: 30px;
    z-index: 2;
    margin-left: 20px;
}

.head {
    display: flex;
    align-items: center;
    padding: 20px 40px;
    position: relative;
    z-index: 10;
}

.logo-wrapper {
    position: relative;
    width: 150px;
    height: auto;
    z-index: 20;
}

.home-button {
    position: absolute;
    top: -20px;
    left: 0;
    width: 125px;
}

nav a {
    color: #1B263E;
    text-decoration: none;
    font-size: x-large;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    text-shadow: 6px 3px 8px;
}

nav a:hover {
    color: #FF6F00;
}

footer {
    gap: 2em;
    display: flex;
    flex-direction: row;
    position: absolute;
    justify-content: flex-end;
    bottom: 30px;
    width: 95%;
    height: 40px;
    z-index: 10;
}

footer a {
    color: #1B263E;
    text-decoration: none;
    font-size: x-large;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    text-shadow: 8px 8px 20px;
}

footer a:hover {
    color: #FF6F00;
}

.contact-links {
    display: flex;
    gap: 1.2em;
}

.photo-wrapper {
    position: absolute;
    bottom: 0;
    left: 25%;
    z-index: 50; /* hoger dan footer */
}

.photo-wrapper img {
    height: 70vh;
    position: relative;
}

.section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 85vh;
    background-color: #224488;
    clip-path: polygon(
            0% 6%, 6% 2%, 13% 7%, 20% 3%, 27% 6%, 35% 1%, 42% 5%, 50% 2%,
            58% 7%, 65% 3%, 72% 6%, 80% 2%, 88% 4%, 95% 1%, 100% 5%, 100% 95%,
            94% 98%, 87% 93%, 80% 97%, 73% 94%, 65% 99%, 57% 94%, 50% 98%,
            42% 95%, 35% 97%, 27% 92%, 20% 98%, 13% 93%, 6% 97%, 0% 95%);
    padding: 40px 20px;
    box-sizing: border-box;
}

.content {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 75vw;
    max-height: 70vh;
    overflow: hidden;
    gap: 3rem;
}

.active {
    text-decoration: underline;
}

.content-img {
    max-width: 300px;
    height: auto;
    filter: grayscale(100%);
    border-radius: 5px;
    box-shadow: 5px 2px 40px #1B263E;
}

.content-img:hover {
    filter: grayscale(0%);
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    overflow-y: auto;
    max-height: 50vh;
    padding: 20px;
    width: 90%;
    box-sizing: border-box;
}

.gallery {
    width: 275px;
    background-color: #EBEBEB;
    filter: grayscale(100%);
    box-shadow: 5px 2px 40px #1B263E;
    border-radius: 5px;
    flex-shrink: 0;
    transition: filter 0.3s ease;
}

.gallery:hover {
    filter: grayscale(0%);
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.desc {
    padding: 15px;
    text-align: center;
}

.column {
    display: flex;
    flex-direction: column;
}

.section h1 {
    margin: 20px 0 0 0;
}

.project-image {
    max-width: 400px;
    height: auto;
    border-radius: 5px;
    box-shadow: 5px 2px 40px #1B263E;
}

.content a {
    color: #FF6F00;
    font-family: 'Orbitron', sans-serif;
}

.content a:hover {
    color: #B8E2FF;
}

.portfolio-link{
    font-size: 1em;
    font-weight: normal;
    margin: 15px 0 15px 0;
}

@media (max-width: 768px) {

    .head {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px 0;
        background-color: #EBEBEB;
        gap: 10px;
        position: relative;
        z-index: 10;
    }

    .logo-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: auto;
        margin-bottom: 0;
    }

    .home-button {
        position: relative;
        width: 100px;
        height: auto;
        top: 0;
        left: 0;
    }

    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin: 0;
        height: auto;
        width: 100%;
    }

    nav a {
        font-size: 1.1rem;
        color: #1B263E;
    }

    .section {
        clip-path: none;
        padding: 20px;
        height: auto;
        background-color: #224488;
        text-align: center;
    }

    .content {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-height: none;
        gap: 1.5rem;
    }

    .content-img {
        max-width: 60vw;
        height: auto;
        border-radius: 5px;
        order: 2;
    }

    .study {
        font-size: 1rem;
        position: relative;
        left: 0;
        top: 0;
    }

    .vertical-text {
        right: 0;
        position: relative;
        writing-mode: inherit;
        font-size: 4rem;
        letter-spacing: inherit;
    }

    .home {
        position: relative;
        font-size: 7rem;
        right: 0;
    }

    .text {
        padding: 0 10px;
        order: 1;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    p, ul {
        font-size: 1rem;
    }

    footer p{
        margin-top: 40px;
    }

    footer {
        margin: 30px 0 30px 0;
        gap: 0;
        display: flex;
        position: static;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-bottom: 20px;
    }


    footer a {
        font-size: 1.6rem;
    }

    .photo-wrapper {
        display: none;
    }


}
