/* Linda's Genuss Oase Stylesheet */

:root {
    --clr-txt-strong: #1a1a1a;
    --clr-txt-main: #666;
    --clr-txt-low: #999;
    --clr-txt-red: #B70E0C;
    --clr-bg-dark: #F7F7F7;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 10px;
    color: var(--clr-txt-main);
}

/* vertikaler Aufbau #header > #main > #footer > #footerline */

#header, #main, #footer, #footerline {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

#header {
    margin: 0;
    align-items: center;
    border-bottom: 1px solid #F1F1F1;
    background-color: #FCFCFC;
}

#main {
    min-height: 60vh;
}

#footer {
    padding: 2rem 0 3rem 0;
    align-items: center;
    border-top: 2px solid #F1F1F1;
    background-color: #FCFCFC;
}

/* HEADER */

#head {
    display: flex;
    flex-direction: column;
    padding: 0;
    width: 100%;
    max-width: var(--max-width);
}

#logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.8rem 1rem;
}

#logo > a, #logo > a:visited, #logo > a:active {
    font-size: 3rem;
    font-weight: 700;
    color: var(--clr-txt-red);
}

menu#navi {
    margin: 0 0 10px 0;
    padding: 1%;
    width: 100%;
}

#navi ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1%;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
}

#navi ul li {
    width: 100%;
}

#navi ul li a {
    display: block;
    background-color: #FFFFFF;
    border: 1px solid var(--clr-txt-main);
    padding: 1rem;
    height: 100%;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
}

#navi ul li a.active, #navi ul li a:hover {
    border: 1px solid var(--clr-txt-red);
    background-color: var(--clr-txt-red);
    color: #FFFFFF;
}

#header > section, #main > section, #footer > section, #footerline > section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* BANNER */

#banner {
    background-color: var(--clr-bg-dark);
    width: 100%;
}

#banner .content {
    padding: 0;
}

#banner .content a.banner_single img {
    width: 100%;
    max-width: 100%;
}

/* FOOTER */

#footer_table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    padding: 0 3rem;
    max-width: var(--max-width);
    width: 100%;
}

#footer_table > div {
    line-height: 2.6rem;
    font-size: 1.2rem;
}

#footer_table div h2 {
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--clr-txt-red);
}

#footer_table > div > ul {
    margin: 1rem 0 0 3rem;
    padding: 0;
    text-transform: uppercase;
    font-size: 1.2rem;
    list-style-type: square;
}

#footer_table > div > p {
    margin: 0;
    padding: 0;
}

/* FOOTERLINE */

#footerline {
    padding: 1rem 0 1rem 0;
    min-height: 3rem;
    background-color: var(--clr-txt-red);
    color: #FFFFFF;
    text-align: center;
    vertical-align: middle;
    font-size: 1.2rem;
}

/* SECTIONS */

section.dark {
    background-color: var(--clr-bg-dark);
}

section > .content {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem 1rem;
    max-width: var(--max-width);
    width: 100%;
}

section > .full {
    padding: 0;
}

/* List Style */

#grid_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

#grid_list .item {
    position: relative;
    display: flex;
    justify-content: end;
    align-items: end;
    background-color: #B70E0C;
    aspect-ratio: 1.75 / 1;
    border-radius: 2rem;
    background-size: 105%;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.5s;
}

#grid_list .item:hover {
    background-size: 115%;
}

#grid_list .item span {
    position: absolute;
    bottom: 0;
    right: 0;
    display: inline;
    max-width: 80%;
    font-size: 1.3rem;
    padding: 0.8rem;
    text-align: right;
    background-color: var(--clr-txt-red);
    color: #FFFFFF;
}

#grid_list .item:hover span {
    background-color: #000000;
}

#BRE {
    background-image: url(../images/jpg/bg_01.jpg);
}

#PIZ {
    background-image: url(../images/jpg/bg_02.jpg);
}

#MIT {
    background-image: url(../images/jpg/bg_03.jpg);
}

#BAC {
    background-image: url(../images/jpg/bg_04.jpg);
}

#KUC {
    background-image: url(../images/jpg/bg_05.jpg);
}

#CAT {
    background-image: url(../images/jpg/bg_06.jpg);
}

/* SMALL LIST Style */

#quick {
    margin: 1rem 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: clamp(1%, 1rem, 2%);
    width: 100%;
}

#quick .row {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: clamp(1%, 2%, 3%);
    width: 100%;
}

#quick .row .item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2rem;
    flex: 1;
    aspect-ratio: 1 / 1;
}

#DPD, #GLS, #HER, #UPS {
    background-color: #FFFFFF;
}

#LOT {
    background-color: #F7DC16;
}

