@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=DM+Serif+Text:ital@0;1&display=swap');

* {
    margin: 0;
    list-style: none;
    text-decoration: none;
}

body {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    width: 90vw;
    padding-left: 5vw;
    padding-top: 5vw;
}

.box {
    display: flex;
    position: relative;
}

.textBox {
    display: flex;
    position: relative;
    flex-direction: column;
    flex-wrap: wrap;
}

p {
    font-family: "DM Sans", serif;
    font-size: 1.2vw;
}

a {
    font-family: "DM Sans", serif;
    font-size: 1.2vw;
}

h1 {
    font-family: "DM Serif Text", serif;
    font-weight: normal;
    font-size: 5vw;
}

h2 {
    margin-bottom: 0.5vw;
}

#bovenBox img {
    width: 40vw;
    height: 30vw;
    object-fit: cover;
    position: relative;
}

#headerBox {
    padding-left: 10vw;
    flex-direction: column;
}

#headerText{
    margin-top: 1vw;
    margin-right: 3vw;
}

#headerButtons {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Twee kolommen van gelijke breedte */
    gap: 1vw; /* Afstand tussen de buttons */
    margin-top: 4vw;
    width: 100%;
}

a{
    padding: 0.7vw 2vw;
    background-color: #234567;
    border-radius: 10vw;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%; 
    box-sizing: border-box;
}

#onderBox {
    flex-direction: row;
    flex-wrap: wrap;
}

#education {
    flex-direction: column;
    border: 0.1vw solid #1C46FF;
    border-radius: 0.5vw;
    padding: 1vw 3vw;
    margin-top: 5vw;
    margin-right: 5vw;
    width: 35vw;
}

#experience {
    flex-direction: column;
    border: 0.1vw solid #1C46FF;
    border-radius: 0.5vw;
    padding: 1vw 3vw;
    margin-top: 5vw;;
    width: 35vw;
}

#softwareSkills {
    display: flex;
    flex-direction: column;
    border: 0.1vw solid #1C46FF;
    border-radius: 0.5vw;
    padding: 1vw 3vw;
    margin-top: 3vw;
    margin-right: 5vw;
    margin-bottom: 3vw;
    width: 35vw;
}

#softwareSkills > div:nth-child(2) {
    display: flex;
    flex-direction: row;
}

#softwareSkills .skillsLinks, 
#softwareSkills .skillsRechts {
    display: flex;
    flex-direction: column;
    flex: 1;
}

#softwareSkills .skillsLinks {
    align-items: flex-start;
}

#softwareSkills .skillsRechts {
    align-items: flex-start;
    margin-left: 3vw;
}

#zijBox {
 flex-direction: row;
}

#experienceLinks {
    flex-direction: column;
    padding-right: 4vw;
}

#experienceRechts {
    flex-direction: column;
}

#personalskill {
    flex-direction: column; 
    border: 0.1vw solid #1C46FF;
    border-radius: 0.5vw;
    padding: 1vw 3vw;
    margin-top: 3vw;
    margin-right: 3vw;
    margin-bottom: 3vw;
    width: 13vw;
}

#language {
    flex-direction: column; 
    border: 0.1vw solid #1C46FF;
    border-radius: 0.5vw;
    padding: 1vw 3vw;
    margin-top: 3vw;
    margin-bottom: 3vw;
    width: 13vw;
}

.datum {
    font-weight: 200;
    font-size: 14px;
}

.plaats {
    font-weight: 600;
    font-size: 16px;
}

#headerButtons .portfolio {
    position: relative;
    padding: 0.7vw 2vw;
    color: #234567;
    background-color: transparent;
    border: 0.15vw solid #234567;
    border-radius: 10vw;
    font-size: 1.2vw;
    font-family: "DM Sans", serif;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    box-sizing: border-box;
    overflow: hidden;
    transition: color 0.4s ease;
    z-index: 1;
}

#headerButtons .portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; /* Begint buiten de knop */
    width: 100%;
    height: 100%;
    background-color: #234567;
    transition: left 0.4s ease;
    z-index: -1;
}

#headerButtons .portfolio:hover {
    color: white;
}

#headerButtons .portfolio:hover::before {
    left: 0; /* Schuift naar rechts bij hover */
}