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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}



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

.navbar {
    position: absolute;
    top: 32px;
    left: 50%;

    width: 520px;
    height: 65px;
    padding: 0 25px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;

    background-color: #C46E76;
    border-radius: 50px;

    box-shadow: 0 12px 30px rgba(120, 15, 20, 0.15);

    transform: translateX(-50%);

    z-index: 10;
}


/* ---------- LOGO ---------- */

.nav-logo {
    display: flex;
    align-items: center;

    text-decoration: none;
}

.nav-logo img {
    display: block;

    width: 70px;
    height: 70px;

    object-fit: contain;

    transform: translateY(-6px);
}


/* ---------- LINKS ---------- */

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

.nav-links > a,
.dropdown-button {
    font-family: "La Belle Aurore", cursive;
    font-size: 1.6rem;
    font-weight: 400;

    color: #FFCCD3;

    text-decoration: none;

    background: none;
    border: none;

    cursor: pointer;

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

.nav-links > a:hover,
.dropdown-button:hover {
    opacity: 0.7;

    transform: translateY(-2px);
}



/* =========================================
   DROPDOWN
========================================= */

.dropdown {
    position: relative;
}

.dropdown-button {
    display: flex;
    align-items: center;
    gap: 13px;
}


/* ---------- PIL ---------- */

.arrow {
    width: 0;
    height: 0;

    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 9px solid #FFCCD3;

    transition: transform 0.2s ease;
}


/* ---------- DROPDOWN MENU ---------- */

.dropdown-menu {
    position: absolute;
    top: calc(100% + 22px);
    right: 0;

    min-width: 210px;
    padding: 14px;

    background-color: #C46E76;
    border-radius: 20px;

    box-shadow: 0 12px 30px rgba(120, 15, 20, 0.2);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-8px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}

.dropdown-menu a {
    display: block;

    padding: 12px 18px;

    font-family: Arial, sans-serif;
    font-size: 1rem;

    color: #FFCCD3;

    text-decoration: none;

    border-radius: 12px;
}

.dropdown-menu a:hover {
    background-color: rgba(248, 213, 215, 0.15);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}



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

.hero {
    position: relative;

    width: 100%;
    height: 100vh;
    min-height: 700px;

    background-color: #FFF6E4;

    overflow: hidden;
}


/* ---------- BILLEDE ---------- */

.hero-image {
    position: absolute;
    left: 5%;
    bottom: 0;

    height: 82%;

    z-index: 2;
}

.hero-image img {
    display: block;

    width: auto;
    height: 100%;

    object-fit: contain;
    object-position: bottom;

    filter: grayscale(100%);
}


/* ---------- TEKST ---------- */

.hero-text {
    position: absolute;
    left: 41%;
    top: 60%;

    transform: translateY(-50%);

    z-index: 1;
}


/* ---------- PORTFOLIO ---------- */

.portfolio {
    margin-left: 450px;
    margin-bottom: -38px;

    font-family: "La Belle Aurore", cursive;
    font-size: clamp(3.5rem, 5vw, 5rem);
    font-weight: 400;
    line-height: 1;

    color: #7893AB;

    white-space: nowrap;

    transform: rotate(8deg);
}


/* ---------- MARIE + LOUISE ---------- */

.hero-text h1,
.hero-text h2 {
    font-family: "Erica One", sans-serif;
    font-size: clamp(7rem, 11vw, 11rem);
    font-weight: 400;
    line-height: 0.78;

    letter-spacing: 2px;

    color: #30434E;

    white-space: nowrap;
}

.hero-text h1 {
    margin-left: -65px;
}

.hero-text h2 {
    margin: 0;
}



/* =========================================
   OM MIG - PREVIEW
========================================= */

.about-preview {
    height: 100vh;
    min-height: 700px;

    padding: 25px 20px 15px;

    display: flex;
    flex-direction: column;
    align-items: center;

    background-color: #FFF6E4;

    overflow: hidden;
}


/* ---------- OVERSKRIFT ---------- */

.about-preview h2 {
    align-self: flex-start;
    flex-shrink: 0;

    margin-top: 80px;
    margin-left: 100px;
    margin-bottom: 5px;

    font-family: "La Belle Aurore", cursive;
    font-size: clamp(3.6rem, 5vw, 5rem);
    font-weight: 400;
    line-height: 0.85;

    color: #30434E;

    text-align: left;
}



/* =========================================
   OM MIG - SCENE
========================================= */

.preview-scene {
    position: relative;
    left: 70px;

    width: min(900px, 94vw);

    flex: 1;
    min-height: 0;

    transform:
        translateY(-110px)
        scale(1.05);
}


/* ---------- PERSON ---------- */

.person {
    position: absolute;
    left: 72%;
    bottom: 0;

    width: 420px;
    height: auto;

    object-fit: contain;
    object-position: bottom;

    transform:
        translateX(-50%)
        rotate(-8deg);

    transform-origin: bottom center;

    pointer-events: none;

    z-index: 5;
}



/* =========================================
   TING FRA TASKEN
========================================= */

.item {
    position: absolute;

    /* Startpunkt ved taskens åbning */
    left: 60%;
    top: 23%;

    width: 70px;
    height: auto;

    opacity: 0;

    transform:
        translate(-50%, -50%)
        translate(0, 0)
        rotate(0deg)
        scale(0.2);

    transform-origin: center;

    pointer-events: none;

    will-change: transform, opacity;

    z-index: 2;
}



/* =========================================
   TINGENES PLACERINGER
========================================= */

.phone {
    width: 50px;

    --x: -490px;
    --y: 410px;
    --rotation: -18deg;
    --delay: 40;
}

.lipgloss {
    width: 70px;

    --x: -300px;
    --y: 470px;
    --rotation: 50deg;
    --delay: 110;
}

.neglelak {
    width: 46px;

    --x: -390px;
    --y: 470px;
    --rotation: -12deg;
    --delay: 180;
}

.bog {
    width: 80px;

    --x: -220px;
    --y: 290px;
    --rotation: 8deg;
    --delay: 250;
}

.slik {
    width: 80px;

    --x: -145px;
    --y: 170px;
    --rotation: 10deg;
    --delay: 320;
}

.garn1 {
    width: 78px;

    --x: -560px;
    --y: 325px;
    --rotation: -10deg;
    --delay: 390;
}

.faxe {
    width: 48px;

    --x: -120px;
    --y: 350px;
    --rotation: 6deg;
    --delay: 460;
}

.garn2 {
    width: 76px;

    --x: -590px;
    --y: 430px;
    --rotation: -34deg;
    --delay: 530;
}

.garn3 {
    width: 76px;

    --x: -670px;
    --y: 390px;
    --rotation: 45deg;
    --delay: 600;
}

.elastik {
    width: 55px;

    --x: -90px;
    --y: 250px;
    --rotation: -25deg;
    --delay: 670;
}

.hårklemme {
    width: 58px;

    --x: -210px;
    --y: 420px;
    --rotation: 18deg;
    --delay: 740;
}

.høretelefoner {
    width: 105px;

    --x: -430px;
    --y: 270px;
    --rotation: -30deg;
    --delay: 810;
}

.gilmore {
    width: 125px;

    --x: -310px;
    --y: 150px;
    --rotation: 5deg;
    --delay: 880;
}

.strikkepinde {
    width: 120px;

    --x: -350px;
    --y: 370px;
    --rotation: -30deg;
    --delay: 950;
}

.kage {
    width: 90px;

    --x: -565px;
    --y: 210px;
    --rotation: -12deg;
    --delay: 1020;
}



/* =========================================
   FÆLLES KNAPPER
   "OM MIG" + "SE HELE PROJEKTET"
========================================= */

.about-button,
.project-read-more {
    display: inline-block;

    padding: 12px 30px;

    border-radius: 999px;

    font-family: "La Belle Aurore", cursive;
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1;

    text-decoration: none;

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

.about-button {
    background-color: #C46E76;
    color: #FFCCD3;

    z-index: 6;
}

.about-button:hover,
.project-read-more:hover {
    transform: translateY(-4px);
}

.about-button:hover {
    background-color: #B85E68;
}


/* ---------- KNAP I PREVIEW ---------- */

.preview-button {
    position: absolute;
    right: 40px;
    bottom: -48px;
}


/* ---------- ORANGE OM MIG-KNAP ---------- */

.about-me {
    margin-top: 35px;

    background-color: #CF7B49;
    color: #FFDBC1;
}

.about-me:hover {
    background-color: #B9683D;
}



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

.about-section {
    width: 100%;
    min-height: 100vh;

    padding: 100px 8%;

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

    background-color: #CBDBA6;
}


/* ---------- INDHOLD ---------- */

.about-content {
    width: 100%;
    max-width: 1200px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 120px;
}


/* ---------- TEKST ---------- */

.about-text {
    flex: 1;

    max-width: 600px;
}

.about-text h2 {
    margin-bottom: 40px;

    font-family: "Erica One", sans-serif;
    font-size: clamp(3rem, 5vw, 5rem);

    color: #30434E;
}

.about-text p {
    margin-bottom: 40px;

    font-family: "Poppins", sans-serif;
    font-size: 1.4rem;
    line-height: 1.55;

    color: #111;
}



/* =========================================
   POLAROID
========================================= */

.about-polaroid {
    position: relative;

    flex: 1;

    width: 430px;
    max-width: 430px;

    padding: 55px 45px 35px;

    display: flex;
    flex-direction: column;
    align-items: center;

    background-color: #FFF6E4;

    overflow: visible;

    transform: scale(0.85);
    transform-origin: center;
}


/* ---------- BØLGEKANT ---------- */

.scallop {
    position: absolute;

    pointer-events: none;

    z-index: 0;
}


/* TOP + BUND */

.scallop-top,
.scallop-bottom {
    left: 0;

    width: 100%;
    height: 72px;

    background-image:
        radial-gradient(
            circle,
            #FFF6E4 35px,
            transparent 36px
        );

    background-size: 72px 72px;
    background-repeat: repeat-x;
    background-position: center;
}

.scallop-top {
    top: -36px;
}

.scallop-bottom {
    bottom: -36px;
}


/* VENSTRE + HØJRE */

.scallop-left,
.scallop-right {
    top: 36px;

    width: 80px;
    height: calc(100% - 72px);

    background-image:
        radial-gradient(
            circle,
            #FFF6E4 39px,
            transparent 40px
        );

    background-size: 80px 80px;
    background-repeat: repeat-y;
    background-position: center;
}

.scallop-left {
    left: -40px;
}

.scallop-right {
    right: -40px;
}


/* ---------- HJØRNER ---------- */

.corner {
    position: absolute;

    width: 72px;
    height: 72px;

    background-color: #FFF6E4;

    border-radius: 50%;

    pointer-events: none;

    z-index: 1;
}

.corner-tl {
    top: -36px;
    left: -36px;
}

.corner-tr {
    top: -36px;
    right: -36px;
}

.corner-bl {
    bottom: -36px;
    left: -36px;
}

.corner-br {
    bottom: -36px;
    right: -36px;
}


/* ---------- BILLEDE ---------- */

.about-polaroid img {
    position: relative;

    display: block;

    width: 100%;
    height: 400px;

    object-fit: cover;

    z-index: 2;
}


/* ---------- TEKST ---------- */

.polaroid-text {
    position: relative;

    margin-top: 15px;

    font-family: "La Belle Aurore", cursive;
    font-size: 4rem;

    color: #30434E;

    z-index: 2;
}



/* =========================================
   PROJEKTER
========================================= */

.projects-section {
    width: 100%;

    padding-top: 80px;

    background-color: #FFF6E4;

    overflow: visible;
}


/* ---------- OVERSKRIFT ---------- */

.projects-title {
    width: min(1100px, 88%);

    margin: 0 auto 110px;

    font-family: "Erica One", sans-serif;
    font-size: clamp(4rem, 6vw, 6rem);
    font-weight: 400;
    line-height: 1;

    color: #30434E;
}


/* ---------- PROJEKTSTAK ---------- */

.projects-stack {
    width: 100%;

    display: flex;
    flex-direction: column;
}


/* ---------- HVERT PROJEKT ---------- */

.project {
    position: relative;

    width: 100%;

    overflow: visible;
}


/* ---------- MAPPEBJÆLKE ---------- */

.project-tab {
    position: relative;

    width: 100%;
    height: 115px;

    cursor: pointer;
}


/* ---------- MAPPEFANE ---------- */

.project-tab h3 {
    position: absolute;
    top: -48px;

    min-width: 340px;
    height: 70px;

    margin: 0;
    padding: 0 45px;

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

    border-radius: 55px 55px 0 0;

    font-family: "La Belle Aurore", cursive;
    font-size: 3rem;
    font-weight: 400;
    line-height: 1;

    transition: top 0.25s ease;

    z-index: 3;
}

.project-tab:hover h3 {
    top: -56px;
}



/* =========================================
   PROJEKTFARVER
========================================= */

/* ---------- ROBLOX ---------- */

/* ---------- ROBLOX ---------- */

.project-roblox {
    background-color: #FECDA8;
}

.project-roblox .project-tab h3 {
    right: 10%;

    background-color: #FECDA8;
    color: #C16937;
}

.project-roblox .project-paper {
    right: -2%;
    bottom: -8%;
}


/* ---------- ADVENTURE ---------- */

.project-adventure {
    background-color: #FFCCD3;
}

.project-adventure .project-tab h3 {
    left: 34%;

    background-color: #FFCCD3;
    color: #C46E76;
}


/* ---------- OVARTACI ---------- */

.project-ovartaci {
    background-color: #ADB98C;
}

.project-ovartaci .project-tab h3 {
    left: 5%;

    background-color: #ADB98C;
    color: #566138;
}

.project-ovartaci .project-paper {
    width: 200px;

    right: -4%;
    bottom: -12%;
}




/* ---------- LUMINA ---------- */

.project-lumina {
    background-color: #FFF6E4;
}

.project-lumina .project-tab h3 {
    left: 38%;

    background-color: #FFF6E4;
    color: #B58A5A;
}


/* ---------- POSTERS ---------- */

.project-posters {
    background-color: #A9B8C8;
}

.project-posters .project-tab h3 {
    right: 10%;

    background-color: #A9B8C8;
    color: #30434E;
}



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

/* ---------- LUKKET ---------- */

.project-preview {
    width: 100%;
    max-height: 0;

    opacity: 0;

    overflow: hidden;

    transition:
        max-height 0.55s ease,
        opacity 0.35s ease;
}


/* ---------- ÅBEN ---------- */

.project.open .project-preview {
    max-height: 500px;

    opacity: 1;
}


/* ---------- INDHOLD ---------- */

.project-preview-content {
    width: min(1050px, 88%);

    margin: 0 auto;
    padding: 40px 0 55px;

    display: flex;
    align-items: center;
    gap: 55px;
}


/* ---------- COLLAGE ---------- */

.project-visual {
    position: relative;
    left: -80px;
    top: -73px;

    width: 55%;
    height: 380px;

    flex-shrink: 0;

    transform: scale(1.12);
}


/* COMPUTER */

.project-computer {
    position: absolute;
    left: 50%;
    top: 50%;

    width: 480px;
    height: auto;

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

    z-index: 1;
}


/* FRIMÆRKE */

.project-stamp {
    position: absolute;
    left: 1.5%;
    top: 12.5%;

    width: 120px;
    height: auto;

    transform: rotate(12deg);

    z-index: 3;
}


/* PAPIR */

.project-paper {
    position: absolute;
    right: -2%;
    bottom: -20%;

    width: 180px;
    height: auto;

    transform: rotate(-4deg);

    z-index: 4;
}


/* ---------- PROJEKTTEKST ---------- */

.project-preview-text {
    position: relative;
    top: -70px;
    left: 90px;

    width: 38%;
    max-width: 430px;

    flex-shrink: 0;

    color: #30434E;
}

.project-type {
    margin: 0 0 12px;

    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    font-weight: 600;
}

.project-preview-text h4 {
    margin: 0 0 20px;

    font-family: "Erica One", sans-serif;
    font-size: clamp(2.2rem, 3vw, 3.3rem);
    font-weight: 400;
    line-height: 1;
}

.project-description {
    max-width: 390px;

    margin: 0 0 32px;

    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    line-height: 1.7;

    color: #30434E;
}



/* =========================================
   PROJEKT PREVIEW - FARVER
========================================= */

/* ---------- ROBLOX ---------- */

.project-roblox .project-type,
.project-roblox .project-preview-text h4 {
    color: #C16937;
}

.project-roblox .project-read-more {
    background-color: #C16937;
    color: #FFF6E4;
}

.project-roblox .project-read-more:hover {
    background-color: #A9562E;
}


/* ---------- ADVENTURE ---------- */

.project-adventure .project-type,
.project-adventure .project-preview-text h4 {
    color: #C46E76;
}

.project-adventure .project-read-more {
    background-color: #C46E76;
    color: #FFF6E4;
}

.project-adventure .project-read-more:hover {
    background-color: #B85E68;
}


/* ---------- OVARTACI ---------- */

.project-ovartaci .project-type,
.project-ovartaci .project-preview-text h4 {
    color: #566138;
}

.project-ovartaci .project-read-more {
    background-color: #566138;
    color: #FFF6E4;
}

.project-ovartaci .project-read-more:hover {
    background-color: #46502F;
}


/* ---------- LUMINA ---------- */

.project-lumina .project-type,
.project-lumina .project-preview-text h4 {
    color: #B58A5A;
}

.project-lumina .project-read-more {
    background-color: #B58A5A;
    color: #FFF6E4;
}

.project-lumina .project-read-more:hover {
    background-color: #9D764D;
}


/* ---------- POSTERS ---------- */

.project-posters .project-type,
.project-posters .project-preview-text h4 {
    color: #30434E;
}

.project-posters .project-read-more {
    background-color: #30434E;
    color: #FFF6E4;
}

.project-posters .project-read-more:hover {
    background-color: #25363F;
}



/* =========================================
   SKILLS
========================================= */

.skills-section {
    position: relative;

    width: 100%;
    min-height: 100vh;

    background-color: #A9B8C8;

    overflow: hidden;
}


/* ---------- OVERSKRIFT ---------- */

.skills-title {
    position: absolute;
    top: 70px;
    left: 6%;

    margin: 0;

    font-family: "Erica One", sans-serif;
    font-size: clamp(5rem, 8vw, 8rem);
    font-weight: 400;
    line-height: 0.72;

    color: #30434E;
}


/* ---------- SKILL-GRUPPER ---------- */

.skills-group {
    position: absolute;

    width: 50%;
}

.creative-skills {
    top: 125px;
    right: 5%;
}

.frontend-skills {
    top: 430px;
    right: 5%;
}


/* ---------- GRUPPEOVERSKRIFTER ---------- */

.skills-group h3 {
    font-family: "La Belle Aurore", cursive;
    font-size: clamp(2.7rem, 4vw, 4rem);
    font-weight: 400;

    color: #30434E;

    text-align: center;
}


/* ---------- IKONER ---------- */

.skills-icons {
    position: relative;

    height: 95px;

    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 18px;

    z-index: 3;
}

.skill-icon {
    width: 72px;
    height: 72px;

    object-fit: contain;

    opacity: 0;

    /*
       --start-x og --start-y bliver sat
       af JavaScript ud fra kassens placering.
    */

    transform:
        translate(
            var(--start-x, -600px),
            var(--start-y, 350px)
        )
        rotate(-15deg)
        scale(0.4);

    transform-origin: center;

    transition:
        transform 1.15s cubic-bezier(.2, .8, .2, 1),
        opacity 0.3s ease;

    /*
       Hvert ikon får sit eget delay
       gennem JavaScript.
    */

    transition-delay: var(--delay);

    will-change: transform, opacity;
}


/* ---------- IKONER PAKKET UD ---------- */

.skills-section.unpacked .skill-icon {
    opacity: 1;

    /*
       translate(0, 0) sender ikonet tilbage
       til dets normale plads i flexboxen.
    */

    transform:
        translate(0, 0)
        rotate(0deg)
        scale(1);
}


/* ---------- HYLDER ---------- */

.skills-shelf {
    position: relative;

    display: block;

    width: 100%;
    height: auto;

    margin-top: -5px;

    pointer-events: none;

    z-index: 2;
}


/* ---------- FLYTTEKASSE ---------- */

.skills-box {
    position: absolute;
    left: 5%;
    bottom: 60px;

    width: 350px;

    padding: 0;

    background: none;
    border: none;

    cursor: pointer;

    transition: transform 0.25s ease;

    z-index: 5;
}

.box-image {
    display: block;

    width: 90%;
    height: auto;

    margin: 0 auto;

    transition: width 0.3s ease;
}

.skills-box:hover {
    transform:
        translateY(-8px)
        rotate(-2deg);
}


/* ---------- KASSEN ER ÅBEN ---------- */

.skills-section.unpacked .box-image {
    width: 100%;
}

.skills-section.unpacked .skills-box {
    transform:
        translateY(10px)
        rotate(3deg);
}



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

.contact-footer {
    position: relative;

    width: 100%;
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    background-color: #FFF6E4;

    overflow: hidden;
}


/* ---------- INDHOLD ---------- */

.footer-content {
    width: min(1450px, 86%);

    margin: 0 auto;
    padding: 90px 0 180px;

    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 150px;
}


/* ---------- VENSTRE SIDE ---------- */

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-left h2 {
    margin: 0 0 25px;

    font-family: "Erica One", sans-serif;
    font-size: clamp(4rem, 5.2vw, 6.8rem);
    font-weight: 400;
    line-height: 0.95;

    color: #B94F61;
}

.footer-left p {
    max-width: 620px;

    margin: 0 0 45px;

    font-family: "Poppins", sans-serif;
    font-size: 1.25rem;
    line-height: 1.8;

    color: #30434E;
}


/* ---------- KONTAKTKNAP ---------- */

.footer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 5px 35px;

    border-radius: 60px;

    background-color: #B94F61;
    color: #FFCCD3;

    font-family: "La Belle Aurore", cursive;
    font-size: 1.8rem;

    text-decoration: none;

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

.footer-button:hover {
    background-color: #A94254;

    transform: translateY(-4px);
}


/* ---------- HØJRE SIDE ---------- */

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 35px;

    padding-top: 80px;
}

.footer-contact-item {
    display: grid;
    grid-template-columns: 85px 1fr;
    align-items: center;
    gap: 35px;
}


/* ---------- KONTAKTIKONER ---------- */

.footer-icon {
    width: 75px;
    height: 75px;

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

    border-radius: 50%;

    background-color: #CBDBA6;
    color: #566138;
}

.footer-icon svg {
    width: 38px;
    height: 38px;

    fill: none;

    stroke: #566138;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ML */

.footer-logo {
    font-family: "La Belle Aurore", cursive;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;

    letter-spacing: -3px;
}


/* LINKEDIN */

.linkedin-icon {
    font-family: Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;

    letter-spacing: -3px;
}


/* ---------- KONTAKTTEKST ---------- */

.footer-contact-text {
    display: flex;
    flex-direction: column;

    font-family: "La Belle Aurore", cursive;

    color: #30434E;
}

.footer-contact-text span,
.footer-contact-text a {
    font-size: 1.6rem;
    line-height: 1.35;

    color: #30434E;

    text-decoration: none;
}

.footer-contact-text a {
    transition: opacity 0.25s ease;
}

.footer-contact-text a:hover {
    opacity: 0.6;
}



/* =========================================
   FOOTER - ORANGE BUND
========================================= */

.footer-bottom {
    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 70px;

    padding: 0 6% 35px;

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

    background-color: #FFC99F;
}


/* ---------- BØLGEKANT ---------- */

.footer-bottom::before {
    content: "";

    position: absolute;
    left: 0;
    top: -55px;

    width: 100%;
    height: 60px;

    background:
        radial-gradient(
            circle at 60px 60px,
            #FFC99F 60px,
            transparent 61px
        );

    background-size: 120px 60px;
    background-repeat: repeat-x;
}


/* ---------- TILBAGE TIL TOPPEN ---------- */

.back-to-top {
    position: relative;
    top: 50%;

    padding: 0;

    background: none;
    border: none;

    font-family: "La Belle Aurore", cursive;
    font-size: 1.6rem;

    color: #566138;

    cursor: pointer;

    transition: transform 0.3s ease;

    z-index: 2;
}

.back-to-top:hover {
    transform: translateY(-5px);
}



/* =========================================
   RESPONSIVE - MINDRE COMPUTER
   MAX 1200PX
========================================= */

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

    .hero-image {
        left: 1%;

        height: 76%;
    }

    .hero-text {
        left: 35%;
        top: 51%;
    }

    .portfolio {
        margin-left: 190px;
    }

    .hero-text h2 {
        margin-left: -60px;
    }

}



/* =========================================
   RESPONSIVE - TABLET
   MAX 1000PX
========================================= */

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

    .contact-footer {
        min-height: auto;
    }

    .footer-content {
        width: 85%;

        padding: 80px 0 230px;

        grid-template-columns: 1fr;
        gap: 80px;
    }

    .footer-right {
        padding-top: 0;
    }

}



