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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    color: #30434E;
    background-color: #FFF6E4;
    overflow-x: hidden;
}

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



/* =========================================
   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 {
    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;
}

.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 {
    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
========================================= */

.about-hero {
    position: relative;

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

    padding: 150px 8% 80px;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;

    background-color: #FFF6E4;

    overflow: hidden;
}


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

.hero-left {
    position: relative;
    z-index: 2;
}

.hero-script {
    margin-bottom: -10px;

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

    color: #C46E76;

    transform: rotate(-4deg);
}

.hero-left h1 {
    font-family: "Erica One", sans-serif;
    font-size: clamp(5rem, 8vw, 9rem);
    font-weight: 400;
    line-height: 0.75;

    color: #30434E;
}

.hero-left h1 span {
    display: block;

    margin-left: 80px;

    color: #A9B8C8;
}

.hero-intro {
    max-width: 530px;

    margin-top: 45px;

    font-size: 1rem;
    line-height: 1.8;
}


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

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* ---------- POLAROID ---------- */

.hero-photo {
    position: relative;

    width: min(430px, 85%);

    padding: 18px 18px 70px;

    background-color: #A9B8C8;
    box-shadow: 0 15px 35px rgba(48, 67, 78, 0.15);

    transform: rotate(5deg);
}

.hero-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;

    object-fit: cover;
}

.photo-note {
    position: absolute;
    bottom: 12px;
    left: 50%;

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

    white-space: nowrap;

    transform: translateX(-50%) rotate(-4deg);
}


/* ---------- SMÅ ORD ---------- */

.floating-word {
    position: absolute;

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

    color: #C46E76;
    opacity: 0.8;
}

.word-1 {
    top: 25%;
    right: 4%;

    font-size: 2rem;

    transform: rotate(12deg);
}

.word-2 {
    bottom: 14%;
    left: 4%;

    font-size: 1.8rem;

    transform: rotate(-8deg);
}

.word-3 {
    top: 20%;
    left: 47%;

    font-size: 1.4rem;

    transform: rotate(6deg);
}

.word-4 {
    bottom: 7%;
    right: 14%;

    font-size: 1.6rem;

    transform: rotate(-5deg);
}



/* =========================================
   FÆLLES HÅNDSKREVET TEKST
========================================= */

.section-script {
    margin-bottom: 5px;

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

    color: #C46E76;
}



/* =========================================
   DET HER ER MIG
========================================= */

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

    padding: 130px 8%;

    display: flex;
    align-items: center;

    background-color: #CBDBA6;
}

.me-wrapper {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 110px;
}


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

.me-text h2 {
    margin-bottom: 45px;

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

    color: #30434E;
}

.me-text h2 span {
    display: block;

    margin-left: 65px;

    color: #C46E76;
}

.me-text p:not(.section-script) {
    max-width: 560px;

    margin-bottom: 25px;

    line-height: 1.4;
}


/* ---------- POLAROIDS ---------- */

.me-polaroids {
    position: relative;
    min-height: 600px;
}

.polaroid {
    position: absolute;

    width: 330px;

    padding: 14px 14px 60px;

    background-color: #FFF6E4;
    box-shadow: 0 18px 35px rgba(48, 67, 78, 0.18);
}

.polaroid img {
    width: 100%;
    height: 390px;

    object-fit: cover;
}

.polaroid p {
    margin-top: 15px;

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

    text-align: center;
}

.polaroid-one {
    top: 30px;
    left: 25px;

    transform: rotate(-7deg);
}

.polaroid-two {
    top: 150px;
    right: 0;

    transform: rotate(8deg);
}



/* =========================================
   MINE STYRKER & KOMPETENCER
========================================= */

.mind-section {
    width: 100%;
    padding: 130px 7% 170px;

    background-color: #FFF6E4;
}


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

.mind-heading {
    max-width: 1100px;
    margin: 0 auto 90px;
}

.mind-heading h2 {
    font-family: "Erica One", sans-serif;
    font-size: clamp(4.5rem, 7vw, 8rem);
    font-weight: 400;
    line-height: 0.8;

    color: #30434E;
}

