/* variales */
:root {
    --color-primary: #fbaf3c;
    --color-secondary: #000;
    --paragraph-small: 1.8rem;
    --paragraph-big: 2.35rem;
    --paragraph-huge: 3.1rem;
    --heading-1: 7.2rem;
    --heading-2: 4rem;
    --heading-3: 2.55rem;
    --margin-small: 1.6rem;
    --margin-medium: 2.6rem;
    --margin-large: 5rem;
    --padding-section: 11rem;
    --section-margin-bottom: 35rem;
}
/* fonts import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@900&display=swap');

/* css boilerplate */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
    font-family: inherit;
}

*::selection {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

html {
    font-size: 62.5%;
}

body {
    box-sizing: border-box;
    font-family: 'Montserrat Alternates', sans-serif;
    line-height: 1.6;
}
/* end of css boilerplate */
/* start of header */
header { 
    width: 100%;
    height: auto;
    position: fixed;
    padding: 4rem 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .5s ease;
    z-index: 1000;
    background-color: var(--color-secondary);
}

.header__logo {
    /* header logo */
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 5%;
}
.header__logo a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: white;
}
.header__img {
    width: 10rem;
}
.header__heading {
    font-size: 2rem;
}

.navbar {
    display: block;
}
.navbar__list {
    /* header navigation list */
    display: flex;
    gap: 8rem;
    list-style-type: none;
}
.navbar__list a {
    text-decoration: none;
}
.navbar__item {
    color: white;
    font-size: 2rem;
    text-transform: uppercase;
    position: relative;
}
.navbar__item:hover {
    cursor: pointer;
}
.navbar__item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 10%;
    width: 10%;
    background-color: white;
    transform: scaleX(0);
    transition: transform .1s,
                width .2s cubic-bezier( 1, 0, 0, 1 ) .1s;
    z-index: 1500;
}
.navbar__item:hover::after {
    transform: scaleX(1);
    width: 100%;
}
.navbar__dropdown {
    /* dropdown for header navbar */
    width: 20rem;
    position: absolute;
    background-color: rgb(29, 29, 29);
    display: none;
    list-style: none;
    transform-origin: top;
}
@keyframes aniDropdown {
    0% {
        transform: scaleY(0);
    }
    100% {
        transform: scaleY(1);
    }
}
.navbar__dropdown--main {
    left: -30%;
}
.navbar__dropdown--dessert {
    left: -55%;
}
.navbar__item--main:hover .navbar__dropdown--main, 
.navbar__item--dessert:hover .navbar__dropdown--dessert {
    display: block;
    background-color: black;
    animation: aniDropdown .1s;
}
.navbar__dropdown li {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
    color: white;
    transition: background-color .1s, color .1s;
}
.navbar__dropdown li:hover {
    background-color: white;
    color: rgb(29, 29, 29);
}

.header__signUp {
    /* header sign up container */
    position: absolute;
    right: 5%;
}
.header__button {
    /* header sign up button */
    background-color: var(--color-primary);
    font-size: 2rem;
    padding: 1rem 2rem;
    border-radius: 2rem;
    border: none;
    transition: background-color .2s ease-in-out, transform .2s ease-in-out;
}
.header__button:hover {
    transform: scale(1.05);
    cursor: pointer;
}
/* end of header */

/* ~ ~ ~ FONTS ~ ~ ~ */

.food-info h1{
    font-size: 50px;
    margin-top: 0;
    margin-bottom: 10px;
    /* font-family: Century Gothic; */
    text-shadow: 2px 2px 2px rgba(0,0,0,0.3);
}
p, .directions, .ingredients{
    font-size: 20px;
    /* font-family: Helvetica, sans-serif; */
    text-align:justify;
    line-height: 2;
    margin-bottom: 0px;
}

h2{
    font-size: 40px;
    margin-top: 0px;
    margin-bottom: 0;
    /* font-family: Century Gothic; */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

h3{
    font-size: 30px;
    margin-top: 0px;
    margin-bottom: 0;
    /* font-family: Century Gothic; */
}

h4{
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 0;
    /* font-family: Century Gothic; */
}


/* ~ ~ ~ GENERAL ~ ~ ~ */

.main-image{
    width: 100%;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);
}

.food{
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 50px;
    background-color: white;
}


.second-image{
    width: 45%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    float: left;
    margin-right: 5%;
    margin-bottom: 20px;
}

