/* 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) !important; */
}

.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 */

main {
    width: 100%;
    height: auto;
    overflow: hidden;
}
/* start of section one */
.section--one {
    width: 100%;
    height: 75vh;
    background-image: url(../svg/blob-scene-haikei\ copy.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;

}
.section__heading-1 {
    font-size: var(--heading-1);
}
.section__heading-1 span {
    color: var(--color-primary);
}
.section__paragraph--1 {
    width: 60%;
    text-align: center;
    font-size: var(--paragraph-small);
}
/* end of section one */
/* start of section two */
.section--two {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16rem 0;
    position: relative;
}
.recipes {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 20rem;
}
.recipes__heading {
    font-size: var(--heading-2);
    text-align: center;
    margin-bottom: var(--margin-large);
}
.recipes__container {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}
.cards {
    width: 100%;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 6rem;
}
.card {
    width: auto;
    height: auto;
    background-color: black;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 1rem 1rem var(--color-primary);
    transition: transform 1s, box-shadow 1s;
}
.card:hover {
    transform: translate(-1rem, -1rem);
    box-shadow: 2rem 2rem var(--color-primary);
    cursor: pointer;
}
.card__img {
    width: 60rem;
    height: 35rem;
    background-color: lightcoral;
}
.card__paragraph {
    font-size: var(--paragraph-big);
    font-weight: 900;
    color: white;
    padding: 1rem 0;
    text-align: center;
}
.section__spiral {
    filter: invert(86%) sepia(0%) saturate(265%) hue-rotate(224deg) brightness(105%) contrast(93%);
    width: 150rem;
    position: absolute;
    z-index: -10;
}
.section__spiral--one {
    left: -50%;
    bottom: -40%;
}
.section__spiral--two {
    right: -60%;
    top: -30%;
}
/* end of section two */
/* start of section three */
.section--three {
    background-color: var(--color-secondary);
    width: 100%;
    height: auto;
    padding: 20rem;
}
.presentation {
    width: 100%;
    height: 80vh;
    display: flex;
    gap: 2rem;
}
.presentation__words {
    width: 50%;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.presentation__words > *:not(:last-child) {
    margin-bottom: var(--margin-small);
}
.presentation__heading {
    font-size: var(--heading-2);
}
.presentation__heading--one span {
    color: var(--color-primary);
}
.presentation__heading--two {
    color: black;
}
.presentation__paragraph {
    font-size: var(--paragraph-small);
}
.presentation__paragraph--two {
    color: black;
}
.presentation__button {
    margin-top: var(--margin-small);
}
.presentation__button button{
    background-color: var(--color-primary);
    border: none;
    padding: 2rem 4rem;
    font-size: var(--paragraph-small);
    font-weight: 900;
    border-radius: 1rem;
}
.presentation button:hover {
    cursor: pointer;
    filter: brightness(1.05);
}
.presentation__illustration {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.presentation__img {
    width: 80%;
}

/* End of section three */
/* start of section four */
.section--four {
    width: 100%;
    height: auto;
    padding: 20rem;
}
.presentation__img--two {
    border-radius: 2rem;
}
.presentation__heading--two span {
    color: var(--color-primary);
    font-weight: 900;
}
/* End of section four */


.more {
    /* start of more section */
    width: 100%;
    height: 100vh;
    background-color: var(--color-secondary); 
    position: relative;   
    overflow: hidden;
}
.more__container {
    width: 100%;
    height: 100%;
    display: flex;
    padding: 9rem;
}
.more__div {
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-right: 2rem;
}
.more__heading {
    font-size: var(--heading-1);
    color: white;
    font-weight: 400;
}
.more__paragraph {
    color: white;
    font-size: var(--paragraph-small);
}
.more__form {
    width: 40%;
    height: 100%;
}
.input {
    width: 100%;
    padding: 2rem;
    font-size: var(--paragraph-small);
    margin-bottom: var(--margin-small);
    color: #464646;
}
.textarea {
    width: 100%;
    padding: 2rem;
    font-size: var(--paragraph-small);
    color: #464646;
    margin-bottom: var(--margin-small);
}  
.more__form > p {
    font-size: var(--paragraph-small);
    color: white;
    margin-bottom: var(--margin-small);
}
.more__form > button {
    font-size: var(--paragraph-small);
    padding: 2rem 4rem;
    font-weight: 900;
    background-color: var(--color-primary);
    border: none;
    transition: background-color .5s;
}
.more__form > button:hover {
    cursor: pointer;
    background-color: white;
}
.more__spiral {
    width: 50%;
    filter: invert(82%) sepia(23%) saturate(2742%) hue-rotate(330deg) brightness(104%) contrast(97%);
    position: absolute;
    bottom: -50%;
    left: -10%;
    /* end of more section */
}


.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;
}

/* end of main */
/* 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: 65vh;
    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 */
