@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&family=Space+Grotesk:wght@300..700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    height: 100vh;
}
/*#3A8198 -> Vorig blauw*/

/*Header*/
header{
    background-color: #E2EEF2;
    height: 45%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 0px 30px;
    position: relative;
}
.header__container{
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: end; /*Zorgt ervoor dat tegen middellijn staat op grotere schermen*/
}
.header__container a{
    text-decoration: none;
}
nav{
    padding: 20px 35px;
}
.nav__header{
    font-family: "Space Grotesk", sans-serif;
    font-weight: bold;
    color: #509CB5;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 22px;
}
.nav__list{
    list-style-type: none;
    text-align: right;
    margin-top: 20px;
}
.nav__list-item{
    margin-bottom: 14px;
}
.nav__list-link{
    font-family: "Karla";
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
    color: #509CB5;
    transition: all 0.5s ease;
}
.nav__img{
    height: 190%;
    margin-left: 20px;
}
.header__hamburger{
    display: none;
}
.nav__contact{
    padding: 20px;
    display: flex;
    gap: 20px;
}
.nav__contact a{
    color: #509CB5;
    transition: all 0.5s ease;
}

main{
    margin-bottom: 100px;
}
section{
    margin-bottom: 80px;
}
section h2{
    color: #509CB5;
    font-size: 46px;
    font-family: 'Space Grotesk';
}

/*Welkomsttekst*/
.header__welcome{
    position: absolute;
    color: #BF6094;
    font-family: "Karla";
    font-weight: 200;
    font-size: 70px;
    text-transform: uppercase;
    left: 53%;
    bottom: 0;
    height: 65px;
}
.welcome{
    width: 100%;
    height: 420px;
    position: relative;
    margin-bottom: 100px;
}
.welcome__container{
    position: absolute;
    left: 53%;
    height: auto;
    padding-top: 10px;
}
.welcome__container h1{
    font-family: "Space Grotesk";
    font-weight: bold;
    text-transform: uppercase;
    color: #BF6094;
    font-size: 60px;
}
.welcome__container h2{
    font-family: "Space Grotesk";
    font-weight: 300;
    font-size: 26px;
    color: #BF6094;
    text-transform: capitalize;
    margin-top: -5px;
}
.welcome__container p{
    width: 65%;
    color: #BF6094;
    margin-top: 40px;
    font-family: "Karla";
    font-weight: 400;
}

