* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    background: rgb(230, 230, 230);
}

a {
    text-decoration: none;
    color: #e02222;
    text-decoration: none;
    padding: 0 25px;
    transition: color 0.5s;
    font-weight: bold;
}

a:hover {
    color: black;
}

nav {
    position: fixed;
    top: 0;
    background: #e02222;
    width: 100%;
    color: #fff;
    box-shadow: 1px 1px 10px 1px black;
    z-index: 1000;
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    padding: 5px 5%;
}

nav .container .left h1{
    font-size: 30px;
    font-weight: 600;
    text-shadow: 1px 2px 5px black;
}

nav .container .right {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .container .right ul li {
    list-style: none;
    display: inline-block;
}

nav .container .right ul li a {
    color: #fff;
    text-decoration: none;
    padding: 0 25px;
    transition: color 0.5s;
}

nav .container .right ul li a:hover {
    color: black;
}

.search-box {
    background: #efefef;
    width: 350px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
}

.search-box .fa-magnifying-glass {
    color: black;
    cursor: pointer;
}

.search-box input {
    width: 100%;
    background: transparent;
    padding: 10px;
    outline: none;
    border: 0;
}

.menu-toogle {
    display: none;
}

.circle {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

.body {
    position: relative;
    top: 100px;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

.search-title {
    padding: 5px 0;
}

h4 {
    font-weight: 600;
    color: #a0a0a0;
}

.recipes {
    position: sticky;
    display: inline-flex;
    background: #fff;
    padding: 15px 10px;
    width: 85%;
    border-radius: 5px;
    box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.45);
    margin-top: 50px;
}

.body .title {
    text-align: center;
    font-weight: 800;
    color: #505050;
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    width: 100%;
}

.image {
    border-right: 1px solid #c0c0c0;
}

.image img {
    max-width: 100px;
    padding-right: 10px;
}

.info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.description {
    width: 100%;
}

.info {
    padding: 20px 20px 0;
    font-size: 12px;
}

.info span {
    color: gray;
}

.detail {
    position: sticky;
    justify-content: space-between;
    width: 100%;
}

.detail h4 {
    padding-bottom: 15px;
}

.detail-img {
    width: 100%;
    justify-content: center;
    border-bottom: 1px solid #efefef;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.detail-content {
    display: flex;
    position: relative;
}

.detail-content .detail-nav {
    position: relative;
    text-align: start;
    min-width: 100px;
    border-radius: 5px;
    padding: 15px 15px;
    margin-right: 20px;
    box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.45);
}

.detail-content .detail-nav ul {
    list-style: none;
}

.detail-content .detail-nav ul li {
    padding-bottom: 15px;
}

.detail-content .detail-nav ul li {
    color: #505050;
    font-weight: bolder;
    cursor: pointer;
    transition: color 0.3s;
}

.detail-content .detail-nav ul li:hover {
    color: #a0a0a0;
}

.detail-content .detail-body {
    position: relative;
    width: 90%;
    text-align: start;
    border-radius: 5px;
    padding: 15px 15px;
    box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.45);
}

.detail-content .detail-body .step p:nth-child(1) {
    padding: 3px 5px;
    font-size: 18px;
    color: #505050;
    border-bottom: 1px solid #ece8e8;
    margin-bottom: 10px;
}

.detail-content .detail-body .ingredients {
    position: relative;
    justify-content: center;
    align-items: center;
}

.detail-content .detail-body .ingredients table {
    border: 1px solid #ece8e8;
    padding: 5px;
}

.detail-content .detail-body .ingredients table thead th {
    padding-bottom: 10px;
}

.detail-content .detail-body .ingredients table tbody tr td {
    padding-bottom: 2px;
}

.detail-content .detail-body .ingredients table tbody tr td:nth-child(1) {
    padding-right: 30px;
}

.detail-content .detail-body .ingredients table tbody tr td:nth-child(2) {
    text-align: center;
}

.active {
    display: block;
}

.inactive {
    display: none;
}

.loader-box {
    position: absolute;
    display: flex;
    background: rgb(102, 102, 102);
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.loader-box .loader {
    position: relative;
    border-radius: 50%;
    /* border: 4px solid transparent; */
    border-top: 4px solid white;
    width: 100px;
    height: 100px;
    animation: animate 1s linear infinite;
}

.loader-box .loader-text {
    position: absolute;
    color: white;
    text-shadow: 2px 2px 5px black;
}

.step-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 25px;
}

.last-step, .next-step {
    cursor: pointer;
    color: #505050;
    font-weight: bold;
}

.form {
    position: relative;
    text-align: start;
    margin: auto;
}

.form input, select {
    border-radius: 5px;
    outline: none;
    border: 1px solid #a0a0a0;
    padding: 5px 10px;
    width: 100%;
    margin-bottom: 10px;
    font-size: 16px;
}

.form button {
    padding: 5px 10px;
    width: 100%;
    margin-top: 15px;
    cursor: pointer;
    background: #e02222;
    border-radius: 10px;
    outline: none;
    border: none;
    box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.45);
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
}

.form button:hover {
    background: #efefef;
}

.form .ingredients-list {
    text-align: center;
}

.form .ingredients-list .list-item {
    display: flex;
}

.form .ingredients-list .list-item input {
    width: 20%;
}

.form .ingredients-list .list-item input:first-child {
    width: 55%;
    margin-right: 10%;
}

.form .ingredients-list .list-item select {
    width: 15%;
    margin-left: 5%;
}

.form .insert-steps {
    margin-bottom: 10px;
}

.form .add {
    text-align: center;
}

.form .add .fa-circle-plus {
    margin-bottom: 5px;
    font-size: 20px;
    cursor: pointer;
    color: #505050;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.45);
    transition: color 0.5s;
}

.form .add .fa-circle-plus:hover {
    color: #a0a0a0;
}

.form .insert-text {
    margin: 15px 0;
}

.form .insert-text .insert-text-title {
    padding-left: 3px;
    font-weight: bold;
}

.user-nav {
    text-align: center;
    width: 100%;
}

.recipe-update {
    cursor: pointer;
    font-size: 14px;
}

.insert-text-title {
    padding-left: 3px;
    font-weight: bold;
}

@keyframes animate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media only screen and (max-width: 960px) {
    .menu-toogle {
        display: block;
        cursor: pointer;
    }

    nav .container .right {
        position: absolute;
        text-align: end;
        top: 45px;
        right: 0;
        background: #e02222;
        overflow: hidden;
        transition: max-height 0.5s;
        padding-left: 10px;
        box-shadow: 1px 1px 5px black;
        z-index: 500;
    }

    nav .container .right ul li {
        display: block;
        margin-right: 10px;
        margin-top: 10px;
        margin-bottom: 10px;
        width: 200px;
    }

    nav .container .right ul li:last-child {
        padding-bottom: 10px;
    }

    nav .container .right ul li .circle {
        position: absolute;
        top: 10px;
    }

    .content {
        display: block;
    }

    .image {
        border-right: none;
        border-bottom: 1px solid #c0c0c0;
        padding-bottom: 5px;
        margin-bottom: 5px;
    }

    .user-nav a {
        display: inline-block;
        width: 100%;
        margin-bottom: 5px;
    }
}