:root{
    --dark: #583B39;
    --darktext: #1D0D0C;
    --medium: #FBC4A7;
    --light: #F0DFC5;
    --body: #BA8469
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    overflow-x: hidden;
    background-color: #BA8469;
    font-family: "Lucida Sans";
}


nav {

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navlink{
    list-style: none;
    display: none;

}
.navlink a {
    color: var(--darktext);
    text-decoration: none;
    display: inline-block;
}

.burgertoggle {
    display: none;

    font-size: clamp(1.5rem, 4vw, 2rem);

    color: var(--dark);

    cursor: pointer;
}

h3{
    font-size: 7vw;
    font-weight: bolder;
}


@media (max-width: 600px) {
    header {
        position: relative;
        z-index: 1000;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        background-color: var(--light);
        padding: 3vw;
    }

    header nav {
        position: static;
    }

    .navlink {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 1rem;

        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 1.5rem 1rem;

        background-color: var(--light);
        list-style: none;
    }

    .navlink.active {
        display: flex;
        z-index: 1000;
        font-size: 6vw;
        font-weight: bold;
    }

    .navlink a {
        color: var(--dark);
        text-decoration: none;
    }

    .burgertoggle {
        display: block;
        position: relative;
        z-index: 9999;
        font-size: 10vw;
        font-weight: bolder;
        color: var(--darktext);
        cursor: pointer;
        margin-left: auto;
    }


    .hero {
        background-color: #F0DFC5;
        margin-top: 1rem;
        padding: 1.2rem;
        font-family: "Lucida Sans";
        text-align: center;
    }
    .hero h1 {
        font-size: 4.5vw;
        margin: 0 1rem 1rem 1rem;
    }
    .hero p {
        margin: 1rem 0 0 0;
        font-size: 3.5vw;
    }

    .job_title {
        background-color: #F0DFC5;
        margin-top: 1rem;
        padding: 1rem 2rem;
        font-family: "Lucida Sans";
        text-align: center;
    }
    .job_title h2 {
        font-size: 4vw;
    }
    .job_title p {
        margin: 0.2rem;
        font-size: 3.9vw;
        font-style: italic;
    }


    /* JOB 1 */
    .left-side {
        position: relative;

        top: 0;
        left: 0;

        width: 55%;
        height: 100%;
    }
    .circle {
        position: absolute;

        width: 80vw;
        aspect-ratio: 1;

        top: 100px;
        left: -30vw;

        background: #543d3d;
        border-radius: 50%;
    }
    .left_container{
        display: flex;
        justify-content: end;
        margin-right: 2rem;
    }
    .tekst {
        position: relative;

        top: 101px;
        width: 35%;
    }
    .tekst h3 {
        text-align: center;
        font-size: 6vw;
        margin-bottom: 1rem;
    }
    .tekst p {
        font-size: 4.5vw;
    }


    /* JOB 2 */
    .right-side {
        position: relative;

        top: 0;
        right: 0;

        width: 55%;
        height: 100%;
    }
    .circle_2 {
        position: absolute;

        width: 80vw;
        aspect-ratio: 1;
        margin-top: 2rem;

        top: 100px;
        right: -70vw;

        background: #543d3d;
        border-radius: 50%;
    }
    .right_container{
        display: flex;
        justify-content: start;
        margin-left: 2rem;
    }
    .tekst_2 {
        position: relative;
        width: 35%;
        top: 100px;
    }
    .tekst_2 h3 {
        text-align: center;
        font-size: 6vw;
        margin-bottom: 1rem;
    }
    .tekst_2 p {
        font-size: 4.5vw;
    }

/*job 3*/
    .left-side {
        position: relative;

        top: 0;
        left: 0;

        width: 55%;
        height: 100%;
    }
    .circle_3 {
        position: absolute;

        width: 80vw;
        aspect-ratio: 1;

        top: 146px;
        left: -30vw;

        background: #543d3d;
        border-radius: 50%;
    }
    .left_container{
        display: flex;
        justify-content: end;
        margin-right: 2rem;
    }
    .tekst_3 {
        position: relative;
        top: 101px;
        width: 35%;
    }
    .tekst_3 h3 {
        text-align: center;
        font-size: 6vw;
        margin-bottom: 1rem;
    }
    .tekst_3 p {
        font-size: 4.5vw;
    }

    .examples_title{
        background-color: #F0DFC5;
        margin-top: 8rem;
        padding: 1rem 2rem;
        font-family: "Lucida Sans";
        text-align: center;
    }
    .examples_title h2 {
        font-size: 4vw;
    }
    .examples_title p {
        margin: 0.2rem;
        font-size: 3.9vw;
        font-style: italic;
    }
    .examples {
        position: relative;
        min-height: 500px;
    }
    .examples_title {
        position: relative;
        z-index: 2;
    }

    .more_title{
        background-color: var(--light);
        padding: 1rem 2rem;
        font-family: "Lucida Sans";
        text-align: center;
    }
    .more_title h2 {
        font-size: 4vw;
    }
    .more_title p {
        margin: 0.2rem;
        font-size: 3.9vw;
        font-style: italic;
    }

    /*links til mere*/

    .left-side_link {
    position: relative;

    width: 55%;
    height: 100%;
    }
    /*
        Hele cirklen + teksten
        er ét
    */
    .circle_wrapper {
        position: absolute;

        width: 80vw;
        aspect-ratio: 1;

        top: 34px;
        left: -30vw;

        display: block;

        text-decoration: none;

        border-radius: 50%;
    }
    /*
        Selve cirklen
    */
    .circle_link {
        position: absolute;

        inset: 0;

        background: #543d3d;

        border-radius: 50%;
    }
    /*
        Teksten
    */
    .circle_text {
        position: absolute;
        inset: 0;

        display: flex;
        flex-direction: column;
        justify-content: center;

        color: #F0DFC5;
        font-family: "Lucida Sans";
        z-index: 2;
        left: 42%;
    }
    .circle_text h3 {
        margin: 0 0 10px;
        text-align: start;
        font-size: clamp(10px, 6vw, 89px);
    }
    .circle_text p {
        margin-top: 0.5rem;
        text-align: start;
        font-size: clamp(7px, 3vw, 35px);
        left: 2rem;
    }
    .circle_wrapper:hover .circle_link {
        transform: scale(1.03);
    }
    .circle_link {
        transition: transform 0.4s ease;
    }

/*cirkel 2 ug*/
    .right-side_link {
        position: relative;

        width: 55%;
        height: 100%;
    }
    /*
        Hele cirklen + teksten
        er ét
    */
    .circle_wrapper2 {
        position: absolute;

        width: 80vw;
        aspect-ratio: 1;

        top: 300px;
        left: 49vw;

        display: block;

        text-decoration: none;

        border-radius: 50%;
    }
    /*
        Selve cirklen
    */
    .circle_link2 {
        position: absolute;

        inset: 0;

        background: #543d3d;

        border-radius: 50%;
    }
    /*
        Teksten
    */
    .circle_text2 {
        position: absolute;
        inset: 0;

        display: flex;
        flex-direction: column;
        justify-content: center;

        color: #F0DFC5;
        font-family: "Lucida Sans";
        z-index: 2;
        right: 41%;
    }
    .circle_text2 h3 {
        margin: 0 0 10px;
        text-align: end;
        font-size: clamp(10px, 6vw, 89px);
    }
    .circle_text2 p {
        margin: 0;
        text-align: end;
        font-size: clamp(7px, 3vw, 35px);
        left: 2rem;

    }
    .circle_wrapper2:hover .circle_link2 {
        transform: scale(1.03);
    }
    .circle_link2 {
        transition: transform 0.4s ease;
    }

    /*cirkel 3 sea*/
    .left-side_link {
        position: relative;

        width: 55%;
        height: 100%;
    }
    /*
        Hele cirklen + teksten
        er ét
    */
    .circle_wrapper3 {
        position: absolute;

        width: 80vw;
        aspect-ratio: 1;

        top: 558px;
        left: -30vw;

        display: block;

        text-decoration: none;

        border-radius: 50%;
    }
    /*
        Selve cirklen
    */
    .circle_link3 {
        position: absolute;

        inset: 0;

        background: #543d3d;

        border-radius: 50%;
    }
    /*
        Teksten
    */
    .circle_text3 {
        position: absolute;
        inset: 0;

        display: flex;
        flex-direction: column;
        justify-content: center;

        color: #F0DFC5;
        font-family: "Lucida Sans";
        z-index: 2;
        left: 42%;

    }
    .circle_text3 h3 {
        margin: 0 0 10px;
        text-align: start;
        font-size: clamp(10px, 6vw, 89px);
    }
    .circle_text3 p {
        margin-top: 0.5rem;
        text-align: start;
        font-size: clamp(7px, 3vw, 35px);
        left: 2rem;
    }
    .circle_wrapper3:hover .circle_link3 {
        transform: scale(1.03);
    }
    .circle_link3 {
        transition: transform 0.4s ease;
    }





    /*semester eksempler*/

    /* -------------------------------- */
    /* MAIN TIMELINE                    */
    /* -------------------------------- */

    .semester-timeline {
        position: relative;

        width: min(100%, 1000px);
        height: 700px;

        margin: 0 auto;

        overflow: hidden;

        background: #b9876d;
    }


    /* -------------------------------- */
    /* ROTATING SCENE                   */
    /* -------------------------------- */

    .timeline-scene {
        position: absolute;
        inset: 0;
        transform-origin: center center;

    }


    /* -------------------------------- */
    /* DIAGONAL LINE                    */
    /* -------------------------------- */

    .timeline-line {
        position: absolute;
        width: 220%;
        height: 1%;
        left: -61%;
        top: 48%;
        background: #543c3b;
        transform: rotate(60deg);
        transform-origin: center;
    }

    .timeline-line.flip{
        animation:timelineflip1 0.5s ease-in-out forwards;
    }

    .timeline-line.unflip{
        animation:timelineflipback 0.5s ease-in-out;
    }


    /* -------------------------------- */
    /* SEMESTER COMPONENT               */
    /* -------------------------------- */

    .semester {
        position: absolute;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 220px;

    }


    /* TOP SEMESTER */

    .semester-top {
        top: 13vw;
        right: 4%;
    }


    /* BOTTOM SEMESTER */

    .semester-bottom {
        bottom: 10vw;
        left: 4%;
    }


    /* -------------------------------- */
    /* CIRCLE                           */
    /* -------------------------------- */

    .semester-circle {
        width: 180px;
        aspect-ratio: 1;

        border-radius: 50%;

        display: flex;
        align-items: center;
        justify-content: center;

        background: #543c3b;

        color: #f5e9d8;
    }
    .semester-circle2 {
        width: 180px;
        aspect-ratio: 1;

        border-radius: 50%;

        display: flex;
        align-items: center;
        justify-content: center;

        background: #543c3b;

        color: #f5e9d8;
    }
    .semester-circle3 {
        width: 180px;
        aspect-ratio: 1;

        border-radius: 50%;

        display: flex;
        align-items: center;
        justify-content: center;

        background: #543c3b;

        color: #f5e9d8;
    }
    .semester-circle4 {
        width: 180px;
        aspect-ratio: 1;

        border-radius: 50%;

        display: flex;
        align-items: center;
        justify-content: center;

        background: #543c3b;

        color: #f5e9d8;
    }



    /* -------------------------------- */
    /* TITLE                            */
    /* -------------------------------- */

    .semester-title {
        font-size: 25px;
        font-style: italic;
    }


    /* -------------------------------- */
    /* DESCRIPTION                      */
    /* -------------------------------- */

    .semester-description {
        width: 166px;

        margin: 18px 0 0;

        text-align: center;

        color: #211d1c;

        font-size: 13px;
        line-height: 1.15;
    }

    .semester-description em {
        font-weight: 600;
    }


    /* -------------------------------- */
    /* CENTER SWITCH                    */
    /* -------------------------------- */

    .timeline-switch {
        position: absolute;

        width: 3.5rem;
        height: 3.5rem;

        left: 50%;
        top: 50%;

        transform: translate(-50%, -50%);

        border: none;
        border-radius: 50%;

        background: #543c3b;

        cursor: pointer;

        color: #f5e9d8;

        z-index: 10;
    }


    /* arrows */
    .arrow {
        display: inline-block;
        font-size: clamp(32px, 10vw, 45px);
        line-height: 1;
        transition: transform 0.5s ease-in-out;
    }

    .arrow.rotate {
        transform: rotate(365deg);
    }



    /* -------------------------------- */
    /* rotation                */
    /* -------------------------------- */

    
    @keyframes timelineflip1 {
        from {
            transform: rotate(60deg);
        }
        to {
            transform: rotate(120deg);
        }
    }

    @keyframes timelineflipback {
        from {
            transform: rotate(120deg);
        }
        to {
            transform: rotate(60deg);
        }
    }


    /* Placering af de næste semestre */
    .semester-top2 {
        top: 13vw;
    }

    .semester-bottom2 {
        bottom: 10vw;
        right: 4%;
    }

    /* Animation af hele semesteret */
    .semester {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    /* Skjul semestre, der endnu ikke er aktive */
    .semester.is-hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    /* Det gamle semester flyver ud */
    .semester.fly-out {
        animation: semesterFlyOut 0.3s ease-in forwards;
    }

    /* Det nye semester flyver ind */
    .semester.fly-in {
        animation: semesterFlyIn 0.5s ease-out forwards;
    }

    @keyframes semesterFlyOut {
        from {
            opacity: 1;
            transform: translateX(0);
        }

        to {
            opacity: 0;
            transform: translateX(-150px);
        }
    }

    @keyframes semesterFlyIn {
        from {
            opacity: 0;
            transform: translateX(150px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* Animation af hele semesteret */
    .semester {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    /* Skjul semestre, der endnu ikke er aktive */
    .semester.is-hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    /* Cirklerne flyver ud i hver sin retning */
    .semester.fly-out-left {
        animation: flyOutLeft 0.3s ease-in forwards;
    }

    .semester.fly-out-right {
        animation: flyOutRight 0.3s ease-in forwards;
    }

    /* Flyv ind fra venstre */
    .semester.fly-in-left {
        animation: flyInLeft 0.5s ease-out forwards;
    }

    /* Flyv ind fra højre */
    .semester.fly-in-right {
        animation: flyInRight 0.5s ease-out forwards;
    }

    @keyframes flyOutLeft {
        to {
            opacity: 0;
            transform: translateX(-150px);
        }
    }

    @keyframes flyOutRight {
        to {
            opacity: 0;
            transform: translateX(150px);
        }
    }

    @keyframes flyInLeft {
        from {
            opacity: 0;
            transform: translateX(-150px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes flyInRight {
        from {
            opacity: 0;
            transform: translateX(150px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }


    .jobphoto{
        z-index: 100;
        position: absolute;
        top: 14vh;
        left: -5vw;
        height: 64vw;
    }

    .jobphotobot{
        z-index: 100;
        position: absolute;
        top: 23vh;
        left: -1vw;
        height: 60vw;
    }

    .jobphotohøjre{
        z-index: 100;
        position: absolute;
        top: 18vh;
        right: -47vw;
        height: 64vw;
    }
    
    

}
