/* =========================================================
   LETTERTYPEN
========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600&family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap");


/* =========================================================
   VARIABELEN
========================================================= */

:root {
    /* Algemene kleuren */
    --background-color: #0b0d10;
    --cards: #15181d;
    --borders: #282c34;
    --linux-yellow: #f5c542;
    --terminal-green: #39d98a;
    --text-color: #f5f5f5;
    --muted-text: #9aa3af;
    --box-dots: #1b1b1b;
    --box-shadow: #424242;
    --green-shadow: #39d98960;

    /* Algemene layout */
    --container-width: 1400px;
    --page-side-space: 40px;

    /* Linux-venster basisinstellingen */
    --linux-window-width: 100%;
    --linux-window-min-height: 300px;
    --linux-window-header-height: 52px;
    --linux-window-padding: 28px;
    --linux-window-radius: 11px;

    /* Linux-venster tekst */
    --linux-window-font-size: 14px;
    --linux-window-font-weight: 300;
    --linux-window-line-height: 1.65;

    /* Linux-venster op de homepagina */
    --home-window-width: 750px;
    --home-window-min-height: 420px;
    --home-window-padding: 50px;

    /* Linux-venster op de over-mijpagina */
    --about-window-width: 750px;
    --about-window-min-height: 425px;
    --about-window-padding: 28px;

    /* Linux-venster op de projectenpagina */
    --projects-window-width: 100%;
    --projects-window-min-height: 750px;
    --projects-window-padding: 0;

    /* Contactvenster */
    --contact-window-width: 100%;
    --contact-window-min-height: 520px;
    --contact-window-padding: 32px;

}


/* =========================================================
   RESET EN ALGEMEEN
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 400;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   ALGEMENE CONTAINER
========================================================= */

.container {
    width: min(calc(100% - var(--page-side-space)),
            var(--container-width));
    margin-inline: auto;
}


/* =========================================================
   ALGEMENE SECTIETITELS
========================================================= */

.section-title,
.projecten>h2,
.techstack>h2,
.about h2 {
    margin-top: 0;
    margin-bottom: 50px;
    padding-left: 15px;
    border-left: 1px solid var(--terminal-green);
    color: var(--text-color);
    font-size: 26px;
    font-weight: 700;
}


/* =========================================================
   NAVIGATIE
========================================================= */

.nav {
    background-color: var(--cards);
}

.width-nav {
    width: min(calc(100% - var(--page-side-space)),
            var(--container-width));
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-inline: auto;
    padding: 15px 0;
}

