﻿/* autoprefixer grid: autoplace */

/* Open Sans */
/* cyrillic-ext */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
    src: url('../fonts/Open Sans/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4taVIGxA.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
    src: url('../fonts/Open Sans/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4kaVIGxA.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
    src: url('../fonts/Open Sans/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4saVIGxA.woff2') format('woff2');
    unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
    src: url('../fonts/Open Sans/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4jaVIGxA.woff2') format('woff2');
    unicode-range: U+0370-03FF;
}
/* hebrew */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
    src: url('../fonts/Open Sans/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4iaVIGxA.woff2') format('woff2');
    unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* vietnamese */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
    src: url('../fonts/Open Sans/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4vaVIGxA.woff2') format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
    src: url('../fonts/Open Sans/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4uaVIGxA.woff2') format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
    src: url('../fonts/Open Sans/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVI.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Roboto */
/* cyrillic-ext */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Roboto/KFOmCnqEu92Fr1Mu72xKOzY.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Roboto/KFOmCnqEu92Fr1Mu5mxKOzY.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Roboto/KFOmCnqEu92Fr1Mu7mxKOzY.woff2') format('woff2');
    unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Roboto/KFOmCnqEu92Fr1Mu4WxKOzY.woff2') format('woff2');
    unicode-range: U+0370-03FF;
}
/* vietnamese */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Roboto/KFOmCnqEu92Fr1Mu7WxKOzY.woff2') format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Roboto/KFOmCnqEu92Fr1Mu7GxKOzY.woff2') format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Roboto/KFOmCnqEu92Fr1Mu4mxK.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Ballot */
@font-face {
    font-family: 'Ballot';
    src: url('../fonts/Ballot/ballot.ttf');
}

/* Base 900 Sans OT */
@font-face {
    font-family: 'B900 Sans OT';
    src: url('../fonts/Base 900 Sans OT/base-900-sans-ot-bold.otf');
}

/* Futura Medium BT */
@font-face {
    font-family: 'Futura Medium BT';
    src: url('../fonts/Futura Medium BT/futura-medium-bt.ttf');
}


body {
    font-size: 14px; /* Default font-size: 14px */
    font-family: 'Open Sans', sans-serif; /* Set default font */
    margin: 0 auto; /* Horizontically center the page */
    /* background: -o-linear-gradient(top, hsl(0, 0%, 10%) 0%, hsl(0, 0%, 40%) 10%, hsl(0, 0%, 90%) 50%); */
    /* background: -webkit-linear-gradient(top, hsl(0, 0%, 10%) 0%, hsl(0, 0%, 40%) 10%, hsl(0, 0%, 90%) 50%); */
    /* background: linear-gradient(to bottom, hsl(0, 0%, 10%) 0%, hsl(0, 0%, 40%) 10%, hsl(0, 0%, 90%) 50%); */
    background: #eeeeee;
    background-attachment: fixed;
}

#wrapper {
    margin: 0 auto;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto;
    grid-template-columns: auto;
    -ms-grid-rows: auto 0 auto 0 auto;
    grid-template-rows: repeat(3, auto);
    grid-template-areas: 
        'header' 
        'contentWrapper' 
        'footerMobile';
    grid-gap: 0;
}

/* Header - Start */
#header {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
    position: -webkit-sticky;
    position: sticky; /* Set position to sticky */
    top: 0; /* Position on top */
    z-index: 5;
    height: max-content;
    /* background: #888888; */
    background: -o-linear-gradient(top, hsl(0, 0%, 65%) 0%, hsl(0, 0%, 85%) 40%);
    background: -webkit-linear-gradient(top, hsl(0, 0%, 65%) 0%, hsl(0, 0%, 85%) 40%);
    background: linear-gradient(to bottom, hsl(0, 0%, 65%) 0%, hsl(0, 0%, 85%) 40%);
    grid-area: header;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto;
    grid-template-columns: auto;
    -ms-grid-rows: 5.0rem;
    grid-template-rows: 5.0rem;
    padding: 0.6rem;
    grid-gap: 0;
    border-bottom: 0.2rem solid hsl(10, 66%, 50%);
    grid-template-areas: 
        'headerLogo';
}

