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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#overflow-x {
    overflow-x: hidden;
}

a:hover {
    text-decoration: none;
}


/* Navigation */

#navbar {
    width: 100vw;
    background-color: #212529;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

nav {
    max-width: 1500px;
    margin: 0 auto;
    background-color: #212529;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5em 0;
}

nav>a {
    margin-left: 145px;
}


/* Burger menu */

nav div.burger-menu {
    position: absolute;
    top: 60px;
    right: 100px;
    z-index: 2010;
    cursor: pointer;
    display: none;
}

.icon {
    width: 35px;
    height: 35px;
    position: relative;
}

.line {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #D3AC2B;
    border-radius: .4em;
    transition: all 0.45s;
    -webkit-transition: all 0.45s;
    -moz-transition: all 0.45s;
}

.top {
    top: 18%;
}

.middle {
    top: 48%;
}

.bottom {
    top: 78%;
}

.icon.close .top {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    top: 48%;
}

.icon.close .middle,
.icon.close .bottom {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    top: 48%;
}

nav ul {
    margin-right: 145px;
    list-style: none;
    margin-bottom: 0;
    display: flex;
}

nav ul li {
    display: inline;
    margin-left: 2em;
    text-align: center;
}

nav ul li a {
    text-decoration: none;
    color: #D3AC2B;
    font-size: 1.6rem;
    position: relative;
}

nav ul li a:hover {
    color: #D3AC2B;
}

nav ul li a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -8px;
    left: 0;
    background: #EAEAEA;
    visibility: hidden;
    border-radius: 5px;
    transform: scaleX(0);
    transition: .25s linear;
    box-shadow: 0 0 10px #EAEAEA;
}

nav ul li a:hover::before,
nav ul li a:focus::before {
    visibility: visible;
    transform: scaleX(1);
}


/* Header */

.bg-black {
    width: 100vw;
    background-color: #212529;
}

.bg-light {
    width: 100vw;
    background-color: rgb(248, 248, 248);
}

header {
    position: relative;
    max-width: 1500px;
    height: 750px;
    margin: 7em auto 0;
    background-image: url(../images/headerImg2_edit.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    background-color: #0000005e;
    display: flex;
    justify-content: center;
    align-items: center;
}

header section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.63);
}

header section article {
    padding: 3em 0 5em;
}

header section article h1 {
    margin: 0;
    font-size: 4rem;
    font-weight: 600;
    color: #D3AC2B;
}

header section article p {
    margin: 0.5em 0 1.5em;
    font-size: 1.5rem;
    font-weight: 600;
    color: #EAEAEA;
}

header section article div {
    position: relative;
}

header section article div img {
    position: absolute;
    transform: rotate(270deg);
    width: 50px;
    height: auto;
    top: -20px;
    left: -62px;
}

header section article div a {
    text-decoration: none;
    color: #EAEAEA;
    font-size: 1.5rem;
    font-weight: 600;
    background-color: #d3ac2bab;
    border: 2px solid transparent;
    border-radius: .4em;
    padding: 0.5em 1.8em;
}

a:hover {
    background-color: transparent;
    border-color: #D3AC2B;
    color: #EAEAEA;
}


/* Nyheder */

section#nyheder {
    max-width: 1500px;
    margin: 0 auto;
    background-color: #212529;
    padding: 7em 10em;
}

section#nyheder h2 {
    color: #D3AC2B;
    font-size: 4rem;
    font-weight: 600;
    margin-top: 0;
    text-align: center;
}

section#nyheder hr {
    margin: 1em auto 6em;
}

hr {
    width: 100px;
    border: 1px solid;
    border-color: #D3AC2B;
}

section#nyheder section div.slide {
    width: 363px;
    height: 439px;
    position: relative;
    overflow: hidden;
    border-radius: .6em;
}

section#nyheder section div.slide article.description {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 0em;
    z-index: 999;
    background-color: #212529e3;
    border-radius: .6em;
    transition: all 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
    color: #EAEAEA;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
}

section#nyheder section div.slide:hover .description {
    height: 13em;
    opacity: 1;
}

section#nyheder section div.slide>article p {
    margin: 0;
}

section#nyheder section div.slide article.description h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: #D3AC2B;
}

section#nyheder section div.slide article.description article p {
    font-size: 1.1rem;
    margin: 1em 0;
}

section#nyheder section div.slide article.description>p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}


/* Image Carousel section */

.slide {
    margin: 0 2em;
}


/* Slider */