#DPD > img, #GLS > img, #HER > img, #LOT > img {
    width: 75%;
}

#UPS > img {
    width: 45%;
}

/* Auflistung Angebote */

.foodcard {
    display: flex;
    flex-direction: row;
    margin: 2rem 0 2rem 0;
    gap: 3rem;
    width: 100%;
}

.foodcard .img-line {
    flex: 1 1 32%;
    display: none;
    flex-direction: column;
    gap: 2rem;
}

.foodcard .img-line img {
    background-position: center;
    border-radius: 2rem;
}

.foodcard .offer {
    display: flex;
    flex: 1 1 65%;
    flex-direction: column;
    width: 64%;
}

/* MITTAGSKARTEN */

#mittagskarten {
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: clamp(1%, 1rem, 2rem);
}

#mittagskarte {
    max-width: 540px;
    width: 100%;
    border: 0;
}

#cms_menu {
    display: flex;
    justify-content: end;
    margin: 0;
    padding: 0;
    height: 6rem;
    background-color: var(--clr-txt-red);
}

/* GALLERIE */

:root {
    --gal-item-size: clamp(160px, 165px, 180px);
}

#gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--gal-item-size), 1fr));
    grid-template-rows: repeat(auto-fill, minmax(var(--gal-item-size), 1fr));
    grid-auto-flow: dense;
    gap: 1rem;
}

#gallery .item {
    display: flex;
    border-radius: 1rem;
    overflow: hidden;
    background-color: steelblue;
}

#gallery .item:hover {
    cursor: pointer;
}

#gallery .item img {
    width: 100%;
    object-fit: cover;
    transition: scale 0.3s ease-in-out;
}

#gallery .item:hover img {
    scale: 105%;
}

#gallery .span0 {
    grid-column: span 1;
    height: var(--gal-item-size);
}

#gallery .spanX {
    grid-column: span 2;
    height: var(--gal-item-size);
}

#gallery .spanY {
    grid-row: span 2;
    height: calc((var(--gal-item-size) * 2) + 1rem);
}

#gallery .spanB {
    grid-column: span 2;
    grid-row: span 2;
    height: calc((var(--gal-item-size) * 2) + 1rem);
}

/* TEXT DECORATIONS and Styles CONTENT */

a, a:visited {
    text-decoration: none;
    color: var(--clr-txt-main);
}

a:active, a:hover {
    color: var(--clr-txt-red);
}

a.active {
    color: var(--clr-txt-red);
}

p {
    margin: 2rem 0 2rem 0;
    padding: 0;
    font-size: 1.4rem;
    line-height: 2.4rem;
}

h1 {
    position: relative;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-transform: uppercase;
    color: var(--clr-txt-red);
    z-index: 1;
}

h1::after {
    position: absolute;
    bottom: -10px;
    left: 0;
    height: 1px;
    content: "";
    width: 100%;
    z-index: 2;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.12) 35%, rgba(0, 0, 0, 0.05) 70%, rgba(0, 0, 0, 0) 100%);
}

h2 {
    position: relative;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 300;
    text-transform: uppercase;
}

h3 {
    position: relative;
    margin: 0;
    padding: 0 0 0.6rem 0;
    color: brown;
    font-size: 1.5rem;
}

h3 span {
    position: absolute;
    right: 0;
    font-style: italic;
}

p.detail {
    margin: 0;
    padding: 0 6rem 1rem 1rem;
    font-size: 1.4rem;
    color: var(--clr-txt-main);
    font-style: italic;
}

p#social img {
    margin: 1rem;
    width: 50px;
}

p#disclaimer {
    font-weight: 200;
    font-size: 1.2rem;
    line-height: 2rem;
}

ul {
    font-size: 1.4rem;
    line-height: 2.4rem;
}

/* MEDIA QUERIES */

@media (min-width: 480px) {
    :root {
        --max-width: 480px;
        --font-size: 10px;
    }
    body, html {
        font-size: var(--font-size);
    }
}

@media (min-width: 768px) {
    :root {
        --max-width: 768px;
        --font-size: 11px;
    }
    body, html {
        font-size: var(--font-size);
    }
    #mittagskarten {
        flex-direction: row;
    }
    #grid_list {
        grid-template-columns: repeat(2, 1fr);
    }
    #grid_list .item span {
        bottom: 2rem;
        right: 2rem;
    }
    #footer_table {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    }
}

@media (min-width: 1100px) {
    :root {
        --max-width: 1100px;
        --font-size: 12px;
    }
    body, html {
        font-size: var(--font-size);
    }
    #grid_list {
        grid-template-columns: repeat(3, 1fr);
    }
    .foodcard .img-line {
        display: flex;
    }
}