﻿/* 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;
}


body {
    font-size: 16px; /* set default font-size */
    font-family: 'Open Sans', sans-serif; /* set default font */
    background: #eeeeee;
    display: grid;
}

#wrapper {
    justify-self: center; /* horizontically center the page */
    display: grid;
    width: 100%;
    min-height: 100vh;
    grid-template-columns: auto;
    grid-template-rows: auto 1fr auto;
    grid-template-areas: 
        'header' 
        'contentWrapper' 
        'footer';
}

/* Header - Start */
#header {
    position: sticky; /* sticky #header in portrait mode */
    top: 0; /* position at top */
    z-index: 5; /* display on top */
    height: 4rem;
    background: #ffffff;
    grid-area: header;
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: auto;
    padding: 0.6rem 1.2rem;
    grid-template-areas: 
        'headerLogo headerOpenSidenav';
}

#headerLogoContainer {
    height: 4rem;
    grid-area: headerLogo;
}

#headerLogoContainer > a,
#headerLogoContainer > a > img {
    height: inherit; /* inherit height from #headerLogoContainer */
}

/* #headerOpenSidenav - Start */
#headerOpenSidenav {
    height: 4rem;
    grid-area: headerOpenSidenav;
    justify-self: end;
}
/* #headerOpenSidenav - End */

#headerNav {
    position: sticky;
    top: 0;
    z-index: 5; /* display on top */
    display: none; /* hide by default */
    background: #ffffff;
    color: #000000;
    text-align: center;
    grid-template-columns: repeat(5, auto);
    grid-template-rows: auto;
    padding: 0.4rem;
    grid-area: headerNav;
}

.headerNavLinks {
    font-size: 1.2rem;
    line-height: 1.2;
    margin: 0 0.4rem;
    padding: 0.2rem 0.3rem;
    border-radius: 0.5rem;
    text-decoration: none; /* remove the underlines */
    justify-self: center;
    align-self: center;
    color: #000000;
}

    .headerNavLinks:first-child {
        margin-left: 0; /* remove margin-left */
    }
    
    .headerNavLinks:last-child {
        margin-right: 0; /* remove margin-right */
    }

    .headerNavLinks:visited {
        color: #000000;
    }

    .headerNavLinks:hover,
    .headerNavLinks:focus {
        color: /*#ffffff*/ rgb(204, 25, 55);
        /*background: rgba(204, 25, 55, 0.8);*/ /* rgb(204, 25, 55) with 80% opacity */
    }

    .headerNavLinks:active {
        color: /*#ffffff*/ rgb(204, 25, 55);
    }

    #headerNavLinkActive {
        /*background: rgb(204, 25, 55);*/
        color: /*#ffffff*/ rgb(204, 25, 55);
        font-weight: bolder;
    }
/* Header - End */

/* Sidenav - Start */
#sidenavWrapper {
    display: none;
    position: fixed; /* so it's positioned absolutely */
    z-index: 10; /* display #sidenavWrapper above #header and #headerNav */
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
}

#sidenav {
    padding: 0.6rem;
    width: 0; /* 0 by default, gets changed by script.js:openSidenav() */
    height: inherit;
    position: fixed; /* fix position */
    z-index: inherit;
    top: inherit;
    right: inherit;
    background: rgba(0, 0, 0, 0.95); /* black with 95% opacity (or maybe #111) */
    overflow-x: hidden;
    transition: 0.5s;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: repeat(7, 2.6rem);
}

#sidenav > a {
    padding: 0.6rem;
    text-decoration: none; /* remove underlines */
    font-size: 1rem;
    color: #999;
    display: block;
    transition: 0.3s;
    align-self: center; /* center vertically */
}

    div#sidenav > a:hover {
        color: #ffffff;
    }

#closeSidenavButton {
    height: 2.6rem;
    justify-self: end;
    align-self: center;
}
/* Sidenav - End */

/* Content - Start */
/* General content settings - Start */
#contentWrapper {
    padding: 0.6rem 1.2rem;
    background: #ffffff;
    min-height: 100%;
    grid-area: contentWrapper;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    grid-template-areas: 
        'content';
}

.plainText {
    line-height: 1.6;
    font-size: 1rem;
}

p {
    font-size: 1rem;
    margin: 1rem 0;
}

a {
    text-decoration-color: rgb(204, 25, 55);
}

h1, h2, h3, h4, h5, h6 {
    color: rgb(204, 25, 55);
}

ul {
    font-size: 1rem;
    color: rgb(204, 25, 55); /* to dye the list icons rgb(204, 25, 55) */
    list-style: square outside; /* outside squares as list icons */
    padding-left: 1.5rem;
}

ul > li > * { /* set the color of child elements of <li>'s, which contain the content, to black */
    color: #000000;
}

