/* basic setup */
/* fonts from stylesheet line 9 HTML*/

*,
html {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/*main*/
main {
    padding: 5px;
    margin: 0px 15% 50px 15%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hidden {
    opacity: 0;
    transform: translate(0, 4em);
    transition: opacity .6s .1s ease, transform .6s ease-out;
}

.inView {
    opacity: 1 !important;
    transform: translate(0, 0);
}

main > p {
    width: 60%;
}

main > p.tagline {
    width: fit-content;
}

p,
li  {
    font-family: poppins, sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #2A304F;
    padding: 0;
}

ul {
    list-style: none;
}

p a {
    color: #92acd9;
}

p a:visited {
    color: #92acd9;
}

p a:hover {
    color: #58c0a2;
    text-decoration: underline;
    text-decoration-style: wavy;
    text-underline-offset: 4px;
}

h1,
h2,
h3,
h4,
h5,
h6,
button {
    font-family: poppins, sans-serif;
    font-weight: 600;
    color: #2A304F;
    /* padding-bottom: 5px; */
}

h1 {
    letter-spacing: normal;
    font-size: 125px;
    line-height: 1.2;
    font-weight: 600;
    text-transform: lowercase;
}


h2 {
    font-size: 30px;
}

h3 {
    /* font-family: garvis-pro, serif;
    font-weight: 700;
    font-style: normal;
    color: #2A304F; */
    font-size: 32px;
    margin-bottom: 10px;
    margin-top: 15px;
}

h4 {
    font-size: 20px;
    font-weight: 400;
}

.ondertitel { /*subheading portfoliopages*/
    color: #92acd9;
    text-align: center;
    /* font-family: garvis-pro, serif; */
    font-weight: 400;
    font-size: 30px;
    margin-bottom: 30px;
}

.specs {
    width: 100%;
}

.specs ul { /*specs about project*/
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-around;

    padding-bottom: 35px;
}

.specs ul li p {
    padding: 0;
}



.opdracht { /*assignment portfoliopages*/
    padding: 0px 75px 0px 75px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: row;
}

.opdracht p strong {
    margin: 0px 200px 50px 0px;
}

/*header*/
header {
    padding-top: 5px;
    padding-bottom: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column-reverse;
}


header > a { /*img a to home*/ 
    margin-top: 75px;
    display: flex;
    justify-content: center;
}

/*navigation*/
nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    position: fixed;
    z-index: 100;
    
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;

    background-color: rgba(255, 255, 255, 0.8);

}

nav li {
    padding: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
}

nav a {
    text-decoration: none;
    text-transform: lowercase;
    font-family: poppins, sans-serif;
    font-weight: 400;
    color: #2A304F;
    position: relative;
    padding: 5px 5px 5px 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
}


nav a:hover {
    color: #92acd9;
    text-decoration-line: underline;
    text-decoration-style: wavy;
    text-underline-offset: 4px;
    text-underline-position: auto;
    transition: all 0.3s;
}

.currentpage { /*class currentpage for page that user is currently on*/
    color: #58c0a2;
    font-weight: bold;
}

.currentpage:hover { /*keep currentpage same on hover*/
    color: #58c0a2;
    font-weight: bold;
    text-decoration: none;
}

.breadcrumbs { /*simple breadcrumbs on portfoliopages*/
    color: lightgrey;
    margin-bottom: 2em;
    text-transform: lowercase;
}

.breadcrumbs a {
    color: lightgrey;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #fbd5dd;
    text-decoration: underline;
    text-decoration-style: wavy;
    text-underline-offset: 4px;
}

.intro {
    position: relative;
    margin-top: 6em;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
}

/* Stamps */
.stamp {
    padding: 0;
    max-width: 5em;
    position: absolute;
    z-index: 99;

    transition: .8s ease-out;
}

.stamp:hover {
    transform: rotate(1turn);
}

@keyframes spin-stamp {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(1turn);
    }
}