.slick-slide img {
    width: 100%;
    height: auto;
    position: relative;
}


/* Om os section */

section#om_os {
    max-width: 1500px;
    margin: 0 auto;
    padding: 7em 145px;
}

section#om_os>article {
    width: 405px;
}

section#om_os>article h2 {
    font-size: 4rem;
    font-weight: 600;
    background-color: 212529;
}

section#om_os>article hr {
    margin: 1em auto 0;
    border-color: #212529;
}

section#om_os>section {
    margin-top: 4em;
    height: 400px;
    display: flex;
    justify-content: space-between;
}

section#om_os section article {
    width: 50%;
    position: relative;
}

section#om_os section article>img {
    position: absolute;
    width: 60px;
    height: auto;
    top: -80px;
    right: 70px;
}

section#om_os section article p {
    font-size: 1.4rem;
    margin-bottom: 1.5em;
}

section#om_os section article p img {
    width: 50px;
    height: auto;
    margin-left: 0.5em;
}

section#om_os section>img {
    width: auto;
    height: 100%;
}


/* Cards section */

section#cards {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 145px 7em;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

section#cards article {
    max-width: 280px;
    height: 363px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0.8em;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

section#cards article:nth-child(1) {
    background-image: url(../images/unika.jpg)
}

section#cards article:nth-child(2) {
    background-image: url(../images/vielsesringe.jpg)
}

section#cards article:nth-child(3) {
    background-image: url(../images/gammelt_edit.jpg)
}

section#cards article:nth-child(4) {
    background-image: url(../images/sten_edit.jpg)
}

section#cards article section {
    padding: 0 0.7em;
    background-color: #00000086;
    width: 100%;
    height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

section#cards article section h3 {
    color: #D3AC2B;
    font-weight: 600;
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 0.5em;
}

section#cards article section p {
    color: #EAEAEA;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0;
}


/* Galleri section */

section#galleri {
    max-width: 1500px;
    margin: 0 auto;
    background-color: #212529;
    padding: 7em 0;
}

section#galleri h2 {
    color: #D3AC2B;
    font-size: 4rem;
    font-weight: 600;
    margin-top: 0;
    text-align: center;
}

section#galleri hr {
    margin: 1em auto 0;
}

section#galleri article {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 650px;
    margin: 0 auto;
}

section#galleri p {
    color: #EAEAEA;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5em 0 2em;
}

section#galleri a {
    text-decoration: none;
    color: #EAEAEA;
    font-size: 1.5rem;
    font-weight: 600;
    background-color: #d3ac2bab;
    border: 2px solid transparent;
    border-radius: .4em;
    padding: 0.4em 1.8em;
}

section#galleri a:hover {
    background-color: transparent;
    border-color: #D3AC2B;
    color: #EAEAEA;
}


/* Forhandler section */

section#forhandler {
    max-width: 1500px;
    margin: 0 auto;
    padding: 7em 145px;
}

section#forhandler>article {
    width: 350px;
}

section#forhandler>article h2 {
    font-size: 4rem;
    font-weight: 600;
    color: #212529;
}

section#forhandler>article hr {
    border-color: #212529;
    margin: 1em auto 0;
}

section#forhandler section article:first-child {
    width: 50%;
    margin: 4em 0;
}

section#forhandler section article:first-child p {
    font-size: 1.4rem;
}

section#forhandler section article:last-child {
    display: flex;
    justify-content: space-between;
}

section#forhandler section article:last-child div {
    position: relative;
}

section#forhandler section article:last-child img {
    height: 350px;
    width: auto;
}

section#forhandler section article:last-child section {
    display: flex;
    flex-direction: column;
}

section#forhandler section article:last-child section h3 {
    text-align: center;
    font-weight: 600;
    font-size: 2.2em;
    color: #212529;
    margin-bottom: 1.3em;
}

section#forhandler section article:last-child section img {
    margin-bottom: 1.5em;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th {
    height: 50px;
}

tbody tr {
    color: #EAEAEA;
    border: 1px solid #868686;
    background-color: #3d454d;
}

tr:hover {
    background-color: #576470;
}

td {
    height: 40px;
    text-align: center;
    font-size: 1.1rem;
}


/* Kontakt section */

section#kontakt {
    max-width: 1500px;
    margin: 0 auto;
    padding: 7em 145px;
    background-color: #212529;
}

section#kontakt>article {
    width: 230px;
    margin: 0 auto 4em;
}