ul > li {
    margin: 0.4rem 0;
}

ul > li:first-child {
    margin-top: 0;
}

ul > li:last-child {
    margin-bottom: 0;
}

.removeMarginTop { /* to remove margin-top */
    margin-top: 0 !important;
}

.removeMarginRight { /* to remove margin-right */
    margin-right: 0 !important;
}

.removeMarginBottom { /* to remove margin-bottom */
    margin-bottom: 0 !important;
}

.removeMarginLeft { /* to remove margin-left */
    margin-left: 0 !important;
}

hr {
    background: rgb(204, 25, 55);
    border: 0.1rem solid rgb(204, 25, 55); /* set thickness, style and colour of <hr> */
    border-radius: 0.1rem;
}

.hr60 {
    width: 60%; /* set width to 60% of its parent */
}

.hr80 {
    width: 80%; /* set width to 80% of its parent */
}

.hr100 {
    width: 100%; /* set width to 100% of its parent */
}

/* Table - Start */
table {
    background: #ffffff;
    border: 0.2rem solid rgb(204, 25, 55);
    border-collapse: collapse;
}

table thead {
    background: rgb(204, 25, 55);
}

table th {
    border: 0.1rem solid #ffffff;
    border-top: none;
    border-bottom: 0.16rem solid rgb(204, 25, 55);
    padding: 0.4rem;
    color: #ffffff;
    font-size: 1.1rem;
}

    table th:first-child {
        border-left: none;
    }

    table th:last-child {
        border-right: none;
    }

table td {
    border: 0.1rem solid rgb(204, 25, 55);
    padding: 0.4rem;
}

    table td:first-child {
        border-left: none;
    }

    table td:last-child {
        border-right: none;
    }

table td p {
    font-size: 1rem;
    margin: 0;
}

table tr:first-child td {
    border-top: none;
}

table tr:last-child td {
    border-bottom: none;
}
/* Table - End */

/* Thumbnail Gallery - Start */
.thumbnailGallery {
    background: #ffffff;
    border: 0.2rem solid rgb(204, 25, 55);
    border-radius: 1rem;
    grid-area: thumbnailGallery;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    grid-gap: 0.6rem;
    padding: 0.6rem;
    font-size: 1rem; /* set font-size to 1rem, to give .thumbnailGalleryHeading something to refer to */
}

.thumbnailGalleryHeading {
    margin: 0;
    grid-area: 1 / 1 / 2 / 3;
}

.galleryThumbnailDivs {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    grid-template-areas: 
        'thumbnail';
    width: auto;
    background: #111;
    overflow: hidden;
    border: 0.2rem solid rgb(204, 25, 55);
    border-radius: 0.8rem;
    margin: 0.2rem;
    transition: 0.3s;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
}

.thumbnailGalleryThumbnails,
.preloadPhotos {
    grid-area: thumbnail;
    width: 100%;
    justify-self: center;
    align-self: center;
}

.preloadPhotos {
    position: relative;
    top: 0;
    left: 0;
    z-index: -1;
}
/* 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: #ffffff;
    overflow: hidden; /* prevent the text overflowing during the fade-in and fade-out animations */
    border: 0 solid rgb(204, 25, 55); /* by default, gets changed by gallery.js */
    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 {
    grid-area: content;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
}


#welcomeP {
    text-align: center;
    justify-self: center;
}

#wP-span1 {
    font-size: 1.2em;
}

#wP-span2 {
    font-size: 1.4em;
}
/* For index.php content - End*/

/* For aktuelles.php content - Start */
#contentAktuelles {
    grid-area: content;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
}

/* For .aktuellesArticles - Start */
.aktuellesArticle {
    overflow: hidden;
    margin: 0.5rem 0;
    padding: 0.6rem;
    background: #ffffff;
    border: solid rgb(204, 25, 55) 0.2rem;
    border-radius: 1rem;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: repeat(3, auto);
    grid-template-areas:
        'aktuellesArticleHeading'
        'aktuellesArticleContent';
}

    .aktuellesArticle:first-child {
        margin-top: 0;
    }

    .aktuellesArticle:last-child {
        margin-bottom: 0;
    }

.aktuellesArticleDate {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    grid-area: aktuellesArticleDate;
    justify-self: start;
    align-self: center;
}

.aktuellesArticleHeading {
    margin: 0;
    width: 100%;
    grid-area: aktuellesArticleHeading;
    justify-self: start;
    align-self: center;
}

#pinnedIcon {
    grid-area: 1 / 1 / 2 / 2;
    justify-self: end;
    align-self: center;
    height: 1.5rem;
}

.aktuellesArticleContent {
    width: 100%;
    margin: 0;
    grid-area: aktuellesArticleContent;
    justify-self: start;
    align-self: start;
    font-size: 1rem;
    /* display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto; */
}

