:root {
    --yellow: #fff562;
    --black: #0d0d0d;
    --lilac: #bdadd0;
    --grey: #d9d9d9;
    --lightgrey: #fafafa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    animation: fade-in 1s ease forwards;

}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    color: var(--black);
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--lightgrey);
}

a, a:visited, a:active, a:hover, a:focus, a:link, a:visited {
    text-decoration: none;
    color: var(--black);
    font-size: smaller;
}

a:focus {
    border: none; 
    outline: none;
    /* text-decoration: underline; */
    background-color: #fff562;
}

a:hover {
    text-decoration: underline;
}

a img:hover {
    background-color: var(--grey);
    border-radius: 10px;
    transition: background-color 1s ease;
}



section {
    width: 100vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

/* Typografie schaal (Perfect Fourth - 1.333) */
h1 {
    font-size: 3rem;
    /* 48px */
    font-weight: bold;
    line-height: 1.2;
}

h2 {
    font-size: 2.25rem;
    /* 36px */
    font-weight: bold;
    line-height: 1.3;
}

h3 {
    font-size: 1.6875rem;
    /* 27px */
    font-weight: bold;
    line-height: 1.4;
}

h4 {
    font-size: 1.25rem;
    /* 20px */
    font-weight: bold;
    line-height: 1.5;
}

h5 {
    font-size: 1rem;
    /* 16px */
    font-weight: bold;
    line-height: 1.6;
}

h6 {
    font-size: 0.875rem;
    /* 14px */
    font-weight: bold;
    line-height: 1.6;
}

p {
    font-size: 1rem;
    /* 16px */
    line-height: 1.6;
}

h3 {
    padding: 1rem;
}

figure {
    padding: 1rem;
    border: 1px dotted var(--grey);
    margin: 0;
}

figcaption {
    font-size: 0.8rem;
    /* text-align: left; */
    padding: 0.2rem;
}

/* headers */
.H-container {
    position: relative;
    padding: 0 10px;
    display: inline-block;
    width: fit-content;
    z-index: 1;
}

.H-visual {
    background-color: var(--yellow);
    bottom: 6px;
    left: 0;
    height: 61%;
    width: calc(100% - 3px);
    position: absolute;
    z-index: -1;
}

/* @media screen and (max-width: 430px) {
    .H-visual-mobile {
        bottom: 1.5rem;
        left: 0;
        height: 46%;
        width: 75%;

    }
} */

#section-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.btn-meer {
    background-color: var(--lilac);
    font-weight: 700;
    display: inline-block;
    padding: 0.3rem 2rem;
    border: none;
    width: fit-content;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

button:hover {
    background-color: rgb(189, 173, 208, 0.8);
}

button:active {
    background-color: var(--yellow);

}

.btn-hover {
    background-color: rgb(189, 173, 208, 0.8);
}

.btn-active {
    background-color: var(--yellow);
}


.labels {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 0;
    margin: 0;
}

.labels-grey li {
    list-style: none;
    padding: 0.5rem;
    background-color: var(--grey);
    border: 1px solid var(--black);
}

.labels-yellow li {
    list-style: none;
    padding: 0.5rem;
    background-color: var(--yellow);
    border: 2px solid var(--grey) !important;
}

/* NAV */
nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100vw;
    height: auto;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0.5rem;
}

nav li {
    list-style: none;
    margin: 0 1rem;
}

/* HERO SECTION */
#section-hero {
    margin: 5rem 0;
    align-items: center;
}

#hero {
    margin: 1rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    background-color: var(--grey);
    width: 60vw;
    height: calc(60vw * 9 / 16);
    gap: 1rem;
    transform: rotate(-2deg);
    cursor: default;
}

#hero img {
    grid-column: 4 / 6;
    grid-row: 2 / 6;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

#hero h1 {
    grid-column: 1 / 4;
    grid-row: 1 / 1;
    align-self: center;
    justify-self: center;
    font-size: 5vw;
    font-weight: bold;
    color: var(--black);
    z-index: 2;
}

#hero-purple {
    background-color: var(--lilac);
    grid-column: 2 / 4;
    grid-row: 1 / -1;
    width: 30%;
    height: 100%;
    margin: auto;
    z-index: 1;
}

#hero-yellow {
    background-color: var(--yellow);
    grid-column: 3 / -1;
    grid-row: 4 / -1;
}

#hero-h2 {
    grid-column: 3 / 4;
    grid-row: 2 / -1;
    writing-mode: vertical-rl;
    display: flex;
    align-items: center;
    text-align: left;
}

#hero-h2 h2 {
    font-size: 2vw;
}

#hero p {
    grid-column: 4 / -1;
    grid-row: 5 / -1;
    align-self: flex-end;
    justify-self: center;
    text-align: center;
    font-size: 1vw;
    z-index: 1;
    mix-blend-mode: difference;
    color: var(--lightgrey);
    padding: 0;
    margin: 0;
}

