@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');

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

body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    position: relative;
}

p {
    font-family: 'Calibri', sans-serif;
    color: #F0EDDC;
    font-size: 18px;
}

h1 {
    color: #384832;
}

h2 {
    /* position: absolute; */
    font-size: 32px;
    height: 6.5vh;
    margin-left: 12vw;
    font-family: "Merriweather", serif;
    color: #F0EDDC;
    letter-spacing: 2px;
    margin-top: 4vh;
    overflow: hidden;
    /* text-transform: uppercase; */
}

h3 {
    font-size: 28px;
    height: fit-content;
    font-family: "Merriweather", serif;
    color: #F0EDDC;
    letter-spacing: 2px;
    margin-bottom: 1.5vh;
}

h4 {
    font-family: "Merriweather", serif;
    color: #F0EDDC;
    letter-spacing: 2px;
}

body {
    background: #384832;
}

#header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    height: 8vh;
    width: 100%;
    margin-top: 2.5vh;
    background: #DBE7CF;
    z-index: 1;
}

#page_head {
    margin-top: 0.2%;
    margin-left: 12%;
}

#navigation {
    display: flex;
    justify-content: center;
    position: relative;
    margin-left: 2.5vw;
    height: 100vh;
    width: 13.5vw;
    background: #6D8166;
    z-index: 10;
    box-shadow: 0px 0px 25px #475543;
}

#logo {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 3.5%;
    left: 50%;
    transform: translate(-50%, -3.5%);
}

nav {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 1vh;
}

nav a {
    font-family: "Merriweather", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 18px;
    letter-spacing: 3px;
    color: #F0EDDC;
}

a {
    text-decoration: none;
}

a:hover {
    color: #384832;
}

.content_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 13vh;
    left: 1vw;
    height: 84.5vh;
    width: 98%;
    background: #A0AC94;
    border-radius: 5px;
}

/***** CIRKLER *****/
.circles {
    border-radius: 100%;
    z-index: 0;
}

#circle_01 {
    position: absolute;
    height: 180px;
    width: 180px;
    top: 50vh;
    left: 13vw;
    background-color: rgba(109, 129, 102, 0.65);
    animation: moveCircle1 30s ease-in-out infinite;
}

#circle_02 {
    position: absolute;
    height: 90px;
    width: 90px;
    margin-top: 67vh;
    left: 15vw;
    background-color: rgba(219, 231, 207, 0.65);
    animation: moveCircle2 30s ease-in-out infinite;
}

#circle_03 {
    position: absolute;
    height: 35px;
    width: 35px;
    top: 74vh;
    left: 21vw;
    background-color: rgba(185, 209, 177, 0.65);
    animation: moveCircle3 30s ease-in-out infinite;
}

#circle_04 {
    position: absolute;
    height: 178px;
    width: 178px;
    margin-top: 15vh;
    right: -1vw;
    background-color: rgba(185, 209, 177, 0.65);
    animation: moveCircle4 30s ease-in-out infinite;
}

#circle_05 {
    position: absolute;
    height: 90px;
    width: 90px;
    right: 5vw;
    margin-top: 10vh;
    background-color: rgba(109, 129, 102, 0.65);
    animation: moveCircle5 30s ease-in-out infinite;
}

#circle_06 {
    position: absolute;
    height: 35px;
    width: 35px;
    margin-top: 5vh;
    right: 3vw;
    background-color: rgba(219, 231, 207, 0.65);
    animation: moveCircle6 30s ease-in-out infinite;
}

@keyframes moveCircle1 {
    0% {
        transform: translate(0, 0) translateX(0) translateY(0);
    }

    50% {
        transform: translate(40px, 40px) translateX(50px) translateY(0);
    }

    100% {
        transform: translate(0, 0) translateX(0) translateY(0);
    }
}

@keyframes moveCircle2 {
    0% {
        transform: translate(0, 0) translateX(0) translateY(0);
    }

    50% {
        transform: translate(30px, -30px) translateX(-50px) translateY(50px);
    }

    100% {
        transform: translate(0, 0) translateX(0) translateY(0);
    }
}

@keyframes moveCircle3 {
    0% {
        transform: translate(0, 0) translateX(0) translateY(0);
    }

    50% {
        transform: translate(30px, 30px) translateX(60px) translateY(-60px);
    }

    100% {
        transform: translate(0, 0) translateX(0) translateY(0);
    }
}

@keyframes moveCircle4 {
    0% {
        transform: translate(0, 0) translateX(0) translateY(0);
    }

    50% {
        transform: translate(50px, -50px) translateX(-80px) translateY(-60px);
    }

    100% {
        transform: translate(0, 0) translateX(0) translateY(0);
    }
}

@keyframes moveCircle5 {
    0% {
        transform: translate(0, 0) translateX(0) translateY(0);
    }

    50% {
        transform: translate(-30px, 30px) translateX(80px) translateY(100px);
    }

    100% {
        transform: translate(0, 0) translateX(0) translateY(0);
    }
}

@keyframes moveCircle6 {
    0% {
        transform: translate(0, 0) translateX(0) translateY(0);
    }

    50% {
        transform: translate(-50px, 80px) translateX(-50px) translateY(100px);
    }

    100% {
        transform: translate(0, 0) translateX(0) translateY(0);
    }
}