.nav .logo a {
    display: inline-block;
    margin-right: 20px;
    background: linear-gradient(10deg,
            #00d084 50%,
            #ffffff 50%);
    background-clip: text;
    color: transparent;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav .logo a:hover {
    color: var(--terminal-green);
}

.nav .nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav .nav-links a {
    color: var(--text-color);
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav .nav-links a:hover,
.nav .nav-links a.active {
    color: var(--terminal-green);
}

.nav .nav-links a.active {
    font-weight: 600;
}


/* =========================================================
   HERBRUIKBAAR LINUX-VENSTER
========================================================= */

.linux-window {
    /*
     * Deze variabelen worden per pagina overschreven
     * door de modifier-classes hieronder.
     */
    width: min(var(--linux-window-width), 100%);
    min-height: var(--linux-window-min-height);

    /*
     * Geen vaste hoogte en geen interne scrollbar.
     * Het venster groeit automatisch mee met de inhoud.
     */
    height: auto;

    overflow: hidden;

    border: 1px solid var(--borders);
    border-radius: var(--linux-window-radius);
    background-color: var(--cards);

    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}


/* =========================================================
   AFMETINGEN PER PAGINA
========================================================= */

/*
 * Homepagina:
 *
 * Pas --home-window-width en --home-window-min-height
 * bovenaan bij :root aan.
 */
.linux-window--home {
    --linux-window-width: var(--home-window-width);
    --linux-window-min-height: var(--home-window-min-height);
    --linux-window-padding: var(--home-window-padding);
}


/*
 * Over-mijpagina:
 *
 * Pas --about-window-width en --about-window-min-height
 * bovenaan bij :root aan.
 */
.linux-window--about {
    --linux-window-width: var(--about-window-width);
    --linux-window-min-height: var(--about-window-min-height);
    --linux-window-padding: var(--about-window-padding);
}


/*
 * Projectenpagina:
 *
 * Pas --projects-window-width en
 * --projects-window-min-height bovenaan bij :root aan.
 */
.linux-window--projects {
    --linux-window-width: var(--projects-window-width);
    --linux-window-min-height: var(--projects-window-min-height);
    --linux-window-padding: var(--projects-window-padding);
}


/* =========================================================
   BOVENBALK VAN HET LINUX-VENSTER
========================================================= */

.linux-window__header {
    height: var(--linux-window-header-height);
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 16px;
    border-bottom: 1px solid var(--borders);
    background-color: var(--borders);
}

.linux-window__controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.linux-window__dot {
    width: 13px;
    height: 13px;
    display: block;
    flex-shrink: 0;
    border-radius: 50%;
}

.linux-window__dot--red {
    border: 1px solid #e0443e;
    background-color: #ff5f56;
}

.linux-window__dot--yellow {
    border: 1px solid #dea123;
    background-color: #ffbd2e;
}

.linux-window__dot--green {
    border: 1px solid #1aab29;
    background-color: #27c93f;
}

.linux-window__title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    max-width: calc(100% - 160px);

    overflow: hidden;

    color: #8d98a8;
    font-family: "Fira Code", monospace;
    font-size: 12px;
    font-weight: 300;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   INHOUD VAN HET LINUX-VENSTER
========================================================= */

.linux-window__body {
    min-height: calc(var(--linux-window-min-height) - var(--linux-window-header-height));

    /*
     * Geen overflow-y: auto.
     * Er verschijnt dus geen scrollbar in het venster.
     */
    overflow: visible;

    padding: var(--linux-window-padding);

    color: var(--terminal-green);
    font-family: "Fira Code", monospace;
    font-size: var(--linux-window-font-size);
    font-weight: var(--linux-window-font-weight);
    line-height: var(--linux-window-line-height);
}


/*
 * Voorkomt dat standaardteksten dikker worden
 * door overgenomen styling.
 */
.linux-window__body p,
.linux-window__body li,
.linux-window__body a,
.linux-window__body span {
    font-weight: 300;
}

.linux-window__body strong,
.linux-window__body b {
    font-weight: 500;
}

.linux-window__body h1,
.linux-window__body h2,
.linux-window__body h3,
.linux-window__body h4 {
    font-weight: 500;
}


/* =========================================================
   TERMINALTEKST EN CURSOR
========================================================= */

.terminal-command,
.project-command {
    margin: 0 0 30px;
    color: var(--terminal-green);
    font-family: "Fira Code", monospace;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.7;
}

.terminal-command span,
.project-command span {
    color: var(--text-color);
    font-weight: 300;
}

.cursor-text,
.cursor-tekst,
.cursor-tekst2,
.cursor-tekst3 {
    padding-right: 5px;
    border-right: 2px solid var(--terminal-green);
    font-family: "Fira Code", monospace;
    font-weight: 300;
    animation: knipperen 0.75s step-end infinite;
}

@keyframes knipperen {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--terminal-green);
    }
}


/* =========================================================
   HOMEPAGINA / BANNER
========================================================= */

.banner {
    min-height: calc(100vh - 70px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 70px;
    padding-block: 60px;
}

.banner-content {
    flex: 1;
    min-width: 0;
}

.banner .banner-img {
    width: min(100%, 400px);
    flex-shrink: 0;
    border-radius: 14px;
    box-shadow: 0 18px 50px var(--green-shadow);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.banner .banner-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px var(--green-shadow);
}

.banner .banner-img img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 0 20px var(--box-shadow);
}


/* =========================================================
   KNOPPEN
========================================================= */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    border: 1px solid #00d084;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}

.button.primary {
    background-color: #00d084;
    color: #07110c;
}

.button.secondary {
    background-color: transparent;
    color: #00d084;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 208, 132, 0.18);
}


/* =========================================================
   TECHSTACK
========================================================= */

.techstack {
    min-height: calc(100vh - 100px);
    margin-bottom: 40px;
    padding-top: 100px;
    border-top: 1px solid var(--terminal-green);
}

.techstack h3 {
    margin-left: 10px;
    color: var(--text-color);
    font-weight: 500;
}

.techstack p {
    margin-bottom: 75px;
    color: var(--text-color);
    font-size: 15px;
    font-weight: 400;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit,
            minmax(190px, 1fr));
    gap: 25px;
    width: 100%;
    margin-bottom: 50px;
}

