* {
    margin: 0;
    padding: 0;
}
:root {
    --white: #f5f5f5;
    --gray: #999;
    --weight: 300;
    font-family: system-ui;
    font-size: 16px;
}
html {
    height: 100%;
}
body {
    margin: 2rem;
    background: #111;
    color: var(--white);
    font-weight: var(--weight);
} 
main {
    display: grid;
    gap: 5rem;
    margin-bottom: 2rem;
}
article {
    display: grid;
    gap: 1rem;
}
.logo {
    margin-bottom: 1rem;
}
img {
    width: 100%;
    height: auto;
    display: block;
}
h1 {
    font-size: 1rem;
    font-weight: calc(var(--weight) + 200);
}
p {
    hyphens: auto;
    line-height: 1.5rem;
    margin-bottom: 1rem;
}
.logo p {
    color: var(--gray);
    margin: .5rem 0 0 0;
    line-height: 1rem;
}
.logo a {
    border-bottom: none;
}
footer p {
    text-align: center;
    font-size: .8rem;
    color: var(--gray);
    line-height: 1rem;
}
a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--gray);
    transition: .2s;
}
a:hover {
    border-bottom: 1px solid var(--white);
}
.some {
    display: flex;
    justify-content: center;
    padding-bottom: 30px;
    gap: 25px;
}
.some a {
    border: none;
}
.icon {
    fill: var(--gray);
    width: 30px;
}

/* fixed > 540 */
@media screen and (min-width: 540px) {
    body {
        display: flex;
        justify-content: center;
    }
    main {
        max-width: calc(540px - 4rem);
        margin-bottom: 0;
    }
}

/* medium 1 */
@media screen and (min-width: 760px) {
    :root {
        --weight: 200;
        --gray: #777;
    }
    main {
        grid-template-columns: 1fr 2fr;
        grid-template-areas: 
            "logo art1"
            ".    art2"
            "foot art3"
        ;
        max-width: 100%;
    }
    .logo {
        grid-area: logo;
    }
    .bio {
        grid-area: art1;
    }
    .bog {
        grid-area: art2;
    }
    .nyhedsbrev {
        grid-area: art3;
    }
    footer {
        grid-area: foot;
        position: relative;
    }
    footer p {
        transform: rotate(-90deg);
        transform-origin: top left;
        width: 400px;
        position: absolute;
        bottom: -1.8rem;
        left: 0;
        text-align: left;
        font-size: .6rem;
        line-height: .8rem;
    }
    footer p br {
        display: none;
    }
    a.btn {
        margin-right: .2rem;
        font-weight: calc(var(--weight) + 200);
        border-bottom: 1px solid var(--gray);
        transition: .2s;
    }
    a.btn:hover {
        margin-right: .7rem;
        border-bottom: 1px solid var(--white);
    }
    .arrow {
        margin-bottom: -3px;
    }
    .arrow[fill] {
        color: var(--gray);
        transition: .2s;
    }
    .btn:hover + .arrow[fill] {
        color: var(--white);
    }
    .some {
        display: none;
    }
}

/* fixed > 900 */
@media screen and (min-width: 900px) {
    main {
        max-width: calc(900px - 4rem);
    }
}

/* medium 2 */
@media screen and (min-width: 1100px) {
    main {
        max-width: 100%;
        grid-template-columns: 1fr 3fr;
        gap: 2rem;
    }
    article {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* desktop */
@media screen and (min-width: 1300px) {
    body {
        height: 100%;
        display: flex;
        align-items: center;
        margin: 0 2rem;
    }
    main {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-areas:
            "logo art1 art2 art3"
            "foot art1 art2 art3"
        ;
        height: auto;
        max-width: calc(1400px - 4rem);
        padding-bottom: 3em;
    }
    article {
        grid-template-columns: 1fr;
        gap: 1rem;
        align-self: start;
    }
    footer p {
        transform: rotate(0deg);
        width: auto;
        bottom: 0;
        margin-bottom: 0;
    }
    footer p br {
        display: inline;
    }
    .some {
        display: block;
        position: absolute;
        bottom: 10px;
    }
    .icon {
        width: 25px;
        margin-right: 15px;
    }
}

/* mobile hacks */
@media screen and (max-width: 759px) {
    a.btn {
        padding: 10px 30px;
        text-decoration: none;
        border: 1px solid var(--gray);
        border-radius: 30px;
        width: auto;
        font-weight: calc(var(--weight) + 200);
    }
    .arrow {
        display: none;
    }
    article div {
        display: flex;
        flex-wrap: wrap;
        gap: .5rem;
        justify-content: center;
    }
}