/* =========================================
   RESPONSIVE - TABLET
   MAX 900PX
========================================= */

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

    /* ---------- NAVIGATION ---------- */

    .navbar {
        top: 20px;

        width: calc(100% - 40px);
        height: 90px;
        padding: 0 35px;
    }

    .nav-logo img {
        width: 55px;
        height: 55px;
    }

    .nav-links {
        gap: 35px;
    }


    /* ---------- OM MIG PREVIEW ---------- */

    .preview-scene {
        width: 100%;
        height: 720px;
    }

    .person {
        left: 66%;

        width: 500px;
    }

    .item {
        left: 47%;
        top: 31%;
    }


    /* ---------- PROJEKTER ---------- */

    .projects-section {
        padding-top: 60px;
    }

    .projects-title {
        margin-bottom: 50px;
    }

    .project-tab {
        height: 95px;
    }

    .project-preview-content {
        gap: 35px;
    }

    .project-preview-content img {
        width: 50%;
        height: 220px;
    }

    .project-adventure .project-tab h3 {
        margin-left: 20%;
    }

    .project-lumina .project-tab h3 {
        margin-left: 35%;
    }


    /* ---------- SKILLS ---------- */

    .skills-title {
        font-size: 5rem;
    }

    .skills-group {
        width: 55%;

        right: 3%;
    }

    .skill-icon {
        width: 55px;
        height: 55px;
    }

    .skills-box {
        width: 280px;
    }

}



