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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3vh 7vw;
    height: fit-content;
    margin-bottom: 10px;
}

#drawer {
    display: inline;
}

nav #drawer>div {
    display: none;
}
#menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6vw;
}

#menu-text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

#menu-text span {
    color: var(--Black, #253D4E);
    font-family: Poppins;
    font-size: 0.95rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

#menu-text span:hover {
    color: #509E2F;
    cursor: pointer;
}

@media screen and (max-width : 470px) {
    nav {
        display: flex;
    }

    nav #drawer {
        display: flex;
        gap: 20px;
        justify-content: center;
        align-items: center;
    }

    nav #drawer>div {
        display: inline;
    }

    nav #menu {
        display: none;
    }
}
#dummy{
    display: none;
    width:50%;
    height:100vh;
    position:fixed;
    background: rgba(12, 12, 12, 0.5);
    left:50%;
    top:0;
}
#drawer-menu {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    background: white;
    flex-direction: column;
    /* padding-top: 30px; */
    padding: 30px 7vw 0px 7vw;
    gap: 20px;
    width: 50%;
    /* border: 2px solid red; */
    height: 100vh;
}

#drawer-menu>div>img:nth-child(1) {
    width: 20vw;
    height: 8.4vw;
}

#drawer-menu>div>img:nth-child(2) {
    width: 7.5vw;
    height: 7.5vw;
}

#drawer-menu>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#drawer-menu span {
    color: var(--Black, #253D4E);
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
#drawer-menu span:hover{
    color: #509E2F;
    cursor: pointer;
}

section {
    padding: 0vh 5vw;
}

#hero>div {
    width: 100%;
    height: 355px;
    border-radius: 30px;
    /* border: 2px solid red; */
    background: url('./images/Rectangle 20.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    /* z-index: 1; */
}

#hero #hero-content {
    padding: 7% 5%;
    width: 40vw;
}

#hero #hero-content>p:nth-child(1) {
    color: #DC582A;
    font-family: Poppins;
    font-size: 1.8vw;
    font-style: normal;
    font-weight: 500;
    line-height: 127%;
    /* 30.48px */
}

#hero #hero-content>p:nth-child(2) {
    color: #FFF;
    font-family: Poppins;
    font-size: 3vw;
    font-style: normal;
    font-weight: 700;
    line-height: 127%;
    /* 50.8px */
}

#hero #hero-content>p:nth-child(3) {
    margin-top: 1vh;
    color: #FFF;
    font-family: Poppins;
    font-size: 1.5vw;
    font-style: normal;
    font-weight: 500;
    line-height: 127%;
    /* 25.4px */
}

@media screen and (max-width:600px) {
    #hero #hero-content {
        padding: 7% 5%;
        width: 50vw;
    }

    #hero #hero-content>p:nth-child(1) {
        font-size: 12px;
    }

    #hero #hero-content>p:nth-child(2) {
        font-size: 22px;
    }

    #hero #hero-content>p:nth-child(3) {
        font-size: 8px;
    }
}

#search {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0px;
}

#search>span {
    color: #252525;
    font-family: Poppins;
    font-size: 1.3rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

#search #search-input {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 7px;
    border-radius: 10px;
    background: #F3F3F3;
}

#search #search-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 12px;
}

#search #search-input #search-bar i {
    color: #ADADAD;
}

#search #search-input input {
    background: #F3F3F3;
    border: none;
}

#search #search-button {
    /* border: 2px solid red; */
    height: 42px;
    width: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background: #509e2f;
    border-radius: 0px 5px 5px 0px;
}

#search #search-filter {
    padding-top: 40px;
    display: flex;
    gap: 20px;
    overflow-x: scroll;
}

#search-filter::-webkit-scrollbar {
    display: none;
}

#search #search-filter .filter {
    padding: 30px;
    /* border: 2px solid red; */
    display: flex;
    justify-content: space-between;
    width: 240px;
    border-radius: 10px;
    color: white;
    font-family: Poppins;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 127%;
    /* 20.32px */
}

#search #search-filter .filter:hover,
#search #search-input #search-button {
    cursor: pointer;
}

#search #search-filter .filter:nth-child(1) {
    background: #EAAA00;
}

#search #search-filter .filter:nth-child(2) {
    background: #C4D600;
}

#search #search-filter .filter:nth-child(3) {
    background: #DC582A;
}

#All-recipes {
    display: flex;
    flex-direction: row;
    padding: 0px;
    margin: 0vh 5vw;
    flex-wrap: wrap;
    /* grid-template-rows: 1000px auto; */
    gap: 0px;
    /* border: 2px solid red; */
    /* position: relative; */
}

#All-recipes #filter {
    /* height:2000px; */
    /* position: absolute; */
    /* height:1000px; */
    width: 20.4vw;
    /* grid-column: 1; */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* border: 2px solid green; */
    /* height: 1000px; */
}

#Recipes {
    width: calc(100% - 20.4vw);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    /* border: 2px solid blue; */
}