#headerLogo {
    display: block;
    grid-area: headerLogo;
    height: 100%;
    width: fit-content;
    justify-self: center;
}

#headerLogo > img {
    /* -ms-grid-row: 1;
    -ms-grid-column: 1; */
    height: inherit;
}

/* #headerOpenSidenav - Start */
#headerOpenSidenav {
    -ms-grid-row: 1;
    -ms-grid-column: 5;
    height: 3.6rem;
    width: 3.6rem;
    grid-area: headerLogo;
    z-index: 10;
    -ms-grid-column-align: end;
    justify-self: end;
    align-self: center;
}

    #headerOpenSidenav > svg {
        height: inherit;
        width: inherit;
    }

#openSidenavButton > rect {
    fill: black; /* Set fill to black */
}
/* #headerOpenSidenav - End */
#headerNav {
    position: -webkit-sticky;
    position: sticky; /* Set position to sticky */
    top: 0; /* Position on top when sticky */
    z-index: 5; /* Set z-index to 3 */
    display: none; /* Set display to none, to hide it by default */
    background: hsl(0, 0%, 85%); /*#888888; /*hsl(34, 100%, 70%); /* Set background to lightgrey */
    color: hsl(10, 66%, 50%);
    text-align: center;
    -ms-grid-columns: auto auto auto;
    grid-template-columns: repeat(3, auto);
    -ms-grid-rows: auto;
    grid-template-rows: auto;
    padding: 0.4rem;
    grid-gap: 0;
    grid-area: headerNav;
    border-bottom: 0.2rem solid hsl(10, 65%, 50%);
}

.headerNavLinks {
    font-family: 'B900 Sans OT'; /* Change link font to this? */
    font-size: 1.2rem; /* Set font-size to 1.25rem */
    line-height: 1.2;
    padding: 0.2rem 0.3rem; /* Set padding */
    border-radius: 0.5rem;
    text-decoration: none; /* Removed the underlines */
    -ms-grid-row-align: center;
    -ms-grid-column-align: center;
    place-self: center;
}

    .headerNavLinks:visited {
        color: inherit;
    }

a.headerNavLinks:hover {
    color: white; /* Change to some darker backround */
    background: hsl(10, 66%, 50%);
    text-decoration: none;
}

.headerNavLinks:active {
    color: white;
}

#headerNavLinkActive {
    background: hsl(10, 66%, 50%); /*hsl(10, 66%, 50%); /* Change to some darker background when adjusting optic */
    color: white;
}

    #headerNavLinkActive:active {
        color: white;
    }
/* Header - End */

/* Sidenav - Start */
#sidenavWrapper {
    position: fixed;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: none;
    -ms-grid-columns: auto auto;
    grid-template-columns: auto auto;
    -ms-grid-rows: auto;
    grid-template-rows: auto;
    grid-template-areas: 
        'closeSidenavDiv sidenav';
}

#closeSidenavDiv {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    height: 100%;
    -webkit-transition: 0s;
    -o-transition: 0s;
    transition: 0s;
    background: transparent;
    grid-area: closeSidenavDiv;
}

#sidenav {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 10;
    top: 0;
    right: 0;
    background-color: #111;
    overflow-x: hidden;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    grid-area: sidenav;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto;
    grid-template-columns: auto;
    -ms-grid-rows: 3rem 2.6rem 2.6rem 2.6rem 2.6rem 2.6rem 2.6rem 2.6rem;
    grid-template-rows: 3rem repeat(7, 2.6rem);
}

    #sidenav > a {
        margin: 0 0.6rem;
        padding: 0.6rem;
        text-decoration: none;
        font-family: 'B900 Sans OT'; /* Change link font to this? */
        font-size: 1rem;
        color: #999;
        display: block;
        -webkit-transition: 0.3s;
        -o-transition: 0.3s;
        transition: 0.3s;
        -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    }

div#sidenav > a:hover {
    color: white;
}

#sidenav > #closeSidenavButton {
    margin: 0;
    padding: 0;
    width: 3rem;
    height: 3rem;
    font-size: 3rem;
    -ms-grid-column-align: end;
    justify-self: end;
    -ms-grid-row-align: center;
    align-self: center;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto;
    grid-template-columns: auto;
    -ms-grid-rows: auto;
    grid-template-rows: auto;
}

