:root {
    --white: #f9f7f2;
    --black: #141716;
    --orange: #e47352;
}

@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }
}

a {
    color: var(--black);
    text-decoration: underline;
}

svg.bg {
    width: 60vw;
    pointer-events: none;
}

svg.bg g * {
    transition: opacity .25s;
}

body {
    color: var(--black);
    background-color: var(--white);
}

@media only screen and (max-width: 768px) {
    svg.bg {
        width: 100vw;
    }
    .min-vh-100 {
        min-height: auto !important;
    }
}

/* NAV */
a.navbar-brand object {
    width: 160px;
    display: block;
}

iframe {
    border-radius: 10px;
}

a.nav-link {
    font-family: 'Inter', sans-serif;
    border-radius: 5px;
}

.navbar-nav a.nav-link.active {
    color: var(--white);
    background-color: var(--black);
}

.navbar-nav a.nav-link.active img {
    filter: invert()
}

#collapser {
    /* background: #ffffffa4; */
    box-shadow: 0 2px 4px #00000015, 0 -2px 0 #fff;
    padding: 1rem;
    border-radius: 5px;
    max-width: 100%;
    /* border: 3px solid var(--orange); */
}

@media only screen and (min-width: 769px) {
    #collapser {
        transition: max-width 1s;
    }

    #collapser.scrolled {
        max-width: 550px;
        transition: max-width 1s;
        background-color: #ffffff60;
    }
}

@media only screen and (max-width: 768px) {
    #collapser {
        background-color: #fff
    }
}

/* #start {
    background: url('data:image/svg+xml,<svg id="10015.io" viewBox="0 0 1200 605" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="svg-pattern" x="0" y="0" width="55" height="55" patternUnits="userSpaceOnUse" patternTransform="translate(45, 45) rotate(0) skewX(0)"><svg width="10" height="10" viewBox="0 0 100 100"><g fill="rgba(0, 0, 0, 0.05)" opacity="1"><path d="M60 0H40V40H0V60H40V100H60V60H100V40H60V0Z"></path></g></svg></pattern></defs><rect x="0" y="0" width="100%" height="100%" fill="rgba(255, 255, 255, 0)"></rect><rect x="0" y="0" width="100%" height="100%" fill="url(%23svg-pattern)"></rect></svg>') top left;
} */

h1,
h2,
h3 {
    letter-spacing: -.115rem;
}

p {
    color: var(--black);
}

h1.display-1,
h1,
h2,
h3,
h4,
h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

nav.navbar {
    backdrop-filter: blur(2px);
    border-bottom: 1px solid #ffffff5a;
}

.nav-link {
    color: #000;
}

.nav-link img {
    width: 40px;
    border: 0px solid green;
}

.d3d-card .card img {
    border-color: green;
    transition: all .25s;
}

.card {
    border: 0;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1), 0 10px 40px rgba(0, 0, 0, 0.2);
    will-change: transform;
    transition: transform 0.25s ease-out;
    perspective: 1000px;
    overflow: hidden;
}

.card img {
    width: 100%;
    object-fit: cover;
}

.card__gloss {
    opacity: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0) 50%,
            rgba(255, 255, 255, 0) 100%);
    position: absolute;
    will-change: opacity;
}

.card-body {
    position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff85;
  backdrop-filter: blur(5px);
}

.modal-dialog {
    max-width: max-content !important;
}

.modal-body {
    display: flex;
}

.modal-body img {
    object-fit: contain;
}

.noget_fedt span {
    position: relative;
    z-index: 1;
}

.noget_fedt span:before,
.noget_fedt span:after {
    content: "";
    background-image: url(stjerne.svg);
    background-size: 100%;
    width: clamp(1rem, 6vw, 8rem);
    height: clamp(1rem, 6vw, 8rem);
    position: absolute;
    z-index: 0;
}

.noget_fedt span:before {
    top: -1.5rem;
    right: -.5em;
}

.noget_fedt span:after {
    top: 1.5rem;
    left: -2.5rem;
}

@media only screen and (max-width: 768px) {

    .noget_fedt span:before,
    .noget_fedt span:after {
        width: 2em;
        height: 2em;
    }

    .noget_fedt span:before {
        top: -1.5rem;
        right: -1.5em;
    }

    .noget_fedt span:after {
        top: .5rem;
        left: -2.5rem;
    }
}