section#kontakt>article h2 {
    font-size: 4rem;
    font-weight: 600;
    color: #D3AC2B;
}

section#kontakt>article hr {
    border-color: #D3AC2B;
    margin: 1em auto 0;
}

section#kontakt section {
    display: flex;
    justify-content: space-between;
}

section#kontakt section article {
    display: flex;
    flex-direction: column;
}

section#kontakt section article:last-child {
    position: relative;
}

section#kontakt section article:last-child img {
    position: absolute;
    width: 60px;
    height: auto;
    right: 50px;
    top: 53px;
}

section#kontakt section article h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #EAEAEA;
}

section#kontakt section article p {
    margin: 0;
    color: #EAEAEA;
}

section#kontakt section article a {
    margin: 0 0 1.2em;
    color: #EAEAEA;
    text-decoration: none;
}

section#kontakt section article p,
a {
    font-size: 1.2rem;
}


/* Footer section */

footer {
    padding: 3em;
    background-color: #212529;
    color: #EAEAEA;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1500px;
    margin: 0 auto;
}

footer h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #D3AC2B;
}

footer hr {
    margin: 1em auto 2em;
}

footer>a {
    text-decoration: none;
    color: #EAEAEA;
    margin: 1em 0;
}

footer p {
    font-size: 1.1rem;
}

footer p.first {
    margin-bottom: 10px;
}

footer article div {
    margin-bottom: 3em;
}

@media screen and (max-width: 1424px) {
    section#cards article {
        margin: 0 5em 2em;
    }
}

@media screen and (max-width: 1360px) {
    section#om_os section article {
        width: 60%;
    }
    section#om_os section article p {
        font-size: 1.2rem;
        margin-bottom: 1em;
        padding-right: 1em;
    }
    section#om_os section>img {
        width: auto;
        height: 90%;
    }
}

@media screen and (max-width: 1324px) {
    nav ul li a {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 1244px) {
    nav ul li a {
        font-size: 1.3rem;
    }
    section#om_os {
        padding: 7em 145px 4em;
    }
    section#om_os section article {
        width: 65%;
    }
    section#om_os section>img {
        width: auto;
        height: 80%;
    }
}

@media screen and (max-width: 1194px) {
    nav ul li {
        margin-left: 1em;
    }
    section#om_os section article {
        width: 70%;
    }
    section#om_os section article p {
        font-size: 1.1rem;
        margin-bottom: 0.7em;
        padding-right: 1em;
    }
    section#om_os section>img {
        width: auto;
        height: 75%;
    }
    section#cards article {
        margin: 0 2em 2em;
    }
}

@media screen and (max-width: 1082px) {
    nav ul li a {
        font-size: 1.2rem;
    }
    nav ul li {
        margin-left: 0.9em;
    }
    header {
        margin: 120px auto 0;
    }
}