#closeSidenavButton > p {
    margin: 0;
    line-height: 1;
    -ms-grid-row-align: center;
    -ms-grid-column-align: center;
    place-self: center;
}
/* Sidenav - End */

/* Content - Start */
/* General content settings - Start */
#contentWrapper {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
    padding: 0.8rem; /* Set padding to 0.8rem */
    background: hsl(0, 0%, 85%); /* Set background to white */
    grid-area: contentWrapper;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto;
    grid-template-columns: auto;
    -ms-grid-rows: auto auto;
    grid-template-rows: auto auto;
    grid-template-areas: 
        'contentHeading' 
        'content';
}

#contentHeading {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
    margin: 0;
    font-size: 2rem;
    grid-area: contentHeading;
    -ms-grid-row-align: start;
    align-self: start;
}

.plainText {
    line-height: 1.6;
    font-size: 1rem;
}

.removeMarginTop {
    margin-top: 0 !important;
}

.removeMarginRight {
    margin-right: 0 !important;
}

.removeMarginBottom {
    margin-bottom: 0 !important;
}

.removeMarginLeft {
    margin-left: 0 !important;
}

hr {
    background: hsl(10, 66%, 50%);
    border-color: hsl(10, 66%, 50%);
    border-style: solid;
}

.hr80 {
    width: 80%;
}

.hr100 {
    width: 100%;
}

ul {
    margin: 1rem 0;
    padding-left: 1.25rem;
}

.placeholderToBeChanged {
    color: red !important;
    line-height: 1.95rem !important;
    padding: 0.2rem !important;
    border: 0.2rem dashed deeppink !important;
}

table tr.blankTR {
    height: 1rem !important;
}

span.line {
    display: inline-block;
}

/* Thumbnail Gallery - Start */
.thumbnailGallery {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
    background: hsl(34, 100%, 70%);
    border-radius: 1rem;
    grid-area: thumbnailGallery;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    grid-gap: 0.6rem;
    padding: 0.6rem;
}

.thumbnailGalleryHeading {
    margin: 0;
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    grid-area: 1 / 1 / 2 / 3;
}

    .thumbnailGalleryHeading > .hr100 {
        margin-bottom: 0;
    }

.galleryThumbnailDivs {
    width: auto;
    background: #111;
    overflow: hidden;
    border: 0.2rem solid hsl(10, 66%, 50%);
    border-radius: 0.8rem;
    margin: 0.2rem;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto;
    grid-template-columns: auto;
    -ms-grid-rows: auto;
    grid-template-rows: auto;
}

.thumbnailGalleryThumbnails {
    width: 100%;
    -ms-grid-row-align: center;
    -ms-grid-column-align: center;
    place-self: center;
    margin: auto;
}
/* Thumbnail Gallery - End */
/* Fullscreen Gallery - Start */
#galleryOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    background-color: rgba(0, 0, 0, 0.6);
    transition: 0s;/*0.5s;*/
    filter: opacity(0);
}

#galleryContainer {
    display: none;
    position: fixed;
    top: 50vh;
    left: 50vw;
    z-index: 25; /* definetly show on to of everything else */
    transform: translate(-50%, -50%); /* position in the center of the viewport */
    width: 0; /* by default, gets changed by gallery.js */
    background: hsl(34, 100%, 70%);
    overflow: hidden; /* prevent the text overflowing during the fade-in and fade-out animations */
    border: 0 solid hsl(10, 66%, 50%);
    border-radius: 1rem;
    transition: 0s;/*0.8s;*/
    grid-template-columns: 100%;
    grid-template-rows: auto auto;
    grid-template-areas: 
        'galleryImageContainer'
        'galleryImageDataContainer';
}

#galleryImageContainer {
    margin: 0;
    padding: 0;
    width: inherit;
    height: inherit;
    background: #111;
    display: grid;
    grid-template-columns: 25fr 50fr 25fr;
    grid-template-rows: auto;
    grid-template-areas: 
        'galleryImageNav_Prev . galleryImageNav_Next';
}