/* Stamp1 = bottom left */
img.stamp-1 {
    left: -5%;
    bottom: -1%;
    height: auto;
}
/* Stamp2 = top right */
img.stamp-2 {
    right: -5%;
    top: -1%;
}
/* Stamp3 = top left */
img.stamp-3 {
    left: -5%;
    top: -1%;
}
/* Stamp4 = bottom right */
img.stamp-4 {
    right: -5%;
    bottom: -1%;
}
/* Stamp5 = right middle */
img.stamp-5 {
    right: -5%;
}
/* Stamp6 = left middle */
img.stamp-6 {
    left: -5%;
}

.intro h1:first-of-type {
    line-height: 1.2;
    display: flex;
    flex-direction: column;
}

.intro h1 > span {
    max-width: 500px;
}

.intro h1 button {
    background: #92acd9;
    color: white;

    font-size: 64px;

    border: none;
    padding: 16px 48px;
    border-radius: 100px;
    box-shadow: -5px 10px 0px #2A304F;

    transform: rotate(-4deg);
}

.intro h1 button:active {
    box-shadow: none;
    transform: rotate(-4deg) translate(-5px, 10px);
}

.intro h1.btn-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

#divider {
    width: 100%;
    height: auto;
    margin: 4em 0 2em 0;

    object-fit: cover;
}

#divider img {

    object-fit: cover;
}

.subinfo {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

.subinfo div {
    width: 40%;
}

.subinfo div:nth-of-type(2) {
    text-align: right;
}

/*figures*/
figure {
    margin: 6px;
}

figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

figure img.gif {
    width: 100%;
}

/*buttons*/
section > a {
    display: flex;
    justify-content: flex-start;
    align-items: center;

    text-decoration: none;
    font-weight: 400;
    font-family: poppins, sans-serif;

    color: #2A304F;
    background-color: #fbd5dd;
    box-shadow: -5px 5px 0 #2A304F;
    border-radius: 20px;

    padding: 10px 20px;
    margin: 10px;

    transform: rotate(-3deg);
}

section > a:hover,
section > a:focus {
    /* color: white; */
    background-color: #92acd9;
    color: white;
    
}

section > a:active {
    box-shadow: none;
    transform: rotate(-3deg) translate(-5px, 5px);
}

section > a#GDA {
    box-shadow: none;
    filter: drop-shadow(-5px 5px 0 #2A304F);
    padding: 0 !important;
    margin-bottom: 2em;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

section > a#GDA:hover {
    /* opacity: .7; */
    filter: hue-rotate(-175deg) drop-shadow(-5px 5px 0 #2A304F);
}

section > a#GDA:active {
    filter: hue-rotate(-175deg);

}

section > a#GDA img {
    padding: 0 !important;
    height: 150px;
}


a img.smallicon { /*class smallicon for in buttons*/
    height: 24px;
    width: auto;
    padding-right: 15px;
    padding-left: 5px;
}

.buttons { /*class for two or more buttons together*/
    display: flex;
    flex-direction: row;
    justify-content: flex-start; /*buttons together in a row*/
    align-items: flex-start;
    margin: 64px 0;
}

/*sections*/
.projects,
.illustrations,
.about {
    margin-top: 4em;
}

.projects h2,
.illustrations h2 {
    font-weight: bold;
    color: #58c0a2;
    text-align: center;
}

.illustrations h1,
.illustrations p,
.about h1,
.about > p {
    text-align: center;
}

#gallery { /* gallery is an unordered list */
    list-style: none;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap; /* figures in gallery wrap if needed */

    position: relative;
}

#gallery li {
    display: flex;
    flex-direction: column-reverse;
    max-width: 49%;
    height: auto;
    position: relative;

    margin-bottom: 24px;

    color: #2A304F;
    border-radius: 10px;
    box-shadow: 2px 6px 10px rgba(0, 0, 0, 0.1);
}

#gallery li,
#gallery li section,
#gallery li .thumb,
#gallery li a,
#gallery li a img {
    transition: .25s ease-out;
}

#gallery li:hover {
    transform: translateY(-10px);
}

