@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Poppins: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=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
* {
    padding: 0;
    margin: 0;
    font-family: Roboto;
    box-sizing: border-box;
}

 :root {
    --mainBackgroundColor: #fafafa;
    --font: #040403;
    --fontAccent: #838383;
    --lightGrey: #cfcfcf;
    --secundary: #304ffe;
    --secundaryDark: #0026ff;
    --accent1: #E84855;
    --portfolioCount: '4';
}

nav>a>picture>img {
    max-width: 300px;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    align-items: center;
}

.headerAside>P>strong {
    font-size: 18px;
    font-weight: 800;
}

.subTitle {
    font-weight: 300;
    color: var(--fontAccent);
    padding-top: 5px;
}

nav>ul {
    display: inline-flex;
    gap: 1.5rem;
    list-style-type: none;
}

.heroBackground>svg {
    z-index: -1;
}

.heroBackground {
    max-height: 400px;
    z-index: -1;
    overflow: hidden;
    background-color: var(--secundary);
}

.hidden {
    display: none;
}

nav>ul>li>a {
    color: var(--font);
}

nav>ul>li>a>svg {
    transition: 500ms;
}

nav>ul>li:hover a>svg {
    color: var(--secundaryDark);
}

main {
    max-width: 100%;
    overflow: hidden;
}

main>div {
    max-width: 70%;
    margin: auto;
    position: relative;
    gap: 5%;
    display: flex;
    z-index: 100;
    margin-top: -5rem;
    margin-bottom: 3rem;
}

main>div>aside {
    padding-top: 1em;
    border-radius: 5px 5px 0 0;
    height: max-content;
    flex-basis: 400px;
    border: 1px solid var(--lightGrey);
    max-width: 400px;
    flex-grow: 0;
    background-color: var(--mainBackgroundColor);
}

.overview {
    background-color: var(--lightGrey);
    padding: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.overview img {
    border-radius: 50%;
    width: 60px;
    aspect-ratio: 1;
    transition: 500ms;
}

.overview img:hover {
    transform: scale(1.1);
}

.overview a:nth-child(2) img {
    border: 1px solid white;
}

.cartoonify {
    max-width: 150px;
    margin-top: -7rem;
    border-radius: 50%;
    padding-bottom: 15px;
}

.headerAside {
    display: flex;
    flex-flow: column;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--lightGrey);
}

span.socials {
    padding-top: 1.2rem;
}

span.socials>a {
    color: var(--secundary);
    text-decoration: none;
    padding: 0px 5px;
}

span.socials>a:hover {
    color: #00A6A6;
}

aside>ul {
    list-style-type: none;
}

aside>ul a {
    padding: 1em;
    height: 60px;
    display: flex;
    text-decoration: none;
    color: var(--fontAccent);
    font-weight: 500;
    transition: 800ms ease;
    border-bottom: 1px solid var(--lightGrey);
    justify-content: space-between;
    align-items: center;
}

aside>ul a:hover {
    background-color: var(--lightGrey);
    color: var(--font);
}

aside>ul .portfolio::after {
    content: var(--portfolioCount);
    font-size: 20px;
    border-radius: 50%;
    color: var(--mainBackgroundColor);
    min-width: 5px;
    display: flex;
    align-items: center;
    transition: 500ms;
    justify-content: center;
    height: 20px;
    background-color: var(--fontAccent);
    float: right;
    aspect-ratio: 1;
    font-size: 13px;
}

aside>ul a:hover .portfolio::after {
    background-color: var(--mainBackgroundColor);
    color: #040403;
}

.contactInformation {
    padding: 1rem;
    border-bottom: 1px solid var(--lightGrey);
}

.contactInformation p {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 300;
    padding-bottom: 5px;
}

.contactInformation p>svg {
    color: var(--secundaryDark);
}

.signin {
    padding: 1rem;
    display: flex;
    justify-content: center;
    border-radius: 5px;
    border: 2px solid var(--lightGrey);
    margin: 1.5em 1rem 1.5em 1em;
    text-decoration: none;
    color: var(--font);
    transition: 500ms ease-in-out;
}