.description {
    width: 50%;
    margin-left: auto;
    display: inline;
}

.food-info{
    padding-top: 50px;
    padding-bottom: 100px;
    margin-top: 0;
}

.ing{
    width: 30%;
    float: left;
    margin: 0;
    padding-left: 3%;
    padding-right: 3%;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #fbaf3c;
    position:relative;
    box-shadow: -5px 5px 5px rgba(0,0,0,0.5);
    border-radius: 20px;
}

.ing ul{
    margin-left: 20px;
}
/*
.edge{
    position:absolute;
    top: 0;
    right: 0;
    width: 3em;
    height: 3em;
    background-color: #c99a52;
}

.fold {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 3em 3em 0;
    border-color: transparent #fff transparent transparent;
} */



.dir{
    width: 60%;
    margin-left: auto;
    margin-top: 0;
    padding-top: 0;
    
}

.content{
    padding-top: 50px;
    padding-bottom: 50px;
    margin: 0;
    display: inline-block;
}


/*body a:hover{
    color: rgb(98, 98, 98)
}
body a:active{
    color: rgb(112, 112, 112); 
}
*/
a{
    text-decoration: none; 
}



/* ~ ~ ~ DETAILS ~ ~ ~*/

.table1{
    background-color: rgb(0, 0, 0);
    padding-bottom: 30px;
    padding-top: 30px;
    border-radius: 20px;
    box-shadow:  0 0px 10px rgba(0,0,0,0.8);
    margin-bottom: 50px;
}


.detail-table{
    margin: 0 auto;
    table-layout: auto;
    width: 100%;
    border-collapse: collapse;
}

.details{
    font-size: 50px;
    text-align: center;
    /* font-family: Candara; */
    color: #fbaf3c;
}
.detail-desc{
    font-size: 15px;
    text-align: center;
    color: white;
}

.table1 td, .reco-table td{
    /* font-family: Arial, Helvetica, sans-serif; */
}


.detail-1{
    transform: scale(1);
    transition: transform 0.2s ease;
}

.detail-1:hover{
    transform: scale(1.1);
}


.detail-2{
    transform: scale(1);
    transition: transform 0.2s ease;
    border-right: 2px solid white;
    border-left: 2px solid white;
}

.detail-2:hover{
    transform: scale(1.1);
}

.detail-3{
    transform: scale(1);
    transition: transform 0.2s ease;
    border-right: 2px solid white;
    border-left: 2px solid white;
}

.detail-3:hover{
    transform: scale(1.1);
}

.detail-4{
    transform: scale(1);
    transition: transform 0.2s ease;
}

.detail-4:hover{
    transform: scale(1.1);
}

.divider{
    border-right: 2px solid white;
    border-left: 2px solid white;
}


/* ~ ~ ~ NAVIGATION BAR ~ ~ ~
.nav-bar{
    width: 100%;
    background-color: white;
    position: sticky;
    top: 0px;
    font-size: 20px;
    font-family: Franklin Gothic Medium;
    text-align: center;
    box-shadow: 0 3px 4px rgba(36, 32, 5, 0.5);  
    z-index: 2; 
}
.navigation {
    width: 1000px;
    margin-left: auto;
    margin-right: auto; 
}


.nav-bar img {
    height: 100px;

}
.nav-bar ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav{
    display: flex;  
    justify-content: space-between;
    align-items: center;
}


.main-nav, .nav-bar a{
    color: white;
    transition: color 0.2s;
}

.nav-bar ul li a{
    display: block;
}

.dropdown-content1, .dropdown-content2 {
    position: absolute;
    background-color: rgba(55, 55, 56, 0.95);
    width: 200px;
    border-radius: 20px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.2s ease; 
    top: 100%;
    left: 0;
}

.align-center1{
    transform: translateX(-50%);
}

.align-center2{
    transform: translateX(-70%);
}


.dropdown-content1 li, .dropdown-content2 li{
    padding: 15px;
}

.nav-bar .main-dish:hover .dropdown-content1, 
.nav-bar .dessert:hover .dropdown-content2{
    display: block;
    box-shadow: 0 0 10px black;
    margin-top: 20px;
    transform: scaleY(1);
}

.nav-bar .main-dish:hover, .nav-bar .dessert:hover{
    cursor: pointer;
    color:rgb(98, 98, 98);
}

.nav-bar .dessert {
    position: relative;
}
.nav-bar .main-dish {
    position: relative;
}


.nav-bar a:hover{
    color: rgb(98, 98, 98);
}
.nav-bar a:active{
    color: rgb(112, 112, 112); 
}

.main-dish, .dessert{
    padding-top: 20px;
    padding-bottom: 20px;
    color: white;
    transition: color 0.2s;
}*/