#gallery li:hover a:first-of-type {
    background-color: #58c0a2;

    box-shadow: -5px 5px 0 #2A304F;
}

#gallery li:hover a:first-of-type img {
    transform: rotate(45deg);
}


#gallery li a:first-of-type {
    background-color: #2A304F;
    text-decoration: none;
    border-radius: 100%;
    padding: 18px 18px 14px 18px;

    position: absolute;
    z-index: 12;
    /* top: 12em; */
    top: .5em;
    right: .5em;

}

/* arrow */
#gallery li a:first-of-type img {
    max-width: 20px;
    height: 100%;
}

/* thumbnail */
#gallery li .thumb {
    max-width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
}

/* text info */
#gallery li section {
    height: fit-content;

    display: flex;
    flex-direction: column-reverse;

    padding: .5em .5em 0px 1em;
}

#gallery li section h3 {
    font-size: 28px;
    color: #2A304F;
    margin-top: 0;
}

#gallery li section img { /* icon category */
    width: 1.7em;
    height: 1.7em;
}

#gallery li section div {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
}

#gallery li section div h4 {
    color: #2A304F;
}

.illustrations ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, 10em);
    grid-gap: 15px;

    padding: 2em 5em;
}

.illustrations ul li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.illustrations ul li p {
    padding: 6px 0 0 0;
}

.illustrations ul li img {
    display: block;
    overflow: auto;
    width: 25vw;

    
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.illustrations ul li:first-of-type {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 4;
}

.illustrations ul li:nth-of-type(2) {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 3;
}

.illustrations ul li:nth-of-type(3) {
    grid-column-start: 2;
    grid-column-end: 2;
    grid-row-start: 3;
    grid-row-end: 5;
}

.illustrations ul li:nth-of-type(4) {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 4;
    grid-row-end: 7;
}

.illustrations ul li:nth-of-type(5) {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 5;
    grid-row-end: 7;
}

.illustrations ul li:nth-of-type(6) {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 7;
    grid-row-end: 7;
}

.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about section {
    display: flex;
    flex-direction: row;
}

.about .skill {
    display: flex;
    flex-direction: column;
}

.about .skill > img {
    width: 100%;
    padding: 0;
    margin:0;
}

.about .skill ul {
    width: 98.7vw;
    background-color: #fbd5dd;
    padding: 48px 24px; 
    /* position: absolute; */
    list-style: none;
    overflow-x: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

}


.about .skill ul li {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 0 1.5em;

    transition: .25s ease-out;
}

.about .skill ul li p {
    color: #2A304F;
    position: absolute;
    bottom: 0;

    opacity: 0;
    transition: .25s ease-out;
}

.about .skill ul li img {
    height: 4em;
    width: auto;
    padding-bottom: 8px;
    transition: .25s ease-out;
}

.about .skill ul li:hover img {
    transform: translateY(-10px);
}

.about .skill ul li:hover p {
    opacity: 1;
    transform: translateY(10px);
}

/* portfolio page */
.project-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    margin-top: 6em;
}

.project-intro h1 {
    font-size: 64px;
    text-align: center;
}


/*vertical gallery for portfoliopages*/
.verticalgallery { 
    display: flex; 
    align-items: center; /*img, h3 and p inside gallery are centered*/
    justify-content: center;
    flex-direction: column;
    text-align: center;
    margin-bottom: 50px;

    width: 100%;
}

.verticalgallery h3 {
    margin-top: 50px;
}

.verticalgallery p {
    padding: 0px 0px 25px 0px;
}

.verticalgallery video {
    max-width: 100%;
}

.verticalgallery iframe {
    width: 1080px;
    height: auto;
    aspect-ratio: 16 / 9;
}

.verticalgallery figure ul {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
}

.verticalgallery figure ul > li {
    margin: .5em;
}

.verticalgallery figure ul > li img {
    height: 20em;
    width: auto;
}

.verticalgallery figure ul div {
    display: flex;
    flex-direction: column;
}

