.services {
        display: flex;
        flex-direction: row;
        gap: 2rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .service {
        max-width: 40ch;
        min-width: 20ch;
        padding: 1.2rem 1.5rem 1rem;
        flex-shrink: 1;
        flex-grow: 1;
        flex-basis: 0;
        background-color: var(--clr-background-dark);
        color: var(--clr-font-inverted);
        border-radius: 1.5em;
        filter: drop-shadow(var(--clr-background-dark) 0.2rem 0.2rem 0.3rem);
        display: flex;
        flex-direction: column;
        align-items: end;
    }
    .service h2{
        border: 0;
        font-size: 1.5em;
        text-align: center;
        margin-top: 0;
        margin-bottom: 0.5em;
        width: 100%;
    }
    .service h3{
        margin-top: 0;
    }
    .service p{
        flex-grow: 1;
    }
    .service a{
        margin-top: 0em;
        text-align: right;
        float: inline-end;
        max-width: max-content;
        margin-inline-end: -0.5em;
    }
.movies {
        margin-left: auto;
        margin-right: auto;

        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(18ch, 1fr));
        grid-gap: 1em;
        grid-auto-flow: dense;
        padding: 1em;
    }

    a.movie {
        box-sizing: border-box;
        display: flex;
        padding: 1em;
        color: white;
        justify-content: end;
        align-items: end;
        background: darkgray;
        text-align: right;
        aspect-ratio: 16/9;
        text-wrap: pretty;
        background-size: cover;
        text-shadow: 0.05em 0.05em 0.4em rgba(0,0,0,1);
        filter: drop-shadow(rgba(0,0,0,0.4) 0.3em 0.3em 0.5em);
        transition: all 0.3s ease;
    }

    a.movie[aria-current="page"] {
        filter: drop-shadow(rgba(255,215,0,0.8) 0 0 1em) drop-shadow(rgba(0,0,0,0.4) 0.3em 0.3em 0.5em);
        border: 3px solid gold;
    }
