* {
    font-family: 'Poppins', sans-serif;
}

* {
    font-family: 'Poppins', sans-serif;
}

body {
    width: 100%;
    max-width: 1920px;
    margin:0 auto;
}

main {
    padding:0 140px;
}

/* navigation */
.nav-head {
    padding:0 80px;
}

.nav-head .nav-link{
    margin-top: 25px;
    margin-right: 87px;
    color: #2E266F;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.nav-head .nav-link:hover {
    text-decoration: underline;
    color:#2E266F
}

/* profile box */
.profile {
    margin-top: 28px;
    display: flex;
    border-left: 7px solid #EFC81A;
    height:97px;
    align-items: center;
    justify-content: space-evenly;
    padding:10px;
}

.img-circle {
    margin-right: 38px;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 44px;
    background: url('../img/Ellipse\ 128.jpg'), lightgray 50% / cover no-repeat;
    background-position: center;
    background-size: cover;
}

.profile span{
    align-items: center;
    color: #000;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height:normal;
    text-transform: capitalize;
}

.profile span a {
    font-weight: 700;
}


/* header */
.header span {
    display: block;
    color: #2E266F;
    font-size: 72px;
    font-style: normal;
    font-weight: 500;
    line-height: 90px; 
    text-transform: capitalize;
    margin-bottom: 20px;
}

.search-field {
    display: inline-block;
    width: 670px;
    height: 90px;
    padding-left: 30px;
    flex-shrink: 0;
    border-radius: 15px;
    background: #EFEFEF;
    margin-right: 24px;
    color: #2E266F;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 90px;
}

.search-field:focus {
    border-radius: 6px;
    border: 1px solid #EFC81A;
    background: #FFF;
    box-shadow: 0px 4px 10px 3px rgba(0, 0, 0, 0.11);
}

