body {
    background-color: #F6EDC5;
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-family: 'Antic', sans-serif;
}

.blogblok_1{
    padding:15rem 15rem 2rem 15rem;
}

.blogblok{
    padding:2rem 15rem 5rem 15rem;
}

.profielfotoCM{
    height: 150px;
    width: auto;
}

.body-port{
    overflow: scroll;
}

h1{
    font-size: 48px;
    font-family: 'Roboto Slab', serif;
}

h2{
    font-size: 32px;
    font-family: 'Roboto Slab', serif;
}

h3{
    font-size: 24px;
    font-family: 'Roboto Slab', serif;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #FFF0D4;
}

.logo img{
    margin-left: 1rem;
    width: 50px;
    height: 50px;
}

.navbar-links ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.navbar-links ul li a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-links ul li a:hover,
.navbar-links ul li a.on {
    color: #ED6C1A ;
}

.toggle-button {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1000;
}

.toggle-button .bar {
    width: 25px;
    height: 3px;
    background-color: #000;
    margin: 4px 0;
    transition: all 0.3s ease;
}


.home {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    width: 100%;
    padding:10rem 0rem 4rem 0rem;

}

.home .introducing {
    padding: 4em;
}

.home .profielfoto {
    display: flex;
    justify-content: right;
}
.home .profielfoto .foto{
    box-shadow: #1D1E1B;
    border-radius: 8px;
    width:350px; 
    height: auto;
 }

 .information{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    margin-top: 5em;
    margin-left: 16em;
    margin-right: 16em;
    margin-bottom: 5em;
 }

 #knowMe {
    animation: jump 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes jump {
    0% { transform: translateY(0); }
    20% { transform: translateY(-10px); }
    40% { transform: translateY(0); }
    60% { transform: translateY(-5px); }
    80% { transform: translateY(0); }
    100% { transform: translateY(0); }
}

.space {
    margin: 0.5rem;
}

.content{
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding:12rem;

}

footer {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

#mail {
    width: 28px;
}

.icon {
    width: 24px;
    padding: 8px;
}

.socials {
    display: flex;
    align-items: center;
}

#portfolioTitle{
    padding-left: 10rem;
}

.portfolio {
    padding-top: 1em;
    padding-bottom: 5rem;
    padding-left: 2rem;  
    padding-right: 2rem; 
    width: 100%;
    display: flex;
    justify-content: center; 
    flex-wrap: wrap;
    gap: 1rem; 
    box-sizing: border-box; 
}

.project {
    display: flex;
    flex-direction: column;
    align-items: start;
    flex-basis: calc(30% - 1rem); 
    margin: 0; 
    box-sizing: border-box; 
}

.project-img {
    width: 100%;
    margin: 0; 
    display: block;
}

li{
    list-style:none;
}

ul{
    display: flex;
    flex-direction: row;
}



@media screen and ( max-width: 768px){
    body{
        overflow: scroll;
        font-size: small;
    }

    h1{
        font-size: 32px;
        font-family: 'Roboto Slab', serif;
    }
    
    h2{
        font-size: 26px;
        font-family: 'Roboto Slab', serif;
    }
    
    h3{
        font-size: 18px;
        font-family: 'Roboto Slab', serif;
    }

    .toggle-button {
        display: flex;
    }


    .navbar-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100%;
        width: 250px;
        font-size: 24px;
        background-color: #FFF0D4;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2);
        transition: right 0.3s ease;
    }

    .navbar-links ul {
        flex-direction: column;
        gap: 2rem;
    }

    .navbar-links.active {
        right: 0;
    }

    .toggle-button.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .toggle-button.active .bar:nth-child(2) {
        opacity: 0;
    }

    .toggle-button.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .home .introducing {
        padding: 2.5em;
        text-align: center;
    }

    .home {
        flex-direction: column;
        padding:5rem 0rem 2rem 0rem;
    }
    
    .home .profielfoto {
        display: flex;
        justify-content: center;
    }
     .home .profielfoto .foto{
        width:280px; height:auto;
    }
    
     .information{
        margin-top: 2em;
        margin-left: 4em;
        margin-right: 4em;
        margin-bottom: 5em;
     }
     .content{
        align-items: center;
        text-align: center;
        padding: 4em;
        padding-bottom: 16rem;
    }

    #portfolioTitle{
        padding-left: 0;
        display: flex;
        justify-content: center;
        padding-top:1em;
    }
    
    .portfolio{
        padding-top:1em;
        padding-bottom: 5rem;
        width: 100%;
        display: flex;
        text-align: center;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    
    .project{
        text-align: center;
        flex-direction: column;
        align-items: center;
        padding-bottom: 2rem;
    }

    .project-img{
        display: flex;
        align-items: center;
        width: 300px;
        margin: 0px;
        margin-top: 3rem;
    }
    
    li{
        list-style:none;
    }
    
    ul{
        display: flex;
        flex-direction: row;
    }

    .socials {
        position: relative;
        bottom: 3rem;
    }

}