@media screen and (max-width: 1024px) {
    body {
        overflow-x: hidden;
    }
    /* Navigation burger */
    nav {
        padding: 1em 6em;
    }
    nav>a {
        margin-left: 0;
    }
    nav ul {
        margin-right: 0;
    }
    .nav-links {
        position: absolute;
        top: 140px;
        right: 0;
        z-index: 1000;
        width: 100vw;
        height: calc(100vh - 140px);
        padding: 0;
        transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        background-color: #212529d7;
        transform: translateX(100%);
    }
    .nav-links li {
        opacity: 0;
    }
    .nav-links li a {
        font-size: 2rem;
        font-weight: 600;
    }
    nav div.burger-menu {
        display: inline-block
    }
    .close:not(:disabled):not(.disabled):focus,
    .close:not(:disabled):not(.disabled):hover {
        opacity: 1;
    }
    .close {
        position: absolute;
        top: 0 !important;
        right: 0 !important;
    }
    /* Header section */
    header section article {
        text-align: center;
    }
    header section article div img {
        left: 169px;
    }
    /* Nyheder section */
    section#nyheder {
        padding: 7em 6em;
    }
    section#nyheder section div.slide {
        width: 230px;
        height: 590px;
    }
    section#nyheder section div.slide article.description {
        z-index: 999;
        box-shadow: 0px -5px 10px -1px #000;
        height: 10em;
        background-color: #494949;
        justify-content: space-between;
        transition: none;
        opacity: 1;
        padding: 0.4em 0.4em;
    }
    section#nyheder section div.slide:hover .description {
        height: 10em;
    }
    section#nyheder section div.slide>article p {
        margin: 0;
    }
    section#nyheder section div.slide article.description h2 {
        font-size: 1.7rem;
    }
    section#nyheder section div.slide article.description article p {
        font-size: 1rem;
        margin: 0;
    }
    section#nyheder section div.slide article.description>p {
        font-size: 1.2rem;
    }
    /* Om os section */
    section#om_os {
        padding: 7em 6em;
    }
    section#om_os>section {
        flex-direction: column;
        height: auto;
    }
    section#om_os section>img {
        width: 100%;
        height: auto;
        margin: auto;
    }
    section#om_os>article {
        margin: 0 auto;
        width: 100%;
        text-align: center;
    }
    section#om_os section article {
        width: 100%;
        margin-bottom: 3em;
    }
    section#om_os section article>img {
        top: -85px;
        right: 100px;
    }
    /* Cards section */
    section#cards {
        padding: 0 6em 1em;
        justify-content: space-between;
    }
    section#cards article {
        margin-bottom: 6em;
    }
    section#cards article section h3 {
        font-size: 1.7rem;
    }
    section#cards article section p {
        font-size: 1.1rem;
    }
    /* Forhandler section */
    section#forhandler {
        padding: 7em 6em;
    }
    section#forhandler>article {
        margin: 0 auto;
        width: 100%;
        text-align: center;
    }
    section#forhandler section article:first-child {
        width: 100%;
        margin: 4em auto;
    }
    section#forhandler section article:last-child {
        flex-direction: column;
    }
    section#forhandler section article:last-child section {
        margin-bottom: 5em;
    }
    section#forhandler section article:last-child section h3 {
        font-size: 3rem;
        margin-bottom: 1em;
    }
    section#forhandler section article:last-child img {
        height: auto;
        width: 100%;
    }
    td {
        font-size: 1.3rem;
        padding: 0.5em 0;
    }
    /* Kontakt section */
    section#kontakt {
        padding: 7em 6em;
    }
    section#kontakt>article {
        width: 100%;
        text-align: center;
    }
    section#kontakt section {
        flex-direction: column;
        align-items: center;
    }
    section#kontakt section article:first-child {
        margin-bottom: 5em;
    }
    section#kontakt section article h3 {
        font-size: 2.5rem;
    }
    section#kontakt section article p,
    a {
        font-size: 1.3rem;
    }
    section#kontakt section article:last-child img {
        top: 65px;
    }
    /* Footer section */
    footer p.first {
        margin-top: 3em;
    }
    footer h3 {
        font-size: 1.5rem;
    }
    footer article {
        margin: 0 auto;
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 864px) {
    /* Navigation */
    nav {
        padding: 1em 3em;
    }
    /* Header section */
    header section article {
        padding: 3em 3em 5em;
    }
    header section article div img {
        left: 121px;
    }
    header section article h1 {
        margin: 0;
        font-size: 3.5rem;
        font-weight: 600;
        color: #D3AC2B;
    }
    /* Nyheder section */
    section#nyheder {
        padding: 7em 3em;
    }
    section#nyheder section div.slide {
        height: 510px;
    }
    section#nyheder section div.slide article.description {
        height: 10em;
    }
    section#nyheder section div.slide:hover .description {
        height: 10em;
    }
    /* Om os section */
    section#om_os {
        padding: 7em 3em;
    }
    section#om_os section article>img {
        width: 30px;
        top: -40px;
        right: 80px;
    }
    /* Cards section */
    section#cards {
        padding: 0 3em 7em;
        justify-content: center;
    }
    /* Galleri section */
    section#galleri {
        padding: 7em 3em;
    }
    section#galleri p {
        font-size: 1.3rem;
    }
    /* Forhandler section */
    section#forhandler {
        padding: 7em 3em;
    }
    /* Kontakt section */
    section#kontakt {
        padding: 7em 3em;
    }
}

