*, *::after, *::before {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family:'Source Code Pro', sans-serif;
    line-height: 1.625;
    margin: 0;
    color: #6f6f6f;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .3s;
}

img {
    max-width: 100%;
    height: auto;
}

.header {
    background: 
        linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(54, 54, 54, 0.5) 39.24%, rgba(28, 28, 28, 0.4)),
        url("/img/plat-de-ramen.jpg") center center / cover no-repeat;
    color: #fff;
}

.topbar {
    padding: 18px 20px;
    font-size: .875rem;
    text-transform: uppercase;
    text-align: center;
}

.menu_item:hover {
    color: #C89446;
}

.menu_item {
    display: inline-block;
    margin: 0 15px;
}

.logo {
    margin-bottom: 15px;
}

.baseline {
    padding: 500px 0 70px 0;
    text-align: center;
    line-height: 1;
}

.baseline_welcome {
    font-family:'Pinyon Script', serif;
    color: #C89446;
    font-size: 2.2rem;
    display: block;
    
}

.baseline_name {
    display: block;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 4px;
    padding-bottom: 10px;
    text-transform: uppercase;
}

.baseline_slogan {
    font-size: 1rem;
    font-weight: 300;
    display: block;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.menu_button {
    border: solid 1px #C89446;
    padding: 7px 10px;
    transition-property: color;
    margin-top: 5px;
}

.menu_button:hover {
    background: #C89446;
    color: #fff;
}

.container-small {
    margin: 0 auto;
    padding: 0 20px;
    max-width: 960px;
}

.container {
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1110px;
}

.block {
    margin-bottom: 50px;
}

.title {
    font-size: 1.75rem;
    line-height: 1.1;
    letter-spacing: 2px;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    margin: 1rem 0 0 0;
}

.title span {
    font-family:'Pinyon script', serif;
    color: #C89446;
    font-size: 2.5rem;
    display: block;
    text-transform: none;
}

.title::before {
    content:'';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: #C89446;
    margin-bottom: .5rem;
}

.more {
    color: #C89446;
}

.more:hover {
    text-decoration: underline;
}

.more::after {
    content: ' >';
}

.block-img {
    max-width: 350px;
    margin: 0 auto;
    border: solid 1px #C89446
}

.block-img img {
    display: block;
}

.block-img img {
    position: relative;
    z-index: 1;
}

.block-centered {
    text-align: center;
}

.ingredient-menu {
    margin: 40px 0;
    font-weight: 600;
    color: #383838;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
}

.ingredient-menu a {
    display: inline-block;
    margin: 0 5px;
    position: relative;
}

.ingredient-menu a::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 1px;
    opacity: 0;
    background: #C89446;
    transition: .3s;
}

.ingredient-menu .active::after, .ingredient-menu a:hover::after {
    bottom: 0;
    opacity: 1;
}

.menu-summary-item {
    position: relative;
    padding-left: 120px;
    margin-bottom: 30px;
}

.menu-summary-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
}

.menu-summary-title {
    font-size: 1.125rem;
    color: #383838;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.menu-summary p {
    margin-top: 0;
    font-size: 0.875rem;

}

.menu-summary-price {
    font-family: 'Pinyon Script', serif;
    font-size: 2.5rem;
    color: #C89446;
    line-height: 1;
}

hr {
    color: #C89446;
}

.popup-reservation {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    z-index: 1000;
}

.popup-reservation input {
    display: block;
    margin-bottom: 10px;
    padding: 8px;
    width: 100%;
}

.popup-reservation button {
    background-color: #6b8e23;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 5px;
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 500;
}

@media only screen and (min-width: 600px) {
    html {
        font-size: 16px;
    }

    .logo {
        padding-bottom: 0;
    }

    .topbar{
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 1150px;
        margin: 0 auto;
    }

    .baseline {
        padding: 125px 0 227px;
    }

    .menu {
        margin-left: auto;
    }

    .baseline_slogan {
        font-size: 1.5rem;
    }

    .baseline_name {
        font-size: 4.375rem;
        letter-spacing: 12px;
        padding-top: 8px;
        padding-bottom: 18px;
    }

    .baseline_welcome {
        font-size: 3.75rem;
    }

    .menu_button {
        margin-top: 0;
        margin-right: 0;
    }
}

@media only screen and (min-width: 960px) {
    .block {
        margin-bottom: 100px;
    }

    .block-last {
        margin-bottom: 50px;
    }

    .block-left, .block-right{
        display: flex;
        align-items: center;
    }

    .block-img {
        border: none;
        position: relative;
    }

    .block-img::before {
        content: '';
        display: block;
        border: solid 1px #C89446;
        position: absolute;
        top: -30px;
        left: -30px;
        width: 100%;
        height: 100%;
        z-index: 0;
    }

    .block-right .block-img::before {
        left: auto;
        right: -30px;
    }

    .block-left .block-img {
        width: 350px;
        flex: none;
        margin-left: 30px;
    }

    .block-right .block-img {
        width: 350px;
        flex: none;
        margin-right: 30px;
    }

    .block-left .block-body {
        margin-left: 94px;
    }

    .block-right .block-body {
        margin-right: 94px;
        order: -1;
    }

    .title {
        margin-bottom: 1.2rem;
    }

    .title::before {
        margin-bottom: 10px;
    }

    .more {
        display: block;
        margin-top: 1.3rem;
    }

    .home-section {
        margin-top: 9px;
    }

    .ingredient-menu a {
        margin: 0 32px;
    }

    .menu-summary {
        padding: 85px 0;
        display: flex;
        flex-wrap: wrap;
        
    }

    .menu-summary-item {
        padding-left: 192px;
        width: 50%;
    }

    .menu-summary-img {
        width: 180px;
    }

    .menu-summary-title {
        text-align: center;
        }
}