/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================
   FORSIDE - BAGGRUND
========================= */

.forside-body {
    min-height: 100vh;

    background: linear-gradient(
        to bottom,
        #f3f7f8 0%,
        #e2eef2 55%,
        #bfd5de 100%
    );

    color: #1e1e1e;
}


/* =========================
   FORSIDE - HEADER
========================= */

header {
    padding: 40px 60px 0;
}

header h1 {
    font-size: 42px;
    font-weight: 700;

    letter-spacing: 4px;
}

header p {
    margin-top: 8px;

    font-size: 15px;
    letter-spacing: 2px;

    color: #555;
}


/* =========================
   FORSIDE - DE TO KORT
========================= */

.forside {
    min-height: 65vh;

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

    gap: 170px;

    padding: 50px;
}


/* Det enkelte kort */

.forside-kort {
    position: relative;

    display: block;

    width: 400px;
    height: 400px;

    overflow: hidden;

    text-decoration: none;

    border: 2px solid #2b2b2b;
    border-radius: 18px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* Billederne i kortene */

.forside-kort img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    border-radius: 16px;
}


/* Hover-effekt */

.forside-kort:hover {
    transform: scale(1.04);

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.18);
}


/* =========================
   OM MIG - TEKST PÅ BILLEDET
========================= */

.kort-tekst {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 90%;

    text-align: center;

    color: white;

    z-index: 2;
}


/* OM MIG - OVERSKRIFT */

.kort-tekst h2 {
    font-family: Arial, Helvetica, sans-serif;

    font-size: 64px;
    font-weight: 800;

    color: white;
}


/* OM MIG - UNDERTEKST */

.kort-tekst p {
    margin-top: 8px;

    font-size: 14px;
    font-weight: 400;

    color: white;
}


/* OM MIG - LILLE STREG */

.kort-tekst .linje {
    width: 50px;
    height: 2px;

    margin: 18px auto 0;

    background-color: white;
}

/* =========================
   FORSIDE - SPILCAFÉ
========================= */

.spilcafe-kort {
    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #505c38;
    color: #fff6f1;

    text-align: center;
}

.spilcafe-indhold {
    padding: 40px;
}

.spilcafe-indhold span {
    display: block;

    margin-bottom: 20px;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
}

.spilcafe-indhold h2 {
    margin-bottom: 15px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 52px;
    font-weight: 800;
    letter-spacing: 2px;
}

.spilcafe-indhold p {
    display: inline-block;

    margin-top: 15px;
    padding: 12px 20px;

    background-color: #bf171c;
    color: #fff6f1;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* =========================
   FORSIDE - MOBIL
========================= */

@media (max-width: 900px) {

    .forside {
        flex-direction: column;

        gap: 40px;
    }

    .forside-kort {
        width: 90vw;
        max-width: 400px;
        height: 400px;
    }
}
/* =========================
   OM MIG SIDE
========================= */


/* =========================
   NAVIGATION
========================= */

.navigation {
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 35px 60px;
}

.navigation a {
    color: #1e1e1e;
    text-decoration: none;
}

.tilbage {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
}


/* =========================
   HERO / INTRO
========================= */

.om-mig-side {
    max-width: 1200px;

    margin: 0 auto;

    padding: 20px 60px 0;
}

.om-mig-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 90px;

    margin-bottom: 20px;
}


/* VENSTRE SIDE */

.om-mig-tekst {
    flex: 1;
}

.lille-overskrift {
    margin-bottom: 20px;

    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
}

.om-mig-tekst h1 {
    margin-bottom: 30px;

    font-size: 65px;
    line-height: 0.95;
    letter-spacing: -2px;
}

.intro {
    max-width: 500px;

    margin-bottom: 15px;

    font-size: 18px;
    line-height: 1.7;

    color: #444;
}


/* ORDBLINDHED */

.ordblind-boks {
    max-width: 500px;

    margin-top: 25px;
    padding: 22px 25px;

    background-color: rgba(255, 255, 255, 0.45);

    border-left: 3px solid #6f91a3;
    border-radius: 0 12px 12px 0;
}

.ordblind-boks h3 {
    margin-bottom: 8px;

    font-size: 18px;
}

.ordblind-boks p {
    font-size: 15px;
    line-height: 1.6;

    color: #444;
}


/* HØJRE SIDE - PORTRÆT */

.om-mig-billede {
    width: 430px;
    height: 500px;

    overflow: hidden;

    border: 2px solid #2b2b2b;
    border-radius: 20px;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.12);
}

.om-mig-billede img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* =========================
   FÆLLES SEKTIONER
