@font-face {
    font-family: 'Onest';
    src: url('../fonts/Onest-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

/* Abril Fatface Font */
@font-face {
    font-family: 'Abril Fatface';
    src: url('../fonts/AbrilFatface-Regular.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

/* Teko Font */
@font-face {
    font-family: 'Teko';
    src: url('../fonts/Teko-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

/*======================== NAVBAR =======================*/

.navbar-custom {
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    border-radius: 110px;
    padding: 10px 50px;
}

.navbar-nav .nav-link {
    color: white;

}

/* =============================== HERO SECTION ==============================*/

.hero-section {
    color: white;
    text-align: left;
    padding: 5vw 0;
    /* height: 100vh; */
    display: flex;
}

.underline-text {
    display: inline-block;
    position: relative;
    z-index: 1;
}

.underline-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.2em;
    width: 100%;
    height: clamp(13px, 6px, 12px);
    background-color: rgba(0, 94, 247, 1);
    z-index: -1;
}


.card-img {
    /* height: 120vh; */
    object-fit: cover;
    border-radius: 0 0 50px 50px;
}

/* =====================MEDIA QUERIES ==================== */
@media (max-width: 768px) {
    .logo {
        height: 60px;
    }



}

@media (min-width: 720px) and (max-width: 1024px) {

    .logo {
        height: 80px;
    }

}

@media (min-width: 1800px) {
    .hero-section {
        justify-content: flex-start;
        align-items: flex-start;
    }

    .logo {
        height: 180px;
    }


}

.buy-now-3 {
    border-radius: 75px;
    display: inline-block;
    text-align: center;
    margin-top: 10px;
    padding: 12px 40px;
    font-family: "Onest", sans-serif;
    font-weight: 700;
    font-size: 18px;
    border-style: solid;
    background: rgba(0, 94, 247, 1);
    color: white;
    border-right: 4px solid black;
    border-bottom: 4px solid black;
}

.buy-now-3:hover {
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.7);
    transform: translateY(-2px);
}


/*======================== Recipe======================= */

.yellow_box {
    background: rgba(245, 233, 1, 1);
    padding: 5px 10px;
    font-weight: bold;
    border-radius: 10px;
    font-family: 'Onest', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: -4%;
    text-transform: uppercase;

}

.yellow-underline {
    display: inline-block;
    position: relative;
    z-index: 1;
    padding: 0 5px;
    white-space: nowrap;
}

.yellow-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 20px;
    background-color: #F5E901;
    z-index: -1;
}

/* Tablet View */
@media (max-width: 768px) {


    .yellow-underline::after {
        height: 15px;
    }
}

@media (max-width: 480px) {


    .yellow-underline::after {
        height: 10px;
    }

}



.ingredient-list {
    list-style: none;
    padding: 0;
}

.ingredient-list li {
    padding: 5px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.check-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

.instructions-card {
    background: rgba(245, 245, 255, 1);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.steps-box p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-number {
    background: rgba(0, 94, 247, 1);
    color: white;
    font-weight: bold;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.time-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin: 20px auto;

}

.time-info .info-box {
    display: flex;
    align-items: center;
    flex: 1;
    border-right: 2px solid #ddd;
    padding: 0 10px;
    justify-content: center;
}

.time-info .info-box:last-child {
    border-right: none;
}

.time-info img {
    width: 30px;
    height: 30px;
    margin-right: 8px;
}

.time-info .text-box {
    display: flex;
    flex-direction: column;
}

.time-info span {
    font-size: 14px;
    color: #444;
}

.time-info .value {
    font-weight: bold;
    font-size: 16px;
}

.Onest_Typo {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: -2%;
}

.ingredient-font {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 128%;
    letter-spacing: -2%;
}

@media (max-width: 768px) {
    .time-info {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .time-info .info-box {
        width: 100%;
        justify-content: flex-start;
        border-right: none;
        border-bottom: 2px solid #ddd;
        padding: 10px 0;
    }

    .time-info .info-box:last-child {
        border-bottom: none;
    }

    .instructions-card {
        padding: 20px;
    }

    .steps-box p {
        font-size: 14px;
        gap: 5px;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .highlight {
        font-size: 14px;
        padding: 4px 8px;
    }

    .ingredient-list li {
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }


    .col-md-5,
    .col-md-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .ingredient-list {
        padding-left: 10px;
    }
}

/* ============================= You May Also Like ================== */
#heading {
    margin-top: 100px !important;
    margin-bottom: 60px;
}

.recipe-card {
    border-radius: 20px;
    border: solid 2px rgba(151, 151, 151, 1);
    overflow: visible;
    position: relative;
    transition: transform 0.3s ease-in-out;
    height: 100%;
}

.recipe-card:hover {
    background-color: rgba(245, 245, 255, 1);
}

.recipe-card::after {
    content: "";
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 100%;
    height: 100%;
    background: rgba(0, 94, 247, 1);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.recipe-card:hover::after {
    opacity: 1;
}

.recipe-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.recipe-card .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.favorite {
    position: absolute;
    top: 10px;
    right: 10px;
}

.favorite img {
    width: 30px;
    height: 30px;
}

.difficulty {
    display: flex;
    align-items: center;
}

.difficulty span {
    margin-right: 5px;
}

.rating {
    background: transparent;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 400;
    color: rgba(28, 28, 28, 1);
    border: 2px solid rgba(9, 17, 16, 1);
    display: flex;
    align-items: center;
}

.rating img {
    width: 20px;
    height: 20px;
    margin-left: 5px;
}

.time-icon img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.Teko_Font {
    font-family: 'Teko', sans-serif;
    font-weight: 500;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 85%;
    letter-spacing: 0%;
    text-transform: capitalize;
}

.Onest_Font {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 100%;
    letter-spacing: -0.02em;
}

.recipe-title {
    font-family: 'Teko', sans-serif;
    font-weight: 500;
    font-size: clamp(40px, 7vw, 85px);
    line-height: 73%;
    letter-spacing: 0%;
    text-transform: capitalize;
    text-align: center;

}

/* By Arbab */

.card-img-overlay {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Responsive */

@media screen and (max-width:1024px) {
    
}
@media screen and (max-width:820px) {
    
}
@media screen and (max-width:768px) {
    
}
@media screen and (max-width:600px) {
    .card-img {
        height: 330px;
    }
}

a.nostyle {
    text-decoration: none;
    color: inherit;
  }