.signin:hover {
    color: #0026ff;
    border-color: #0026ff;
}

.wrapper {
    background-color: var(--mainBackgroundColor);
    width: 100%;
    border-radius: 5px 5px 0 0;
    padding: 1em 0em;
    max-width: 100%;
    overflow: hidden;
}

.wrapper>header {
    border-bottom: 1px solid var(--lightGrey);
    height: 4rem;
    overflow: hidden;
}

.wrapper>header ul>li {
    display: inline-flex;
    padding: 1rem 1rem 2rem 1rem;
}

.wrapper>header ul>li a {
    color: var(--fontAccent);
    text-decoration: none;
    position: relative;
    transition: 800ms ease;
}

.wrapper>header ul>li a.active::after {
    content: "";
    width: 100%;
    height: 3px;
    bottom: -28px;
    left: 0;
    position: absolute;
    background-color: #0026ff;
}

.wrapper>header ul>li a.active {
    color: var(--font);
}

.wrapper>header ul>li :hover {
    color: #040403;
}

.wrapper>h1 {
    padding: 1rem;
}

.wrapper {
    border: 1px solid var(--lightGrey);
}

.wrapper>p {
    padding: 1rem;
    line-height: 1.8;
    color: var(--fontAccent);
    margin-top: -1rem;
    max-width: 60%;
}

p.Alert {
    padding: 6px 12px;
    margin: 1rem;
    margin-top: 0;
    border: 1px solid var(--accent1);
    width: max-content;
    border-radius: 5px;
    color: #E84855;
}

#grid_images {
    margin: 1em;
    border-radius: 5px 5px 0 0;
    height: 600px;
    padding: 5px;
    width: 600px;
    border: 1px solid var(--lightGrey);
}

#grid_images {
    display: grid;
    grid-gap: 5px;
    justify-content: center;
}