/***** TILBAGE-KNAP *****/
.return {
    position: absolute;
    left: 17vw;
    margin-top: 2vh;
    font-family: 'Calibri', sans-serif;
    text-decoration: none;
    color: #384832;
    font-size: 15px;
    background: none;
    border: none;
}

.return:hover {
    color: #F0EDDC;
}

/***** FORSIDE *****/
.box {
    width: 95%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    margin: 2vh 0 5vh;
    z-index: 5;
    margin-top: 2rem;
    height: 80%;
    margin-left: -5vw;
    overflow-y: none;
}

.box img {
    width: 40%;
    height: 93%;
    margin: 2.5vh 2vw;
    border-radius: 200px 200px 7px 7px;
    box-shadow: #475543;
    box-shadow: 0px 0px 20px 0px #475543;
}

.box p {
    width: 80%;
    margin-top: 2.5rem;
}

.intro_box {
    display: flex;
    flex-direction: column;
    margin-left: 15vw;
    flex-shrink: 0;
}

.inner_content {
    display: flex;
    width: 65vw;
    overflow: hidden;
    margin-left: 1vw;
}

.inner_content::-webkit-scrollbar,
.content_box::-webkit-scrollbar {
    display: none;
}

/***** SKRIVEBORD *****/
.desk {
    margin-left: 13vw;
    height: 88%;
}

.port {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.port h2 {
    margin-left: 25vw;
}

.port a {
    position: absolute;
    font-family: "Merriweather", serif;
    text-decoration: none;
    color: #F0EDDC;
    opacity: 80%;
}

.port a:hover {
    color: #F0EDDC;
    opacity: 100%;    
    transform: scale(1.05);
}

#port_web {
    font-size: 3vh;
    margin-top: 31vh;
    margin-left: 36vw;
    rotate: -0.2deg;
    transition: transform 0.3s ease-in-out;
}

#port_logo {
    font-size: 1.85vh;
    margin-top: -4vh;
    margin-left: 20vw;
    transition: transform 0.3s ease-in-out;
}

#port_illu {
    margin-top: -41vh;
    margin-left: 37.35vw;
    rotate: 90deg;
    opacity: 40%;
    cursor: default;
    /** FJERN **/
    transform: scale(1);
}

/***************************************************************************/
.content_box {
    overflow: auto;
}

.scrollbox {
    height: 80%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    z-index: 1;
}

.content_box {
    margin: 10vh 0 12vh 15vw;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.logo_box {
    margin: 13vh 0 15vh 15vw;
}

/***** FYSISK FLOW *****/
#flow {
    background: #DBE7CF;
    border-radius: 10px;
    width: 70%;
    margin-left: 2vw;
}

#flow_box {
    margin-bottom: 19vh;
}

/***************************************************************************/
.project {
    display: flex;
    align-items: center;
    width: 65vw;
    margin-top: 5vh;
    margin-bottom: 4.5vh;
}

.project_resume {
    display: flex;
    flex-direction: column;
    width: 90%;
}

.project img {
    width: 70%;
}

.read {
    /** evt ændre til button ***/
    margin-top: 2vh;
    border-radius: 20px;
    width: 20%;
    padding: 1% 5% 1%;
    background: #F0EDDC;
    color: #384832;
    font-weight: 500;
    font-family: 'Calibri', sans-serif;
}

.read:hover {
    background: #384832;
    color: #F0EDDC;
}

.not_ready {
    opacity: 30%;
    margin-top: 2vh;
    border-radius: 20px;
    width: 20%;
    padding: 1% 5% 1% 5%;
    background: #F0EDDC;
    color: #384832;
    font-weight: 500;
    font-family: 'Calibri', sans-serif;
    cursor: default;
}

.scroll-indicator {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    transition: opacity 1s ease-in-out;
    top: 90%;
    width: 100%;
    z-index: 100;
    margin-left: 12.5%;
    color: #F0EDDC !important;
    font-size: 2vw;
}

/***************************************************************************/
.content_moes,
.content_jpz {
    width: 65vw;
    overflow: hidden;
    box-sizing: border-box;
}

.moes_p,
.jpz_p {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    margin-bottom: 2rem;
}

.moes_p a .jpz_p a {
    color: #F0EDDC;
    text-decoration: underline;
}

.moes_p a:hover,
.jpz_p a:hover {
    color: #384832;
}

.moes_p a:visited,
.jpz_p a:visited {
    color: #384832;
}

.moes_mock {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    justify-content: center;
    align-items: start;
}

.moes_mock img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    object-fit: cover;
    max-width: 100%;
}

.jpz_mock {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 10px;
    justify-content: center;
    align-items: start;
}

.jpz_mock img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    object-fit: cover;
    max-width: 100%;
    background: #000;
    margin-bottom: 0.5rem;
}

/** Kontakt **/
.contact_content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70vw;
    gap: 7vw;
margin-top: 10vh;
}

.contact_box p {
    width: 30%;

}

.contact_img {
    width: 20%;
    height: 70%;
    margin: 2.5vh 2vw;
    border-radius: 200px 200px 7px 7px;
    box-shadow: #475543;
    box-shadow: 0px 0px 20px 0px #475543;
}