.aktuellesArticleImage {
    max-width: 100%;
    border-radius: 0.6rem;
    justify-self: center;
}
/* For .aktuellesArticles - End */
/* For aktuelles.php content - End */

/* For ueber_uns.php content - Start */
#contentUeber_uns {
    grid-area: content;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: repeat(6, auto);
    grid-template-areas:
        'ueber_unsInfoP'
        '.'
        'skillsList'
        '.'
        'featuresList'
        '.'
        'interestsList';
}

#ueber_unsInfoP_container {
    grid-area: ueber_unsInfoP;
}

#SkillsList_container {
    grid-area: skillsList;
    font-size: 1rem;
}

#FeaturesList_container {
    grid-area: featuresList;
    font-size: 1rem;
}

#InterestsList_container {
    grid-area: interestsList;
    font-size: 1rem;
}
/* For ueber_uns.php content - End */

/* For referenzen.php content - Start */
#contentReferenzen {
    grid-area: content;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
}

#praequalifikationPDF {
    justify-self: center;
    width: 100%;
    margin: 1rem 0;
}

#praequalifikationPDF > img {
    width: 100%;
    border: 0.1rem solid rgb(204, 25, 55);
    border-radius: 0.4rem;
}

/* referenzenTable - Start */
.referenzenTable_sectionHeadings {
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
}

#referenzenTable th:nth-child(1),
#referenzenTable td:nth-child(1) {
    width: 15%;
}

#referenzenTable th:nth-child(2),
#referenzenTable td:nth-child(2) {
    width: 40%;
}

#referenzenTable th:nth-child(3),
#referenzenTable td:nth-child(3) {
    width: 45%;
}
/* referenzenTable - End */
/* For referenzen.php content - End */
/* For projekte.php content - Start */
#contentObjektfotos {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: repeat(2, auto);
    grid-template-areas: 
        'galleryIntroP' 
        'thumbnailGallery';
}

#galleryIntroP {
    grid-area: galleryIntroP;
}
/* For projekte.php content - End */

/* For stellenangebote.php content - Start */
#contentStellenangebote {
    grid-area: content;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
}
/* For stellenangebote.php content - End */

/* For kontakt.php content - Start */
#contentKontakt {
    grid-area: content;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: repeat(6, auto);
    grid-template-areas:
        'kontaktIntroP'
        'kontakt'
        '.'
        'contactformIntroP'
        'errorMessage'
        'contactform';
}

#kontaktIntroP {
    grid-area: kontaktIntroP;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Kontakt Information - Start */
#kontakt {
    grid-area: kontakt;
    display: grid;
    grid-template-columns: 6rem auto;
    grid-template-rows: repeat(3, 6rem);
}

#kontakt > p {
    width: auto;
    margin: 0;
    justify-self: start;
    align-self: center;
}

#kontakt > p > a {
    color: #000000;
}

    #kontakt > p > a:active {
        color: #000000;
    }

#kontakt > img {
    justify-self: center;
    align-self: center;
    height: 4.5rem;
}
/* Kontakt Information - End */

#contentKontakt > .hr80 {
    margin: 2rem 0;
    justify-self: center;
}

#contactformIntroP {
    grid-area: contactformIntroP;
    font-size: 1.1rem;
    margin: 0 0 1.5rem 0;
}

.errorMessage {
	grid-area: errorMessage;
	font-size: 1.5rem;
    margin: 0 0 1rem 0;
}

#contactform {
    grid-area: contactform;
    margin: 0;
}

#contactform > label {
    font-size: 1.1rem;
}

.contactformInputs {
    margin: 0.5rem 0 1.5rem 0;
    padding: 0.2rem 0.3rem;
    border: 0.15rem solid rgb(204, 25, 55);
    border-radius: 0.15rem;
    font-size: 1rem;
    line-height: 1.5;
    width: 15rem;
}

    .contactformInputs:focus {
        outline: none;
    }

textarea.contactformInputs {
    width: 15rem;
    height: 10rem;
}

#contactformSubmitButton {
    font-size: 1.1rem;
    margin: 1.5rem 0 0 0;
    padding: 0.5rem 0.8rem;
    background: rgb(204, 25, 55);
    color: #ffffff;
    border: none;
    border-radius: 0.15rem;
}

    #contactformSubmitButton:focus {
        outline: none;
    }

input#contactformSubmitButton:hover {
    cursor: pointer;
}
/* For kontakt.php content - End */

/* For impressum.php content - Start */
#contentImpressum {
    grid-area: content;
}

.impressumHeadingsBig {
    
}

.impressumHeadingsSmall {
    margin: 2rem 0 0 0;
}

#contentImpressum b {
    color: rgb(204, 25, 55);
}
/* For impressum.php content - End */

/* Content - End */