.verticalgallery figure ul div li {
    margin: .5em;
}

.verticalgallery figure ul div li:first-of-type img {
    height: 10em;
}

.verticalgallery figure ul div li:nth-of-type(2) img {
    height: 7em;
}

/*large banner img on portfoliopages*/
.thumblarge {
    width: 98.75vw;
}

/*look @ next project*/
.nextproject {
    position: relative;
    width: 70%;
    text-decoration: none;
    margin: 50px 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: auto;
    
    background-color: white;
    border-radius: 10px;
    box-shadow: -5px 10px 0 #2A304F;

    transition: .25s ease-out;
}

.nextproject p {
    margin: 0px;
    padding-top: 10px;
}

.nextproject h3 {
    font-size: 26px;
    margin: 0px;
    text-transform: lowercase;
}

.nextproject h2 {
    color: #92acd9;
    font-weight: 400;
    text-transform: lowercase;
}

.nextproject:hover {
    transform: translateY(-10px);
    box-shadow: -5px 10px 0 #fbd5dd;
}

.nextproject:hover h2 {
    color: #fbd5dd;
}

.nextproject img {
    border-radius: 10px 0 0 10px;
    max-width: 60%;
    height: auto;
}

.nextproject > section {
    max-width:100%;
    margin: 0px 0px 10px 30px;
    padding: 10px;
}

/*contact*/
#contactpage {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    width: 100%;
}

#socials {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#socials a {
    margin: 20px 10px 0px 0px;
}

#socials > h2 {
    color: #92acd9;
    font-size: 26px;
}

/*form*/
#contactform {
    background-color: white;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
    padding: 10px 30px 20px 30px;
    border-radius: 10px;
}

form {
    max-width: 250px;
    font-family: poppins, sans-serif;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
}

label {
    font-weight: 600;
    font-size: 16px;
    padding-bottom: 10px;
    padding-top: 5px;
}

textarea {
    background: white;
    width: 200px;
}

input,
textarea {
    font-family: poppins, sans-serif;
    font-weight: 300;
    border: none;
    border-bottom: 1px solid lightgray;
    background: transparent;
    margin-bottom: 10px;
}

input[type="text"],
input[type="email"] {
    background: white;
    font-size: 16px;
}

input[type="submit"] {
    color: white;
    margin-top: 20px;
    padding: 5px;
    border-radius: 5px;
    width: 50%;
    background-color: #58c0a2;
    font-weight: 700;
}

input[type="submit"]:hover {
    background-color: #fbd5dd;
}

/*footer*/
footer {
    display: flex;
    flex-direction: column;
}


footer .contact-footer {
    padding: 0px 15% 50px 15%;
    /* background-color: #fff1ec; */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

footer .contact-footer h4,
footer .contact-footer h2 {
    padding: 0;
    margin: 0;
}

/* Illustration div */
footer .contact-footer > div:first-of-type {
    position: relative;
    background-color: #fbd5dd;
    border-radius: 100%;

    margin: 1em 4em;
}

/* Boxshadow after pseudoelement */
footer .contact-footer > div:first-of-type::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 100%;

    background-color: #2A304F;

    position: absolute;
    top:0;
    left: -2em;
    z-index: -1;
}

footer .contact-footer div > img {
    width: 20em;

    animation: bobble 5s infinite ease-in-out;
}

@keyframes bobble {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-1.2em);
    }
    100% {
        transform: translateY(0);
    }
}

footer .contact-footer,
footer .creds {
    padding: 20px;
}

footer .contact-footer ul {
    margin-top: 2em;
    display: flex;
}

footer .contact-footer a {
    font-family: poppins, sans-serif;
    font-size: 18px;

    border: none;
    color: #58c0a2;
    text-decoration: wavy underline;
    text-underline-offset: 4px;
    text-decoration-color: #58c0a2;

    margin-right: 16px;
}

footer .contact-footer a:hover,
footer .contact-footer a:focus {
    color: #92acd9;
    text-decoration-color: #92acd9;
}