.card {
    min-height: 140px;
    padding: 15px;
    border: 1px solid var(--borders);
    border-top: 15px solid var(--borders);
    border-radius: 10px;
    background-color: var(--cards);
    text-align: center;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.techstack .cards .card h3 {
    margin: 0 0 10px;
    color: var(--text-color);
    font-size: 22px;
    font-weight: 600;
}

.techstack .cards .card p {
    margin: 0;
    color: var(--terminal-green);
    font-size: 14px;
    font-weight: 400;
}

.stack-footer p {
    padding-left: 15px;
    border-left: 1px solid var(--terminal-green);
}

.stack-footer a {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid var(--terminal-green);
    border-radius: 10px;
    color: var(--terminal-green);
    font-weight: 500;
    text-decoration: none;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.stack-footer a:hover {
    background-color: var(--terminal-green);
    color: var(--background-color);
}


/* =========================================================
   OVER MIJ
========================================================= */

.about {
    min-height: calc(100vh - 70px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 70px;
    margin-bottom: 40px;
    padding-top: 100px;
}

.about-content {
    flex: 1;
    min-width: 0;
}

.about .profile-img {
    width: min(100%, 400px);
    flex-shrink: 0;
    border-radius: 14px;
    box-shadow: 0 18px 50px var(--green-shadow);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.about .profile-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px var(--green-shadow);
}

.about .profile-img img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 0 20px var(--box-shadow);
}


/* =========================================================
   PROJECTENPAGINA
========================================================= */

.projecten {
    margin-bottom: 40px;
    padding-top: 100px;
}

.projecten-container {
    width: 100%;
}


/*
 * De projectenpagina gebruikt de algemene linux-window.
 * Deze class is alleen nog nodig voor extra projectspecifieke
 * styling.
 */
.linux-window--projects .linux-window__body {
    min-height: calc(var(--projects-window-min-height) - var(--linux-window-header-height));
}


/* =========================================================
   PROJECTENINDELING
========================================================= */

.text-boxes {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: stretch;
    min-height: calc(var(--projects-window-min-height) - var(--linux-window-header-height));
}

.box-text3 {
    padding: 28px 20px;
    border-right: 1px solid var(--borders);
    background-color: rgba(0, 0, 0, 0.12);
}

.box-text4 {
    min-width: 0;
    padding: 32px 40px 45px;
    color: var(--text-color);
}


/* =========================================================
   PROJECTNAVIGATIE
========================================================= */

.project-category {
    margin-bottom: 34px;
}

.project-category h3 {
    margin: 0 0 12px;
    color: var(--terminal-green);
    font-family: "Fira Code", monospace;
    font-size: 15px;
    font-weight: 400;
}

.project-button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    padding: 10px 12px;

    border: 0;
    border-left: 2px solid transparent;
    border-radius: 6px;

    background-color: transparent;
    color: var(--terminal-green);

    font-family: "Fira Code", monospace;
    font-size: 13px;
    font-weight: 300;
    text-align: left;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.project-button span {
    color: #65707c;
    font-weight: 300;
}

.project-button:hover {
    background-color: rgba(57, 217, 138, 0.08);
    color: var(--text-color);
}

.project-button.active {
    border-left-color: var(--terminal-green);
    background-color: rgba(57, 217, 138, 0.12);
    color: var(--terminal-green);
}

.project-button.active span {
    color: var(--terminal-green);
}


/* =========================================================
   PROJECTEN TONEN EN VERBERGEN
========================================================= */

.project-panel[hidden] {
    display: none;
}

.project-panel {
    animation: projectTonen 0.25s ease;
}

@keyframes projectTonen {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

/* =========================================================
   KLEUREN PROJECTENVENSTER
========================================================= */

.linux-window--projects {
    background-color: var(--cards);
}

.linux-window--projects .linux-window__header {
    background-color: var(--borders);
}

.linux-window--projects .linux-window__body {
    padding: 0;
    background-color: var(--cards);
}

.linux-window--projects .text-boxes {
    background-color: var(--cards);
}

.linux-window--projects .box-text3 {
    background-color: #101419;
}

.linux-window--projects .box-text4 {
    background-color: #15181d;
}


/* =========================================================
   PROJECTINHOUD
========================================================= */

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 25px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--borders);
}

.project-path {
    display: block;
    margin-bottom: 8px;
    color: #7f8994;
    font-family: "Fira Code", monospace;
    font-size: 12px;
    font-weight: 300;
}

.project-header h3 {
    margin: 0;
    color: var(--text-color);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 600;
}

.project-status {
    flex-shrink: 0;
    padding: 7px 11px;

    border: 1px solid var(--terminal-green);
    border-radius: 999px;

    background-color: rgba(57, 217, 138, 0.08);
    color: var(--terminal-green);

    font-family: "Fira Code", monospace;
    font-size: 11px;
    font-weight: 300;
}

.project-panel>p,
.project-information p {
    max-width: 850px;
    color: var(--text-color);
    font-family: "Space Grotesk", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
}


/* =========================================================
   PROJECTAFBEELDING
========================================================= */

.project-image {
    width: 100%;
    height: auto;
    max-height: 430px;
    margin: 30px 0;

    border: 1px solid var(--borders);
    border-radius: 8px;

    background-color: var(--background-color);
    object-fit: cover;
}


/* =========================================================
   EXTRA PROJECTINFORMATIE
========================================================= */

.project-information {
    margin-top: 30px;
}

.project-information h4 {
    margin: 0 0 14px;
    color: var(--terminal-green);
    font-family: "Fira Code", monospace;
    font-size: 14px;
    font-weight: 400;
}

.project-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 28px;
}