/* =========================================
   RESPONSIVE - MOBIL
   MAX 650PX
========================================= */

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

    /* ---------- NAVIGATION ---------- */

    .navbar {
        top: 12px;

        width: calc(100% - 24px);
        height: 72px;
        padding: 0 20px;
    }

    .nav-logo img {
        width: 45px;
        height: 45px;
    }

    .nav-links {
        gap: 18px;
    }

    .nav-links > a,
    .dropdown-button {
        font-family: Arial, sans-serif;
        font-size: 0.85rem;
    }

    .arrow {
        border-left-width: 5px;
        border-right-width: 5px;
        border-top-width: 6px;
    }


    /* ---------- HERO ---------- */

    .hero {
        height: 100svh;
        min-height: 650px;
    }

    .hero-image {
        left: 50%;
        bottom: 0;

        height: 66%;

        transform: translateX(-50%);
    }

    .hero-text {
        left: 0;
        top: 11%;

        width: 100%;

        padding: 0 16px;

        text-align: center;

        transform: none;

        z-index: 3;
    }

    .portfolio {
        margin-left: 100px;
        margin-bottom: 5px;

        font-size: 3rem;
    }

    .hero-text h1,
    .hero-text h2 {
        margin-left: 0;

        font-size: clamp(4rem, 19vw, 6.5rem);
        line-height: 0.82;
    }


    /* ---------- OM MIG PREVIEW ---------- */

    .about-preview {
        padding-top: 60px;
    }

    .about-preview h2 {
        margin-top: 20px;
        margin-left: 25px;

        font-size: 3.4rem;
    }

    .preview-scene {
        left: 0;

        width: 100%;
        height: 650px;

        margin-bottom: -150px;

        transform:
            translateY(-40px)
            scale(0.75);

        transform-origin: top center;
    }

    .person {
        left: 66%;

        width: 460px;
    }

    .preview-button {
        right: 4%;
        bottom: 3%;
    }


    /* ---------- PROJEKTER ---------- */

    .projects-section {
        padding-top: 50px;
    }

    .projects-title {
        width: 90%;

        margin-bottom: 40px;

        font-size: 3.6rem;
    }

    .project-tab {
        height: 85px;
    }

    .project-tab h3 {
        min-width: 240px;
        height: 65px;

        padding: 0 25px;

        font-size: 2.5rem;
    }

    .project-roblox .project-tab h3,
    .project-adventure .project-tab h3,
    .project-ovartaci .project-tab h3,
    .project-lumina .project-tab h3,
    .project-posters .project-tab h3 {
        left: 25px;
        right: auto;

        margin-left: 25px;
        margin-right: 0;
    }

    .project-preview-content {
        width: 88%;

        padding: 25px 0 40px;

        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .project-preview-content img {
        width: 100%;
        height: 210px;
    }

    .project.open .project-preview {
        max-height: 700px;
    }


    /* ---------- SKILLS ---------- */

    .skills-section {
        min-height: 1100px;
    }

    .skills-title {
        position: relative;
        top: auto;
        left: auto;

        padding: 60px 6% 0;

        font-size: 4.5rem;
    }

    .skills-group {
        width: 88%;

        right: 6%;
    }

    .creative-skills {
        top: 300px;
    }

    .frontend-skills {
        top: 600px;
    }

    .skill-icon {
        width: 45px;
        height: 45px;
    }

    .skills-icons {
        gap: 10px;
    }

    .skills-box {
        left: 50%;
        bottom: 40px;

        width: 250px;

        transform: translateX(-50%);
    }


    /* ---------- FOOTER ---------- */

    .footer-content {
        width: 88%;

        padding-top: 70px;
        padding-bottom: 220px;

        gap: 65px;
    }

    .footer-left h2 {
        font-size: 3.6rem;
    }

    .footer-left p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .footer-button {
        padding: 12px 28px;

        font-size: 1.5rem;
    }

    .footer-contact-item {
        grid-template-columns: 65px 1fr;

        gap: 20px;
    }

    .footer-icon {
        width: 60px;
        height: 60px;
    }

    .footer-icon svg {
        width: 30px;
        height: 30px;
    }

    .footer-contact-text span,
    .footer-contact-text a {
        font-size: 1.3rem;
    }

    .footer-bottom {
        height: 130px;

        padding: 0 7% 28px;
    }

    .footer-bottom::before {
        top: -40px;

        height: 45px;

        background:
            radial-gradient(
                circle at 45px 45px,
                #FFC99F 45px,
                transparent 46px
            );

        background-size: 90px 45px;
    }

    .back-to-top {
        font-size: 1.35rem;
    }

}



/* =========================================
   REDUCERET BEVÆGELSE
========================================= */

@media (prefers-reduced-motion: reduce) {

    .item {
        opacity: 1;

        transform:
            translate(-50%, -50%)
            translate(var(--x), var(--y))
            rotate(var(--rotation))
            scale(1);
    }

}