@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
    margin: 0;
}

body {
    background-color: var(--light);
    display: flex;
}

.body-home {
    flex-direction: row;
}

.body-main {
    display: flex;
    flex-wrap: wrap;
}

:root {
    --teal: #006E6D;
    --tekst: #252422;
    --banner: #403D39;
    --select: #124948;
    --light: #F7F9F9;

    --base-unit: 4px;
    --radius: 4px;
    --transition-fast: 150ms ease-out;
}

h1,
h2,
h3,
h4 {
    font-family: "Montserrat", sans-serif;
}

h5,
h6,
a,
p,
.knop {
    font-family: "Open Sans", sans-serif;
}

h1 {
    color: var(--teal);
    font-size: 5.5rem;
    line-height: 1.2em;
}

h2 {
    color: var(--tekst);
    font-size: 3.5rem;
    line-height: 0.5em;
}

h3 {
    color: var(--light);
    font-size: 4rem;
}

h4 {
    color: var(--tekst);
    font-size: 2.05rem;
}

h5 {
    font-weight: 600;
    color: var(--tekst);
    font-size: 1.5rem;
    line-height: 1.5em;
}

h6 {
    font-weight: 400;
    color: var(--tekst);
    font-size: 1.25rem;
    line-height: 1.5em;
}

a {
    font-weight: 400;
}

p {
    font-weight: 400;
    color: var(--tekst);
}

/*------------------------------------------------------knop------------------------------------------------------ */
.knop {
    font-weight: 600;
    font-size: 16px;
    color: var(--teal);
    border: var(--teal) solid 2px;
    border-radius: 5px;
    width: 124px;
    height: 31px;
    transition: 300ms ease-out;
}

.knop:hover {
    color: var(--light);
    background-color: var(--teal);
    transition: 300ms ease-out;
}

/*------------------------------------------------------Navigatie home------------------------------------------------------ */
.nav-home {
    z-index: 1;
    background-color: var(--teal);
    width: 5%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: width 0.6s ease-in-out;
}

/*------------------------------------------------------Navigatie overig------------------------------------------------------ */
.nav {
    z-index: 1;
    position: fixed;
    background-color: var(--teal);
    width: 19%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.menu {
    gap: 2px;
    width: 100%;
    height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Tekst */
.nav a {
    gap: 5px;
}

nav a {
    display: flex;
    align-items: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--select);
    text-decoration: none;
}

nav a:hover {
    color: var(--light);
    transition: 300ms ease-out;
}

/* SVG/icons */
nav a svg path {
    stroke: var(--select);
    transition: 300ms ease-out;
}

nav a:hover svg path {
    stroke: var(--light);
    transition: 300ms ease-out;
}

/* Select */
.select {
    color: var(--light) !important;
}

.select svg path {
    stroke: var(--light);
}

/*------------------------------------------------------Banner------------------------------------------------------ */
.banner {
    display: flex;
    flex-direction: row;
    z-index: 2;
    position: relative;
    margin-top: 3vh;
    width: 100%;
    height: 15vh;
    background-color: var(--banner);
    transition: transform 1s ease-in-out;
    will-change: transform;
}

.banner-none {
    width: 19%;
    height: 100%;
}

.banner-title {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 81%;
    height: 100%;
}

.banner.hide {
    transform: translateY(-100%);
}

.banner.show {
    transform: translateY(0);
}

/*------------------------------------------------------ Avatar ------------------------------------------------------ */
.avatar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    position: fixed;
    top: 5vh;
    width: 19%;
}