.search-button {
    width: 255px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 15px;
    background: #EFC81A;
    color: #FFF;
    text-align: center;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.search-button:hover {
    background-color: #EFC81A;
}

.tag button {
    flex-shrink: 0;
    border-radius: 6px;
    padding:10px 30px;
    margin-right: 10px;
    color: #FFF;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-top: 34px;
}

.bg-yellow {
    background-color: #EFC81A;
}

.bg-green {
    background-color: #00E092;
}

/* cards */
.recipes {
    position: relative;
}

.card {
    border:none;
    margin-top: 90px;
}

.img-card {
    margin-right: 30px;
}

.card-title {
    color: #3F3A3A;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: capitalize;
}

.card-text {
    color: #3F3A3A;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: capitalize;
    width: 70%;
}

.card-stats {
    margin-top: 20px;
}

.stats {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 325px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 6px;
    background: #EFC81A;
}

.stats span{
    display: inline-block;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
}

.author {
    margin-top: 20px;
}

.author img {
    margin-right: 24px;
}
.author span {
    color: #3F3A3A; 
    font-size: 24px;
}

/* yellow box */
.yellow-box {
    position: absolute;
    background-color: #EFC81A;
    width:50px;
    height: 1100px;
    top:0;
    right: 0;
}

.two {
    margin-top: 1400px;
}

/* pagination */
.pagination {
    justify-content: center; 
    align-items: center;
    margin-top: 100px;
}
.pagination button {
    height: auto;
    font-size: 16px;
    padding: 18px 22px;
    font-weight: 500;
    color: #FFF;
}

.pagination button:hover {
    background-color: #EFC81A;
}

.pagination span {
    font-size: 32px;
    color: #3F3A3A;
    margin-right: 20px;
}

/* footer */
footer {
    margin-top: 100px;
    background-color:#EFC81A ;
    padding:247px;
}

footer h1 {
    color: #2E266F;
    text-align: center;
    font-size: 72px;
    font-style: normal;
    font-weight: 700;
    line-height: 48px;
    text-transform: capitalize;
    margin-bottom:60px;
}

footer p {
    color: #707070;
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-transform: capitalize;
}

.nav-footer{
    background-color: #EFC81A;
}

.nav-footer .nav-link {
    color: #707070;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; 
    text-transform: capitalize;
    margin-bottom: 50px;
}


/* Media query */

@media only screen and (min-width: 992px) and (max-width: 1199px) {

    main {
        padding: 0 50px;
    }

    /* nav */
    .nav-head {
        padding:10px 20px;
    }

    .nav-head .nav-link {
        margin-right: 40px;
        margin-top: 0px;
        font-size: 16px;
    }

    .img-circle {
        margin-right: 13px;
        width: 32px;
        height: 32px;
    }

    .profile {
        margin-top: 0px;
        height:40px;
        padding:10px;
        border-left: 3px solid #EFC81A;
    }

    .profile span {
        font-size: 14px;
    }

    /* header */
    .header span {
        font-size: 46px;
        line-height: 56px;
        margin: 20px 0;
    }

    /* search bar */
    .search-field {
        max-width: 500px;
        height: 60px;
        padding-left: 20px;
        margin-right: 10px;
        font-size: 14px;
        border-radius: 10px;
    }

    .search-button {
        width: 165px;
        height: 60px;
        border-radius: 10px;
        font-size: 18px;
    }

    /* tag button */
    .tag button {
        border-radius: 4px;
        padding:7px 20px;
        margin-right: 10px;
        font-size: 14px;
        margin-top: 18px;
    }

    /* cards */
    .card {
        max-width: 600px;
        max-height: 300px;
        margin-top: 30px;
    }

    .img-card {
        margin-right: 0;
    }

    .card-title {
        font-size: 24px;
    }
    
    .card-text {
        font-size: 16px;
        width: 100%;
    }

    
    .stats {
        width: 255px;
        height: 34px;
        border-radius: 3px;
    }
    
    .stats span{
        color: #FFF;
        font-size: 12px;
    }
    
    .author {
        margin-top: 16px;
    }

    .card-stats {
        margin-top: 16px;
    }

    .author img {
        width: 50px;
        height: 50px;
        margin-right: 10px;
    }

    .author span {
        font-size: 16px;
    }

    /* pagination */
    .pagination {
        margin-top: 80px;
    }

    .pagination button {
        font-size: 12px;
        padding: 10px 12px;
    }

    .pagination span {
        font-size: 22px;
        margin-right: 10px;
    }

    /* yellow box */
    .yellow-box {
        width:20px;
        height: 700px;
        top:0;
        right: 0;
    }

    .two {
        margin-top: 900px;
    }

    /* footer */

    footer {
        margin-top: 80px;
        padding:120px;
    }

    footer h1 {
        font-size: 58px;
        margin-bottom:40px;
    }

    footer p {
        font-size: 20px;
    }

    .nav-footer .nav-link {
        font-size: 14px;
        margin-bottom: 20px;
    }
}

/* tablet */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    main {
        padding: 0 30px; 
    }

    /* nav */
    .nav-head {
        padding: 10px 15px;
    }

    .nav-head .nav-link {
        margin-right: 30px;
        margin-top: 0px;
        font-size: 14px; 
    }

    .img-circle {
        margin-right: 10px; 
        width: 28px; 
        height: 28px; 
    }

    .profile {
        margin-top: 0px;
        height: 32px; 
        padding: 8px; 
        border-left: 2px solid #EFC81A; 
    }

    .profile span {
        font-size: 12px; 
    }

    /* header */
    .header span {
        font-size: 36px;
        line-height: 46px;  
        margin: 10px 0;
    }

    /* search bar */
    .search-field {
        max-width: 400px; 
        height: 50px; 
        padding-left: 15px; 
        margin-right: 5px; 
        font-size: 12px; 
        border-radius: 7px;
    }

    .search-button {
        width: 140px; 
        height: 50px;
        border-radius: 8px; 
        font-size: 16px; 
    }

    /* tag button */
    .tag button {
        border-radius: 3px;
        padding: 5px 15px; 
        margin-right: 8px; 
        font-size: 12px; 
        margin-top: 12px;
    }

    /* cards */
    .card {
        max-width: 500px; 
        max-height: 250px;
        margin-top: 20px; 
    }

    .img-card {
        margin-right: 0; 
    }

    .card-title {
        font-size: 20px; 
    }

    .card-text {
        font-size: 14px; 
        width: 100%; 
    }

    .author {
        margin-top: 13px;
    }
    
    .card-stats {
        margin-top: 13px;
    }

    .stats {
        width: 220px; 
        height: 30px; 
        border-radius: 3px;
    }

    .stats span {
        color: #FFF;
        font-size: 10px;
    }

    .author img {
        width: 40px; 
        height: 40px; 
        margin-right: 8px; 
    }

    .author span {
        font-size: 14px; 
    }

    /* pagination */
    .pagination {
        margin-top: 60px; 
    }

    .pagination button {
        font-size: 10px; 
        padding: 8px 10px; 
    }

    .pagination span {
        font-size: 18px; 
        margin-right: 8px; 
    }

    /* yellow box */
    .yellow-box {
        width: 15px; 
        height: 500px; 
        top: 0;
        right: 0;
    }

    .two {
        margin-top: 600px; 
    }

    /* footer */
    footer {
        margin-top: 60px; 
        padding: 90px; 
    }

    footer h1 {
        font-size: 46px; 
        margin-bottom: 30px; 
    }

    footer p {
        font-size: 18px; 
    }

    .nav-footer .nav-link {
        font-size: 12px; 
        margin-bottom: 15px; 
    }
}

