@import "fontface.css";

html, body {
    box-sizing: border-box;
}

/*==============================================*/
/* Navigatie */
/*==============================================*/

nav {
    overflow: hidden;
    width: 100%;
    position: relative;
    z-index: 1;
}

nav a#hamburger {
    display: none;
    color: #4EB2E0;
}

nav img {
    width: 100px;
    margin: 2% 0% 2% 4%;
}

ul {
    float: right;
    width: 80%;
    margin: 2%;
}

li {
    float: right;
    padding: 2%;
}

nav a {
    font-family: truenolight;
    text-decoration: none;
    color: black;
    border-bottom: solid 1px rgba(24, 24, 24, 0);
    position: relative;
}


nav ul li a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #000;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

nav ul li a:hover:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

nav ul li a#active:hover:before {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
}

a#active {
    border-bottom: solid 1px black;
}

.open {
    display: none;
}

/*==============================================*/
/* Section 1 */
/*==============================================*/


section {
    padding-bottom: 10%;
    overflow: hidden;
}

.een {
    background-image: url(../img/background1.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    transform: translateY(-5%);
    background-position: left 250%;
}

header section article {
    float: right;
    width: 60%;
    margin-top: 15%;
    padding: 10% 5%;
    background: rgba(70, 141, 195, 0.57);
}

h1 {
    font-family: spartanblack;
    color: white;
}

p {
    font-size: 1.1em;
    font-family: truenolight;
    color: white;
}

.een h1 {
    font-size: 4em;
    text-align: center;
    animation: bovenbeneden 1.5s 1 0s ease-in-out;
    line-height: 1em;
}

.een p {
    text-align: center;
    color: #f0f0f0;
    animation: bovenbeneden 1.5s 1 0s ease-in-out;
}

/*==============================================*/
/* vormen algemeen */
/*==============================================*/

.blauw {
    background-color: rgba(77, 177, 223, 0.4)
}

.roze {
    background-color: rgba(244, 168, 154, 0.7);
}

.groen {
    background-color: rgba(63, 149, 151, 0.7);
}

.cirkel {
    border-radius: 100%;
    position: absolute;
}

.vierkant {
    position: absolute;
    border-radius: 0%;
}

/*==============================================*/
/* vormen achtergrond 1 */
/*==============================================*/

.een div:nth-of-type(1) {
    top: 25%;
    right: 57%;
    width: 9vw;
    height: 9vw;
    z-index: -1;
    animation: linksrechts 1.5s 1 0s ease-in-out;
}

.een div:nth-of-type(2) {
    top: 15%;
    right: 52%;
    width: 12vw;
    height: 12vw;
    z-index: -1;
    animation: bovenbeneden 1.5s 1 0s ease-in-out;
}

.een div:nth-of-type(3) {
    width: 7vw;
    height: 7vw;
    top: 63%;
    left: 17%;
    animation: bovenbeneden 1.5s 1 0s ease-in-out;
}

/*==============================================*/
/* keyframes animatie kleurvlakken */
/*==============================================*/

@keyframes bovenbeneden {
    0% {
        transform: translateY(-40%);
        opacity: 0;
    }

    100% {
        transform: translateY(0%);
        opacity: 1;
    }
}

@keyframes linksrechts {
    0% {
        transform: translateX(-50%);
        opacity: 0;
    }

    100% {
        transform: translateY(0%);
        opacity: 1;
    }
}

/*==============================================*/
/* Section 2 */
/*==============================================*/

.twee {
    position: relative;
}

main section.twee div:nth-of-type(1) {
    width: 16vw;
    height: 25vw;
    top: 35%;
    right: 7%
}

main section.twee div:nth-of-type(2) {
    width: 19vw;
    height: 19vw;
    top: 15%;
    left: -7%;
    z-index: 999;
}

main section.twee div:nth-of-type(3) {
    width: 6vw;
    height: 6vw;
    top: 30%;
    left: 83%;
    z-index: -1;
}

main section.twee div.voor {
    float: left;
    width: 80%;
    margin-top: 20%;
    padding: 7%;
    background: rgba(70, 141, 195, 0.57);
}

main section.twee div.voor div {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 5%;
}

main section.twee div.voor div p {
    padding: 8px;
}

main section.twee h1 {
    text-align: center;
    margin-bottom: 10px;
}

main section.twee h2 {
    line-height: .86em;
    color: white;
    font-family: truenosemibold;
}

main section.twee h3 {
    font-size: 24px;
    line-height: .86em;
    color: white;
    font-family: truenoregular;
}

main section.twee a {
    color: white;
    font-family: truenoregular;
    text-decoration: underline;
    cursor: pointer;
}

 main section.twee a:visited {
    color: white;
    font-family: truenoregular;
    text-decoration: underline;
    cursor:progress;
}

main section.twee a:hover {
    color: #6af19e;
    font-family: truenoregular;
    text-decoration: underline;
    cursor: pointer;
}

main section.twee article {
    float: right;
    width: calc(100%/3);
    margin-top: 0%;
    padding: 2%;
    background: none;
    text-align: center;
}

main section.twee article:nth-of-type(4) {
    display: none;
}

main section.twee article img {
    height: 140px;
    margin-bottom: 9%;
}

main section.twee div div:nth-of-type(1) {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    padding-bottom: 0%;
    padding-top: 5%;
}

main section.twee button {
    font-family: truenolight;
    padding: 1.5% 3%;
    color: white;
    border-radius: 10px;
    font-size: 1.3em;
    background-color: transparent;
    cursor: pointer;
    outline: none;
    border: 2px solid white;
}

/*==============================================*/
/* Section 3 */
/*==============================================*/

section.drie {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 100px 0px 50px 0;
    border-radius: 50px;
}

section.drie div{
    background-color: rgba(70, 141, 195, 0.57);
    max-width: 950PX;
    width: 75%;
    padding: 40px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 50px;
}

section.drie div h2{ 
    padding: 0 0 25px 0;
}

section.drie div a{ 
    cursor: pointer;
}




/*==============================================*/
/* Section 4(niet in gebruik) */
/*==============================================*/

/*
.vier {
    background-image: url(../beelden/background4.jpg);
    background-repeat: no-repeat;
    background-size: 130%;
    background-position: bottom left;
    margin: 0%;
    overflow: hidden;
    clear: both;
}

.vier h1 {
    text-align: center;
    padding-top: 8%;
    color: #F4A99B;
}

span {
    color: #1882A8;
}

figure {
    padding-top: 5%;
    width: 66%;
    display: block;
    margin: auto;
    overflow: hidden;
}

figure img {
    float: left;
    width: 20%;
    padding: 1%;
}

figure img.groot {
    width: 40%;
}

 ik krijg deze link niet gecentreerd zonder dat de borders de volledige pafina groot zijn
.vier a {
    margin: 5% 40% 0% 40%;
    display: block;
    text-align: center;
    clear: both;
    font-family: truenolight;
    padding: .5% 3%;
    color: white;
    border: solid 2px white;
    border-radius: 10px;
}
*/

/*==============================================*/
/* Footer */
/*==============================================*/

footer {
    margin-top: 1%;
    background: rgba(244, 169, 155, 0.7);
    margin-top: -1%;
}

footer p {
    text-align: center;
    font-size: .7em;
    color: white;
    padding: 1.5%;

}

/*==============================================*/
/* Pagina Projecten */
/*==============================================*/

.projecten header article {
    overflow: hidden;
    margin-bottom: 20%;
}

.projecten header article h1 {
    font-size: 5em;
    text-align: right;
    color: #FFF;
    position: relative;
    font-family: truenosemibold;
    margin: 10% 0% 0% 10%;
    padding: 5% 10%;
    text-transform: uppercase;
    background-color: rgba(63, 149, 151, 0.7);
}

.projecten header article p {
    font-size: 1em;
    text-align: right;
    color: #FFF;
    float: right;
    margin-left: 30%;
    padding: 5% 5%;
    margin-right: 5%;
    background-color: rgba(244, 168, 154, 0.7);
    transform: translateY(-15%);
}

.projecten main ul {
    width: 100%;
    margin-left: 0%;
    margin-top: 10%;
    padding: 0% 5%;
    float: none;
    overflow: hidden;
    margin-bottom: 10%;
}

.projecten main ul li {
    width: auto;
    text-align: center;
    display: inline-block;
    width: 25%;
}

.projecten main ul li button {
    color: black;
    text-decoration: none;
    width: 100%;
    background-color: transparent;
    border: none;
    font-size: 1em;
}

.projecten main section {
    padding: 0%;
    overflow: hidden;
    margin-bottom: 0%;
}

.projecten main section figure {
    width: calc(100% / 3);
    float: left;
    padding: 0%;
    overflow: visible;
    filter: grayscale(60%);
    line-height: 0;
}

.projecten main section figure:hover {
    transition: .3s;
    filter: grayscale(0%);
    cursor: pointer;
}

.projecten main section figure img {
    width: 100%;
    padding: 0%;
}

.projecten main section article img {
    width: 40%;
    float: left;
}

.projecten main section article video {
    width: 40%;
    float: left;
}

.projecten main section article section {
    width: 60%;
    float: left;
    padding-left: 5%;
}


/*
.projecten main section figure + article {
    width: 100%;
    float: left;
    margin: 0%;
}
*/

.dropportfolio {
    width: 100%;
    float: left;
    margin: 0%;
    display: none;
    padding: 7%;
}





/*==============================================*/
/* Pagina About me */
/*==============================================*/

main.overmij {
    width: 93%;
    margin: 5% auto;
    /*
    background-image: url(../beelden/backgroundovermij.png);
    background-size: 100%;
    background-repeat: no-repeat;
*/
    background-color: rgba(70, 141, 195, 0.57);
    overflow: hidden;
    padding: 5%;
}

main.overmij section {
    height: auto;
    margin: 0%;
    padding: 5%;
    width: 50%;
    float: left;
    border: 0;
}

main.overmij section + section {
    border-left: 4px solid white;
}

main.overmij h2 {
    color: white;
}




/*==============================================*/
/* Mediaquerry tablet */
/*==============================================*/

@media only screen and (max-width: 1024px) {

    nav ul {
        width: 65%;
        margin: 5% 1%;
    }

    .een {
        background-size: 130%;
        background-position: center;
        transform: translateY(-15%);
    }

    section.een article {
        width: 55%;
        margin-top: 23%;
    }


    .een article p {
        width: 100%;
    }

    .twee {
        margin-top: 5%;
        background-size: 120%;
        background-position: left;
    }

    .een div:nth-of-type(1) {
        right: 54%;
        top: 30%;
    }

    .een div:nth-of-type(2) {
        right: 49%;
        top: 20%;
    }

    .een div:nth-of-type(3) {
        top: 80%
    }

    main section.twee div:nth-of-type(1) {
        left: 85%;
    }

    main section.twee div:nth-of-type(2) {
        top: 10%;
    }

    main section.twee div:nth-of-type(3) {
        left: 93%;
    }

    main section.twee div.voor {
        width: 94.5%;
    }

    section.drie figure img{
        width: 50%;
    }
    
    section.drie figure img.show-tablet{
        display: block;
    }

    /*
    .vier h1 {
        padding-top: 20%;
    }

    figure {
        padding-top: 5%;
    }

    figure img + img + img + img + img + img,
    figure img + img + img + img + img + img + img {
        display: none;
    }

    figure img {
        width: 25%;
    }

    figure img.groot {
        width: 50%;
    }

*/

    .projecten header article p {}

    .projecten header article h1 {
        font-size: 3.5em;
    }

    .projecten main ul li {
        width: 50%;
        margin-bottom: 4%;
    }

    .projecten main section figure {
        width: calc(100% / 2);
        line-height: 0;
    }

    .projecten main section article section {
        width: 100%;
    }

    .projecten main section article h1,
    .projecten main section article img,
    .projecten main section article video {
        width: 100%;
    }
}


/*==============================================*/
/* Mediaquerry tablet (portrait) */
/*==============================================*/

@media only screen and (min-width: 686px) and (orientation: portrait) {

    section.een {
        background-size: 170%;
        background-position: top left;
        margin-top: 0%;
        transform: translateY(-20%);
        padding-bottom: 0%;
    }

    .een div:nth-of-type(1) {
        right: 30%;
        top: 25%;
    }

    .een div:nth-of-type(2) {
        right: 34%;
    }

    .een div:nth-of-type(3) {
        top: 45%;
        left: 30%;
    }

    .een h1 {
        padding-top: 10%;
    }

    .een p {
        padding-bottom: 10%;
        padding-top: 5%;
    }

    section.een article {
        width: 90%;
        margin-top: 85vw;
    }

    .een h1 {
        font-size: 3em;
    }

    h1 {
        padding: 0%;
    }

    p {
        font-size: 0.9em;
        padding: 0%;
    }

    .twee {
        margin-top: 0%;
        padding-bottom: 40%;
        margin-top: 0%;
    }

    /*
    section.vier {
        overflow: hidden;
        clear: both;
        margin-top: 60%;
    }

    section.vier h1 {
        padding-top: 30%;
    }

    section.vier img {
        width: 50%;
    }

    section.vier img.groot {
        width: 100%;
    }

    section.vier img.top {
        display: none;
    }

    section.vier a {
        margin-left: 30%;
        margin-right: 30%;
    }
*/

    .projecten header {
        transform: translateY(10%);
    }

    .projecten header article h1 {
        font-size: 3em;
    }

    .projecten header article p {
        padding: 5%;
        width: 80%;
        transform: translateY(-10%);
    }

    .projecten main ul {
        margin-top: 20%;
        margin-bottom: 20%;
    }

    .projecten main ul li {
        width: 100%;
        margin-bottom: 5%;
    }

    .projecten main section figure {
        width: 100%;
    }

    .projecten main article section h1 {
        width: 100%;
    }

    main.overmij section {
        width: 100%;
        padding: 10% 5%;
    }

    main.overmij section + section {
        border-left: none;
        border-top: 4px solid white;

    }
}



/*==============================================*/
/* Mediaquerry Gsm */
/*==============================================*/
@media only screen and (max-width: 685px) {

    nav a#hamburger {
        display: block;
        font-size: 2.5em;
        float: right;
        margin: 4%;
    }

    #nav-content {
        display: none;
    }

    .open {
        display: block;
    }

    nav ul {
        width: 100%;
    }

    .open {
        display: none;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    section.een {
        background-size: 170%;
        background-position: top left;
        margin-top: 0%;
        transform: translateY(-8%);
        padding-bottom: 0%;
    }

    .een div:nth-of-type(1) {
        right: 30%;
        top: 20%;
    }

    .een div:nth-of-type(2) {
        right: 34%;
    }

    .een div:nth-of-type(3) {
        top: 45%;
        left: 30%;
    }

    section.een article {
        width: 90%;
        margin-top: 88%;
    }

    .een h1 {
        font-size: 3em;
    }

    h1 {
        padding: 4%;
    }

    p {
        font-size: 0.9em;
        padding: 4%;
    }

    section.twee {
        margin-top: 0%;
    }

    section.drie figure img{
        width: 100%;
    }
    
    section.drie figure img.show-tablet{
        display: none;
    }

    section.drie button{
        font-size: 1.2em;
        padding: 20px 30px;
    }

    /*
    section.vier {
        overflow: hidden;
        clear: both;
        margin-top: 60%;
    }

    section.vier h1 {
        padding-top: 30%;
    }

    section.vier img {
        width: 50%;
    }

    section.vier img.groot {
        width: 100%;
    }

    section.vier img.top {
        display: none;
    }

    section.vier a {
        margin-left: 30%;
        margin-right: 30%;
    }
*/

    .posts main section article {
        width: calc(100% - 14%);
        margin-left: 7%;
    }


    .posts main article div p.datum {
        float: left;
        transform: translate(60%, -50%);
    }

    .posts main article:nth-of-type(2),
    .posts main article:nth-of-type(3) {
        margin-top: 10%;
    }

    .projecten header {
        transform: translateY(10%);
    }

    .projecten header article h1 {
        font-size: 3em;
    }

    .projecten header article p {
        padding: 5%;
        width: 80%;
        transform: translateY(150%);
    }

    .projecten main ul {
        margin-top: 40%;
        margin-bottom: 30%;
    }

    .projecten main ul li {
        width: 100%;
        margin-bottom: 5%;
    }

    .projecten main section figure {
        width: 100%;
    }

    .projecten main article section h1 {
        width: 100%;
    }

    main.overmij section {
        width: 100%;
        padding: 10% 5%;
    }

    main.overmij section + section {
        border-left: none;
        border-top: 4px solid white;

    }
}

/*==============================================*/
/* Mediaquerry Print */
/*==============================================*/

@media print {
    * {
        color: #000000 !important;
    }

    nav {
        display: none;
    }

    section {
        padding: 0%;
        margin: 0%;
    }

    section.een article,
    section.twee article {
        padding: 0%;
        float: left;
    }

    section.een article {
        text-align: center;
        width: 100%;
    }

    section.een section.twee {
        width: 100%;
        margin: auto;
        margin-top: 5%;
    }

    main section.twee div.voor {
        width: 100%;
        margin-bottom: 10%;
    }

    main section.twee button {
        display: none;
    }

    section.twee h1 {
        margin: 0%;
        padding: 0%;
    }

    section.twee article img {
        display: none;
    }

    section.twee article p {
        margin: 0%;
        padding: 0%;
    }

    footer {
        display: none;
    }
}

/*==============================================*/
/* Keyframes */
/*==============================================*/

@keyframes flyin {
    from {
        transform: translateY(5%);
        opacity: 0;
    }

    to {
        transform: translateY(0%);
        opacity: 1;
    }
}