========================= */

.min-vej,
.lidt-om-mig,
.kompetencer,
.kontakt {
    width: 90%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 70px 0;
}

.min-vej {
    padding-top: 20px;
}

.min-vej h2,
.lidt-om-mig h2,
.kompetencer h2,
.kontakt h2 {
    margin-bottom: 45px;

    font-size: 42px;
}


/* =========================
   MIN VEJ / TIDSLINJE
========================= */

.tidslinje {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 25px;
}

.tidslinje-punkt {
    padding-top: 20px;

    border-top: 2px solid #2b2b2b;
}

.tidslinje-punkt span {
    font-size: 13px;
    letter-spacing: 2px;

    color: #777;
}

.tidslinje-punkt h3 {
    margin: 12px 0;

    font-size: 22px;
}

.tidslinje-punkt p {
    line-height: 1.6;

    color: #444;
}


/* =========================
   LIDT OM MIG
========================= */

.om-mig-kort-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.info-kort {
    min-height: 220px;

    padding: 35px;

    background-color: #f4f5f5;

    border: 1px solid #c4c9cc;
    border-radius: 18px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.info-kort:hover {
    transform: translateY(-5px);

    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.1);
}

.info-kort h3 {
    margin-bottom: 18px;

    font-size: 25px;
}

.info-kort p {
    line-height: 1.7;

    color: #444;
}


/* =========================
   KOMPETENCER
========================= */

.kompetence-liste {
    display: flex;
    flex-wrap: wrap;

    gap: 15px;
}

.kompetence-liste span {
    padding: 14px 22px;

    border: 1px solid #2b2b2b;
    border-radius: 100px;

    font-size: 16px;
}


/* =========================
   KONTAKT
========================= */

.kontakt {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 60px;

    border-top: 2px solid #2b2b2b;
}

.kontakt p {
    max-width: 500px;

    line-height: 1.7;
}

.kontakt-links {
    display: flex;

    gap: 20px;
}

.kontakt-links a {
    padding: 13px 22px;

    color: #1e1e1e;
    text-decoration: none;

    border: 1px solid #2b2b2b;
    border-radius: 100px;

    font-weight: 600;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.kontakt-links a:hover {
    transform: translateY(-3px);

    background-color: #1e1e1e;
    color: #ede6da;
}


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

@media (max-width: 900px) {

    .navigation {
        padding: 25px;
    }

    .om-mig-side {
        padding: 30px 25px;
    }

    .om-mig-hero {
        flex-direction: column;
        align-items: flex-start;

        gap: 40px;
    }

    .om-mig-tekst h1 {
        font-size: 48px;
    }

    .om-mig-billede {
        width: 100%;
        height: 450px;
    }

    .tidslinje {
        grid-template-columns: 1fr;
    }

    .om-mig-kort-grid {
        grid-template-columns: 1fr;
    }

    .kontakt {
        flex-direction: column;
        align-items: flex-start;
    }

    .kontakt-links {
        flex-wrap: wrap;
    }
}
/* =========================
   SKOLE SIDE
========================= */

html {
    scroll-behavior: smooth;
}

.skole-body {
    background: linear-gradient(
        to bottom,
        #f3f7f8 0%,
        #e5f0f4 45%,
        #d1e3e9 100%
    );

    color: #1e1e1e;
}


/* =========================
   SIDE
========================= */

.skole-side {
    width: 90%;
    max-width: 1400px;

    margin: 0 auto;
}


/* =========================
   INTRO
========================= */

.skole-intro {
    padding: 80px 0 60px;
}

.skole-intro h1 {
    font-size: 70px;
    margin-bottom: 20px;
}

.skole-intro > p:last-child {
    max-width: 600px;

    font-size: 18px;
    line-height: 1.7;

    color: #444;
}


/* =========================
   SEMESTER MENU
========================= */

.semester-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

    margin-bottom: 120px;
}

