* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

section#nav-wrapper {
    width: 100%;
    height: auto;
    position: fixed;
    z-index: 999;
    top: 0;
    transition: background 0.6s ease-in-out;
    background: linear-gradient(180deg, rgba(37, 42, 52, 1), rgba(255, 255, 255, 0));
}

.nav-bg {
    background-color: #252a34;
    transition: background-color 0.5s ease-in-out;
}

nav {
    max-width: 1245px;
    margin: 0 auto;
    padding: 40px 30px 40px 0;
    display: flex;
}

nav section {
    width: 50px;
    padding: 0 7px;
    margin-right: 23px;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav section i {
    font-size: 16px;
    color: #EAEAEA;
    opacity: 0.75;
    cursor: pointer;
}

nav a#tablet-logo {
    display: none;
    width: 370px;
    height: auto;
}

nav a#tablet-logo img {
    width: 100%;
    height: auto;
}


/* Burger menu */

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

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

.line {
    position: absolute;
    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%;
    width: 100%;
}

.middle {
    top: 48%;
    width: 75%;
}

.bottom {
    top: 78%;
    width: 50%;
}

.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%;
    width: 100%;
}

nav section i:hover {
    opacity: 1;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    width: 100%;
}

nav ul li a {
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    opacity: 0.65;
    cursor: pointer;
    position: relative;
}

nav ul li a:hover {
    opacity: 1;
}


/* Underline start */

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

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


/* Underline end */

nav ul li#logo {
    width: 370px;
    height: auto;
}

nav ul li#logo a {
    width: 100%;
    height: auto;
    opacity: 1;
}

nav ul li#logo a img {
    width: 100%;
    height: auto;
}


/* Online booking btn style STRAT */

nav ul li:last-child a.underline::before {
    content: "";
    position: absolute;
    width: calc(100% - 50px);
    height: 2px;
    bottom: 7px;
    left: 25px;
    background: #fff;
    visibility: hidden;
    border-radius: 5px;
    transform: scaleX(0);
    transition: .25s linear;
}

nav ul li:last-child a.underline:hover::before,
nav ul li:last-child a.underline:focus::before {
    visibility: visible;
    transform: scaleX(1);
}

nav ul li:last-child a {
    padding: 15px 25px;
}

nav ul li:last-child.show a {
    background-color: rgb(233, 76, 160);
    border-radius: 2em;
    opacity: 1;
    transition: background-color 0.5s ease-in-out;
}

nav ul li:last-child.show a:hover {
    background-color: rgb(233, 107, 174);
}


/* Online booking btn style END*/


/* Header section */

section#header-wrapper {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../images/img4_edit2.jpg);
    background-size: cover;
    background-position: center center;
}

section#header-wrapper section#header-bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 777;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.37);
}

section#header-wrapper article {
    position: relative;
    z-index: 888;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1245px;
    height: auto;
}

section#header-wrapper article h1 {
    font-size: 52px;
    font-weight: 600;
    color: #EAEAEA;
    margin-bottom: 30px;
    opacity: 0;
    animation-duration: 1.5s;
}

section#header-wrapper article p {
    font-size: 20px;
    color: #EAEAEA;
    opacity: 0;
    animation-duration: 2.5s;
}

section#header-wrapper article section {
    margin-top: 60px;
    animation-duration: 1.5s;
    opacity: 0;
}

section#header-wrapper article a:first-child {
    padding: 15px 25px;
    background-color: rgb(233, 76, 160);
    color: #fff;
    border-radius: 2em;
    opacity: 1;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    margin-right: 10px;
}

section#header-wrapper article a:first-child:hover {
    background-color: rgb(233, 107, 174);
}

section#header-wrapper article a:last-child {
    padding: 15px 25px;
    background-color: goldenrod;
    color: #444;
    border-radius: 2em;
    opacity: 1;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    margin-left: 10px;
}

section#header-wrapper article a:last-child:hover {
    background-color: rgb(219, 182, 87);
}

section#header-wrapper article a:last-child i {
    font-size: 18px;
    margin-right: 10px;
}


/* Main section */

main {
    max-width: 1245px;
    margin: 0 auto;
    background-color: #fafafa;
    padding: 0;
    position: relative;
    box-shadow: 0px 0px 30px -11px #000000;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, auto);
}