footer .creds p {
    padding: 0;
    color: #2A304F;
}

footer .creds img {
    width: 32px;
    height: auto;
}

footer .creds {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Styles for responsive mobile website */
@media screen and (max-width: 481px) {
    main {
        margin: 0px 5% 50px 5%;
    }

    p {
        max-width: 100%;
        text-align: center;
    }

    nav li {
        padding: 20px 10px;
    }

    .currentpage {
        text-decoration: underline;
        text-decoration-style: wavy;
        text-underline-offset: 4px;
        text-underline-position: auto;
    }

    #beeldmerk {
        max-width: 100%;
    }

    .intro {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .intro h1 {
        text-align: center;
        font-size: 48px !important;
        /* line-height: 1.2 !important; */
    }

    .intro h1.btn-line  {
        align-items: center !important;
    }

    .intro button {
        font-size: 24px !important;
        margin: 20px 0;
    }
    

    /* .info section > div {
        flex-direction: column-reverse;
    }

    .info img {
        max-width: 200px;
        margin: 30px 15px 30px 0px;
        height: auto; 
    } */
    
    #gallery {
        margin-top: 30px;
        max-width: 200%;
    }

    #gallery li {
        /* width: 300px; */
        flex-direction: column;
        height: auto;
    }

    #gallery li section {
        position: relative;
        order: 1;
        bottom: 5px;

        padding-bottom: 10px;
    }

    #gallery li section h3 {
        font-size: 1.5em;
        position: relative;
        padding: 0;
        margin: 0;
    }


    .about > div {
        margin: 0 0 50px 0 !important;
    }

    .about div p {
        max-width: 240px;
    }

    .about .illustratie {
        width: 285px;
    }

    .about section p span { 
        display: none;
    }

    .about section.buttons {
        margin-top: 32px;
    }

    .about section {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .about section.buttons > a {
        margin-bottom: 10px;
    }

    .illustrations ul {
        grid-template-rows: repeat(7, 10em);
    }

    .illustrations ul li:first-of-type {
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 1;
        grid-row-end: 3;
    }
    
    .illustrations ul li:nth-of-type(2) {
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 3;
        grid-row-end: 5;
    }
    
    .illustrations ul li:nth-of-type(3) {
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 5;
        grid-row-end: 7;
    }
    
    .illustrations ul li:nth-of-type(4) {
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 7;
        grid-row-end: 9;
    }
    
    .illustrations ul li:nth-of-type(5) {
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 9;
        grid-row-end: 11;
    }
    
    .illustrations ul li:nth-of-type(6) {
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 8;
        grid-row-end: 9;
    }

    #contactpage {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #contactpage #socials {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #socials {
        margin: 0;

    }

    #socials .buttons a {
        margin: 10px;
    }


    #socials .buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .verticalgallery figure img {
        max-width: 100%;
        margin: 0;
    }

   .verticalgallery video {
        max-width: 100%;
    }

    .verticalgallery figure ul > li img {
        margin: 0;
        height: unset;
        /* width: ; */
    }
    
    .verticalgallery figure ul div {
        flex-direction: row;
    }

    .verticalgallery iframe {
        width: 360px;
    }

    .specs ul {
        flex-wrap: wrap;
    }

    .specs ul li {
        width: 35vw;
    }

    .specs ul li:last-of-type {
        width: 75vw;
    }

    .breadcrumbs {
        display: none;
    }

    .nextproject h2 {
        font-size: x-large;
    }

    .nextproject > section {
        margin: 0;
        padding: 20px;
    }

    .skills img.tools {
        max-width: 100%;
    }

    footer .contact-footer div ul {
        flex-direction: column;
    }

    footer .contact-footer div ul li a {
        font-size: 22px;
        margin-bottom: 1em;
    }

    footer .contact-footer div:first-of-type {
        margin: 2em;
    }

    footer .contact-footer div > img {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {

    h4 {
        font-size: 18px;
    }

    .stamp {
        max-width: 3em;
    }

    .intro > section {
        /* width: 210px !important; */
        max-width: 100%;
    }

    section.intro h1 {
        font-size: 64px;
        line-height: 1.4;
    }

    .intro h1.btn-line {
        flex-direction: column;
        align-items: flex-start;
    }

    .intro h1 button {
        padding: 16px 28px;
    }

    section.subinfo {
        flex-direction: column;
    }

    section.subinfo div {
        width: 100%;
    }

    section.subinfo div:first-of-type p {
        text-align: left;
    }

    section.subinfo div:nth-of-type(2) p {
        text-align: right;
    }

    #gallery li {
        max-width: 100%;
    }

    .specs h4,
    .specs p {
        text-align: center;
    }

    .specs ul li {
        padding: 10px;
    }

    .opdracht {
        padding: 0;
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
    }

    .opdracht p {
        margin: 0;
    }

    .opdracht p strong {
        margin: 0 !important;
    }

    .verticalgallery iframe {
        width: 100%;
    }

    .nextproject section {
        max-width: 80%;
        margin: 0;
    }

    footer .contact-footer {
        flex-direction: column;
        padding: 3em 0;
    }

    footer .contact-footer div {
       text-align: center;
    }

    footer .contact-footer div ul {
        align-items: center;
        justify-content: space-around;
        margin-top: 1em;
    }

    footer .contact-footer div ul li {
        margin-bottom: 1em;
    }

    footer .contact-footer div ul li a {
        margin: 0;
    }

    footer .contact-footer > div:first-of-type::after {
        left: -1em;
    }
}