.avatar {
    width: 79%;
    aspect-ratio: 1 / 1;
    border-radius: 100%;
    border: var(--light) solid 6px;
    background-image: url('img/casper.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.avatar-none {
    position: relative;
    width: 79%;
    aspect-ratio: 1 / 1;
}

/*------------------------------------------------------ Main ------------------------------------------------------*/
.main-home {
    width: 95%;
    height: 100vh;
    display: flex;
    flex-direction: row;
}

.main {
    width: 81%;
    height: 82vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-left: 19%;
}


/*------------------------------------------------------ Overmij ------------------------------------------------------*/
.section-overmij {
    padding-top: 1vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 50% 50%;
    gap: 15px 15px;
    height: 78vh;
    width: 98%;
    max-width: 952.56px;
    min-width: 75%;
}

.section-overmij h2 {
    color: var(--teal);
    line-height: 1.2em;
}

.overmij-foto img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/*------------------------------------------------------ Portfolio ------------------------------------------------------*/
.section-portfolio {
    padding-top: 1vh;
    padding-bottom: 1vh;
    height: 1fr;
    width: 98%;
    max-width: 952.56px;
    min-width: 75%;
}


/*------------------------------------------------------ Home ------------------------------------------------------*/
.section-foto {
	animation: fadeInUp 0.6s ease-in forwards;
    width: 45%;
    height: 100vh;
    background-image: url('img/casper.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-tekst {
    width: 55%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.home-tekst {
    width: 84%;
    text-align: center;
}

.home-knoppen {
    margin-top: 3%;
    width: 264px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sociaal-buttons {
    position: absolute;
    bottom: 0;
    width: 10%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.sociaal-home {
    width: 45px;
    height: 45px;
    border: var(--teal) solid 2px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 300ms ease-out;
}

.sociaal-home svg {
    width: 30px;
    height: 30px;
    fill: none;
}

.sociaal-home svg path {
    stroke: var(--teal);
    transition: 300ms ease-out;
}

.sociaal-home:hover {
    background-color: var(--teal);
    border-radius: 10px;
    transform: translateY(-5px);
    transition: 300ms ease-out;
}


.sociaal-home:hover svg path {
    stroke: var(--light);
    transition: 300ms ease-out;
}

/*------------------------------------------------------ Footer ------------------------------------------------------*/
.sociaal-main {
    width: 45px;
    height: 45px;
    border: var(--light) solid 2px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 300ms ease-out;
}

.sociaal-main svg {
    width: 30px;
    height: 30px;
    fill: none;
}

.sociaal-main svg path {
    stroke: var(--light);
    transition: 300ms ease-out;
}

.sociaal-main:hover {
    background-color: var(--light);
    border-radius: 10px;
    transform: translateY(-5px);
    transition: 300ms ease-out;
}

.sociaal-main:hover svg path {
    stroke: var(--teal);
    transition: 300ms ease-out;
}

.sociaal-buttons-main {
    width: 175px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.copyright {
    margin-top: 2vh;
    margin-bottom: 2vh;
    color: var(--light);
}

/*------------------------------------------------------ Animatie ------------------------------------------------------*/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.in-beeld>* {
    opacity: 0;
    animation: fadeInUp 0.6s ease-in forwards;
}

/* Staggering met nth-child */
.in-beeld>*:nth-child(1) {
    animation-delay: 0.1s;
}

.in-beeld>*:nth-child(2) {
    animation-delay: 0.3s;
}

.in-beeld>*:nth-child(3) {
    animation-delay: 0.6s;
}

.in-beeld>*:nth-child(4) {
    animation-delay: 0.9s;
}

.in-beeld>*:nth-child(5) {
    animation-delay: 1.2s;
}

@keyframes fadeOutdown {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

.uit-beeld>* {
    opacity: 0;
    animation: fadeOutdown 0.6s ease-in forwards;
}

.in-title {
    opacity: 0;
    animation: fadeUp 0.6s ease-in forwards;
}

.uit-title {
    opacity: 0;
    animation: fadeDown 0.6s ease-in forwards;
}

@keyframes fadeDown {
    from {
        opacity: 1;
        transform: translateY(0%);
    }

    to {
        opacity: 0;
        transform: translateY(100%);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }

    to {
        opacity: 1;
        transform: translateY(0%);
    }


}

/*------------------------------------------------------Mobile------------------------------------------------------ */
@media only screen and (max-width: 1199.98px) {


    .main-home {
        width: 100%;
        flex-direction: column;
    }

    .main {
        width: 94%;
        margin-left: 3%;
        margin-right: 3%;
    }

    h1 {
        font-size: 4.5rem;
        line-height: 1.2em;
    }

    h2 {
        font-size: 2.5rem;
        line-height: 0.5em;
    }

    h3 {
        font-size: 4rem;
    }

    h4 {
        font-size: 2.05rem;
    }

    h5 {
        font-size: 1.25rem;
        line-height: 1.5em;
    }

    h6 {
        font-size: 1rem;
        line-height: 1.5em;
    }

    p,
    a {
        font-size: 13px;
    }

    /*------------------------------------------------------Navigatie home------------------------------------------------------ */
    .nav-home {
        display: none;
    }

    /*------------------------------------------------------Navigatie overig------------------------------------------------------ */
    .nav {
        display: none;
    }

    /*------------------------------------------------------ Avatar ------------------------------------------------------ */
    .avatar-container {
        display: none;
    }

    /*------------------------------------------------------Banner------------------------------------------------------ */
    .banner {
        margin-top: 2vh;
        width: 100%;
        height: 10vh;
    }

    .banner-none {
        display: none;
    }

    .banner-title {
        justify-content: space-between;
        margin-left: 3%;
        width: 100%;
    }

    .banner-title h3 {
        font-size: 2rem;
    }

    /*------------------------------------------------------ Home ------------------------------------------------------*/
    .section-foto {
        display: none;
    }

    .section-tekst {
        width: 100%;
        height: 100vh;
    }

    .sociaal-buttons {
        width: 50%;
    }

    /*------------------------------------------------------ Overmij ------------------------------------------------------*/
    .section-overmij {
        grid-template-columns: 100%;
        grid-template-rows: 50%;
        gap: 15px;
        height: 55vh;
        width: 100%;
    }

    .section-overmij h2 {
        line-height: 1em;
    }

    .overmij-foto img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        border-radius: 15px;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    }


}

.hamburgerbox{
    display: none;
    justify-content: center;
    align-items: center;
    margin-right: 3%;
}

.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--light);
    cursor: pointer;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
}

.st0 {
    fill-opacity: 0;
    stroke: #124948;
    stroke-linecap: round;
    stroke-miterlimit: 1;
    stroke-width: 5px;
}