.profile {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 1em;
        position: relative;
        grid-auto-flow: row dense;
    }

    .profile-bullet-placeholder {
        display: none;
    }

    @media (width <= 140ch) and (width > 110ch) {
        .profile {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            grid-template-rows: auto auto;
            gap: 1em;
            position: relative;
            /*grid-auto-flow: row dense;*/
        }

        .profile-bullet-placeholder {
            display: inherit;
        }
    }
    @media (width <=110ch){
        .profile {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
            grid-template-rows: auto auto;
            gap: 1em;
            position: relative;
            /*grid-auto-flow: row dense;*/
        }

        .profile-bullet-placeholder {
            display: inherit;
        }
        .profile-picture.profile-picture {
            grid-row: 1 / span 3;
            grid-column: 1 / span 3;
        }
        .profile-bullet{
            grid-column: span 3;
        }
        .profile-price{
            grid-column: span 2;
        }
         .profile-bullet-placeholder {
            display: none;
        }
    }
    @media (width <=80ch){
        .profile {
            display: grid;
            grid-template-columns: 1fr;
            grid-template-rows: auto;
            gap: 1em;
            position: relative;
        }

        .profile-bullet-placeholder {
            display: none;
        }
        .profile-picture.profile-picture {
            grid-row: 1 / span 3;
            aspect-ratio: 1/1;
        }
         .profile-bullet-placeholder {
            display: none;
        }
        .profile-picture {
        }
    }

    .profile-bullet {
        margin: 0;
        flex-grow: 1;
        text-wrap: pretty;
        max-width: 100%;
        min-width: 15ch;
        border-radius: var(--article-border-radius);
        filter: drop-shadow(rgba(0, 0, 0, 0.2) 0.3em 0.3em 0.5em);
    }

    .profile-text {
        box-sizing: border-box;
        padding: 0.5rem 1.5rem;
    }

    .profile-text h3 {
        margin-top: 0;
        line-height: 2em;
        margin-bottom: 0em;
    }

    .profile-heading {
        display: flex;
        justify-content: end;
        align-items: end;
    }

    .profile-heading>h3 {
        font-size: 2.5rem;
        text-align: right;
        max-width: max-content;
        margin: 0;
        padding: 0;
    }

    .profile-text {
        background-color: #eee;
        color: var(--whiteish);
        background-color: var(--clr-background-dark);

    }

    .profile-picture {
        grid-row: 1 / span 2;
        grid-column: 1;
        aspect-ratio: 3/4;
        overflow: hidden;
        display: flex;
        align-items: end;
        justify-content: end;
    }

    .profile-picture img {
        width: 100%;
        height: 100%;
        position: absolute;
        z-index: -1;
        object-fit: cover;
    }

    .profile-picture h3 {
        color: var(--whiteish);
        padding: 0.5em;
        box-sizing: border-box;
        margin: 0;
    }

    .profile-price {
        background-color: var(--clr-background-dark);
        color: var(--whiteish);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .price-image {
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 6em;
        position: relative;
        padding: 1em;
    }

    .profile-price .price-image.full {
        padding: 0;
    }

    .profile-price .price-image img {
        width: 80%;
        max-height: 80%;
        object-fit: contain;
    }

    .profile-price .price-image.full img {
        object-fit: cover;
        width: 100%;
        max-height: 100%;
        height: 100%;
    }

    .profile-price .price-text {
        padding: 1em;
    }
section {
        position: relative;
        background-color: var(--clr-background-alt);
        --contentWidth: 80em;
        padding: 2.5rem max(2rem, 50vw - var(--contentWidth) / 2) 5rem;
    }

    section>h2 {
        color: var(--whiteish);
        margin-top: 0;
        /*margin-bottom: 0;
        position: absolute;
        margin-left: 2rem;
        margin-right: 2rem;
        color: var(--clr-background);*/
    }

    section:nth-child(odd){
        background-color: var(--clr-background-dark);
    }
    section:nth-child(even)>h2 {
        text-align: right;
    }

    section>.section-content {
        padding: 0rem 0rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero {
        /*height: 75dvh;*/
        aspect-ratio: 4/3;
        max-height: 75dvh;
        width: 100%;
        background-position: center top;
        background-size: cover;
        background-image: url("/img/faneskrone.jpg");
        background-attachment: fixed;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
    }
nav {
        position: sticky;
        top: 0;

        background-color: var(--clr-background-dark);
        z-index: 99;
        display: flex;
        flex-direction: row;

        padding: 0 1.4rem;
    }

    .logo, nav a {
        font-family: "Ayar Juno";
        font-size: 1em;
        padding: 1rem 0;
        text-transform: uppercase;
        letter-spacing: 0.4em;
        white-space: nowrap;
    }

    nav ol {
        display: flex;
        flex-direction: row;
        list-style: none;
        margin: 0;
        gap: 1rem;
        flex-grow: 1;
        justify-content: flex-end;
    }
    nav li{
        margin: 0;
        padding: 0;
    }
    .logo{
        color: var(--whiteish);
    }
    nav li > a{
        display: block;
        color: var(--cool-steel-dark-lighter);
    }

    /*#popover-button,
    #popover-menu {
        background-color: var(--clr-background-dark);
        width: 100%;
        position: absolute;
        top: 7rem;
        display: none;
    }

    @media (width <=80ch) {

        #popover-button,
        #popover-menu {
            display: inherit;
        }

        .links {
            display: none;
        }
    }*/
footer {
    /*background-color: #81A2BF;*/
    background-color: var(--clr-background-dark);
    color: white;
    margin: 0;
    padding: 0;
    min-height: fit-content;
    padding: 2rem;
  }

  .contact-data{
    max-width: min(80em, 100%);
    margin-left: auto;
    margin-right: auto;
    min-height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem 3rem;
    line-height: 1.8em;
    flex-wrap: wrap;
  }
  .contact-data > *{
    min-width: fit-content;
    max-width: 100%;
    flex-grow: 0;
  }
  .contact-data a{
    color: white;
  }

  .bottom-line{
    margin-top: 2em;
    margin-bottom: -1em;
    padding: 0em;
    font-family: monospace;
    text-align: center;
  }
@font-face {
    font-family: "Ayar Juno";
    font-display: swap;
    src: url("/fonts/ayar_juno.ttf");
}
:root{
    /* CSS HEX */
    --cool-steel: #879fb4ff;
    --cool-steel2: oklch(80% 0.06 245);
    --slate-grey: #8191a3ff;
    --slate-grey-2: #7a8391ff;
    --antique-white: #fbebdbff;
    --cool-steel-2: #a3b0baff;
    --pale-slate: #afbac6ff;
    --whiteish: white; 
    --blackish: black; 
    --cool-steel-dark-lighter: oklch(80% 0.14 251);
    --cool-steel-dark-light: oklch(60% 0.14 251);
    --cool-steel-dark: oklch(50% 0.14 251);
    --cool-steel-dark: oklch(50% 0.10 251);
    --cool-steel-dark1: oklch(40% 0.14 251);
    --cool-steel-dark2: oklch(30% 0.12 251);

    --clr-background: var(--whiteish);
    --clr-background-alt: var(--cool-steel-dark);
    --clr-background-dark: var(--cool-steel-dark2);

    --clr-font: var(--blackish);
    --clr-font-inverted: var(--whiteish);

    --button-background: var(--cool-steel-dark-light);
    --link-clr: var(--cool-steel-dark-lighter);
    --article-border-radius: 1rem;

    --contentWidth: 80em;
}
body {
    padding: 0;
    margin: 0;
    font-size: 1em;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

    background-color: var(--clr-background);
    
    min-height: 100dvh;
    display:flex;
    flex-direction: column;
    position: relative;
}
main{
    flex-grow: 1;
    position: relative;
}

h1 {
    font-family: "Ayar Juno";
    font-size: 3.5em;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    text-align: center;
}

h2 {
    font-size: 2.6em;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-family: "Ayar Juno";
    /*line-height: 1.2em;
    border-bottom: 2px solid rgb(115, 132, 161);;*/
    line-height: 1;
    margin-bottom: 0.4em;
    margin-left: 0.2em;
    margin-right: 0.2em;
}

h3{
    font-family: "Ayar Juno";
    text-transform: uppercase;
    font-size: 1.5em;
    letter-spacing: 0.05em;
}

a, button{
    color: var(--link-clr);
}
a.pretty-btn,
button.pretty-btn{
    background: var(--button-background);
    box-sizing: border-box;
    display: inline-block;
    line-height: normal;
    color: var(--whiteish);
    border: 0;
    border-radius: 2em;
    padding: 0.8em 1.2em;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.8em;
}

.testtext {
    color: pink;
}