*, *::before, *::after {
    box-sizing: border-box;
}
html {
    color: white;
    font-size: 20px;
    text-align: center;
    text-wrap: balance;
    text-transform: uppercase;
    overflow-x: hidden;
    font-family: 'Times New Roman', Times, serif;
}
body {
    margin: 0;
}
main {
    min-height: 80vh;
    padding: 4rem 0.5rem;
    background-image: url('/gfx/bg-black.jpg');
}
#product main {
    background-image: url('/gfx/bg-ingredients.png'), url('/gfx/bg-wood.jpg');
    background-size: contain, cover;
    background-position: right 6rem center, center;
    background-repeat: no-repeat;
}
header,footer {
    background-color: #003e22;
    background-image: url('/gfx/coat-of-arms-green.png');
    background-position: center -10rem;
    color: #ffffff;
    padding: 0.5rem;
}
header {
    border-bottom: solid 0.3rem #c0c0c0;
}
header nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}
footer {
    border-top: solid 0.3rem #c0c0c0;
}
footer .legal-text p {
    margin-bottom: 0;
}
section {
    overflow: hidden;
}
figure {
    margin: 0;
}
h1, h2 {
    font-weight: normal;
    transform:scale(1.5,1);
    font-size: 1.2rem;
    color: #939598;
    text-transform: uppercase;
    letter-spacing: 0.025rem;
    max-width: 60%;
    margin: auto;
}
h1:after {
    content: "";
    display: block;
    background-color: #003e22;
    height: 0.15rem;
    width: 50%;
    margin: 0.5rem auto 1rem;
}
h2 {
    font-size: 1rem;
}
p {
    margin: 0 auto 1rem;
}
a {
    color: #939598;
}
a:hover {
    color: white;
}
nav a {
    font-weight: bold;
    letter-spacing: 0.025rem;
    text-decoration: none;
}
footer a {
    color: inherit;
    text-decoration: inherit;
}
.modal-content {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/gfx/bg-black.jpg');
    z-index: 1;
    text-align: center;
}
.modal-content > * {
    overflow: hidden;
}
.modal-content img {
    display: block;
    margin: auto;
    max-width: fit-content;
}
.modal-content .legal-text {
    font-size: 0.8rem;
    max-width: 42rem;
}
.button {
    background-color: transparent;
    padding: 0.3rem 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    font-weight: normal;
    transform: scale(1.5,1);
    display: block;
    max-width: 60%;
    width: 100%;
    margin: 0 auto 1rem;
    border: solid 0.1rem #939598;
    text-decoration: none;
    text-transform: uppercase;
    color: #939598;
    cursor: pointer;
}
.button + .button {
    max-width: 50%;
}
.button:hover {
    border-color: white;
    color: white;
}
.modal-content .button {
    border-color: #939598;
    color: white;
    max-width: 18rem;
}
.modal-content .button+.button {
    width: 12rem;
}
.modal-content .button:hover {
    border-color: black;
    color: #939598;
}
form {
    margin-top: 2.7rem;
}
form > div {
    overflow: hidden;
    display: flex;
    margin-bottom: 0.5rem;
}
form > div > label {
    width: 40%;
    text-align: left;
}
form > div > input,
form > div > textarea {
    width: 60%;
}
.page-wrapper {
    max-width: 60rem;
    margin: auto;
}
.columns {
    display: flex;
    align-items: center;
    justify-content: center;
}
.columns.reversed {
    flex-direction: row-reverse;
}
.column {
    width: 60%;
}
.column+.column {
    width: 40%;
}
.signature {
    letter-spacing: 0.15rem;
    margin-top: 3rem;
}
.signature p {
    font-weight: normal;
    transform:scale(1.5,1);
    max-width: 60%;
    margin: 0 auto 1rem;
    line-height: 1.8rem;
}
.signature img {
    max-width: 12rem;
    margin: 0 auto 1rem;
}

.social-links-container {
    display: flex;
    gap: 15px; /* Spaces the icons apart */
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}
.social-icon-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    color: #555555; /* Default un-hovered icon color */
    transition: color 0.3s ease, transform 0.2s ease;
}
.social-svg {
    width: 24px;
    height: 24px;
    fill: currentColor; /* Inherits the color from the .social-icon-link parent */
}
.social-icon-link:hover {
    transform: translateY(-2px); /* Slight lift animation */
}
.social-icon-link[href*="facebook.com"]:hover {
    color: #1877F2; /* Official Facebook Blue */
}
.social-icon-link[href*="instagram.com"]:hover {
    color: #E1306C; /* Official Instagram Pink/Red */
}
#report {
    margin-top: 0.3rem;
}
#report a:before {
    content: url('/gfx/kontrolrapport.gif');
}
#index main {
    padding-top: 0;
}
#contact main {
    display: flex;
    justify-content: center;
    align-items: center;
}
#contact section {
    width: 100%;
}
#index figure.column {
    display: flex;
    justify-content: center;
    width: 40%;
}
#index .column.signature {
    width: 60%;
    margin-top: 7rem;
}
#index h1 {
    font-family: arial, helvetica, sans-serif;
    color: white;
    transform: initial;
    font-size: 2.25rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}
#index h1 .silver {
    color: #939598;
}
#index h1:after {
    display: none;
}
#index .waiter {
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: center;
    max-width: 100%;
}
#index .content-end {
    margin-top: -13rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
}
#index figure {
    gap: 1rem;
}
#index figure.column img {
    width: 50%;
    height: auto;
    align-self: flex-start;
}
#index .content-end .signature {
    margin-top: 13rem;
}
#index .heading-end {
    max-width: 12rem;
    display: block;
    margin: 0 auto 4rem;
}
#contact .button {
    max-width: 40%;
    margin: 2rem 2.4rem 1rem auto;
}
@media all and (max-width: 1366px) {
    #product main {
        background-image: url('/gfx/bg-ingredients.png'), url('/gfx/bg-wood.jpg');
        background-position: right -12vw center, center;
    }
}
@media all and (max-width: 1024px) {
    main {
        min-height: 86vh;
    }
    #product main {
        background-position: right -24vw center, center;
    }
    #contact .columns {
        gap: 1rem;
    }
    #contact .column {
        width: 50%;
    }
    #contact .column+.column {
        width: 40%;
    }
    #contact .button {
        margin: 2rem 2rem 1rem auto;
    }
}
@media all and (max-width: 769px) {
    html {
        font-size: 14px;
    }
    main {
        min-height: 69vh;
    }
    img,
    .columns:not(.content-end){
        display: block;
        max-width: fit-content;
    }
    header nav {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    header nav img {
        order: -1;
    }
    header nav a {
        font-size: 1.2rem;
    }
    img,
    .column,
    .column+.column,
    #contact .column,
    #contact .column+.column {
        width: 100%;
    }
    .social-links-container {
        margin-bottom: 0;
    }
    .modal-content .button {
        max-width: 60%;
    }
    .modal-content .button+.button {
        width: 40%;
    }
    #index main {
        padding-bottom: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #index h1 {
        max-width: 100%;
        margin-bottom: 1.2rem;
        font-size: 1.5rem;
    }
    #index .content-end {
        margin-top: -7rem;
    }
    #index .column.signature {
        margin-top: 7rem;
    }
    #product main {
        background-image: url('/gfx/bg-wood.jpg');
        background-position: center;
        background-size: cover;
    }
}