.semester-menu a {
    background: #f4f5f5;

    border: 1px solid #b9c5c9;
    border-radius: 18px;

    padding: 30px;

    color: #1e1e1e;
    text-decoration: none;

    font-size: 20px;
    font-weight: 600;

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

.semester-menu a:hover {
    transform: translateY(-5px);

    background-color: #ffffff;

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


/* =========================
   SEMESTER
========================= */

.semester {
    padding: 80px 0;
}

.semester-heading {
    margin-bottom: 50px;
}

.semester-heading h2 {
    font-size: 50px;
    margin-bottom: 12px;
}

.semester-heading > p:last-child {
    font-size: 18px;
    color: #444;
}


/* =========================
   PROJEKT
========================= */

.projekt {
    background: rgba(255, 255, 255, 0.72);

    border: 1px solid #bcc8cc;
    border-radius: 25px;

    padding: 50px;

    margin-bottom: 50px;

    backdrop-filter: blur(4px);
}


/* =========================
   PROJEKT TOP
========================= */

.projekt-top {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr;

    gap: 70px;

    align-items: start;

    margin-bottom: 70px;
}

.projekt-beskrivelse {
    max-width: 750px;
}

.projekt-type {
    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 12px;
}

.projekt h3 {
    font-size: 45px;

    margin-bottom: 20px;
}

.projekt-intro {
    max-width: 700px;

    font-size: 17px;
    line-height: 1.7;

    color: #444;

    margin-bottom: 18px;
}

.projekt-rolle {
    margin-top: 25px;

    font-size: 16px;
    line-height: 1.7;

    color: #333;
}


/* =========================
   HØJRE SIDE
   TOOLS + PREVIEW
========================= */

.projekt-side {
    display: flex;
    flex-direction: column;

    gap: 30px;
}


/* TOOLS */

.projekt-tools {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}

.projekt-tools span {
    background: #f4f5f5;

    border: 1px solid #9eafb5;
    border-radius: 100px;

    padding: 10px 17px;

    font-size: 14px;
    font-weight: 600;
}


/* PREVIEW */

.projekt-preview {
    background: #f4f5f5;

    border: 1px solid #bcc8cc;
    border-radius: 18px;

    padding: 20px;

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

.projekt-preview img {
    width: 100%;
    max-width: 380px;

    height: auto;

    display: block;

    border-radius: 10px;
}


/* =========================
   PROJEKT SEKTIONER
========================= */

.projekt-sektion {
    padding: 65px 0;

    border-top: 1px solid #b8c5c9;
}

.projekt-sektion-tekst {
    max-width: 700px;

    margin-bottom: 35px;
}

.projekt-sektion h4,
.projekt-refleksion h4 {
    font-size: 32px;

    margin-bottom: 15px;
}

.projekt-sektion p,
.projekt-refleksion p {
    line-height: 1.7;

    color: #444;

    margin-bottom: 15px;
}


/* =========================
   PROCES BILLEDER
========================= */

.proces-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}

.proces-grid figure {
    background: #f4f5f5;

    border-radius: 18px;

    overflow: hidden;

    border: 1px solid #c2ccd0;
}

.proces-grid img {
    width: 100%;
    height: 320px;

    object-fit: cover;
    object-position: top;

    display: block;
}

.proces-grid figcaption {
    padding: 18px 20px;

    font-size: 14px;
    font-weight: 500;

    line-height: 1.5;
}


/* =========================
   KODE / UDVIKLING
========================= */

.kode-sektion {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;
}

.kode-boks {
    background: #1e1e1e;
    color: #f5f5f5;

    padding: 30px;

    border-radius: 18px;

    overflow-x: auto;

    font-size: 14px;
    line-height: 1.6;

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


/* =========================
   REFLEKSION
========================= */

.projekt-refleksion {
    border-top: 1px solid #b8c5c9;

    padding-top: 65px;

    max-width: 750px;
}


/* =========================
   MINDRE OPGAVER
========================= */

.mindre-projekt {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 40px;

    padding: 35px;
}

.mindre-projekt h3 {
    font-size: 30px;
}

.mindre-projekt p {
    max-width: 700px;

    line-height: 1.7;

    color: #444;
}


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

@media (max-width: 900px) {

    .skole-intro h1 {
        font-size: 50px;
    }

    .semester-menu {
        grid-template-columns: 1fr 1fr;
    }

    .projekt {
        padding: 30px;
    }

    .projekt-top {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .projekt-preview img {
        max-width: 450px;
    }

    .proces-grid,
    .kode-sektion {
        grid-template-columns: 1fr;
    }

    .mindre-projekt {
        flex-direction: column;
    }

}


/* =========================
   MOBIL
========================= */

@media (max-width: 600px) {

    .skole-side {
        width: 92%;
    }

    .skole-intro {
        padding: 50px 0 40px;
    }

    .skole-intro h1 {
        font-size: 42px;
    }

    .semester-menu {
        grid-template-columns: 1fr;

        margin-bottom: 70px;
    }

    .semester {
        padding: 50px 0;
    }

    .semester-heading h2 {
        font-size: 38px;
    }

    .projekt {
        padding: 22px;

        border-radius: 20px;
    }

    .projekt h3 {
        font-size: 34px;
    }

    .projekt-sektion h4,
    .projekt-refleksion h4 {
        font-size: 27px;
    }

    .projekt-tools span {
        font-size: 13px;

        padding: 9px 14px;
    }

    .kode-boks {
        font-size: 12px;

        padding: 20px;
    }

}

/* =========================
   2. SEMESTER
========================= */

/* =========================
   WEBSHOP BILLEDER
========================= */

.webshop-billeder {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.webshop-billeder figure,
.checkout-billede {
    background: #f4f5f5;
    border: 1px solid #c2ccd0;
    border-radius: 18px;
    overflow: hidden;
}

.webshop-billeder img,
.checkout-billede img {
    width: 100%;
    height: auto;
    display: block;
}

.webshop-billeder figcaption,
.checkout-billede figcaption {
    padding: 16px 20px;

    font-size: 14px;
    font-weight: 600;
}


/* =========================
   PERSONA
========================= */

.persona-placeholder {
    min-height: 350px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.placeholder-indhold {
    padding: 35px;
}

.placeholder-indhold h4 {
    margin-bottom: 15px;
    font-size: 26px;
}

.placeholder-indhold p {
    line-height: 1.7;
    color: #444;
}


/* =========================
   WEBSHOP FUNKTIONER
========================= */

.webshop-funktioner {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;

    align-items: center;
}

.checkout-billede img {
    object-fit: contain;
}


/* =========================
   MUSEUM OVARTACI
========================= */

.museum-projekt {
    margin-top: 70px;
}


/* PERSONA */

.museum-persona {
    background: #f4f5f5;

    border: 1px solid #c2ccd0;
    border-radius: 18px;

    overflow: hidden;
}

.museum-persona img {
    width: 100%;
    height: auto;

    display: block;
}


/* =========================
   MUSEUM FLOW
========================= */

.museum-flow {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;

    align-items: start;
}

.museum-flow-billeder {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.museum-flow-billeder figure {
    background: #f4f5f5;

    border: 1px solid #c2ccd0;
    border-radius: 18px;

    overflow: hidden;
}

.museum-flow-billeder img {
    width: 100%;
    height: auto;

    display: block;
}

.museum-flow-billeder figcaption {
    padding: 15px 18px;

    font-size: 14px;
    font-weight: 600;
}


/* =========================
   SCROLL ANIMATION
========================= */

.scroll-animation {
    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.scroll-animation.scroll-vis {
    opacity: 1;
    transform: translateY(0);
}


/* =========================
   KOMMENDE SEMESTRE
========================= */

.kommende-semestre {
    padding: 100px 0 140px;
}

.kommende-semestre h2 {
    margin-bottom: 15px;
    font-size: 50px;
}

.kommende-intro {
    max-width: 600px;
    margin-bottom: 45px;

    font-size: 17px;
    line-height: 1.7;

    color: #444;
}


/* SEMESTER GRID */

.kommende-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}


/* SEMESTER KORT */

.kommende-kort {
    min-height: 220px;
    padding: 35px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: rgba(255, 255, 255, 0.55);

    border: 1px solid #b9c7cc;
    border-radius: 22px;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.kommende-kort:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.8);
}


/* SEMESTER NUMMER */

.kommende-nummer {
    font-size: 13px;
    letter-spacing: 3px;

    color: #6c7b80;
}


/* SEMESTER TEKST */

.kommende-kort h3 {
    margin-bottom: 5px;
    font-size: 30px;
}

.kommende-kort p {
    color: #666;
    font-style: italic;
}


/* STATUS */

.kommende-status {
    width: fit-content;
    padding: 8px 13px;

    border: 1px solid #9eafb5;
    border-radius: 100px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}


/* =========================
   TIL TOPPEN
========================= */

.til-toppen {
    display: flex;
    justify-content: center;

    padding: 0 0 80px;
}

.til-toppen a {
    display: inline-block;

    padding: 14px 25px;

    background: #f4f5f5;

    border: 1px solid #9eafb5;
    border-radius: 100px;

    color: #1e1e1e;
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.til-toppen a:hover {
    transform: translateY(-4px);
    background: #ffffff;
}


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

@media (max-width: 900px) {

    /* WEBSHOP */

    .webshop-billeder,
    .webshop-funktioner {
        grid-template-columns: 1fr;
    }


    /* MUSEUM */

    .museum-flow {
        grid-template-columns: 1fr;
    }

    .museum-flow-billeder {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 700px) {

    /* KOMMENDE SEMESTRE */

    .kommende-grid {
        grid-template-columns: 1fr;
    }

    .kommende-semestre h2 {
        font-size: 38px;
    }

}