.grid-item {
    background-color: lightcoral;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.gridControls {
    margin: 0 1rem;
    width: 600px;
    margin-top: -1rem;
    padding: 5px;
    border: 1px solid var(--lightGrey);
    border-top: none;
    font-weight: 300;
    color: var(--fontAccent);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gridControls a {
    color: #0026ff;
    cursor: pointer;
}

footer {
    padding: 1em;
    margin-top: 1rem;
    margin-bottom: -1em;
    color: var(--fontAccent);
}

footer>p {
    font-weight: 300;
    padding-bottom: 5px;
}

footer>p>b {
    font-weight: normal;
}

.WorldeGame input {
    height: 50px;
    width: 50px;
    display: flex;
    font-size: 22px;
    align-items: center;
    border: 1px solid var(--fontAccent);
    outline: transparent;
    justify-items: center;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
}

.gridBody::after {
    content: "";
    width: 100%;
    position: absolute;
    z-index: 100;
    height: 100%;
    top: 0;
    left: 0;
}

.WorldeGame input:focus {
    outline: transparent;
}

section.WorldeGame {
    margin: 1em 1rem 0 1rem;
    border: 1px solid var(--fontAccent);
    border-radius: 5px 5px 0 0;
    position: relative;
    width: min-content;
}

.wordleHeader {
    display: flex;
    z-index: 1000;
    padding: 1rem 1rem 0rem 1rem;
    align-items: center;
    position: relative;
    justify-content: space-between;
}

.wordleHeader svg {
    cursor: pointer;
}

.WorldeGame .gridBody {
    display: grid;
    margin-top: 1rem;
    position: relative;
    padding: 1em;
    gap: 10px;
    grid-template-columns: repeat(5, 1fr);
}

.resultBody {
    padding: 1rem;
    animation: fadeIn ease-in-out 2000ms forwards;
    text-align: center;
    padding-bottom: 8rem;
    position: relative;
}

@keyframes fadeIn {
    0% {
        top: -40px;
        opacity: 0;
    }
    100% {
        top: 0;
        opacity: 1;
    }
}

.resultBody header {
    font-weight: bold;
    font-size: 1.4rem;
}

.specialWorlde {
    margin: 1rem;
    padding: 1rem;
    background-color: rgb(231, 231, 231, 40%);
    text-align: center;
    font-family: monospace;
    font-weight: 200;
    font-size: 20px;
}

.controls {
    padding: 0.5rem;
    border-top: 1px solid var(--fontAccent);
    color: var(--fontAccent);
    z-index: 100;
    position: relative;
}

.fadeOut {
    animation-delay: 5000ms;
    animation: fadeOut ease-in-out 2000ms forwards;
}

@keyframes fadeOut {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(40px);
        opacity: 0;
    }
}

.cv_item {
    border: 1px solid var(--fontAccent);
    border-left: 0;
    border-bottom: 0;
    border-right: 0;
    padding: 1rem;
}

.cv_item header {
    font-weight: bold;
    font-size: 1.2rem;
}

.cv_item .personal {
    max-width: 600px;
    padding-top: 5px;
    line-height: 1.5;
}

.cv_item ul {
    padding: 1rem 0;
}

.cv_item article {
    margin: 1rem 0;
    display: flex;
    gap: 0.4rem 0.6rem;
    flex-wrap: wrap;
    max-width: 700px;
}

.cv_item article span {
    padding: 6px 12px;
    text-transform: lowercase;
    color: black;
    background-color: #cfcfcf;
    border-radius: 8px;
}

.cv_item ul>li {
    list-style-type: none;
    display: flex;
    padding: 0.8rem 0em;
    width: 400px;
    border-bottom: 1px solid var(--lightGrey);
    gap: 1rem;
    align-items: center;
}

.cv_item ul>li img {
    max-width: 50px;
}

.cv_item ul>li header {
    font-size: 1rem;
    padding-bottom: 3px;
}

.cv_item ul>li:last-child {
    border: none;
    padding-bottom: 0;
}

.cv_item ul>li.NoFlexAutoAligning {
    align-items: start;
}

.cv_item ul>li.NoFlexAutoAligning p {
    padding-bottom: 1px;
}

.subHeaderCV {
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.NoFlexAutoAligning {
    align-items: start;
    ;
}

.subDescr {
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--fontAccent);
    word-spacing: 1px;
}

form {
    max-width: 60%;
    border: 1px solid var(--lightGrey);
    margin: 0 1rem;
    padding: 1rem;
    border-radius: 8px;
}

form section {
    display: flex;
    margin-bottom: 1rem;
    gap: 1rem;
}

form section>span {
    width: 100%;
}

form section>span label {
    display: block;
    padding-bottom: 6px;
    font-weight: 300;
}

form section>span input {
    padding: 8px 12px;
    width: 100%;
    outline: transparent;
}

form section>span input:focus {
    border: 2px solid #00A6A6;
    outline: transparent;
}

form section>span select {
    width: 100%;
    padding: 8px 0 8px 4px;
    border: 2px solid #00A6A6;
    outline: transparent;
    border-radius: 5px;
}

#message {
    width: 100%;
    resize: none;
    padding: 8px;
    outline: transparent;
}

#message:focus {
    border: 2px solid #00A6A6;
}

input[type="submit"] {
    padding: 8px 24px;
    border-radius: 5px;
    cursor: pointer;
    color: black;
    outline: transparent;
    width: max-content;
    background-color: #00A6A6;
    border: 1px solid var(--lightGrey);
}

input[type="checkbox"] {
    width: max-content;
    margin-right: 3px;
}

#date {
    margin-top: -1.5rem;
}

.cv_item>ul>li>div>header>a {
    text-decoration: none;
    color: #040403;
}

h3 {
    padding: 0rem 1rem;
}

input[value="Email is verstuurd!"] {
    padding: 6px 12px;
    border: none;
    width: max-content;
    border: 2px solid #00A6A6;
    border-radius: 5px;
}

