@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');
@import url('https://fonts.googleapis.com/css2?family=Amaranth:ital,wght@0,400;0,700;1,400;1,700&family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Parkinsans:wght@300..800&family=Sulphur+Point:wght@300;400;700&display=swap');
@import url("https://use.typekit.net/wtc2hke.css");

:root {
    --main: #0e5a5a;
    --titles: #252422;
    --text: #3F3F3F;
    --banner: #1c1c1c;
    --select: #0b4443;
    --light: #f3f3f3;
    --zilver: #C7C9CC;

    --header: 173deg, #0c4442 0%, #0e5a5a 100%;
    --base-unit: 4px;
    --radius: 25px;
    --transition-fast: 150ms ease-out;
}

p {
    color: var(--text);
}

h1,
h2,
h3 {
    font-family: "Parkinsans", sans-serif;
    margin: 0;
}

footer,
div,
h4,
h5,
h6,
a,
p,
.knop {
    font-family: "open sans", sans-serif;
    margin: 0;
}

h1 {
    color: var(--main);
    font-size: 4rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

h2 {
    color: var(--main);
    font-size: 3.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

h3 {
    color: var(--main);
    font-size: 2rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

h4 {
    color: var(--titles);
    font-size: 2.05rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

h5 {
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

h6 {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

body {
    margin: 0;
    background: var(--light);
    display: flex;
    flex-direction: row;
}

header {
    height: 100vh;
    padding-left: .625rem;
    display: flex;
    position: sticky;
    inset: 0% auto 0% 0%;
}

.navbar {
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    background: linear-gradient(var(--header));
    border-radius: var(--radius);
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: auto;
    margin-top: .625rem;
    margin-bottom: .625rem;
    padding: 50px 50px 50px;
    display: flex;
    position: relative;
    overflow: hidden;
}

.avatar {
    width: 220px;
    border: 4px solid #37605f;
    border-radius: 100%;
}

.navbar nav {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

nav a {
    position: relative;
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* underline animatie */
nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background: var(--light);
    transition: width 0.3s ease;
}

/* hover animatie */
nav a:hover {
    color: var(--light);
}

nav a:hover::after {
    width: 100%;
}

/* geselecteerde link – geen animatie, staat al “aan” */
nav a.select {
    color: var(--light);
}

nav a.select::after {
    width: 100%;
    transition: none;
    /* stopt de animatie */
}


nav a,
.contact a {
    font-family: "Parkinsans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--zilver);
    text-decoration: none;
}

.decoration {
    z-index: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
}

.decoration-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px;
    pointer-events: none;
    user-select: none;
}

main {
    width: 100%;
    padding-right: .625rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

main#home {
    justify-content: center;
}

.page-title {
    z-index: 1;
    top: 35px;
    display: flex;
    height: 15vh;
    /* padding: 0 170px; */
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 0 var(--radius) var(--radius) 0;
    /* background: var(--banner); */
    transition: transform 0.8s ease-in-out;
    transform-origin: left center;
}


.content {
    display: flex;
    width: 98%;
    max-width: 952.56px;
    min-width: 75%;
    flex-direction: column;
    margin-top: .625rem;
    margin-bottom: .625rem;
}


/* DECO LIJNEN */
.page-title::before,
.page-title::after {
    content: "";
    flex: 1;
    max-width: 240px;
    height: 14px;

    /* zelfde kleur als tekst */
    background:
        linear-gradient(to left,
            var(--main),
            transparent) 0 0 / 100% 1px no-repeat,

        linear-gradient(to left,
            var(--main),
            transparent) 0 10px / 100% 1px no-repeat;
}

/* spiegel de rechterkant écht */
.page-title::after {
    background:
        linear-gradient(to right,
            var(--main),
            transparent) 0 0 / 100% 1px no-repeat,

        linear-gradient(to right,
            var(--main),
            transparent) 0 10px / 100% 1px no-repeat;
}

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.home {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.home img {
    width: 35%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-radius: 500px;
}

.home-tekst {
    width: 57%;
}

.home-tekst h2 {
    margin-top: -12px;
}

.home-tekst h6 {
    font-weight: 600;
    color: var(--tekst);
    font-size: 18px;
    margin: 12.5px 0 25px 0;
}

.home-buttons {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    width: 100%;
}


footer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 75px;
    color: #3F3F3F;
}

/*------------------------------------------------------Tablet------------------------------------------------------ */
@media (max-width: 1199px) {
    .menu-icon {
        position: fixed;
        display: flex;
        width: 50px;
        height: 50px;
        border-radius: 100px;
        cursor: pointer;
        margin: 20px;
        background: #37605f;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        z-index: 12;
    }

    .menu-icon span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--zilver);
        margin: 3px 0;
        border-radius: 100px;
        transition: 0.3s;
    }

    .menu-icon span:nth-child(1) {
        top: 0;
    }

    .menu-icon span:nth-child(2) {
        top: 10px;
    }

    .menu-icon span:nth-child(3) {
        top: 20px;
    }

    /* X animatie */

    /* Hamburger -> X animatie */

    .menu-icon.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .menu-icon.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-icon.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6.5px, -6.5px);
    }

    header {
        display: none;
        position: fixed;
        z-index: 10;
    }

    .content {
        height: 100%;
    }

    .home {
        flex-direction: column-reverse;
        justify-content: space-around;
        height: 100%;
    }

    .home-tekst {
        width: 75%;
    }

    .home img {
        width: 40%;
    }

    main#home{height: 100vh;}
    main{padding-left: .625rem;}
}


/*------------------------------------------------------Mobile------------------------------------------------------ */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    h4 {
        font-size: 1.4rem;
    }

    .avatar {
        width: 175px;
    }

    .page-title {
        height: 10vh;
    }

    .home img {
        width: 75%;
    }

    .home-tekst {
        width: 100%;
    }

    .home-tekst h2 {
        margin-top: -2px;
    }

    .home-tekst h6 {
        font-size: 16px;
        margin: 12.5px 0 20px 0;
    }

    .home-buttons {
        margin-top: 20px;
        flex-direction: column;
    }
}






.cssbuttons-io-button {
    background: var(--main);
    color: var(--light);
    font-family: inherit;
    padding: 0.35em;
    padding-left: 1.2em;
    font-size: 17px;
    font-weight: 500;
    border-radius: 100em;
    border: none;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    height: 2.8em;
    padding-right: 3.3em;
    cursor: pointer;
}

.cssbuttons-io-button .icon {
    background: white;
    margin-left: 1em;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.2em;
    width: 2.2em;
    border-radius: 100em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    right: 0.3em;
    transition: all 0.3s;
}

.cssbuttons-io-button:hover .icon {
    width: calc(100% - 0.6em);
}

.cssbuttons-io-button .icon svg {
    width: 1.1em;
    transition: transform 0.3s;
    color: var(--main);
}

.cssbuttons-io-button:hover .icon svg {
    transform: translateX(0.1em);
}

.cssbuttons-io-button:active .icon {
    transform: scale(0.95);
}

.cssbuttons-io-button#dark {
    background: var(--titles);
}

.cssbuttons-io-button#dark .icon svg {
    color: var(--titles);
}


/*------------------------------------------------------ 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%);
    }


}