@font-face {
    font-family: 'Charter Bold';
    src: url('./fonts/ITC\ Charter\ Bold.otf');
}

@keyframes pulse {
    0%{
        transform: scale(1);
    }

    50%{
        transform: scale(1.1);
    }

    100%{
        transform: scale(1);
    }
}

:root{
    --red: rgb(103, 27, 37);
    --yellow: rgb(235, 178, 63);
    --white: white
}

html, body{
    margin: 0;
    padding: 0; 
}

img{
    max-width: 100%;
}

body{
    background-color: var(--red);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu{
    max-width: 100%;
    margin-inline: 1rem;
    columns: 2;
}

.menu-section{
    margin-inline: 1rem;
    break-inside: avoid;
}

.menu-section:first-child h3{
    margin-top: 0;
}

.menu-section:not(:last-child){
    border-bottom: 1px dashed var(--yellow);
}

.menu-section-items{
    list-style: none;
    padding-left: 0.5rem;
    color: var(--white);
    line-height: 1.5;
}

.menu-section-name{
    text-transform: uppercase;
    font-style: italic;
    color: var(--yellow);
}

.menu-item{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
    gap: 1rem;
}

.menu-item-price{
    flex-shrink: 0;
}

.menu-item-note{
    color: var(--yellow);
    font-size: 85%;
}

.farbstoff::before{
    content: "*";
    font-size: 70%;
    color: var(--yellow);
    position: absolute;
    top: 0;
    left: -0.5rem;
}

.menu-section-note{
    color: var(--yellow);
}

.logo{
    font-family: Charter Bold;
    color: var(--yellow);
    letter-spacing: 1px;
    font-size: 2rem;
    background-color: var(--red);
    border: 2px solid var(--yellow);
    padding: 1rem 2.5rem;
    border-radius: 50%;
    line-height: 1;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.logo a{
    text-decoration: none;
    color: inherit;
}

.hero-logo{
    position: absolute; 
    margin: 0; 
    top: 45%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    font-size: 3rem;
}

footer{
    padding: 1rem;
    color: var(--white);
    font-size: 0.9rem;
}

.view{
    height: 400px;
    width: 100%;
}

.yellow{
    color: var(--yellow);
}

.hours{
    width: 100%;
    text-align: center;
    color: white;
    border-top: 1px dashed var(--yellow);
    border-bottom: 1px dashed var(--yellow);
    padding-block: 1rem;
}

.hero{
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    object-position: bottom;
    filter: brightness(0.5);
    clip-path: polygon(0% 0%, 0% 100%, 10% 90%, 20% 100%, 30% 90%, 40% 100%, 50% 90%, 60% 100%, 70% 90%, 80% 100%, 90% 90%, 100% 100%, 100% 0%, 0% 0%);
}

.hero-container{
    width: 100%;
    position: relative;
}

.hero-text{
    position: absolute;
    font-size: 1.5rem;
    bottom: -2.5rem;
    left: 50%;
    transform: translate(-50%);
    color: var(--white) !important;
    margin: 0;
    width: max-content;
    text-align: center;
}

.drinks{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 200px;
    justify-items: center;
    align-items: end;
    gap: 0.5rem;
    padding-inline: 1rem;
    box-sizing: border-box;
    margin-top: 2rem;
}

.drinks img{
    max-height: 100%;
    filter: drop-shadow(20px 0px 10px #00000050);
}

.drinks-container{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.menu-button{
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    display: flex;
    color: var(--red);
    border: 2px solid var(--yellow);
    padding: 0.5rem 1.5rem;
    color: var(--yellow);
    transition: all .4s ease;
}

.menu-button:hover{
    background-color: var(--yellow);
    color: var(--red);
}

@media screen and (max-width: 700px) {
    .menu{
        columns: unset;
    }


    .drinks{
        grid-template-rows: 100px;
    }
}

@media screen and (max-width: 400px) {
    .hero-logo{
        font-size: 2rem;
    }

    .hero-text{
        font-size: 1rem;
        bottom: -2rem;
    }
}