#galleryImage {
    width: inherit; /* as wide as the #galleryContainer */
    height: inherit; /* as high as the #galleryContainer */
    justify-self: center;
    align-self: center;
    grid-area: 1 / 1 / 2 / 4;
    object-fit: contain;
}

.galleryImageNav {
    display: none;
}
 
#galleryImageNav_Prev {
    position: relative;
    z-index: 26; /* show on top of the gallery */
    transition: 0s;/*0.5s;*/
    background: url('../img/Gallery Icons/prev.svg') no-repeat 20% center; /* the 'prev' icon */
    filter: opacity(0); /* hide by default */
    grid-area: galleryImageNav_Prev;
}

#galleryImageNav_Next {
    position: relative;
    z-index: 26; /* show on top of the gallery */
    transition: 0s;/*0.5s;*/
    background: url('../img/Gallery Icons/next.svg') no-repeat 80% center; /* the 'next' icon */
    filter: opacity(0); /* hide by default */
    grid-area: galleryImageNav_Next;
}

#galleryImageDataContainer {
    margin: 0;
    height: 5rem;
    overflow: hidden; /* prevent the text overflowing during the fade-in and fade-out animations */
    display: grid;
    grid-template-columns: auto 3.8rem;
    grid-template-rows: 1.2rem 2.1rem 1.7rem;
    grid-template-areas:
        'galleryImageCounter galleryImageCounter'
        'galleryImageTitle closeGalleryButton'
        'galleryImageDescription closeGalleryButton';
}

#galleryImageCounter {
    margin: 0;
    overflow: hidden; /* prevent the text overflowing during the fade-in and fade-out animations */
    height: 1.2rem;
    font-size: 1rem;
    line-height: 1.5;
    grid-area: galleryImageCounter;
    justify-self: center;
    align-self: end;
}

#galleryImageTitle {
    margin: 0;
    margin-right: 1rem;
    overflow: hidden; /* prevent the text overflowing during the fade-in and fade-out animations */
    height: 2.1rem;
    font-size: 1.4rem;
    line-height: 1.5;
    grid-area: galleryImageTitle;
    justify-self: start;
    align-self: center;
}

#galleryImageDescription {
    margin: 0;
    margin-right: 1rem;
    overflow: hidden;
    height: 1.7rem;
    font-size: 1.2rem;
    line-height: 1.5;
    grid-area: galleryImageDescription;
    justify-self: start;
    align-self: start;
}

#closeGalleryButton {
    grid-area: closeGalleryButton;
    justify-self: end;
    align-self: center;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
}

#closeGalleryButton > img {
    justify-self: center;
    align-self: center;
    height: 80%;
}

#closeGalleryButton > img:hover {
    cursor: pointer;
}
/* Fullscreen Gallery - End */
/* General content settings - End */

/* For index.php content - Start*/
#contentIndex {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
    grid-area: content;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto;
    grid-template-columns: auto;
    -ms-grid-rows: auto;
    grid-template-rows: auto;
}


#welcomeP {
    font-size: 1.2rem;
    text-align: center;
    -ms-grid-column-align: center;
    justify-self: center;
}

    #welcomeP > span {
        font-size: 1.2em;
    }

#wildfleischP {
    justify-self: center;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    background: hsl(10, 66%, 50%);
    border-radius: 0.5rem;
    padding: 0.7rem;
}

/* For index.php content - End*/

/* For produkte.php content - Start */
#contentProdukte {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto;
    grid-template-columns: auto;
    -ms-grid-rows: auto auto;
    grid-template-rows: repeat(2, auto);
    grid-template-areas: 
        '.'
        'productPriceTable' 
        'thumbnailGallery';
}

#contentProdukte p:first-child {
    font-size: 1.25rem;
}

#productPriceTable {
    justify-self: center;
    width: 100%;
    border: 0.2rem solid hsl(10, 66%, 50%);
    border-radius: 1rem;
    border-spacing: 0;
    border-collapse: separate;
    margin-top: 0.8rem;
    margin-bottom: 2rem;
    overflow: hidden;
    font-size: 90%;
}

#productPriceTable tr {
    min-height: 2em;
}