@media only screen and (max-width: 767px) {
    /* Tambahkan gaya khusus untuk tampilan mobile di sini */

    main {
        padding: 0 15px;
    }

    .nav-head {
        padding: 5px 10px;
    }

    .nav-head .nav-link {
        margin-right: 20px;
        margin-top: 0px;
        font-size: 12px;
    }

    .img-circle {
        margin-right: 8px;
        width: 24px;
        height: 24px;
    }

    .profile {
        margin-top: 0px;
        height: 28px;
        padding: 6px;
        border-left: 2px solid #EFC81A;
    }

    .profile span {
        font-size: 10px;
    }

    .header span {
        font-size: 30px;
        line-height: 38px;
        margin: 8px 0;
    }

    .search-field {
        max-width: 300px;
        height: 40px;
        padding-left: 10px;
        margin-right: 3px;
        font-size: 10px;
        border-radius: 4px;
    }

    .search-button {
        width: 120px;
        height: 40px;
        border-radius: 6px;
        font-size: 14px;
    }

    .tag button {
        border-radius: 3px;
        padding: 4px 12px;
        margin-right: 6px;
        font-size: 12px;
        margin-top: 10px;
    }

    .card {
        max-width: 500px;
        max-height: 200px;
        margin-top: 15px;
    }

    .card-body {
        width: 300px;
    }

    .img-card {
        margin-right: 0;
    }

    .card-title {
        font-size: 17px;
    }

    .card-text {
        font-size: 13px;
        width: 100%;
    }

    .author {
        margin-top: 8px;
    }
    
    .card-stats {
        margin-top: 8px;
    }

    .stats {
        width: 200px;
        height: 28px;
        border-radius: 3px;
    }

    .stats span {
        color: #FFF;
        font-size: 10px;
    }

    .author img {
        width: 36px;
        height: 36px;
        margin-right: 6px;
    }

    .author span {
        font-size: 12px;
    }

    .pagination {
        margin-top: 50px;
    }

    .pagination button {
        font-size: 8px;
        padding: 6px 8px;
    }

    .pagination span {
        font-size: 16px;
        margin-right: 6px;
    }

    .yellow-box {
        width: 10px;
        height: 350px;
        top: 0;
        right: 0;
    }

    .two {
        margin-top: 400px;
    }

    footer {
        margin-top: 50px;
        padding: 70px;
    }

    footer h1 {
        font-size: 36px;
        margin-bottom: 20px;
    }

    footer p {
        font-size: 14px;
    }

    .nav-footer .nav-link {
        font-size: 10px;
        margin-bottom: 12px;
    }

    .yellow-box {
        display: none;
    }
}