@media screen and (max-width: 414px) {
    * {
        font-size: 90%;
    }
    nav {
        padding: 0.5em 2em;
        height: 90px;
    }
    nav>a img {
        height: 60px;
        width: auto;
    }
    .nav-links {
        top: 90px;
    }
    nav div.burger-menu {
        right: 23px;
        top: 27px;
    }
    /* Header section */
    header {
        margin: 90px auto 0;
    }
    header section article {
        padding: 3em 0 5em;
    }
    header section article h1 {
        margin-bottom: 0.5em;
    }
    header section article div img {
        top: -25px;
        left: 5px;
    }
    /* Nyheder section */
    section#nyheder {
        padding: 7em 2.5em;
    }
    section#nyheder h2 {
        font-size: 3rem;
    }
    section#nyheder section div.slide {
        height: 500px;
    }
    section#nyheder section div.slide article.description {
        height: 28em;
        padding: 2em 0.5em;
    }
    section#nyheder section div.slide:hover .description {
        height: 28em;
    }
    /* Om os section */
    section#om_os {
        padding: 7em 1em;
    }
    section#om_os article h2 {
        font-size: 3rem;
    }
    section#om_os section>img {
        width: 100%;
        height: auto;
        margin: auto;
    }
    section#om_os section article p {
        font-size: 1.2rem;
    }
    /* Cards section */
    section#cards {
        padding: 0 1em 7em;
    }
    section#cards article {
        margin: 2em auto;
    }
    section#cards article section h3 {
        font-size: 2rem;
    }
    section#cards article section p {
        font-size: 1.3rem;
    }
    /* Galleri section */
    section#galleri {
        padding: 7em 1em;
    }
    section#galleri h2 {
        font-size: 3rem !important;
    }
    section#galleri article {
        width: 100%;
    }
    section#galleri article p {
        font-size: 1.2rem;
    }
    /* Forhandler section */
    section#forhandler {
        padding: 7em 1em;
    }
    section#forhandler article h2 {
        font-size: 3rem;
    }
    section#forhandler section article:first-child p {
        font-size: 1.2rem;
    }
    section#forhandler section article:last-child section h3 {
        font-size: 2.5rem;
    }
    section#forhandler section article:last-child section td {
        font-size: 1.1rem;
    }
    section#forhandler section article:last-child div img:first-child {
        right: 30px;
    }
    /* Kontakt section */
    section#kontakt {
        padding: 7em 1em;
    }
    section#kontakt article h2 {
        font-size: 3rem;
    }
    section#kontakt section article {
        width: 100%;
    }
    section#kontakt section article h3 {
        font-size: 2rem;
    }
    section#kontakt section article p {
        font-size: 1.2rem;
    }
    section#kontakt section article iframe {
        width: 100%;
        height: 300px;
    }
    section#kontakt section article:last-child img {
        top: 28px;
    }
    /* Footer section */
    footer {
        padding: 3em 1em;
    }
    footer p {
        font-size: 1rem;
    }
    footer article div {
        width: 100%;
    }
}

@media screen and (max-width: 320px) {
    header {
        height: 550px;
    }
    header section article h1 {
        font-size: 3rem;
    }
    header section article p {
        font-size: 1.1rem;
    }
    header section article div img {
        transform: rotate(180deg);
        top: 40px;
        left: 45%;
    }
    section#nyheder h2 {
        font-size: 2.5rem;
    }
    section#nyheder section div.slide {
        height: 450px;
    }
    section#nyheder section div.slide article.description {
        height: 17em;
        padding: 1em 0.5em;
    }
    section#nyheder section div.slide:hover .description {
        height: 17em;
    }
    section#om_os>article h2 {
        font-size: 2.5rem;
    }
    section#om_os section article p {
        font-size: 1.1rem;
    }
    section#om_os section article p img {
        width: 40px;
    }
    section#om_os section article>img {
        right: 40px;
    }
    section#cards article section h3 {
        font-size: 1.8rem;
    }
    section#cards article section p {
        font-size: 1.2rem;
    }
    section#galleri h2 {
        font-size: 2.5rem !important;
    }
    section#galleri article p {
        font-size: 1.1rem;
    }
    section#forhandler article h2 {
        font-size: 2.5rem;
    }
    section#forhandler section article:first-child p {
        font-size: 1.1rem;
    }
    section#forhandler section article:last-child section h3 {
        font-size: 2rem;
    }
    section#forhandler section article:last-child div img:first-child {
        right: 20px;
    }
    section#kontakt article h2 {
        font-size: 2.5rem;
    }
    section#kontakt section article h3 {
        font-size: 1.5rem;
    }
    section#kontakt section article p {
        font-size: 1.1rem;
    }
    section#kontakt section article a {
        font-size: 1.1rem;
    }
    section#kontakt section article:last-child img {
        top: 19px;
    }
    footer article h3 {
        font-size: 1.1rem !important;
    }
    footer p {
        font-size: 0.7rem;
    }
}

@media screen and (max-width: 280px) {
    footer article div {
        width: 100%;
    }
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.nav-active {
    transform: translateX(0%);
}