body {
    display: flex;
    flex-direction: column;
    font-family: 'Roboto', sans-serif;
    min-height: 100vh;
    color: rgb(85, 85, 85);
    font-weight: 300;
}

.antiquewhite {
    background-color: antiquewhite;
}

.green {
    color: green;
}

.red {
    color: red !important;
}

.btn-toggle {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    font-weight: 600;
    color: rgba(0, 0, 0, .65);
    background-color: transparent;
    border: 0;
}

.btn-toggle-nav a:hover, .btn-toggle-nav a:focus {
    background-color: #d2f4ea;
}

.btn-toggle-nav a {
    display: inline-flex;
    padding: 0.1875rem 0.5rem;
    margin-top: 0.125rem;
    margin-left: 1.25rem;
    text-decoration: none;
}

.text-justify {
    text-align: justify;
}

/* ---- error 404 ---- */
#error_page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 100px 10px;
}

/* ---- breadcrumb ---- */

.x-breadcrumb {
    margin-top: 12px;
}

.x-breadcrumb a {
    text-decoration: none;
    color: lightgray;
}

.x-breadcrumb a::after {
    content: '»';
    margin: 0 8px;
}

.x-breadcrumb li:last-child a::after {
    content: '';
}

.x-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    text-align: center;
}

/* ---- menu ---- */

#main_menu {
    position: fixed;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

#main_menu + .container-fluid {
    padding-top: 75px;
}

@media (max-width: 991px) {
    #main_menu + .container-fluid {
        padding-top: 56px;
    }
}

#main_menu .nav-link,
#main_menu .navbar-brand {
    color: white;
    font-weight: 300;
}

#main_menu .navbar-brand img {
    max-height: 55px;
}

@media (max-width: 991px) {
    #main_menu .navbar-brand img {
        max-height: 40px;
    }
}

/* ---- login form ---- */

#login-form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    background-color: #f0f0f1;
}

#login-form-container form {
    padding: 20px 40px;
    border-radius: 2px;
    background-color: white;
    border: 1px solid #ddd;
}

/* ---- category ---- */

#category__main-photo-container,
#blog__main-photo-container {
    position: relative;
    /*background-image: url("/assets/images/category-photo.webp");*/
    background-position: center;
    background-size: cover;
    /*background-attachment: fixed;*/
    min-height: 500px;
    color: white;
    padding-top: 75px;
}

#category__main-photo-container::after,
#blog__main-photo-container::after {
    position: absolute;
    content: '';
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#category__text-container {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.category__recipe-name {
    color: black;
    text-decoration: none;
    font-size: 20px;
}

.category__recipe-info {
    font-size: 14px;
    margin-bottom: 0;
}

.category__recipe-info p {
    margin-bottom: 2px;
}

/* ---- home ---- */

.homepage__h1 {
    font-size: 32px;
}

/* ---- recipe ---- */

#recipe__health-values {
    border-radius: 10px;
    background-color: antiquewhite;
    font-size: 18px;
}

#recipe__instruction li {
    cursor: pointer;
}

#recipe__form-servings {
    display: inline-block;
    width: 70px;
}

.recipe__step-done {
    text-decoration: line-through;
    color: #ccc;
}

.search__area {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    margin: 0 auto;
    padding: 0 20px;
    transform: translateY(-100%);
    transition: 0.2s;
    height: 80px;
}

.search__area.active {
    transform: unset;
}

.search__form {
    display: flex;
    width: 100%;
    max-width: 600px;
}

.search__input {
    width: 100%;
    border: none;
    border-bottom: 1px solid gray;
    color: white;
    margin-right: 20px;
    background-color: transparent;
}

.search__input:focus {
    outline: none;
}

.search__btn {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.search__show {
    color: white;
}

.search__close {
    color: white;
    cursor: pointer;
    font-size: 30px;
}

img.active {
    border: 2px solid black;
}