/* Base */

:root {
    --primary-bg-color: #1a1c28;
    --secondary-bg-color: #222534;
    --primary-color: #dcba89;
    --secondary-color: #F5F5F5;
    --secret-color: #006400;
}

body, html {
    height: 100%;
    background-color: var(--secondary-color);
}

html, body, h1, h2, h3, h4, h5, h6, p, form {
    margin: 0;
    padding: 0;
}

ul {
    list-style-type: none;
}

a {
    color: black;
    text-decoration: none;
}

/* Global */

.margin_side {
    max-width: 70%;
    margin: 0 auto;
}

.background-logo-nav {
    background-color: var(--secondary-color);
}

.background-logo {
    background-color: white;
}

.main {
    margin-top: 5px;
    text-align: center;
}

a.link {
    color: var(--primary-color);
}

a.link:hover {
    text-decoration: underline;
   opacity: 0.5;
}

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

/* Navigation */
nav {
    height: 74px;
    width: 100%;
    background-color: var(--secondary-color);
}

nav ul {
    padding: 0;
    margin: 0;
}

.add-shadow {
    box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 12%), 0 1px 5px 0 rgb(0 0 0 / 20%)
}

.nav-flex {
    display: flex;
    align-items: center;
}

nav ul li {
    padding: 15px;
}

.nav-wrapper {
    height: 100%;
    justify-content: space-between;
}

.logo-nav {
    height: 100%;
}

.height-nav {
    height: 74px;
}

.navbar-fixed {
    position: relative;
    z-index: 997;
}

.navbar-fixed nav {
    position: fixed;
}

.navigation-menu {
    transition: box-shadow 0.5s;
}

.semi-transparent {
    opacity: 0.918;
}

#logo {
    height: 70px;
}


/* Home */

.separator {
    height: 50px;
    width: 100%;
    background-color: #2e3841;
}

.custom-text {
    background-color: white;
    border-radius: 2px;
    margin-bottom: 1.5rem;
    padding: 3.125rem;
    text-align: center;
}

.custom-text h3 {
    margin-bottom: 20px;
}

.custom-text p {
    margin-bottom: 20px;
    font-size: 20px;
}

.carousel-wrapper {
    height: 400px;
    width: 100%;
    margin: 10px auto;
    position: relative;
    overflow: hidden;
}
   
.carousel-container {
    height: 100%;
    width: 100%;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
   
.page {
    animation: scroll var(--iteration-time) linear infinite;
    width: 100%;
    height: 500px;
    flex: 1 0 100%;
}

.page img {
    height: 100%;
    width: 100%;
}

.carousel-button {
    position: absolute;
    display: flex;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 4rem;
    background-color: white;
    border: none;
    width: 2rem;
    font-size: 3rem;
    padding: 0;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 100ms;
  }
   
.carousel-button:hover, .carousel-button:focus {
    opacity: 1;
}
   
#carousel-left {
    left: 0;
    padding-left: 0.25rem;
    border-radius: 0 2rem 2rem 0;
}
   
#carousel-right {
    right: 0;
    padding-left: 0.75rem;
    border-radius: 2rem 0 0 2rem;
}

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    height: 200px;
    width: 100%;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
}


.parallax-one {
    background-image: url("../img/parallax-one.jpg");
}
  
.parallax-two {
    background-image: url("../img/parallax-two.jpg");
}

/* Recipes */

.recipes, .favorites {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.recipe {
    margin: 0 auto;
}

.recipe .container {
    position: relative;
    margin-bottom: 30px;
    height: 320px;
    width: 250px;
    background: #fff;
    box-shadow: 2px 2px 8px 0 rgb(0 0 0 / 20%);
}

.recipe .container img {
    max-width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.recipe .container .description {
    background-color: white;
    position: absolute;
    width: 250px;
    bottom: 0;
    height: 70px;
}

.recipe .container .description h2 {
    margin-top: 8px;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: bold;
}

.recipe .container .description .price {
    color: black;
    font-weight: bold;
}

.recipes-title h2 a.ester-egg {
    color: var(--secondary-color);
    cursor: pointer;
}

.recipes-title h2 a.ester-egg:hover {
    color: var(--secret-color);
}

/* Contact */

#map {
    height: 500px;
    margin-bottom: 50px;
}

.form-contact {
    flex-direction: column;
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.form-input {
    align-self: center;
    margin-bottom: 10px;
}

.label-condition-contact {
    margin-bottom: 10px;
    font-size: 0.8rem;
    color: #9e9e9e;
    user-select: none;
}

.buttom-submit {
    text-decoration: none;
    color: #fff;
    text-align: center;
    letter-spacing: .5px;
    border-radius: 2px;
    display: inline-block;
    height: 36px;
    line-height: 36px;
    padding: 0 16px;
    text-transform: uppercase;
    vertical-align: middle;
    width: 100%;
    background-color: var(--primary-color);
}

.buttom-submit:hover {
    cursor: pointer;
    opacity: 0.5;
}

/* Footer */

footer {
    color: #fff;
    background-color: var(--primary-bg-color);
}

footer section {
    justify-content: space-between;
}

footer section ul {
    justify-content: space-around;
    padding: 0;
}

footer h3 {
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
} 

footer p, footer a {
    font-size: 12px;
    color: #9e9e9e;
}

footer .container {
    padding: 40px;
}

footer .title {
    margin-bottom: 5px;
    color: white;
    font-size: 14px;
}

.copyright {
    text-align: center;
    background-color: var(--secondary-bg-color);
    padding: 10px 0px;
}

.copyright p {
    font-size: 10px;
}

#facebook-logo, #instagram-logo {
    width: 20px;
}

.divider {
    height: 1px;
    overflow: hidden;
    background-color: #9e9e9e;
    margin: 10px 0 10px 0;
}

.item-top {
    align-items: flex-start;
}