input[value="Er is een fout opgetreden. Probeer het later nog eens."] {
    padding: 6px 12px;
    border: none;
    border: 2px solid var(--accent1);
    border-radius: 5px;
}

input {
    width: -webkit-fill-available;
}

.pricacy {
    display: flex;
    flex-flow: row-reverse;
    justify-content: left;
    gap: 3px;
    align-items: center;
}

.pricacy label {
    padding-bottom: 0;
}

.wrapper a {
    color: #0026ff;
}

.portfolioGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 1em;
    gap: 1rem;
}

.portfolioGrid a {
    color: #040403;
}

figure>img {
    max-width: 100%;
    display: block;
    position: relative;
}

figure {
    position: relative;
}

.portfolioGrid figcaption:hover,
img:hover~figcaption {
    opacity: 1
}

.portfolioGrid figcaption {
    position: absolute;
    width: 100%;
    font-weight: bold;
    transition: 500ms opacity;
    opacity: 0;
    height: 140px;
    padding: 60px 10px 0 10px;
    background-image: linear-gradient(to top, rgb(255, 255, 255) 20%, rgba(255, 255, 255, 0));
    bottom: 0;
}

.portfolioGrid figcaption header {
    display: flex;
    color: #0026ff;
    justify-content: space-between;
}

.portfolioGrid figcaption header span:nth-child(2) {
    font-weight: 300;
    color: #040403;
}

.portfolioGrid figcaption>p {
    font-weight: 300;
    margin-top: 5px;
}

.resources>span {
    display: inline-block;
    margin-top: 5px;
    border-radius: 5px;
    padding: 2px 8px;
    font-size: 0.8rem;
    border: 1px solid #00A6A6;
}

.keyboard-container {
    display: flex;
    flex-flow: column;
    width: 100%;
    padding: 0em 1em 1em 1em;
    align-items: center;
}

.keyboard-row {
    justify-content: center;
    display: flex;
    gap: 5px;
    margin-bottom: 5px;
    width: 100%;
}

.keyboard-key {
    width: 100%;
    text-transform: uppercase;
    width: 25px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    height: 25px;
    border: none;
    border-radius: 5px;
}

.keyboard-key:active {
    box-shadow: none;
}

.projectGrid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
    padding: 1rem;
}

.projectGrid .projectItem {
    padding: 5px;
    border: 1px solid #cfcfcf;
    border-radius: 20px;
}

.projectGrid .projectItem header {
    padding: 1rem;
    background-color: #00cccc;
    border-radius: 15px;
}

.projectGrid .projectItem header .flexBox {
    display: flex;
    justify-content: space-between;
    padding-bottom: 1.5rem;
    align-items: center;
}

.projectGrid .projectItem header .flexBox.bckGr p {
    padding: 6px 12px;
    width: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
    font-size: 14px;
    border-radius: 20px;
    background-color: var(--mainBackgroundColor);
}

.projectGrid .projectItem header .smallHeader {
    font-size: 15px;
}

.projectGrid .projectItem header .bigHeader {
    font-size: 22px;
    letter-spacing: 1px;
    font-weight: 800;
}

.projectGrid .projectItem header .favicon img {
    width: 30px;
}