#All-recipes #filter #filter-head {
    padding: 20px 0px 40px 10px;
    /* border: 2px solid red; */
    color: #252525;
    font-family: Poppins;
    font-size: 1.3rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

#All-recipes #filter #filter-base {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 15px;
}

#All-recipes #filter #filter-base>div {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#All-recipes #filter #filter-base>p {
    color: #252525;
    font-family: Poppins;
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 550;
    line-height: normal;
}

#All-recipes #filter #filter-base>div>div {
    display: flex;
    gap: 10px;
    color: #253D4E;
    font-family: Inter;
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

@media screen and (max-width: 590px) {
    #All-recipes {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    #All-recipes #filter {
        /* border: 2px solid red; */
        width: 100%;
        display: flex;
        gap: 20px;
    }

    #All-recipes #filter #filter-head {
        padding: 20px 10px;
    }

    #All-recipes #filter #filter-base {
        display: flex;
        flex-direction: column;
        padding-left: 10px;
        gap: 20px;
    }

    #All-recipes #filter #filter-base>div {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        padding-left: 20px;
    }

    #Recipes {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    min-width: 180px;
    min-height: 300px;
    width: 22vw;
    /* height: 315px; */
    /* border: 2px solid red; */
    border-radius: 16px;
    background: #FFF;
    /* Shadow/shadow-sm */
    box-shadow: 0px 3px 8px -1px rgba(50, 50, 71, 0.05), 0px 0px 1px 0px rgba(12, 26, 75, 0.24);
}

.card>img {
    border-radius: 16px;
    width: 100%;
    height: 200px;
}

.card>p {
    padding: 0px 10px;
    color: #A1A1A1;
    font-family: Inter;
    font-size: 0.6rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.4rem;
    /* 240% */
}

.card .card-head,
.card .card-base {
    padding: 0px 10px;
    /* margin: 15px 0px; */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card .card-base {
    margin: 15px 0px;
}

.card .card-base .fav-and-comm {
    display: flex;
    justify-content: center;
    align-items: center;
}

.card .card-head>span:nth-child(1) {
    color: #252525;
    font-family: Inter;
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.4rem;
    /* 120% */
}

.card .card-head>span:nth-child(2) {
    display: flex;
    gap: 5px;
    color: var(--Grey, #ADADAD);
    font-family: Inter;
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.card .card-base>span:nth-child(1) {
    color: #DC582A;
    /* Headings/h3 */
    font-family: Inter;
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 600;
    line-height: 136.523%;
    /* 27.305px */
}

.card .card-base>span:nth-child(2) {
    display: flex;
    gap: 15px;
}

i:hover {
    cursor: pointer;
}

footer {
    padding: 10.4vh 9.1vw 5.2vh 9.1vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10.5vh;
}

footer>div {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 70px;
    flex-wrap: wrap;
    /* align-items: ; */
}

footer>div>div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
}

footer>div>div:nth-child(1)>span {
    width: 290px;
    color: #253D4E;
    text-align: justify;
    font-family: Poppins;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

footer>div>div:nth-child(2),
footer>div>div:nth-child(3) {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
    color: var(--black-alpha-60, rgba(0, 0, 0, 0.60));
    font-family: Poppins;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    /* 125% */
}

footer>div>div:nth-child(2)>span:nth-child(1),
footer>div>div:nth-child(3)>span:nth-child(1) {
    color: #253D4E;
    font-family: Poppins;
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.53rem;
    /* 130% */
}

footer>div:nth-child(1)>div:nth-child(4) {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
    width: 400px;
    min-width: 300px;
    /* border:2px solid red; */
}

@media screen and (max-width:1280px) {
    footer>div:nth-child(1)>div:nth-child(4) {
        width: fit-content;
    }

    footer>div:nth-child(1)>div:nth-child(4) input {
        width: 85%;
    }
}

footer>div>div:nth-child(4) span {
    color: var(--black-alpha-60, rgba(0, 0, 0, 0.60));
    font-family: Poppins;
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 300;
    line-height: 1.18rem;
    /* 142.857% */
    letter-spacing: 0.28px;
}

footer>div>div:nth-child(4)>div {
    display: flex;
    gap: 10px;
}

footer>div>div:nth-child(4) #email {
    border: 1px solid #253D4E;
    border-radius: 8px;
    padding: 12px;
    background: #FBFDFE;
}

footer>div>div:nth-child(4) #email>input {
    border: none;
}

footer>div>div:nth-child(4) #subscribe {
    border-radius: 5px;
    background: #509E2F;
    padding: 12px;
    color: var(--purple-05, #FCFAFF);
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.16);
    /* Archivo/Body/Button */
    font-family: poppins;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2rem;
    /* 125% */
    letter-spacing: 0.32px;
}

footer img {
    height: 46px;
    width: 96px;
}

footer #social-media {
    gap: 20px;
}

footer #social-media>div {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: black;
    color: white;
}

footer #social-media i {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* border:2px solid red; */
    /* border-radius: 50%; */
}