#hero-svg-container {
    grid-column: 1 / 3;
    grid-row: 3 / 5;
    margin-right: 3vw;
    display: flex;
}

#hero svg {
    width: 55%;
    height: 100%;
    object-fit: cover;
    margin: auto;
    z-index: 1;
    font-family: Besley, Georgia, 'Times New Roman', Times, serif;
    font-size: 1.5rem;
    color: var(--black);
    animation: rotate 25s linear infinite; 
    border-radius: 50%;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* PORTFOLIO (CARDS) SECTION */
#section-portfolio {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#section-portfolio h2 {
    font-size: 1.6875rem;
}

#cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 70vw;
    gap: 6rem;
    margin: 2rem 0 4rem;
}

.card-container {
    padding: 1rem 2rem;
    background-color: rgb(217, 217, 217, 0.2);
    gap: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: start;
    text-align: left;
    flex: 1 1 450px;
    max-width: 450px;
}

.media-card-container {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    margin: 2rem 0 1rem;
}

.card-img,
.card-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}

.card-img {
    display: block;
}

.card-video {
    display: none;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

video {
    pointer-events: none;
}

.card-ul {
    list-style-type: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.card-ul li {
    font-size: 0.8rem;
    padding: 0.2rem;
    border: 1px solid var(--black);
    margin: 1rem 0.5rem 1rem 0;
}

.card-container .btn-meer {
    margin: 2rem 0 1rem auto;
}

.card-container p {
    margin: auto 0;
}

/* OVER MIJ SECTION */
#section-overmij {
    background-color: var(--grey);
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#section-overmij .H-container {
    margin: 4rem 1rem 1rem;
}

/* introductie */
#article-overmij {
    display: grid;
    grid-template-columns: 10% 60% 20% 10%;
    grid-template-rows: 15vh 10vh auto;
    width: 80vw;
    align-self: center;
    margin: 1rem;
}

#article-overmij img {
    grid-column: 3 / -1;
    grid-row: 1 / 3;
    width: 20vw;
    height: auto;
    object-fit: cover;
    filter: grayscale(100%);
    justify-self: end;
    opacity: 1;
}

#article-overmij img:hover {
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

#article-overmij p {
    grid-column: 2 / 4;
    grid-row: 2 / -1;
    text-align: center;
    align-self: end;
    margin: 0;
    z-index: 1;
    mix-blend-mode: difference;
    color: var(--lightgrey);
}

/* webstack */
#webstack-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    width: 70vw;
    margin: 1rem;
}

#webstack-container ul {
    display: flex;
    flex-wrap: wrap;
    flex: 1 1 100px;
    justify-content: center;
    gap: 2rem;
    padding: 0;
    margin: 0;
}

#webstack-container li {
    list-style: none;
}

#webstack-container figure {
    border: none;
    padding: 0;
}

#webstack-container img {
    width: 2.25rem;
    height: 2.25rem;
    margin: 0.5rem;
    filter: grayscale(100%);
}

#webstack-container figcaption {
    font-size: 0.8rem;
}

/* onderwijs */
.accordion {
    width: 70vw;
    margin: 1rem auto;
}

.accordion section {
    width: auto;
    border: none !important;
    padding: 0;
    margin: 0;
}

.accordion-item {
    margin-bottom: 1rem;
    border: 1px dotted var(--grey) !important;
    border-radius: 25px !important;
    overflow: hidden;
    background-color: rgb(250, 250, 250, 0.8);
}

.accordion-header {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accordion-button {
    border-radius: 25px !important;
    background-color: var(--grey);
    border: none !important;
    font-size: 1rem;
    font-weight: 700;
    color: var(--black);
    padding-left: auto;
}

.accordion-button:hover {
    background-color: var(--lightgrey);
}

.accordion-button:focus {
    background-color: var(--grey);
    box-shadow: none;
    border: 1px solid var(--yellow) !important;

}

.accordion-button:active {
    background-color: var(--yellow);
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: var(--grey);
    color: var(--black);
}

.accordion-body {
    display: grid;
    grid-template-columns: 10rem 1fr;
    gap: 1rem;
    align-items: center;
}

.accordion img {
    margin-left: 1rem;
    width: 100%;
    grid-column: 1 / 2;
    padding: 1rem;
}

.accordion-body div {
    grid-column: 2 / -1;
}

.accordion-body h3 {
    font-size: 1.25rem;
}

.accordion-body ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.accordion-body li {
    padding: 0.5rem;
    border: 1px solid var(--black);
    margin: 0.5rem;
    font-size: 0.8rem;
}
    
/* softskills */
#softskills-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    width: 60%;
    margin: 1rem;
    border: 1px solid var(--yellow);
    padding: 4rem;
    background-color: rgb(250, 250, 250, 0.8);
    
}