/* Footer - Start */
#footer {
    
}

#footer > footer {
    margin: 0; /* Set margin to 0 */
    background: rgb(204, 25, 55); /* Set background to rgb(204, 25, 55) */
    font-size: 0.8rem; /* Decreasing font-size */
    color: #ffffff;
    line-height: 1.2;
    align-items: center;
    align-self: end;
    grid-template-columns: auto;
    text-align: center;
}

#footerMobile {
    padding: 0.5rem; /* Set padding to 0.8rem */
    height: 2rem;
    display: grid;
    grid-template-rows: auto auto;
}

#footerDesktop {
    padding: 0.8rem; /* Set padding to 0.8rem */
    height: 1rem;
    display: none;
    grid-template-rows: auto;
}

#footer p {
    font-size: 0.8rem;
    margin: 0;
    justify-self: center;
    align-self: center;
}
/* Footer - End */

/* @media rules - Start */
@media only screen and (min-width: 420px) {
    
    #sidenav {
        grid-template-rows: 3rem repeat(7, 2.6rem);
    }

    #sidenav > a {
        font-size: 1.3rem;
    }

    table td,
    table th {
        padding: 0.6rem;
    }

    #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 {
        grid-template-rows: 3rem repeat(7, 2.8rem);
    }

    #sidenav > a {
        font-size: 1.5rem;
    }

    .thumbnailGallery {
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 0.8rem;
        padding: 0.8rem;
    }

    .thumbnailGalleryHeading {
        grid-area: 1 / 1 / 2 / 4;
    }

    #welcomeP {
        font-size: 1.5rem;
    }

    #praequalifikationPDF {
        width: 75%;
    }

}

@media only screen and (min-width: 545px) { /* For devices with a width >= 545px */

    body {
        font-size: 16px; /* Default font-size: 16px */
    }

    #wrapper {
        grid-template-rows: auto 1fr 2.7rem;
            grid-template-areas: 
            'header'
            'contentWrapper'
            'footer';
    }

    #sidenav {
        grid-template-rows: 3rem repeat(7, 3rem);
    }

    #sidenav > a {
        font-size: 1.7rem;
    }

    .thumbnailGallery {
        grid-template-columns: repeat(4, 1fr);
    }

    .thumbnailGalleryHeading {
        grid-area: 1 / 1 / 2 / 5;
    }

    #footerMobile {
        display: none;
    }

    #footerDesktop {
        display: grid;
    }
    
}

@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;
    }

    .aktuellesArticle {
        margin: 0.8rem 0;
        padding: 1rem;
    }
}

@media only screen and (min-width: 768px) { /* For devices with a width >= 768px */

    body {
        font-size: 18px; /* Default font-size: 18px */
    }

    #wrapper {
        grid-template-rows: auto auto 1fr auto;
        grid-template-areas: 
            'header'
            'headerNav'
            'contentWrapper'
            'footer';
    }

    #header {
        position: static;
        height: 4.5rem;
        grid-template-columns: auto;
        grid-template-areas:
            'headerLogo';
    }

    #headerLogoContainer {
        height: 4.5rem;
    }

    #headerOpenSidenav {
        display: none;
    }

    #headerNav {
        position: sticky;
        top: 0;
        display: grid;
    }

    table td,
    table th {
        padding: 0.8rem;
    }

    div.galleryThumbnailDivs:hover {
        transform: scale(1.05);
        cursor: pointer;
    }

    #welcomeP {
        font-size: 1.8rem;
    }

    #praequalifikationPDF {
        width: 60%;
    }

    #contactformIntroP {
        margin-bottom: 2rem;
    }

    .contactformInputs {
        width: 22.5rem;
        margin-bottom: 2rem;
    }

    textarea.contactformInputs {
        width: 22.5rem;
        height: 11.25rem;
    }

    #contactformSubmitButton {
        margin-top: 2rem;
    }

        #contactformSubmitButton:focus {
            transform: scale(0.96);
        }

    .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 */
    }

    #praequalifikationPDF {
        width: 50%;
    }

}

@media only screen and (min-width: 1077px) { /* For devices with a width >= 1077px */

    body {
        background: linear-gradient(to right, #eee 0%, #eee 13%, rgb(229, 137, 155) 15%, #ffffff 15%, #ffffff 85%, rgb(229, 137, 155) 85%, #eee 87%, #eee 100%); /* linear rgb(204, 25, 55) to #eeeeee gradient as background */
    }

    #wrapper {
        width: 70%;
    }

}

@media only screen and (min-width: 1440px) { /* For devices with a width >= 1440px */
    
    body {
        font-size: 30px;
    }

}

@media only screen and (min-width: 2000px) { /* For devices with a width >= 2150px */

    body {
        font-size: 40px;
    }

}
/* @media rules - End */