/* Opening Hour section */

section#openHour {
    position: relative;
    top: -120px;
    z-index: 950;
    background-color: #fafafa;
    width: 100%;
    margin: 0 auto;
    padding: 120px 10px 0;
}

section#openHour>h2 {
    color: #222;
    margin: 0 auto;
    text-align: center;
    font-size: 36px;
    width: 350px;
    padding-bottom: 20px;
    margin-bottom: 75px;
    border-bottom: 1px solid rgba(34, 34, 34, 0.246);
}

.corona {
    margin: 5rem auto 0;
    width: 50%;
    text-align: center;
}

.corona-heading {
    color: rgb(201, 28, 28);
    font-size: 2.1rem;
    margin-bottom: 2rem;
}

.corona-text {
    color: rgb(35, 36, 44);
    margin-top: 0.5rem;
    line-height: 1.5;
}

.corona-text a {
    color: rgb(35, 36, 44);
    text-decoration: underline;
    font-weight: 600;
}

.hvid-text {
    color: rgb(248, 248, 248);
    margin-top: 0.5rem;
    line-height: 1.5;
}

.hvid-text a {
    color: rgb(248, 248, 248);
    text-decoration: underline;
    font-weight: 600;
}


/* Ferie */

.ferie {
    width: 50%;
    margin: 5rem auto 0;
    text-align: center;
}

.ferie-heading {
    font-size: 2.3rem;
    margin-bottom: 1.3rem;
}

.ferie-text {
    font-size: 1.2rem;
}

.ferie-text a {
    font-size: 1.2rem;
    text-decoration: none;
    color: #444;
    font-weight: 600;
}

.ferie-text:nth-child(1) {
    margin-bottom: 2rem;
}

.ferie-book {
    width: 50%;
    margin: 5rem auto 0;
    text-align: center;
}

.ferie-book-heading {
    font-size: 2.3rem;
    margin-bottom: 1.3rem;
    color: goldenrod;
}

.ferie-book-text {
    font-size: 1.2rem;
    color: #EAEAEA;
}

.ferie-book-text a {
    font-size: 1.2rem;
    text-decoration: none;
    color: #EAEAEA;
    font-weight: 600;
}

.ferie-book-text:nth-child(1) {
    margin-bottom: 2rem;
}

section#openHour section#openHourGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 50px;
    grid-column-gap: 50px;
    padding: 0 10px;
}

section#openHour section#openHourGrid table {
    width: 450px;
    height: 350px;
    margin: 0 0 0 auto;
    border-collapse: collapse;
}

section#openHour section#openHourGrid table,
tr {
    border: 1px solid #EAEAEA;
}

section#openHour section#openHourGrid table td {
    text-align: center;
    color: rgba(68, 68, 68, 0.815);
    font-weight: 600;
}

section#openHour section#openHourGrid table th {
    color: #444;
}

section#openHour section#openHourGrid iframe {
    border: 2px solid rgba(68, 68, 68, 0.815);
    border-radius: 3px;
    width: 450px;
    height: 350px;
}


/* About section */

section#about {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
}

section#about article {
    padding: 120px;
    background-color: #252a34;
}

section#about article h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: goldenrod;
}

section#about article p {
    color: #EAEAEA;
}

section#about article p {
    line-height: 2;
}

section#about article p:nth-child(4) {
    margin: 30px 0;
    font-weight: 600;
}

section#about article p:nth-child(5) {
    margin: 30px 0;
}

section#about section {
    background-image: url(../images/about-image.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
}


/* Kvaliteter section */

section#kvaliteter {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    column-gap: 50px;
    grid-column-gap: 50px;
    margin: 120px 0;
    padding: 0 10px;
}

section#kvaliteter article {
    text-align: center;
}

section#kvaliteter article i {
    font-size: 52px;
    color: #444;
    margin-bottom: 15px;
}

section#kvaliteter article h2 {
    margin-bottom: 10px;
}

section#kvaliteter article h2,
p {
    color: #222;
}


/* Book section */

section#book {
    padding: 120px 0;
    background-color: #252a34;
}