.project-technologies span {
    padding: 8px 11px;

    border: 1px solid var(--borders);
    border-radius: 5px;

    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-color);

    font-family: "Fira Code", monospace;
    font-size: 11px;
    font-weight: 300;
}

/* =========================================================
   CONTACTPAGINA
========================================================= */

.contact {
    margin-bottom: 40px;
    padding-top: 100px;
}

.contact>h2 {
    margin-top: 0;
    margin-bottom: 50px;
    padding-left: 15px;
    border-left: 1px solid var(--terminal-green);
    color: var(--text-color);
    font-size: 26px;
    font-weight: 700;
}


/* =========================================================
   CONTACTVENSTER AFMETINGEN
========================================================= */

.linux-window--contact {
    --linux-window-width: var(--contact-window-width);
    --linux-window-min-height: var(--contact-window-min-height);
    --linux-window-padding: var(--contact-window-padding);
}


/* =========================================================
   CONTACT TERMINAL
========================================================= */

.contact-terminal {
    width: 100%;
}

.contact-command {
    margin: 0 0 38px;
    color: var(--terminal-green);
    font-family: "Fira Code", monospace;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.7;
}

.contact-command span {
    color: var(--text-color);
    font-weight: 300;
}


/* =========================================================
   INTRODUCTIE
========================================================= */

.contact-introduction {
    max-width: 780px;
    margin-bottom: 35px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--borders);
}

.contact-introduction h3 {
    margin: 0 0 14px;
    color: var(--text-color);
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(27px, 4vw, 40px);
    font-weight: 600;
}

.contact-introduction p {
    margin: 0;
    color: var(--muted-text);
    font-family: "Space Grotesk", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
}


/* =========================================================
   CONTACTOPTIES
========================================================= */

.contact-options {
    display: grid;
    grid-template-columns: repeat(3,
            minmax(0, 1fr));
    gap: 18px;
}