/* Styles for responsive laptop to tablet website (tweaks) */
@media screen and (max-width: 986px) {

    main > p {
        width: 100%;
    }

    .intro {
        position: relative;
    }

    .project-intro h1 {
        font-size: 48px;
        text-align: center;
    }

    .stamp:hover {
        transform: none;
    }

    .ondertitel {
        font-size: 24px;
    }

    .opdracht {
        padding: 0;
    }

    .opdracht p strong {
        margin-right: 50px !important;
    }

    .verticalgallery iframe {
        width: 100%;
    }

    .nextproject {
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .nextproject h2,
    .nextproject h3 {
        text-align: left;
    }

    .nextproject h2 {
        font-size: 28px;  
    }

    .nextproject h3 {
        font-size: 20px;
        padding: 0;
    }

    /* .nextproject img {
        padding: 0;
    } */

    .illustrations ul {
        grid-gap: 10px;
    
        padding: 0;
    }

    .about .skill ul {
        flex-wrap: wrap;
        padding: 48px 24px 10px 24px;
    }

    .about .skill ul li {
        margin-bottom: 2em;
    }

    .about .skill ul li p {
        display: none;
    }

    .about .skill ul li:hover img,
    .about .skill ul li:hover p {
        transform: none;
    }

}

@media screen and (max-width: 1296px) {

    .intro h1 {
        font-size: 75px;
        line-height: 1.4;
    }

    .intro h1 button {
        font-size: 32px;
    }

    .intro {
        max-width: 100%;
    }

    .stamp {
        max-width: 3em;
    }


    .about > div {
        flex-direction: column;
        margin: 0 0 100px 0;
    }

    .about > div p {
        padding: 20px 0 0 0;
    }

    .about .illustratie.portrait {
        width: 250px;
        height: unset;
    }

    .nextproject {
        flex-direction: column;
    }

    .nextproject section {
        padding: 32px 0;
    }

    .nextproject h3,
    .nextproject h2, 
    .nextproject p {
        text-align: center !important;
    }

        
    .nextproject img {
        max-width: 100%;
        border-radius: 10px 10px 0 0;
    }
}



@media screen and (min-width: 2000px) {
    main {
        margin: 0px 30% 50px 30%;
    }

    .illustrations ul {
        padding: 5em 15%;

    }
}


/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hidden {
        transform: none; 
        opacity: 1;
    }
    
    footer .contact-footer div > img {
        animation: none;
    }
}