#productPriceTable th {
    padding: 0.8rem 0.5rem;
    text-align: center;
    text-decoration: underline;
}
#productPriceTable td {
    padding: 0.2em 0.5em;
}

/* #productPriceTable padding, but applied to first/last row/col. */
/* !important is probably bad practice, but IMO still better than artificially increasing the selector specificity. */
#productPriceTable tr:first-child th {
    padding-top: 0.4rem !important;
}
#productPriceTable tr > :last-child {
    padding-right: 0.6rem !important;
}
#productPriceTable tr:last-child td {
    padding-bottom: 0.6rem !important;
}
#productPriceTable tr > :first-child {
    padding-left: 0.6rem !important;
}

/* Left half. */
#productPriceTable col:first-child {
    background: hsl(10, 66%, 50%);
}
#productPriceTable tr > :first-child {
    color: white;
    text-align: left;
    text-decoration: none;
}
#productPriceTable th:first-child {
    font-size: 1.5em;
}
#productPriceTable tr:first-child :first-child {
    border-radius: calc(0.8rem - 2px) 1rem 0 0;
}
#productPriceTable tr:last-child :first-child {
    border-radius: 0 0 1rem calc(0.8rem - 2px);
}

/* Right half. */
#productPriceTable tr td:nth-child(2) {
    text-align: center;
}
#productPriceTable tr td:nth-child(3) {
    text-align: right;
}
/* For produkte.php content - End */

/* For kontakt.php content - Start */
#contentKontakt {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
    grid-area: content;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto;
    grid-template-columns: auto;
    -ms-grid-rows: auto auto auto auto auto auto;
    grid-template-rows: repeat(6, auto);
    grid-template-areas: 
        'kontaktIntroP' 
        'kontakt' 
        '.' 
        'contactformIntroP' 
        'errorMessage' 
        'contactform';
}

#kontaktIntroP {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
    grid-area: kontaktIntroP;
    font-size: 1.1rem;
}

#kontakt {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
    grid-area: kontakt;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 7.5rem auto;
    grid-template-columns: 7.5rem auto;
    -ms-grid-rows: 7.5rem 7.5rem 7.5rem 7.5rem;
    grid-template-rows: repeat(4, 7.5rem);
}

    #kontakt > p {
        width: auto;
        margin: 0;
        -ms-grid-column-align: start;
        justify-self: start;
        -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    }

        #kontakt > p > a {
            color: black;
        }

            #kontakt > p > a:active {
                color: black;
            }

#kontakt > img {
    -ms-grid-row-align: center;
    -ms-grid-column-align: center;
    place-self: center;
}

#contentKontakt > .hr80 {
    margin: 2rem 0;
    -ms-grid-column-align: center;
    justify-self: center;
}

#contactformIntroP {
    -ms-grid-row: 4;
    -ms-grid-column: 1;
    grid-area: contactformIntroP;
    font-size: 1.1rem;
}

#errorMessage {
    grid-area: errorMessage;
    color: red;
}

#contactform {
    -ms-grid-row: 5;
    -ms-grid-column: 1;
    grid-area: contactform;
    margin: 0;
}

    #contactform > label {
        font-size: 1.1rem;
    }

.contactformInputs {
    margin: 0.5rem 0 0 0;
    border-width: 0.1rem;
    font-size: 1rem;
    line-height: 1.5;
    width: 15rem;
}

textarea.contactformInputs {
    width: 15rem;
    height: 6.5rem;
}

#contactformSubmitButton {
    font-size: 1.1rem;
}

#contactformSubmitButton:hover {
    cursor: pointer;
}
/* For kontakt.php content - End */

/* For impressum.php content - Start */
#contentImpressum {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
    width: 100%;
    grid-area: content;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 100%;
    grid-template-columns: 100%;
    -ms-grid-rows: auto auto auto;
    grid-template-rows: repeat(3, auto);
}

.impressumHeadingsBig {
    font-size: 1.4rem;
}

.impressumHeadingsSmall {
    margin: 2rem 0 0 0;
    font-size: 1.2rem;
}
/* For impressum.php content - End */

/* Content - End */