/* ~ ~ ~ FOOTER ~ ~ ~ */

.u-center-text {
    /* extra margin css */
    text-align: center;
}

.u-margin-bottom-big {
    margin-bottom: 8rem;
}

.u-margin-bottom-medium {
    margin-bottom: 4rem;
}

.u-margin-bottom-small {
    margin-bottom: 2rem;
}


/* start of footer */
footer {
    width: 100%;
    background-color: var(--color-secondary);
    border-top: 1rem solid var(--color-primary);
}
.footer {
    background-color: var(--color-secondary);
    color: white;
    height: 60vh;
    display: flex;
    flex-direction: column;
    padding: 9rem; 
    /* font-family: 'Montserrat Alternates', sans-serif; */

}

.logo-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}
.logo-box__img {
    width: 25%;
}
.logo-box__header {
    font-size: 2rem !important; 
    font-weight: 900 !important;
}
    
.footer__container {
    display: flex;
    display: flex;
    justify-content: space-between; }
.footer__social-media {
    width: 30%;
    display: flex;
    flex-direction: column; }
.footer__social-media h3 {
    text-align: left;
    font-size: 1.6rem;
    font-weight: 300;
    padding-left: 1rem;
    width: 30rem; }
.footer__logo {
    width: 100%;
    display: flex;
    justify-content: left; }
.footer__imgs {
    width: 100%;
    height: 100%;
    display: flex;
    gap: 4rem; }
.footer__imgs img {
    width: 5rem; }
.footer__imgs img:hover {
          opacity: .7; }
.footer__start-learning {
    width: min(50%, 50rem);
    height: 100%;
    background-color: #f3f4f6;
    padding: 4rem 4rem 0 4rem;
    border-radius: 10px; }
.footer__start-learning h2 {
    color: black;
    font-size: 2.5rem; }
.footer__start-learning div.input {
    display: inline-block;
    outline: 1px solid rgba(0, 0, 0, 0.2);
    padding: 3.5px;
    padding-left: 15px;
    background-color: #fff;
    border-radius: 5px; }
.footer__start-learning div.input #email-footer {
    height: 4.5rem;
    width: 25rem;
    border: none;
    font-size: 1.6rem;
    border: none;
    background-color: transparent; }
.footer__start-learning div.input #email-footer:focus {
    outline: none; }
  
.footer__info {
    display: flex;
    gap: 5rem;
    padding-bottom: 4rem; }
.footer__info__link {
    text-decoration: none;
    color: white;
    font-size: 1.6rem; }
.footer__info__link:hover {
    opacity: .7; }

.btn--special {
    background-color: var(--color-primary);
    padding: 1rem;
    border-radius: 5px;
    color: white;
    font-size: var(--paragraph-small);
    font-weight: 500;
    border: none;
}
.btn--special:hover {
    cursor: pointer;
}
/* end of footer */

/* ~ ~ ~ RECOMMENDATION ~ ~ ~ */

.recommendation{
    padding-top:100px;
}


.reco-table{
    padding-top: 40px;
    padding-bottom: 50px;
}
.reco{
    margin-left: auto;
    margin-right: auto;
    table-layout: fixed;
    width: 100%;
    padding-right: 20px;
}


.reco-img img{
    width: 80%;
    text-align: center;
}
.reco-name{
    font-size: 20px;
    text-align: center;
}

.reco-1 {
    transform: scale(1);
    transition: transform 0.2s ease;
}

.reco-1:hover{
    transform: scale(1.1);
}

.reco-2 {
    transform: scale(1);
    transition: transform 0.2s ease;
}

.reco-2:hover{
    transform: scale(1.1);
}

.reco-3 {
    transform: scale(1);
    transition: transform 0.2s ease;
}

.reco-3:hover{
    transform: scale(1.1);
}

.reco-name a:visited {
    color: black;
}

.reco-name a{
    color: black;
    transition: color 0.2s;
}

.reco-name a:hover{
    color: rgb(98, 98, 98)
}
.reco-name a:active{
    color: rgb(112, 112, 112); 
}