.contact-option {
    min-width: 0;
    min-height: 155px;

    display: flex;
    align-items: center;
    gap: 16px;

    position: relative;

    padding: 22px;

    border: 1px solid var(--borders);
    border-radius: 9px;

    background-color: rgba(255, 255, 255, 0.025);
    color: var(--text-color);

    text-decoration: none;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-option:hover {
    transform: translateY(-4px);

    border-color: var(--terminal-green);
    background-color: rgba(57, 217, 138, 0.07);

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.contact-option:focus-visible {
    outline: 2px solid var(--terminal-green);
    outline-offset: 3px;
}


/* =========================================================
   CONTACTICOON
========================================================= */

.contact-option__icon {
    width: 43px;
    height: 43px;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    flex-shrink: 0;

    border: 1px solid rgba(57, 217, 138, 0.35);
    border-radius: 8px;

    background-color: rgba(57, 217, 138, 0.08);
    color: var(--terminal-green);

    font-family: "Fira Code", monospace;
    font-size: 18px;
    font-weight: 400;
}


/* =========================================================
   CONTACTTEKST
========================================================= */

.contact-option__content {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-option__command {
    margin-bottom: 12px;

    color: var(--terminal-green);

    font-family: "Fira Code", monospace;
    font-size: 10px;
    font-weight: 300;
}

.contact-option__label {
    margin-bottom: 5px;

    color: var(--muted-text);

    font-family: "Space Grotesk", sans-serif;
    font-size: 12px;
    font-weight: 400;
}

.contact-option__value {
    max-width: 100%;

    overflow-wrap: anywhere;

    color: var(--text-color);

    font-family: "Space Grotesk", sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
}

.contact-option__arrow {
    position: absolute;
    right: 16px;
    bottom: 13px;

    color: var(--terminal-green);

    font-family: "Fira Code", monospace;
    font-size: 16px;
    font-weight: 300;

    transition: transform 0.2s ease;
}

.contact-option:hover .contact-option__arrow {
    transform: translateX(4px);
}


/* =========================================================
   ONDERSTE TERMINALREGEL
========================================================= */

.contact-terminal__bottom {
    margin: 38px 0 0;

    color: var(--terminal-green);

    font-family: "Fira Code", monospace;
    font-size: 13px;
    font-weight: 300;
}

.contact-cursor {
    width: 8px;
    height: 16px;

    display: inline-block;

    margin-left: 4px;

    background-color: var(--terminal-green);

    vertical-align: middle;

    animation: contactCursorKnipperen 0.8s steps(1) infinite;
}

@keyframes contactCursorKnipperen {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}


/* =========================================================
   CONTACT RESPONSIVE
========================================================= */

@media screen and (max-width: 1050px) {
    .contact-options {
        grid-template-columns: 1fr;
    }

    .contact-option {
        min-height: 125px;
    }
}

@media screen and (max-width: 700px) {
    :root {
        --contact-window-width: 100%;
        --contact-window-min-height: 450px;
        --contact-window-padding: 22px;
    }

    .contact {
        padding-top: 70px;
    }

    .contact>h2 {
        margin-bottom: 35px;
        font-size: 23px;
    }

    .contact-command {
        overflow-wrap: anywhere;
    }

    .contact-option {
        min-height: 135px;
        padding: 18px;
    }

    .contact-option__icon {
        width: 38px;
        height: 38px;
    }

    .contact-option__value {
        font-size: 14px;
    }
}

@media screen and (max-width: 450px) {
    .contact-option {
        align-items: flex-start;
    }

    .contact-option__icon {
        display: none;
    }

    .contact-introduction h3 {
        font-size: 26px;
    }
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;

    margin-top: 150px;
    margin-bottom: 50px;
    padding: 30px 20px;

    border-top: 1px solid var(--terminal-green);
}

footer p,
footer a {
    margin-top: 0;
    margin-bottom: 8px;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer p:hover,
footer a:hover {
    color: var(--terminal-green);
}

.footer-left,
.footer-mid,
.footer-right {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
}

.copyright {
    margin-top: 10px;
    text-align: center;
}

.copyright p {
    margin-top: 10px;
    color: var(--text-color);
    font-size: 14px;
    text-align: center;
}


/* =========================================================
   TABLET
========================================================= */

@media screen and (max-width: 1000px) {
    :root {
        --page-side-space: 30px;

        --home-window-width: 100%;
        --about-window-width: 100%;
    }

    .banner,
    .about {
        gap: 40px;
    }

    .text-boxes {
        grid-template-columns: 230px minmax(0, 1fr);
    }

    .box-text4 {
        padding: 28px 25px 40px;
    }
}


/* =========================================================
   MOBIEL EN KLEINE TABLETS
========================================================= */

@media screen and (max-width: 800px) {
    :root {
        --page-side-space: 24px;

        --linux-window-header-height: 46px;
        --linux-window-padding: 20px;

        --home-window-width: 100%;
        --home-window-min-height: 350px;
        --home-window-padding: 20px;

        --about-window-width: 100%;
        --about-window-min-height: 400px;
        --about-window-padding: 20px;

        --projects-window-width: 100%;
        --projects-window-min-height: 600px;
    }

    .width-nav {
        flex-direction: column;
        gap: 15px;
    }

    .nav .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .banner,
    .about {
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
        padding-block: 70px;
    }

    .banner .banner-img,
    .about .profile-img {
        width: min(100%, 400px);
        margin-inline: auto;
    }

    .techstack {
        min-height: auto;
    }

    .text-boxes {
        grid-template-columns: 1fr;
    }

    .box-text3 {
        border-right: 0;
        border-bottom: 1px solid var(--borders);
    }

    .box-text4 {
        padding: 25px 20px 35px;
    }

    .project-header {
        flex-direction: column;
    }

    .project-image {
        max-height: none;
    }

    footer {
        flex-direction: column;
    }
}


/* =========================================================
   MOBIELE TELEFOONS
========================================================= */

@media screen and (max-width: 520px) {
    :root {
        --page-side-space: 20px;

        --home-window-min-height: 320px;
        --about-window-min-height: 350px;
        --projects-window-min-height: 500px;
    }

    .linux-window__header {
        padding-inline: 12px;
    }

    .linux-window__dot {
        width: 11px;
        height: 11px;
    }

    .linux-window__controls {
        gap: 6px;
    }

    .linux-window__title {
        display: none;
    }

    .linux-window__body {
        font-size: 12px;
    }

    .section-title,
    .projecten>h2,
    .techstack>h2,
    .about h2 {
        margin-bottom: 35px;
        font-size: 23px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .project-header h3 {
        font-size: 28px;
    }

    .project-panel>p,
    .project-information p {
        font-size: 14px;
    }
}