/* Footer - Start */
#footerMobile {
    -ms-grid-row: 5;
    -ms-grid-column: 1;
    margin: 0; /* Set margin to 0 */
    padding: 0.8rem; /* Set padding to 0.6rem */
    background: hsl(10, 66%, 50%); /* Set background to darkgrey */
    font-size: 0.9rem; /* Decreasing font-size */
    line-height: 1.2;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    grid-area: footerMobile;
    -ms-grid-row-align: end;
    align-self: end;
    height: 2rem;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto;
    grid-template-columns: auto;
    -ms-grid-rows: auto auto;
    grid-template-rows: auto auto;
    text-align: center;
    color: hsl(0, 0%, 85%);
}

.footerPMobile {
    margin: 0;
    -ms-grid-row-align: center;
    -ms-grid-column-align: center;
    place-self: center;
}

#footerDesktop {
    margin: 0; /* Set margin to 0 */
    padding: 0.8rem; /* Set padding to 0.6rem */
    background: hsl(10, 66%, 50%); /* Set background to darkgrey */
    font-size: 0.9rem; /* Decreasing font-size */
    line-height: 1.2;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    grid-area: footerDesktop;
    -ms-flex-item-align: end;
    -ms-grid-row-align: end;
    align-self: end;
    height: 1rem;
    display: none;
    -ms-grid-columns: auto;
    grid-template-columns: auto;
    -ms-grid-rows: auto;
    grid-template-rows: auto;
    text-align: center;
    color: hsl(0, 0%, 85%);
}

#footerPDesktop {
    margin: 0;
    -ms-grid-row-align: center;
    -ms-grid-column-align: center;
    place-self: center;
}

.footerNavLinks {
    color: hsl(0, 0%, 85%);
}
/* Footer - End */

/* @media rules - Start */
@media only screen and (min-width: 420px) {

    #welcomeP > img {
        width: 15rem;
    }

    #sidenav {
        -ms-grid-rows: 3rem 2.6rem 2.6rem 2.6rem 2.6rem 2.6rem 2.6rem 2.6rem;
        grid-template-rows: 3rem repeat(7, 2.6rem);
    }

        #sidenav > a {
            font-size: 1.3rem;
        }

    #productPriceTable {
        width: fit-content;
        font-size: 100%;
    }

    #productPriceTable tr > :first-child {
        width: fit-content;
    }

    #productPriceTable tr > :nth-child(2) {
        width: fit-content;
    }

    #productPriceTable tr > :nth-child(3) {
        width: fit-content;
    }

    /* #productPriceTable padding, but applied to first/last row/col. */
    /* !important is probably bad practice, but IMO still better than artificially increasing the selector specificity. */
    #productPriceTable tr:first-child th {
        padding-top: 0.8rem !important;
    }
    #productPriceTable tr > :last-child {
        padding-right: 1rem !important;
    }
    #productPriceTable tr:last-child td {
        padding-bottom: 1rem !important;
    }
    #productPriceTable tr > :first-child {
        padding-left: 1rem !important;
    }
    
    #footerPMobile {
        font-size: 1.2rem; /* Setting font-size to 1rem */
    }
}

@media only screen and (min-width: 480px) { /* For devices with a width >= 480px */

    body {
        font-size: 15px; /* Default font-size: 15px */
    }

    #sidenav {
        -ms-grid-rows: 3rem 2.8rem 2.8rem 2.8rem 2.8rem 2.8rem 2.8rem 2.8rem;
        grid-template-rows: 3rem repeat(7, 2.8rem);
    }

        #sidenav > a {
            font-size: 1.5rem;
        }
    
    .thumbnailGallery {
        -ms-grid-columns: 1fr 1fr 1fr;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 0.8rem;
        padding: 0.8rem;
    }

    .thumbnailGalleryHeading {
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
        grid-area: 1 / 1 / 2 / 4;
    }

    #welcomeP {
        font-size: 1.5rem;
    }
}