section#book article {
    width: 100%;
    text-align: center;
}

section#book article>h2 {
    color: goldenrod;
    font-size: 36px;
}

section#book article>p {
    color: #EAEAEA;
    margin: 20px auto 35px;
    width: 40%;
}

section#book article a {
    padding: 15px 25px;
    background-color: rgb(233, 76, 160);
    color: #fff;
    border-radius: 2em;
    opacity: 1;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    margin-right: 10px;
}

section#book article a:hover {
    background-color: rgb(233, 107, 174);
}


/* Social media section */

section#socials {
    padding: 120px 10px;
    background-image: url(../images/socials-bg.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-blend-mode: multiply;
    background-color: #00000088;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
}

section#socials section {
    margin: 0 auto;
    text-align: center;
}

section#socials section h2 {
    color: #EAEAEA;
    font-size: 36px;
    padding: 20px 30px 20px;
    margin-bottom: 50px;
    border-bottom: 1px solid#EAEAEA;
    border-top: 1px solid#EAEAEA;
}


/* Footer section */

footer {
    width: 100%;
    background-color: #252a34;
    padding: 120px 40px 30px;
}

footer>p {
    color: #EAEAEA;
    text-align: center;
    opacity: 0.75;
    margin-top: 50px;
}

footer section#kontakt {
    max-width: 1245px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
}

footer section#kontakt article:first-child h3 {
    color: goldenrod;
    font-size: 36px;
    margin-bottom: 10px;
}

footer section#kontakt article:first-child a {
    color: #EAEAEA;
    text-decoration: none;
}

footer section#kontakt article:first-child a:hover {
    opacity: 0.75;
}

footer section#kontakt article p {
    color: #EAEAEA;
    margin-bottom: 7px;
}

footer section#kontakt article:nth-child(2) {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

footer section#kontakt article:nth-child(2) h4 {
    color: goldenrod;
    font-size: 18px;
    margin-bottom: 10px;
}

footer section#kontakt article:nth-child(2) a {
    margin-bottom: 7px;
    text-decoration: none;
    color: #EAEAEA;
    opacity: 0.75;
}

footer section#kontakt article:nth-child(2) a:hover {
    opacity: 1;
}

footer section#kontakt article:last-child {
    margin: 0 0 0 auto;
}

footer section#kontakt article:last-child h4 {
    color: goldenrod;
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center;
}

footer section#kontakt article:last-child section {
    width: 200px;
    display: flex;
    justify-content: space-between;
}

footer section#kontakt article:last-child section p {
    margin-bottom: 7px;
}

@media screen and (max-width: 1000px) {
    section#openHour section#openHourGrid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, auto);
        grid-row-gap: 50px;
        row-gap: 50px;
        column-gap: none;
        grid-column-gap: none;
    }
    section#openHour section#openHourGrid table {
        height: 350px;
        margin: 0 auto;
    }
    section#openHour section#openHourGrid iframe {
        margin: 0 auto;
    }
    section#about article {
        padding: 120px 40px;
        background-color: #252a34;
    }
}

@media screen and (max-width: 900px) {
    nav {
        justify-content: center;
    }
    nav section {
        display: none;
    }
    section#kvaliteter {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, auto);
        column-gap: none;
        row-gap: 50px;
        grid-row-gap: 50px;
    }
    section#kvaliteter article {
        width: 350px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 800px) {
    section#nav-wrapper {
        height: 117px;
    }
    nav ul li#logo {
        display: none;
    }
    nav ul li a {
        opacity: 1;
    }
    /* Show logo */
    nav a#tablet-logo {
        display: block;
    }
    /* Burger menu */
    .nav-links {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 1000;
        width: 100vw;
        height: 100vh;
        padding: 0;
        transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        background-color: #212529d7;
        transform: translateX(100%);
    }
    .nav-links li {
        opacity: 0;
        margin: auto;
    }
    .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;
    }
    section#header-wrapper article h1 {
        font-size: 42px;
    }
    section#about article p {
        line-height: 1.7;
    }
}

@media screen and (max-width: 768px) {
    .corona {
        width: 60%;
    }
    footer section#kontakt {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    footer section#kontakt>article:nth-child(2) {
        display: none;
    }
}