#softskills-container h3 {
    text-align: center;
}

/* werkervaring */
#werkervaring-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    width: 60%;
    margin: 1rem;
    border: 1px solid var(--yellow);
    padding: 0.5rem;
    /* background-color: rgb(250, 250, 250, 0.8); */
}

#werkervaring-container li {
    list-style: none;
}

#werkervaring-container .labels li {
    border: 1px solid var(--black);
}

#werkervaring-container img {
    width: 10rem;
    /* height: 2rem; */
    margin-right: 1rem;
    /* filter: grayscale(100%); */
}

/* boekenplank */
#boekenplank-superwrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.boekenplank-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    width: 80vw;
    margin: 1rem auto 0;   
}



.boekenplank-container figure {
    width: auto;
    background-color: rgb(250, 250, 250, 0.2);
    display: flex;
    flex: 1 1 300px;
}

.boekenplank-container img {
    min-width: 100px;
    height: auto;
    max-height: 130px;
}

.boekenplank-container figcaption {
    display: flex;
    flex-direction: column;
}

.boekenplank-container figcaption ul {
    list-style: none;
    text-align: left;
    padding-left: 1rem;
    word-break: break-word;
    font-size: 0.8rem;
}

.boekenplank-container figcaption li:nth-child(1) {
    font-weight: bold;
}

.boekenplank-container figcaption li:nth-child(2) {
    font-style: oblique;
}

.boekenplank-container figcaption span {
    border: 1px solid var(--black);
    padding: 0.2rem;
    display: inline-flex;
    width: fit-content;
    margin-top: auto;
    margin-left: 1rem;
    word-break: break-all;
}

#boekenplank-superwrap {
    margin: 1rem auto 4rem;
}

#boekenplank-superwrap a {
    margin: 1rem;
}

/* CONTACT */
#section-contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    align-items: center;
}

#contact-wrapper {
    grid-column: 1 / 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--grey);
    width: 80%;
    margin: 0 auto 2rem;
    padding: 0 0 2rem;
}

#section-contact .H-container {
    margin: 4rem auto;
    
}

adress {
    display: grid;
    grid-template-columns: 4rem 1fr;
    grid-auto-rows: auto;
    /* width: 80%; */
    margin: 0 auto;
    text-align: left;
    align-items: center;
    font-size: 1rem;
    
}

adress p {
    margin: 0;
}

adress img {
    width: 2rem;
    padding: 0.2rem;
    border: 1px dotted var(--black);
    border-radius: 50%;
    margin: 0.2rem;
}

footer {
    grid-column: 2 / 2;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: flex-end;
    height: calc(100% - 4rem);
}

footer #footer-wrap {
    margin: 0 4rem;
}

footer #socials-wrapper {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 0.2rem;
}

footer #socials-wrapper img {
    width: 2rem;
    padding: 0.2rem;
}

footer p, a {
    font-size: smaller;
}

/* PORTFOLIO DETAILS */
#portfolio-wrap {
    background-color: var(--lightgrey);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80vw;
}

#portfolio-wrap > .H-container:first-of-type {
    margin: 4rem 0 0;
}

#header-extension {
    width: 70vw;
    margin: 1rem;
}

#portfolio-header {
    display: grid;
    grid-template-columns: 60% 1fr;
    width: 70vw;
    margin: 4rem 0 0;
}

#portfolio-header-left {
    grid-column: 1 / 2;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 1rem;
}

#portfolio-card {
    grid-column: 2 / 3;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: flex-end;
    background-color: var(--lilac);
    background-color: rgb(217, 217, 217, 0.2);
    margin: 20% 0 0 30%;
}

#portfolio-card ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 0;
    margin: 0.5rem;
    
}

#portfolio-card li {
    list-style: none;
}

#portfolio-card figure {
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#portfolio-card img {
    width: 1.75rem;
    height: 1.75rem;
    margin: 0.5rem;
    filter: grayscale(100%);
}

#portfolio-card figcaption {
    font-size: smaller;
}

#portfolio-card .btn-meer {
    margin: 1rem 0.5rem;
}

#main-portfolio-img {
    width: 70vw;
    margin: 4rem;
}

#problemen-en-oplossingen, #wat-ik-heb-geleerd {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 70vw;
    background-color: rgb(217, 217, 217, 0.2);
    padding: 2rem;
    margin: 0 0 4rem;
}

#problemen-en-oplossingen > *, #wat-ik-heb-geleerd > * {
    margin: 1rem;
}

#sub-portfolio-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60vw;
    margin: 0 0 4rem;
}

#sub-portfolio-img > * {
    width: 50%;
    margin: 0 1rem;
}


    