@media only screen and (min-width: 545px) { /* For devices with a width >= 545px */

    body {
        font-size: 16px; /* Default font-size: 16px */
    }

    #wrapper {
        -ms-grid-rows: auto 0 auto 0 2.7rem;
        grid-template-rows: auto auto 2.7rem;
        grid-template-areas: 
            'header' 
            'contentWrapper' 
            'footerDesktop';
    }

    #sidenav {
        -ms-grid-rows: 3rem 3rem 3rem 3rem 3rem 3rem 3rem 3rem;
        grid-template-rows: 3rem repeat(7, 3rem);
    }

        #sidenav > a {
            font-size: 1.7rem;
        }

    .thumbnailGallery {
        -ms-grid-columns: 1fr 1fr 1fr 1fr;
        grid-template-columns: repeat(4, 1fr);
    }

    .thumbnailGalleryHeading {
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 4;
        grid-area: 1 / 1 / 2 / 5;
    }

    #kontakt {
        width: 90%;
    }

    #footerMobile {
        display: none;
    }

    #footerDesktop {
        display: -ms-grid;
        display: grid;
    }

    #contentWrapper {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
    }

    #footerDesktop {
        -ms-grid-row: 5;
        -ms-grid-column: 1;
    }
}

@media only screen and (min-width: 650px) { /* For devices with a width >= 650px */

    body {
        font-size: 17px; /* Default font-size: 17px */
    }

    #sidenav > a {
        font-size: 2rem;
    }
}

@media only screen and (min-width: 768px) { /* For devices with a width >= 768px */

    body {
        font-size: 18px; /* Default font-size: 18px */
    }

    #wrapper {
        /* -ms-grid-rows: auto 0 auto 0 auto 0 auto; */
        grid-template-rows: repeat(4, auto);
        grid-template-areas: 
            'header' 
            'headerNav' 
            'contentWrapper' 
            'footerDesktop';
    }

    #header {
        position: static;
        /* -ms-grid-columns: auto auto; */
        grid-template-rows: 10rem;
        grid-gap: 0 0.6rem;
        padding: 0.6rem 3rem;
        grid-template-areas: 
            '. headerLogo .';
        grid-template-columns: 1fr auto 1fr;
        border-bottom: none;
    }
    
    #headerOpenSidenav {
        display: none;
    }

    #headerLogo {
        display: block;
        justify-self: left;
    }

    #headerNav {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        display: -ms-grid;
        display: grid;
    }

    div.galleryThumbnailDivs:hover {
        -webkit-transform: scale(1.05);
        -ms-transform: scale(1.05);
        transform: scale(1.03);
        cursor: pointer;
    }

    #welcomeP {
        font-size: 1.8rem;
    }

    #productPriceTable tr > :first-child {
        padding-right: 1.4em;
    }

    #productPriceTable tr > :nth-child(2) {
        padding-left: 0.8em;
    }

    /* #productPriceTable padding, but applied to first/last row/col. */
    /* !important is probably bad practice, but IMO still better than artificially increasing the selector specificity. */
    #productPriceTable tr > :first-child {
        padding-left: 1.6rem !important;
    }

    #kontakt {
        width: 80%;
    }

    .contactformInputs {
        width: 22.5rem;
    }

    textarea.contactformInputs {
        width: 22.5rem;
        height: 11.25rem;
    }

    .galleryImageNav {
        display: block;
    }

    div#galleryImageNav_Prev:hover,
    div#galleryImageNav_Next:hover {
        filter: opacity(1); /* show when you hover over their divs */
        cursor: pointer;
    }
}

@media only screen and (min-width: 800px) {

    .headerNavLinks {
        padding: 0.2rem 0.4rem;
    }
}

@media only screen and (min-width: 1024px) { /* For devices with a width >= 1024px */

    body {
        font-size: 18px; /* Default font-size: 18.5px */
    }

    #header {
        padding: 0.6rem 6rem;
    }
}

@media only screen and (min-width: 1077px) {

    #wrapper {
        width: 70%;
        border-left: 0.1rem solid hsl(10, 66%, 50%);
        border-right: 0.1rem solid hsl(10, 66%, 50%);
    }
}

@media only screen and (min-width: 1440px) { /* For devices with a width >= 1440px */

    body {
        font-size: 30px;
    }

    #productPriceTable {
        font-size: 20px;
    }
}

@media only screen and (min-width: 2000px) { /* For devices with a width >= 2150px */

    body {
        font-size: 40px;
    }
    
    #productPriceTable {
        font-size: 24px;
    }
}
/* @media rules - End */