.projectGrid .projectItem header .tags {
    margin-top: 0.5rem;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.projectGrid .projectItem header .tags .tag {
    padding: 6px 12px;
    border: 1px solid var(--font);
    border-radius: 15px;
    font-size: 12px;
    color: #040403;
}

.projectGrid .projectItem header .bookMark {
    cursor: pointer;
}

.projectGrid .projectItem footer {
    margin-top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.projectGrid .projectItem footer strong {
    font-weight: 800;
    color: var(--font);
}

.projectGrid .projectItem footer p.updateDescr {
    font-weight: 300;
    padding-top: 2px;
    font-size: 13px;
    max-width: 70%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.projectGrid .projectItem footer a {
    padding: 8px 15px;
    background-color: #040403;
    color: #fafafa;
    text-decoration: none;
    border-radius: 15px;
    cursor: not-allowed;
}

#gameField {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
}

.background {
    background-image: url("/assets/img/gameBackground.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-attachment: fixed;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(4px);
    z-index: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

#gameField>*:not(.background):not(.overlay) {
    position: relative;
    z-index: 2;
}


/* Portfolio Design */

.container {
    position: relative;
    margin: 1rem;
    margin-top: 2rem;
    padding-bottom: 2rem;
}

.container:not(:last-child) {
    border-bottom: 1px solid var(--fontAccent);
}

.top {
    width: 80%;
    height: 500px;
    background-color: #bdd2ff;
    overflow: visible;
    display: flex;
    align-items: end;
    padding: 10px;
    font-family: "Roboto";
    font-weight: 300;
}

.top::after {
    content: "";
    border-radius: 15px;
    display: block;
    width: 85%;
    background-size: cover;
    background-position: left;
    height: 500px;
    position: absolute;
    top: 4rem;
    left: 4rem;
    z-index: 2;
}

.container.w4 .top::after {
    background-image: url("/assets/img/baboesjka-home.png");
}

.container.w4>article {
    background-color: #ffcfa8;
}

.container.w4 .top {
    background-color: #fff0e4;
}

.container.w4 .bar,
.container.w4 .textfield {
    background-color: #ffc18e;
}

.container.w3 .top::after {
    background-image: url("/assets/img/autorijschoolkelly.nl-homeHeader.png");
}

.container.w3>article {
    background-color: #b0bcff;
}

.container.w3 .top {
    background-color: #e3e7ff;
}

.container.w3 .bar,
.container.w3 .textfield {
    background-color: #8b9cff;
}

.container.w2 .top::after {
    background-image: url("/assets/img/vanderploegzonwering.nl-homeHeader.jpg");
}

.container.w2>article {
    background-color: rgb(166, 255, 149);
}

.container.w2 .top {
    background-color: rgb(226, 255, 221);
}

.container.w1 .bar,
.container.w1 .textfield {
    background-color: rgb(255, 115, 110);
}

.container.w1 .top::after {
    background-image: url("/assets/img/musicbyandy.nl-homeHeader.jpg");
}

.container.w1>article {
    background-color: rgb(255, 194, 192);
}

.container.w1 .top {
    background-color: rgb(255, 221, 220);
}

.container>article {
    max-width: 90%;
    border-radius: 0 15px 15px 0;
    left: 9%;
    position: relative;
    z-index: 0;
    padding: 1rem;
    padding-top: 5rem;
}

.container article header {
    font-weight: 900;
    font-family: Poppins;
    text-transform: uppercase;
    max-width: 100%;
    overflow: hidden;
    letter-spacing: 0px;
    padding-bottom: 1rem;
    font-size: 2.5rem;
}

.subGridClass {
    display: grid;
    gap: 1rem;
    grid-template-columns: 2fr 1fr;
}

.descriptionHolder {
    margin: 0 -1rem -1rem -1rem;
    padding: 1rem 1rem 1rem 0;
    border-top-right-radius: 20px;
    background-color: var(--mainBackgroundColor);
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 1fr;
}

.projectDetails {
    display: flex;
    padding: 1rem;
    align-items: center;
}

.subGridClass .bar {
    padding: 1.5rem;
    width: 100%;
    position: relative;
    background-color: #909fff;
    border-radius: 18px;
}

.subGridClass .textfield {
    height: calc(100% - 3rem);
    margin-top: 1rem;
    width: 100%;
    position: relative;
    background-color: #909fff;
    border-radius: 18px 18px 0 0;
    line-height: 1.5;
    padding: 1rem;
}

a.visit {
    background-color: #0026ff;
    padding: 8px 24px;
    display: block;
    width: max-content;
    color: white;
    text-decoration: none;
    font-weight: 300;
    border-radius: 8px;
    margin-top: 1rem;
    border: 2px solid #0026ff;
    transition: 500ms;
}

a.visit:hover {
    background-color: transparent;
    border: 2px solid #0026ff;
    color: #0026ff;
}

.projectDetails p {
    font-weight: 300;
    padding-left: 1rem;
    display: flex;
    align-items: center;
    position: relative;
}

.projectDetails p:not(:first-child) {
    padding-top: 8px;
}

.projectDetails p:not(.tag)::after {
    position: absolute;
    content: "";
    height: 7px;
    width: 7px;
    z-index: 100;
    background-color: #002B88;
    left: 0;
    right: 0;
}

.projectDetails strong {
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 5px;
    font-family: Poppins;
}

.projectDetails ul>li:nth-child(1n) {
    padding-bottom: 8px;
}

.projectDetails ul>li:nth-child(2n):not(:last-child) {
    padding-bottom: 16px;
}

p.tag {
    padding: 6px 12px;
    width: max-content;
    font-size: 15px;
    border-radius: 8px;
    font-weight: 300;
    color: #002B88;
    border: 1px solid #002B88;
}

li.flexBox {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.descriptionHolder>article {
    display: flex;
    padding-left: 0;
    align-items: center;
}

.descriptionHolder strong {
    font-size: 1rem;
    font-weight: 600;
    font-family: Poppins;
}

.descriptionHolder p {
    display: block;
    padding-top: 8px;
    font-weight: 300;
    line-height: 1.5;
}

@media screen and (max-width: 1600px) {
    .top::after {
        height: 400px;
    }
    .top {
        height: 400px;
    }
}

@media screen and (max-width: 1500px) {
    .wrapper>p {
        max-width: 80%;
    }
    #grid_images,
    .gridControls {
        width: 80%;
        max-height: 80%;
    }
    .portfolioGrid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .projectGrid {
        grid-template-columns: repeat(2, 1fr)
    }
    form {
        max-width: 100%;
    }
    form input {
        margin-top: -1px;
    }
    .descriptionHolder {
        display: block;
    }
    .subGridClass .bar {
        max-width: 175px;
        left: 0;
        float: right;
        margin-top: -3.5rem;
        border-radius: 10px;
        height: 39px;
        overflow: hidden;
        padding: 0;
    }
    .subGridClass .textfield {
        height: 150px;
        margin-bottom: -1rem;
        display: block;
    }
}

@media screen and (max-width: 1400px) {
    .top::after {
        height: 300px;
        left: 1rem;
        width: calc(100% - 2rem);
        top: 3rem;
    }
    .top {
        width: 100%;
        height: 300px;
        align-items: start;
    }
    .container>article {
        max-width: calc(100% - 4rem);
        left: 2rem;
    }
    .subGridClass {
        grid-template-columns: 60% 40%;
    }
    .subGridClass .bar {
        float: left;
        margin-top: 1rem;
        border-radius: 0;
        background-color: #6075ff;
        border-bottom-right-radius: 15px;
        border: 1px solid white;
        ;
        z-index: 1;
        margin-top: 0;
        height: 39px;
    }
    .container article header {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 1300px) {
    .container article header {
        font-size: 1.6rem;
    }
    .subGridClass {
        grid-template-columns: 1fr 1fr;
    }
    .subGridClass .bar {
        max-width: 100%;
        border-radius: 0;
        border: 1px solid black;
    }
    .projectDetails {
        align-items: start;
    }
}

@media screen and (max-width: 1200px) {
    main>div {
        max-width: 90%;
    }
    .container article header {
        font-size: 2rem;
    }
}

@media screen and (max-width: 1050px) {
    .container article header {
        font-size: 1.7rem;
    }
}

@media screen and (max-width: 950px) {
    .container article header {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 900px) {
    .subGridClass {
        display: flex;
        flex-flow: column-reverse;
    }
    .projectDetails {
        margin: -1rem;
    }
    .container.w4 .projectDetails {
        background-color: #ffdcc0;
    }
    .container.w3 .projectDetails {
        background-color: #e3e7ff;
    }
    .projectDetails ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .projectDetails p:not(.tag)::after {
        display: none;
    }
    .projectDetails p {
        float: right;
    }
    li.flexBox {
        justify-content: right;
    }
    .descriptionHolder {
        border-radius: 0;
    }
    .projectDetails strong {
        font-weight: 500;
    }
    .subGridClass .bar {
        max-width: 175px;
        float: right;
        border-radius: 10px;
        border: none;
    }
}

@media screen and (max-width: 850px) {
    .wrapper>header {
        height: 3rem;
    }
    .wrapper>header ul>li {
        padding: 0.3rem 0.5rem;
    }
    .wrapper>header ul>li a.active::after {
        bottom: -23px;
    }
    .subGridClass .bar {
        float: none;
        margin-top: 1rem;
    }
    .container article header {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 768px) {
    .wrapper>p {
        max-width: 95%;
    }
    #grid_images,
    .gridControls {
        max-width: 400px;
        height: 400px;
    }
    .gridControls {
        height: max-content;
    }
    .wrapper>header {
        height: 3rem;
        display: flex;
        justify-content: center;
    }
    .wrapper>header ul>li {
        padding: 0.2rem 0.4rem;
    }
    .wrapper>header ul>li a.active::after {
        bottom: -25px;
    }
    .projectDetails ul {
        display: block;
    }
    .projectDetails p:not(.tag)::after {
        display: block;
    }
    .projectDetails p {
        float: none;
    }
    .top::after {
        width: 100%;
        left: 0;
    }
    .container>article {
        max-width: 100%;
        left: 0;
        margin-top: -1rem;
    }
    .subGridClass .bar {
        float: right;
        margin-top: -3.5rem;
    }
}

@media screen and (max-width: 700px) {
    main>div {
        flex-flow: column;
        gap: 0;
    }
    main>div>aside {
        flex-basis: 0;
        display: flex;
        flex-flow: row-reverse;
        border-bottom: 0;
        gap: 1rem;
    }
    .wrapper {
        border-radius: 0;
        border-top: 0;
        border-top: 1px solid var(--lightGrey);
    }
    aside>ul:not(.contactInformation) li:nth-child(2)>a {
        padding-left: 0;
        color: white;
    }
    aside>ul:not(.contactInformation):not(.projectDetails>ul) {
        position: absolute;
        top: -3rem;
        padding-left: 0;
        left: 0;
    }
    aside>ul:not(.contactInformation) a {
        color: var(--mainBackgroundColor);
    }
    .contactInformation {
        padding: 5px;
        padding-top: 0;
        border-bottom: 0;
    }
    span.socials a[href="mailto:thijs@vqnderklein.nl"] {
        display: none;
    }
    .contactInformation p {
        font-size: 15px;
        gap: 5px;
    }
    .headerAside {
        padding-right: 5px;
        border-bottom: 0;
        align-items: normal;
    }
    .headerAside>p>strong {
        float: right;
        text-align: right;
        padding: 10px;
        padding-top: 0;
        font-size: 17px;
    }
    span.socials {
        justify-content: right;
        display: flex;
        margin-top: -1.2rem;
    }
    .subTitle {
        display: none;
    }
    .cartoonify {
        display: none;
    }
    .signin,
    .portfolio,
    aside>ul:not(.contactInformation) li:last-child {
        display: none;
    }
    aside>ul:not(.contactInformation) li:nth-child(2)>a {
        border-bottom: none;
    }
    .cv_item ul>li {
        max-width: 100%;
    }
    .top::after {
        height: 300px;
        left: 1rem;
        width: calc(100% - 2rem);
        top: 3rem;
    }
    .descriptionHolder {
        display: grid;
    }
    .subGridClass .bar {
        margin-top: 0;
    }
    .subGridClass .textfield {
        margin-top: 3rem;
        height: calc(100% - 3rem);
    }
    .projectDetails>ul {
        display: block;
        position: relative;
    }
    .container>article>section>.projectDetails>ul>li.flexBox {
        display: flex;
    }
}

@media screen and (max-width: 550px) {
    nav>a>picture>img {
        max-width: 200px;
    }
    #grid_images {
        max-width: 500px;
        height: 500px;
    }
    .projectGrid {
        grid-template-columns: repeat(1, 1fr);
        max-width: 340px;
    }
    .descriptionHolder {
        display: block;
    }
    .subGridClass .textfield {
        height: 200px;
        margin-top: 1rem;
    }
    .subGridClass .bar {
        float: right;
        margin-top: -3.5rem;
    }
}

@media screen and (max-width: 450px) {
    nav>a>picture>img {
        max-width: 50px;
    }
    #grid_images {
        max-width: 300px;
        height: 300px;
    }
    .subHeaderCV {
        max-width: 200px;
    }
    form section {
        display: block;
    }
    section>span:not(.pricacy) {
        display: block;
        margin-bottom: 1rem;
    }
    .wrapper>p.Alert {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
    }
    .subGridClass .bar {
        float: none;
        float: right;
        clear: both;
        margin-top: 2rem;
    }
    .subGridClass .textfield {
        float: left;
    }
    .container article header {
        font-size: 18px;
    }
}

@media screen and (max-width: 400px) {
    .wrapper>header ul>li:first-child {
        display: none;
    }
    .wrapper>header ul {
        display: flex;
        justify-content: center;
        gap: 5px;
    }
    .wrapper>header main>div {
        max-width: 95%;
    }
    span.socials {
        justify-content: left;
    }
    main>div>aside {
        display: block;
    }
    .contactInformation {
        clear: both;
    }
    .headerAside {
        float: left;
        clear: both;
    }
    .projectGrid {
        grid-template-columns: repeat(1, 1fr);
        max-width: 100%;
    }
    .WorldeGame input {
        height: 100%;
        width: 100%;
        aspect-ratio: 1;
    }
    .keyboard-key {
        width: 20px;
        height: 20px;
    }
    aside>ul:not(.contactInformation) {
        top: 0;
        right: 1rem;
        left: auto;
    }
    aside>ul:not(.contactInformation) a {
        color: var(--fontAccent);
        padding: 5px;
        padding-top: 0;
    }
    .wrapper>header ul>li a.active::after {
        bottom: -4px;
        content: "";
        position: absolute;
        height: 3px;
        width: 100%;
    }
    .container>article>section>.projectDetails>ul {
        top: 0;
        padding-left: 1rem;
    }
    li.flexBox {
        justify-content: left;
    }
    .overview img {
        max-width: 50px;
    }
    .overview {
        gap: 10px;
    }
}

@media screen and (max-width: 370px) {
    .projectGrid .projectItem footer {
        display: block;
    }
    .projectGrid .projectItem footer span:first-child {
        margin-bottom: 1em;
    }
    .projectGrid .projectItem footer a {
        display: block;
        margin-top: 10px;
        width: max-content;
    }
    .projectGrid .projectItem p.updateDescr {
        max-width: 100%;
    }
    section.WorldeGame {
        width: calc(100% - 2rem);
    }
    .keyboard-container {
        padding: 10px;
    }
    .keyboard-key {
        width: 20px;
        height: 20px;
        aspect-ratio: 1;
    }
}

@media screen and (max-width: 350px) {
    .wrapper>header ul {
        gap: 0px;
    }
    section.WorldeGame {
        width: calc(100% - 2rem);
    }
    .keyboard-container {
        padding: 10px;
    }
    .keyboard-key {
        width: 20px;
        height: 20px;
        aspect-ratio: 1;
    }
    .container article header {
        font-size: 14px;
    }
}

@media screen and (max-width: 320px) {
    #grid_images {
        max-width: 250px;
        height: 250px;
    }
    .gridControls {
        max-width: 250px;
    }
    .subHeaderCV {
        max-width: 150px;
    }
    aside>ul:not(.contactInformation) {
        top: -3rem;
        left: 0;
    }
    aside>ul:not(.contactInformation) a {
        color: var(--mainBackgroundColor);
    }
    .container>article>section>.projectDetails>ul {
        top: 0;
        padding-left: 0;
    }
}