@media screen and (max-width: 640px) {
    section#header-wrapper article h1 {
        font-size: 36px;
    }
    .corona {
        width: 70%;
    }
    section#about {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(auto-fill, auto);
    }
    section#book article>p {
        width: 60%;
    }
    section#socials section h2 {
        font-size: 26px;
    }
}

@media screen and (max-width: 600px) {
    section#nav-wrapper {
        height: auto;
    }
    nav {
        padding: 30px 40px;
        justify-content: flex-start;
    }
    nav div.burger-menu {
        top: 30px;
    }
    nav a#tablet-logo {
        width: 300px;
    }
    section#header-wrapper article h1 {
        font-size: 30px;
    }
    footer section#kontakt {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        row-gap: 50px;
        grid-row-gap: 50px;
    }
    footer section#kontakt>article:nth-child(1) {
        margin: 0 auto;
        text-align: center;
    }
    footer section#kontakt>article:nth-child(3) {
        margin: 0 auto;
    }
}

@media screen and (max-width: 500px) {
    section#header-wrapper article h1 {
        font-size: 30px;
        text-align: center;
    }
    section#header-wrapper article p {
        font-size: 16px;
    }
    section#openHour section#openHourGrid table {
        width: 100%;
    }
    section#openHour section#openHourGrid iframe {
        width: 100%;
        height: 250px;
    }
    .corona-heading {
        font-size: 1.7rem;
    }
    .corona-text {
        font-size: 0.9rem;
    }
    .ferie, .ferie-book {
        width: 90%;
    }
    .ferie-heading, .ferie-book-heading {
        font-size: 1.7rem;
    }
    .ferie-text, .ferie-book-text {
        font-size: 0.9rem;
    }
    .ferie-text a, .ferie-book-text a {
        font-size: 0.9rem;
    }
    footer>p {
        font-size: 14px;
    }
}

@media screen and (max-width: 450px) {
    nav {
        align-items: center;
    }
    nav a#tablet-logo {
        margin-top: 8px;
    }
    nav a#tablet-logo img {
        width: auto;
        height: 23px;
    }
}

@media screen and (max-width: 430px) {
    section#kvaliteter article {
        width: 100%;
        margin: 0 auto;
        padding: 0;
    }
}

@media screen and (max-width: 400px) {
    section#header-wrapper {
        height: 100vh;
    }
    section#openHour {
        top: 0;
        margin-bottom: 100px;
        padding: 100px 10px 0;
    }
    section#openHour h2 {
        width: 100%;
    }
    .corona {
        width: 90%;
    }
    section#kvaliteter {
        margin: 100px 0;
    }
    section#book {
        padding: 100px 0;
    }
    section#book article>p {
        width: 75%;
    }
    section#socials {
        padding: 100px 10px;
    }
    footer {
        padding: 100px 40px 60px;
    }
}

@media screen and (max-width: 320px) {
    nav {
        padding: 20px 10px;
    }
    nav div.burger-menu {
        top: 20px;
    }
    section#header-wrapper article h1 {
        margin-bottom: 15px;
    }
    section#header-wrapper article section {
        margin-top: 45px;
    }
    section#header-wrapper article a:first-child {
        padding: 15px 25px;
        font-weight: 600;
        font-size: 12px;
    }
    section#header-wrapper article a:last-child {
        padding: 15px 25px;
        font-weight: 600;
        font-size: 12px;
    }
    section#header-wrapper article a:last-child i {
        font-size: 16px;
    }
    nav ul li:last-child.show a {
        background-color: transparent;
        border-radius: 2em;
        opacity: 1;
    }
    nav ul li:last-child.show a:hover {
        background-color: transparent;
    }
    section#about article {
        padding: 100px 20px;
    }
}


/* Header on load aniimations START */

@keyframes headerslide {
    from {
        margin-bottom: 200px;
        opacity: 0;
    }
    to {
        margin-bottom: 30px;
        opacity: 1;
    }
}

@keyframes paragraphslide {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes btnslide {
    from {
        margin-top: 200px;
        opacity: 0;
    }
    to {
        margin-top: 60px;
        opacity: 1;
    }
}


/* Header on load aniimations END */

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

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