.mind-heading h2 span {
    display: block;

    margin-left: 130px;

    color: #C46E76;
}


/* =========================================
   KORT
========================================= */

.mind-cards {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

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

    gap: 35px;
}


/* ---------- FÆLLES KORT ---------- */

.mind-card {
    position: relative;

    width: 33.333%;
    min-height: 520px;

    padding: 45px 35px;

    border-radius: 5px;

    box-shadow: 0 15px 30px rgba(48, 67, 78, 0.12);
}


/* ---------- FARVER / PLACERING ---------- */

.card-pink {
    background-color: #FFCCD3;

    transform: rotate(-3deg);
}

.card-blue {
    background-color: #A9B8C8;

    transform: translateY(50px) rotate(2deg);
}

.card-orange {
    background-color: #CF7B49;

    color: #FFF6E4;

    transform: rotate(3deg);
}


/* ---------- NUMMER ---------- */

.card-number {
    display: block;

    margin-bottom: 35px;

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


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

.mind-card h3 {
    min-height: 95px;

    margin-bottom: 25px;

    font-family: "Erica One", sans-serif;
    font-size: clamp(1.6rem, 2.1vw, 2.2rem);
    font-weight: 400;
    line-height: 1.05;
}


/* =========================================
   SKILL LISTE
========================================= */

.skill-list {
    margin: 0;
    padding: 0;

    list-style: none;
}

.skill-list li {
    position: relative;

    padding: 13px 0 13px 20px;

    font-size: 0.95rem;
    line-height: 1.4;

    border-bottom: 1px solid rgba(48, 67, 78, 0.22);
}


/* LILLE PRIK */

.skill-list li::before {
    content: "•";

    position: absolute;

    top: 12px;
    left: 0;

    font-size: 1.1rem;
}


/* ORANGE KORT */

.card-orange .skill-list li {
    border-bottom-color: rgba(255, 246, 228, 0.35);
}


/* FJERN LINJE PÅ SIDSTE */

.skill-list li:last-child {
    border-bottom: none;
}




/* =========================================
   NÅR JEG IKKE SIDDER I FIGMA
========================================= */

.outside-design {
    width: 100%;
    min-height: 1100px;

    padding: 130px 7%;

    background-color: #A9B8C8;
}

.outside-title {
    max-width: 1150px;

    margin: 0 auto;
}

.outside-title h2 {
    font-family: "Erica One", sans-serif;
    font-size: clamp(4.5rem, 7vw, 8rem);
    font-weight: 400;
    line-height: 0.8;

    color: #30434E;
}

.outside-title h2 span {
    display: block;

    margin-left: 100px;

    color: #FFF6E4;
}


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

.collage {
    position: relative;

    width: min(1100px, 100%);
    height: 720px;

    margin: 80px auto 0;
}

.collage-item {
    position: absolute;

    padding: 10px;

    background-color: #FFF6E4;
    box-shadow: 0 15px 25px rgba(48, 67, 78, 0.18);
}

.collage-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.collage-item span {
    position: absolute;

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

    white-space: nowrap;
}


/* STORT BILLEDE */

.collage-large {
    width: 410px;
    height: 530px;

    top: 80px;
    left: 50%;

    transform: translateX(-50%) rotate(-4deg);
}


/* SMÅ BILLEDER */

.collage-small {
    width: 220px;
    height: 270px;
}

.collage-one {
    top: 10px;
    left: 2%;

    transform: rotate(-9deg);
}

.collage-one span {
    left: -10px;
    bottom: -50px;
}

.collage-two {
    top: 0;
    right: 2%;

    transform: rotate(8deg);
}

.collage-two span {
    right: -20px;
    bottom: -50px;
}

.collage-three {
    left: 8%;
    bottom: 0;

    transform: rotate(6deg);
}

.collage-three span {
    left: 10px;
    bottom: -45px;
}

.collage-four {
    right: 8%;
    bottom: 0;

    transform: rotate(-6deg);
}

.collage-four span {
    right: 0;
    bottom: -45px;
}



/* =========================================
   MARIE I TAL
========================================= */

.numbers-section {
    width: 100%;

    padding: 140px 8%;

    background-color: #FFCCD3;

    text-align: center;
}

.numbers-section h2 {
    margin-bottom: 80px;

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

    color: #30434E;
}

.numbers-grid {
    max-width: 1100px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.number-box {
    padding: 35px 15px;
}

.big-number {
    display: block;

    font-family: "Erica One", sans-serif;
    font-size: clamp(4rem, 6vw, 6.5rem);

    color: #C46E76;
}

.number-box p {
    margin-top: 10px;

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



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

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

    padding: 140px 20px;

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

    background-color: #30434E;
    color: #FFF6E4;

    text-align: center;
}

.contact-script {
    font-family: "La Belle Aurore", cursive;
    font-size: 2rem;

    color: #FFCCD3;
}

.about-contact h2 {
    margin: 10px 0 35px;

    font-family: "Erica One", sans-serif;
    font-size: clamp(4rem, 7vw, 8rem);
    font-weight: 400;
    line-height: 0.8;
}

.about-contact h2 span {
    display: block;

    color: #FFCCD3;
}

.about-contact > p:not(.contact-script) {
    max-width: 550px;

    line-height: 1.8;
}


/* ---------- KNAP ---------- */

.contact-button {
    display: inline-block;

    margin-top: 45px;
    padding: 17px 36px;

    background-color: #CF7B49;
    border-radius: 40px;

    color: #FFF6E4;

    text-decoration: none;
    font-weight: 500;

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

.contact-button:hover {
    background-color: #B9683D;

    transform: translateY(-5px);
}



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

.reveal {
    opacity: 0;

    transform: translateY(70px);

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

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}



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

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

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

    .navbar {
        width: 90%;
        padding: 0 20px;
    }

    .nav-links {
        gap: 15px;
    }


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

    .about-hero {
        grid-template-columns: 1fr;

        padding-top: 150px;

        text-align: center;
    }

    .hero-left h1 {
        font-size: clamp(4.5rem, 15vw, 7rem);
    }

    .hero-left h1 span {
        margin-left: 0;
    }

    .hero-intro {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-right {
        margin-top: 70px;
    }

    .floating-word {
        display: none;
    }


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

    .me-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .me-polaroids {
        min-height: 700px;
    }


    /* ---------- MIND CARDS ---------- */

    .mind-cards {
        flex-direction: column;
    }

    .mind-card {
        width: 100%;

        transform: none;
    }


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

    .collage {
        height: auto;

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

    .collage-item {
        position: relative;

        inset: auto;

        width: 100%;
        height: 300px;

        transform: none;
    }

    .collage-large {
        grid-column: 1 / -1;

        height: 500px;
    }


    /* ---------- TAL ---------- */

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

}



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

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

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

    .navbar {
        height: 60px;
    }

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

    .nav-links {
        gap: 10px;
    }

    .nav-links > a,
    .dropdown-button {
        font-size: 0.75rem;
    }


    /* ---------- SEKTIONER ---------- */

    .me-section,
    .mind-section,
    .outside-design,
    .numbers-section {
        padding-left: 25px;
        padding-right: 25px;
    }


    /* ---------- OVERSKRIFTER ---------- */

    .me-text h2 span,
    .mind-heading h2 span,
    .outside-title h2 span {
        margin-left: 0;
    }


    /* ---------- POLAROIDS ---------- */

    .me-polaroids {
        min-height: 850px;
    }

    .polaroid {
        width: 75%;
    }

    .polaroid-one {
        left: 0;
    }

    .polaroid-two {
        top: 390px;
        right: 0;
    }


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

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

    .collage-large {
        grid-column: auto;
    }


    /* ---------- TAL ---------- */

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

}


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

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

    .mind-cards {
        flex-direction: column;
        gap: 35px;
    }

    .mind-card {
        width: 100%;
        min-height: auto;

        transform: none;
    }

}


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

    .mind-section {
        padding: 100px 25px;
    }

    .mind-heading h2 span {
        margin-left: 0;
    }

    .mind-card {
        padding: 35px 28px;
    }

    .mind-card h3 {
        min-height: auto;

        font-size: 1.8rem;
    }

}