/*Carousel*/
.carousel{
    width: 100%;
    height: 30px;
    background-color: #FAF2F6;
    color: #509CB5;
    transform: rotate(-3deg);
    overflow: hidden;
    margin-bottom: 150px;
}
.carousel__track{
    display: flex;
    width: max-content;
    height: 100%;
    animation: scroll 20s linear infinite;
}
.carousel__content{
    display: flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
    text-transform: uppercase;
    font-family: 'Space Grotesk';
}
.separator{
    margin: 0 10px;
}
@keyframes scroll{
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/*Education*/
.education{
    width: 100%;
    height: 580px;
    display: grid;
	grid-template-rows: auto 60% auto;
	grid-template-columns: repeat(2, 50%);
	gap: 0;
    padding-top: 20px;
}
.education h2{
    text-align: right;
    grid-area: 1/2/2/3;
    justify-self: start;
	align-self: end;
}
.timeline{
    grid-area: 2/1/3/3;
    position: relative;
    justify-self: start;
    width: 70%;
    height: 100%;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.timeline::after{
    content: '';
    position: absolute;
    width: 4px;
    background-color: #e7e7e7;
    border-radius: 15px;
    top: 25px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.timeline__item{
    position: relative;
    width: 50%;
    font-family: 'Karla';
}
.timeline__item:nth-child(odd){
    text-align: right;
    padding-right: 35px;
}
.timeline__item:nth-child(even){
    margin-left: 50%;
    text-align: left;
    padding-left: 35px;
}
.timeline__item::after{
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #BF6094;
    border: 8px solid #E2EEF2;
    outline: 8px solid #FFF;
    border-radius: 50%;
    top: 50%;
    left: 100%;
    transform: translate(-50%, -50%);
    z-index: 5;
}
.timeline__item:nth-child(even)::after{
    left: 0;
}
.timeline__item-year{
    color: #6b6b6b;
}
.timeline__item-title{
    color: #BF6094;
    font-size: 20px;
}
.timeline__item-location {
    color: #BF6094;
}
.quote{
    position: relative;
    grid-area: 3/2/4/3;
    min-height: 100px;
    width: 100%;
    display: flex;
    align-items: center;
}
.quote__backgr{
    position: absolute;
    bottom: 60px;
    left: 90px;
    width: 40%;
    height: 100%;
    border-radius: 30px;
    background-color: #E2EEF2;
}
.quote__img{
    position: relative;
    z-index: 2;
    width: 150px;
    object-fit: cover;
    flex-shrink: 0;
}
.quote__text{
    position: relative;
    margin-left: 45px;
    width: 55%;
    font-family: 'Karla';
}
.quote__message{
    margin: 0;
    font-size: 26px;
    line-height: 1.4;
    width: 70%;
    color: #509CB5;
    margin-bottom: 15px;
}
.quote__author{
    font-size: 18px;
    color: #BF6094;
    text-align: center;
}

/*Skills*/
.skills{
    width: 100%;
    height: 700px;
    padding: 80px 0;
    /* margin-bottom: 50px; */
}
.skills h2{
    font-family: 'Space Mono';
    font-size: 38px;
}
.skills h3{
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}
.skills ul{
    list-style-type: none;
    font-family: 'Karla';
}
.skills__container{
    width: 70%;
    height: 100%;
    background-color: #E2EEF2;
    margin: auto;
    border-radius: 40px;
    display: grid;
    grid-template-columns: 40% 30% 30%;
}
.title__column, .hard-skills__column,  .language__column{
    align-self: center;
    justify-self: center;
}
.title__column{
    color: #509CB5;
}
.hard-skills__column, .language__column{
    color: #BF6094;
    font-family: 'Karla';
    line-height: 2;
}
.hard-skills__column h3{
    line-height: 1;
}
.language__column{
    font-weight: 400;
}
.lang-title{
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: -10px;
}

/*Experience*/
.experience{
	width: 100%;
	height: 100%;
    margin-bottom: 220px;
    padding-top: 20px;
}
.experience h2{
    margin: 0 auto;
    margin-bottom: 50px;
    width: 83%;
}
.experience__container{
    display: flex;
    justify-content: space-between;
    width: 83%;
	height: 90%;
    margin: 0 auto;
}
.experience__item{
    position: relative;
    width: 28%;
    padding: 10px 20px 0px 20px;
    font-family: 'Karla';
}
.experience__item::before{
    content: '';
    position: absolute;
    background-color: #509CB5;
    width: 2px;
    left: 0;
    top: 0;
    bottom: 40%;
}
.experience__year{
    color: #6b6b6b;
    margin-bottom: 6px;
}
.experience__title{
    color: #BF6094;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 20px;
    hyphens: auto;
    margin-bottom: 20px;
}
.experience__text{
    color: #509CB5;
}

/*Interests*/
.interests{
    position: relative;
    width: 100%;
    height: auto;
    background-color: #FAF2F6;
    padding: 100px 0 60px;
}
.interests h2{
    position: absolute;
    color: #BF6094;
    text-transform: uppercase;
    font-family: 'Space Mono';
    font-size: 38px;
    top: 0;
    right: 10%;
    transform: translateY(-50%);
}
.interests__grid{
    display: grid;
	grid-template-rows: repeat(2, 1fr);
	grid-template-columns: repeat(2, 1fr);
	gap: 60px 100px;
	width: 100%;
	height: 100%;
}
.interest__container{
    width: 60%;
    margin: auto 0;
    font-family: 'Karla';
    color: #509CB5;
    justify-self: right;
    margin-right: 50px;
}
.interest__container:nth-child(even){
    justify-self: left;
    margin-left: 50px;
}
.interest__icon{
    background-color: #FFF;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
}
.interest__container h3{
    font-size: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.interest__container p{
    margin-left: 58px;
}
.interest__container a{
    margin-left: auto;
    font-size: 16px;
    color: #509CB5;
    transition: all 0.5s ease;
}
.interest__container a:hover{
    color: #BF6094;
}

/*Contact*/
 .contact{
    display: grid;
	grid-template-rows: 1fr;
	grid-template-columns: repeat(2, 1fr);
	gap: 0px 150px;
	width: 100%;
	height: 100%;
    position: relative;
    padding-top: 40px;
 }
.contact div{
    width: 65%;
    margin: 0 auto;
}
.contact__ornament{
    position: absolute;
    left: 0;
    bottom: -101px;
    width: 40%;
}
.contact p{
    color: #509CB5;
    font-family: 'Karla';
    margin-top: 15px;
}
.contact__form{
    width: 70%;
    padding: 25px 0;
}
.contact__form input, .contact__form textarea{
    border: #509CB5 1px solid;
    border-radius: 20px;
    padding: 8px 15px;
    color: #509CB5;
    font-family: 'Karla';
    font-size: 15px;
    width: 100%;
    margin: 10px 0;
    transition: all 0.5s ease;
}
.contact__form input:focus, .contact__form textarea:focus{
    outline-color: #509CB5;
}
.contact__form input::placeholder, .contact__form textarea::placeholder{
    color: #509CB5;
    font-family: 'Karla';
    font-size: 15px;
}
#versturen{
    color: #BF6094;
    text-transform: uppercase;
    font-weight: 800;
    font-family: 'Karla';
    background-color: #FFF;
    border: #BF6094 1px solid;
    width: 30%;
    font-size: 14px;
    border-radius: 10px;
    padding: 10px 0;
    transition: all 0.5s ease;
}

/*Footer*/
footer{
    position: relative;
    height: 40%;
    background-color: #E2EEF2;
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer__container{
    width: 80%;
    height: 30%;
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding-bottom: 15px;
    border-bottom: #BF6094 2px solid;
}
.footer__container h5{
    font-family: "Space Grotesk";
    font-weight: bold;
    text-transform: uppercase;
    color: #BF6094;
    font-size: 40px;
    line-height: 0.9;
}
.footer__socials{
    display: flex;
    gap: 30px;
}
.footer__socials a{
    text-decoration: none;
    color: #BF6094;
    font-family: 'Karla';
    text-transform: uppercase;
    font-weight: 700;
    transition: all 0.5s ease;
}
.footer__copy{
    position: absolute;
    color: #BF6094;
    font-family: 'Karla';
    font-weight: 500;
    left: 50%;
    bottom: 25px;
    transform: translateX(-50%);
}
.odara{
    text-decoration: none;
    text-transform: uppercase;
    color: #BF6094;
    transition: all 0.5s ease;
}
.odara:hover{
    color: #211c42;
}

.scroll-top{
    display: none;
    position: fixed;
    right: 25px;
    bottom: 25px;
    padding: 6px;
    background-color: #BF6094;
    color: #FFF;
    border: none;
    border-radius: 6px;
    transition: all 0.5s ease;
}
.scroll-top i{
    -webkit-text-stroke: 0.5px;
    font-size: 16px;
}

/*Contact form popup*/
.form-popup{
    position: fixed;
    font-family: 'Karla';
    top: 30px;
    right: 30px;
    max-width: 400px;
    padding: 20px;
    background: #FFF;
    color: #509CB5;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 9999;
}
.form-popup.show{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.form-popup__content{
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.form-popup__icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    font-size: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}
.form-popup strong{
    display: block;
    margin-bottom: 5px;
}
.form-popup p{
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}
.form-popup-close{
    border: none;
    background: none;
    font-size: 22px;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
}
.close__button{
    color: #509CB5;
    -webkit-text-stroke: 1px;
    transition: all 0.5s ease;
}
.form-popup.success .form-popup__icon {
    background-color: #E2EEF2;
    color: #509CB5;
}
.form-popup.error .form-popup__icon {
    background-color: #FAF2F6;
    color: #BF6094;
}

@media only screen and (max-width: 765px){
    header{
        padding: 0;
        position: relative;
        height: 65%;
    }
    .header__container{
        height: 100px;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }
    nav{
        padding: 0;
    }
    .nav__header{
        margin-left: 25px;
    }
    .nav__list{
        display: none;
        position: absolute;
        width: 100%;
        margin: 0;
        top: 85px;
        text-align: left;
        height: 100vh;
        background-color: #E2EEF2;
        z-index: 99;
    }
    .nav__list-item{
        margin-left: 25px;
    }
    .nav__img{
        height: 280px;
        margin: 0;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        clip-path: circle();
    }
    .header__hamburger{
        display: block;
        font-size: 40px;
        -webkit-text-stroke: 1px;
        color: #509CB5;
        transition: transform 0.3s ease, opacity 0.3s ease;
        margin-right: 25px;
    }
    .header__hamburger.bi-list{
        transform: rotate(0deg);
    }
    .header__hamburger.bi-x{
        transform: rotate(90deg);
        opacity: 1;
    }
    .header__hamburger.bi-x.bi-list{
        opacity: 1;
        transform: rotate(0deg);
    }
    .nav__contact{
        position: absolute;
        left: 50%;
        top: 70%;
        transform: translateX(-50%);
        margin-right: 25px;
        gap: 25px;
    }
    .header__welcome{
        left: 0;
        font-size: 58px;
        height: 53px;
        padding: 0 25px;
    }
    .welcome{
        height: auto;
        padding: 0px 25px 10px 25px;
    }
    .welcome__container{
        position: initial;
    }
    .welcome__container h1{
        font-size: 42px;
    }
    .welcome__container h2{
        font-size: 20px;
    }
    .welcome__container p{
        width: 100%;
    }
    main{
        margin-bottom: 50px;
    }
    section{
        margin-bottom: 60px;
    }
    section h2{
        font-size: 30px;
    }
    .education{
        display: flex;
        flex-direction: column;
        height: auto;
        padding: 0 25px;
        /* margin-bottom: 60px; */
    }
    .education h2{
        align-self: center;
        margin-bottom: 20px;
    }
    .timeline{
        width: 100%;
        hyphens: auto;
    }
    .timeline::after{
        bottom: 25px;
    }
    .timeline__item{
        height: 110px;
        display: flex;
        align-items: center;
    }
    .timeline__item-title{
        font-size: 18px;
    }
    .quote{
        grid-area: auto;
        height: auto;
        min-height: auto;
        margin-top: 120px;
    }
    .quote__backgr{
        height: 80%;
        bottom: 80px;
        left: 80px;
        width: 70%;
    }
    .quote__text{
        width: 100%;
        margin-left: 20px;
    }
    .quote__message{
        font-size: 20px;
        width: 100%;
    }
    .skills{
        height: auto;
    }
    .skills h2{
        font-size: 28px;
    }
    .skills__container{
        width: 83%;
        padding: 40px 45px;
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    .title__column, .hard-skills__column, .language__column{
        align-self: start;
    }
    .experience{
        margin-bottom: 160px;
    }
    .experience h2{
        margin-bottom: 25px;
    }
    .experience__container{
        flex-direction: column;
        gap: 55px 0;
    }
    .experience__item{
        width: 100%;
    }
    .interests h2{
        font-size: 28px;
    }
    .interests__grid{
        display: flex;
        flex-direction: column;
    }
    .interest__container{
        margin: 0 auto;
        width: 83%;
    }
    .interest__container:nth-child(even){
        margin: 0 auto;
    }
    .contact{
        display: flex;
        flex-direction: column;
    }
    .contact div{
        width: 83%;
    }
    .contact__ornament{
        display: none;
    }
    .contact__form{
        margin: 0 auto;
        width: 83%;
    }
    #versturen{
        width: 50%;
    }
    .footer__container{
        width: 85%;
    }
    .footer__container h5{
        font-size: 28px;
    }
    .footer__socials{
        gap: 20px;
    }
    .form-popup{
        max-width: 85%;
        right: 0;
        left: 0;
        margin: 0 auto;
    }
}

/*Hover enkel op desktop*/
@media only screen and (min-width: 1100px){
    .nav__list{
        display: block;
    }
    .nav__list-link:hover{
        color: #BF6094;
    }
    .nav__contact a:hover{
        color: #BF6094;
    }
    .contact__form input:hover, .contact__form textarea:hover{
        background-color: #E2EEF2;
    }
    #versturen:hover{
        outline: none;
        background-color: #BF6094;
        color: #FFF;
        cursor: pointer;
    }
    .footer__socials a:hover{
        color: #509CB5;
    }
    .scroll-top:hover{
        cursor: pointer;
        background-color: #509CB5;
    }
    .close__button:hover{
        color: #BF6094;
    }
}