@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat/static/Montserrat-Regular.ttf') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Playwrite';
  src: url('/fonts/Playwrite_DE_SAS/static/PlaywriteDESAS-Regular.ttf') format('woff2');
  font-weight: bold;
  font-display: swap;
}

html {
    overflow-x: hidden;
}

body {
    background-image: linear-gradient(174.2deg, rgba(255,244,228,1) 7.1%, rgba(240,246,238,1) 67.4%);
}

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

img {
    display: block;
    max-width: 100%;
    height: auto;
}

main {
    background-image: linear-gradient(174.2deg, rgba(255,244,228,1) 7.1%, rgba(240,246,238,1) 67.4%);
    background-repeat: no-repeat;
    padding-bottom: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.header-navigation {
    background-image: linear-gradient(#f5f5f5, #faf0e6);
    padding-block: 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 3;
}

.header-navigation ul {
    position: relative;
    display: flex;
    gap: 2.5rem;
    margin: 0 2rem 0 2rem;
    list-style-type: none;
    justify-content: space-between;
    align-items: center;
}

.other-logo {
    display: flex;
    gap: 0.5rem;
}

.other {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 30%;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

:is(#home, #home:visited) {
    font-size: 1.8rem;
    color: #20402d;
}

#home img {
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.1rem;
    margin-right: 0.1rem;
}

:is(.other img, .other img:visited) {
    width: 2rem;
    height: 2rem;
    filter: invert(15%) sepia(90%) saturate(7000%) hue-rotate(135deg) brightness(20%) contrast(60%);
}

.other:hover {
    background-color: #e9e8e8;
}

.other img:hover {
  filter: brightness(0) saturate(200%) invert(48%) sepia(94%) hue-rotate(120deg);
}

.other #home img:hover {
  filter: brightness(0) saturate(200%) invert(48%) sepia(94%) hue-rotate(120deg);
}

.celestial-logo {
  flex-shrink: 0;
  min-width: 0;
  margin-left: 2.5rem;
}

:is(.celestial-logo a, .celestial-logo a:visited) {
    position: relative;
    text-decoration: none;
    color: #007A70;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 2rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
    font-family: 'Playwrite', sans-serif;
}

.hamburger-menu, .menu {
    position: relative;
}

#check {
    display: none;
}

.checkbtn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.bars {
    display: block;
    width: 2.5rem;
    height: 0.3rem;
    margin: 0.2rem 0;
    transition: all 0.3s ease;
    position: relative;
}

.bars, .bars::after {
    background-color: #0e635c;
}

.bars::after {
    content: '';
    position: absolute;
    width: 2.5rem;
    height: 0.3rem;
    transition: all 0.3s ease;
}

.bars::after {
    top: 0.8rem;
}

#check:checked + .checkbtn .bars {
    transform: rotate(45deg);
    top: 0;
}

#check:checked + .checkbtn .bars::after {
    transform: rotate(-90deg);
    top: 0;
}

.recipe-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 30%;
    height: 100vh;
    background-color: #fff;
    box-shadow: -0.2rem 0 0.9rem #0b59191a;
    padding: 5rem 2rem 2.5rem;
    transition: left 0.3s ease;
    z-index: 10;
    overflow-y: auto;
}

.special-diets {
    width: 25%;
}

.special-diets img {
    width: 4rem;
}

#check:checked ~ .recipe-menu {
    left: 0;
}

.recipe-menu > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem;
    transition: all 0.3 ease;
    margin-bottom: 0.5rem;
}

.recipe-menu h3 {
  margin-block: 1.5rem;
  font-family: serif;
  color: #0e635c;
  font-size: 2.5rem;
}

.recipe-menu a {
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  color: #0e635c;
  font-weight: 700;
  font-size: 1.2rem;
}

.border-bottom {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

.border-bottom::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0.18rem;
    background: linear-gradient(90deg, #007A70, #00b3a1, #007A70);
    transition: width 0.4s ease;
    border-radius: 10%;
}

.border-bottom:hover:after {
    width: 100%;
}

.recipe-menu > div:hover {
    background: #f4fdff;
}

.recipe-menu > div:active {
    color: #41d8d8;
}

.recipe-menu img {
  width: 8rem;
  height: 5rem;
  border-radius: 10%;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.main-title {
    padding-top: 8rem;
    text-align: center;
    font-size: 3.5rem;
    font-family: "Playwrite", sans-serif;
    margin-bottom: 3.5rem;
    color: #007A70;
    position: relative;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 1rem;
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='20' viewBox='0 0 200 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 15 Q 50 5, 90 15 Q 130 25, 170 15 Q 190 10, 190 15' stroke='%23007A70' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.main-title::before { left: 20%; }
.main-title::after { right: 20%; }

.section-title {
    padding-top: 1rem;
    text-align: center;
    font-size: 3.5rem;
    font-family: "Playwrite", sans-serif;
    padding-bottom: 1.5rem;
    color: #fff;
    animation: neonPulse 2s ease-in-out infinite;
    text-shadow: 
        0 0 5px #007A70,
        0 0 10px #007A70,
        0 0 15px #00B4A0,
        0 0 20px #00B4A0,
        0 0 25px #00D4B4;
}

@keyframes neonPulse {
    0%, 100% {
        text-shadow: 
            0 0 5px #007A70,
            0 0 10px #007A70,
            0 0 15px #00B4A0,
            0 0 20px #00B4A0,
            0 0 25px #00D4B4;
        transform: scale(1);
    }
    50% {
        text-shadow: 
            0 0 10px #007A70,
            0 0 20px #00B4A0,
            0 0 30px #00D4B4,
            0 0 40px #00F0C8,
            0 0 50px #00F0C8;
        transform: scale(1.02);
    }
}

.card-img-container {
    height: 15.6rem;
    width: 100%;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.card-img-container,
.recipe-card,
.recommended-card {
    position: relative;
    overflow: hidden;
}

.recipe-card {
    border-radius: 50%;
    cursor: pointer;
    overflow: hidden;
    width: 15.6rem;
    height: 15.6rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: linear-gradient(45deg, #2c2c2c, #1a1a1a);
    box-shadow: 
        inset 0 0 0 3px #333,
        inset 0 0 0 6px #1a1a1a,
        inset 0 0 0 9px #222,
        0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: rainbow-border 3s infinite;
}

.section-description {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.8rem 1.4rem;
    background: #007A70;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.recipe-card:hover {
    animation: rotate linear infinite, rainbow-border 3s infinite;
    animation-duration: 5s; 
}

.recipe-card:hover .section-description {
    opacity: 1;
    transform: translateY(0);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.tiramisu-section, .others-section {
    padding: 3rem 0;
}

.others-section .d-flex {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.others-section .flex-grow-1 {
    flex: 0 1 auto; 
    max-width: 20rem; 
}

.head-title {
    text-align: center;
    font-size: 3rem;
    font-family: 'Playwrite', sans-serif;
    color: #007A70;
    padding-top: 2.5rem;
    margin-top: 5rem;
    margin-bottom: 1.5rem;
}

.text-container {
    max-width: 60rem;
    margin: 2.5rem auto;
    padding: 0 2rem;
}

.dessert-description {
    padding: 3rem 1rem;
    position: relative;
    border-radius: 16px;
    margin: 2rem auto;
    width: 60%;
    max-width: 100%;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.dessert-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2)),
        url('../../assets/bg-image/dessert-gif.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px;
}

.dessert-summary-content {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.text-container .content {
    height: 35rem;
    display: flex;
    flex-wrap: wrap;
    padding-top: 2.5rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.main {
    background-image: url("../../assets/bg-image/cooking-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10%;
}

.appetizer {
  background-image: url("../../assets/bg-image/appetizer-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10%;
}

.salad {
  background-image: url("../../assets/bg-image/salad-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10%;
}

.diet {
  background-image: url("../../assets/special_diets/vegan/Vegan\ BG.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10%;
}

.text-container .content > * {
    position: relative;
    z-index: 2;
    color: #fff;
    text-shadow: 0.1rem 0.1rem 0.3rem #313a03;
    font-family: 'Montserrat', sans-serif;
}

.food-definition {
    font-size: 1.5rem;
    font-weight: 300;
    color: #05353d;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.food-definition::before,
.food-definition::after {
    content: '"';
    font-size: 2rem;
    color: #000000;
    font-style: normal;
}

.check-out {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-weight: 400;
    max-width: 32rem;
    margin-inline: auto;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(4, 49, 48, 0.2);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    width: auto;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.text-container .content p:last-of-type {
    font-weight: 500;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border-left: 0.3rem solid #b7e19d;
}

.recommended-section {
    margin: 1.5rem 2rem;
}

.heading-container {
    display: flex;
    margin-top: 1.2rem;
    gap: 0.2rem;
    justify-content: center;
    margin-inline: 3.5rem;
}

.main-course-definition {
    color: #8a8989;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-align: center;
    text-wrap: wrap;
}

.top-pick-heading {
  text-align: center;
  font-family: "Montserrat", serif;
}

.top-line {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #007A70;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.top-line::after {
    content: "";
    position: absolute;
    bottom: -0.1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 6rem;
    height: 0.2rem;
    background: linear-gradient(90deg, #007A70, #bffbf6);
}

.bottom-line {
    display: block;
    font-size: 1.5rem;
    color: #7f8c8d;
    font-style: italic;
    letter-spacing: 0.1rem;
}

.recommended-section, .recommended-img {
    display: flex;
    gap: 1rem;
}

.recommended-img {
    justify-content: center;
}

.recommended-card {
    position: relative;
    width: 21rem;
    height: 15rem;
    border-radius: 20%;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    contain: layout style paint;
}

.recommended-card:hover {
    transform: translateY(-0.1rem);
    box-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.2);
}

.recommended-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recommended-card:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1f9188, #52aea7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20%;
    will-change: opacity;
}

.recommended-card:hover .overlay {
    opacity: 1;
}

.overlay .text {
    color: #fff;
    font-family: 'Playwrite', sans-serif;
    font-size: 1.8rem;
    text-align: center;
    padding: 2rem;
    text-shadow: 1px 1px 3px #333;
    transform: translateY(1rem);
    transition: transform 0.4s ease;
}

.btn-secondary {
    background: linear-gradient(135deg, #00A8A8, #4dbb96);
    border: none;
    transform: scale(1.5);
    font-weight: 600;
    font-size: 1.5rem;
    padding: 0.4rem 1.2rem;
    transition: all 0.3s ease;
    display: block;
    width: fit-content;
    margin: 0 auto;
    transform-origin: center;
}

.btn-secondary:hover {
    box-shadow: 0 4px 12px rgba(0, 122, 112, 0.3);
}

.all-recipes h3 {
    text-align: center;
    font-size: 3rem;
    font-family: 'Georgia', serif;
    color: #fff;
    text-shadow: 0 -20px 80px, 0 0 2px, 0 0 1em #1f9188, 
    0 0 0.3em #1f9188, 0 0 0.1em #1f9188, 0 10px 3px #1f9188;
    margin-top: 4.5rem;
    margin-bottom: 2.5rem;
    animation: flicker 1.5s infinite alternate;
}

.blink {
    animation: blink linear infinite 2s;
}

.long-blink {
    animation: blink linear infinite 3s;
}

@keyframes blink {
  78% {
    color: inherit;
    text-shadow: inherit;
  }
  79%{
     color: #1e8a7a;
  }
  80% {
    
    text-shadow: none;
  }
  81% {
    color: inherit;
    text-shadow: inherit;
  }
  82% {
    color: #1e8a7a;
    text-shadow: none;
  }
  83% {
    color: inherit;
    text-shadow: inherit;
  }
  92% {
    color: #1e8a7a;
    text-shadow: none;
  }
  92.5% {
    color: inherit;
    text-shadow: inherit;
  }
}

.recommended-section,
.recipe-section {
    contain: layout style;
}

.recommended-card,
.card {
    contain: layout style paint;
}

.recipe-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 2rem;
    gap: 2rem;
}

.recipe-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 20%;
    border-top-right-radius: 20%;
    cursor: pointer;
    display: block;
}

.card-image {
  height: 12.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.recipe-section .card:hover {
    transform: translateY(-0.5rem);
    transition: transform 0.6s ease;
}

:is(.card, .card a:visited) {
    background-color: #fff;
    border-radius: 20%;
    overflow: hidden;
    box-shadow: 0 0.625rem 2rem rgba(0,0,0,0.08);
    transition: box-shadow 0.2s ease;
    text-align: center;
    max-height: 25rem;
    display: flex;
    flex-direction: column;
    animation: rainbow-border 3s infinite;
}

@keyframes rainbow-border {
    0% {
        border: 3px solid #007A70;
    }
    25% {
        border: 3px solid #00b3a1;
    }
    50% {
        border: 3px solid #b7e19d;
    }
    75% {
        border: 3px solid #52aea7;
    }
    100% {
        border: 3px solid #007A70;
    }
}

.card text {
    padding: 1rem 2rem;
    height: 12.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

:is(.card a, .card a:visited) {
    text-decoration: none;
    color: #007A70;
    text-decoration: underline;
    font-weight: 600;
    font-size: 1.3rem;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

:is(.card a:hover, .card a:active) {
    color: #35c5ad;
}

.card p {
    font-size: 1.2rem;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    opacity: 0.5;
    margin-bottom: 2rem;
}

.more-recipes-section {
    background: 
        linear-gradient(rgba(30, 30, 30, 0.6), rgba(30, 30, 30, 0.6)),
        url("../../assets/bg-image/baking-bg.jpg") center/cover;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 auto;
    margin-top: 3rem;
    padding: 5rem 2rem;
    min-height: 2.5rem;
    width: 80%;
    border-radius: 25px;
}

.more-recipes-section .container {
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.more-recipes-section .col-lg-8 {
    padding: 3rem 4rem;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.cooking-badge {
    background: linear-gradient(45deg, #007A70, #52aea7);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
    display: inline-block;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    max-width: 100%;
    box-shadow: 0 4px 15px rgba(34, 167, 147, 0.3);
}

.more-section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #d5fff8;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    max-width: 100%;
}

.description-text {
    margin-inline-start: 0.5rem;
    font-size: 1.1rem;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 2.5rem;
    max-width: 100%;
}

.cta-button {
    background: linear-gradient(45deg, #007A70, #00B4A0);
    color: #fff;
    padding: 0.9rem 1.8rem;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 122, 112, 0.3);
    max-width: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 122, 112, 0.4);
    color: white;
}

@media screen and (max-width: 1300px) {

   .main-title {
        padding-top: 4rem;
        font-size: 2.5rem;
        margin-bottom: 2.5rem;
    }

    .main {
      width: 80%;
    }

    .appetizer {
        width: 80%;
    }

    .salad {
        width: 80%;
    }

    .summary-content {
        max-width: 80%;
        margin: 0 auto;
    }

  .dessert-description {
        padding: 4rem 2rem;
        margin: 3rem auto;
        border-radius: 20px;
        width: 90%;
        max-width: 90%;
    }
    
    .dessert-description::before {
        border-radius: 20px;
        background-position: center 30%;
    }
    
    .dessert-summary-content {
        padding: 2.5rem 3rem;
        margin-bottom: 3rem;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.7);
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .food-definition {
        font-size: 1.8rem;
        line-height: 1.7;
        max-width: 80%;
    }
    
    .food-definition::before,
    .food-definition::after {
        font-size: 2.5rem;
    }

  .section-title {
      font-size: 4rem;
      margin-bottom: 3rem;
  }

  .more-recipes-section {
      padding: 3.5rem 1.5rem;
    }
    
  .container {
      padding: 2rem;
  }

  .more-recipes-section .container {
      max-width: 100%;
  }

  .more-section-title {
      font-size: 2.8rem;
  }
    
  .description-text {
      font-size: 1.2rem;
      max-width: 28rem;
      width: auto;
  }

  .recipe-menu {
        width: 40%;
  }

  .bars, .bars::after {
      margin-bottom: 0.8rem;
  }

  .recommended-section {
        margin: 1rem 0.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

  .recipe-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .top-line {
      font-size: 3.5rem;
  }

  .bottom-line {
      font-size: 2.5rem;
  }

  .heading-container {
      display: flex;
      justify-content: center;
      align-items: center;
  }

  .recommended-img {
      flex-direction: column;
      align-items: center;
  }

  .recommended-card {
      width: 100%;
      max-width: 25rem;
  }

  .card a {
    text-decoration: none;
    color: #007A70;
    font-weight: 600;
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
  }

  .card p {
      font-size: 1.4rem;
      color: #333;
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      margin-bottom: 2rem;
      opacity: 0.5;
  }

  .card text {
    padding: 2rem;
  }

}

@media screen and (max-width: 1300px) {
    .main-title {
        padding-top: 7.5rem;
    }
}

@media screen and (max-width: 960px) {

  .main-title {
        padding-top: 4rem;
        font-size: 2.5rem;
        margin-bottom: 2.5rem;
    }

  .main {
      width: 80%;
  }

  .appetizer {
        width: 80%;
    }

  .salad {
        width: 80%;
    }

  .dessert-description {
        padding: 4rem 2rem;
        margin: 3rem auto;
        border-radius: 20px;
        width: 90%;
        max-width: 90%;
    }
    
    .dessert-description::before {
        border-radius: 20px;
        background-position: center 30%;
    }
    
    .dessert-summary-content {
        padding: 2.5rem 3rem;
        margin-bottom: 3rem;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.7);
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .summary-content {
        max-width: 80%;
        margin: 0 auto;
    }
    
    .food-definition {
        font-size: 1.8rem;
        line-height: 1.7;
        max-width: 80%;
    }
    
    .food-definition::before,
    .food-definition::after {
        font-size: 2.5rem;
    }

  .section-title {
      font-size: 4rem;
      margin-bottom: 3rem;
  }

  .more-recipes-section {
        padding: 3.5rem 1.5rem;
    }
    
  .container {
      padding: 2rem;
  }

  .more-recipes-section .container {
      max-width: 100%;
  }

  .more-section-title {
      font-size: 2.8rem;
  }

  .dessert-description {
        padding: 4rem 2rem;
        margin: 3rem auto;
        border-radius: 20px;
        width: 80%;
        max-width: 80%;
    }
    
    .dessert-description::before {
        border-radius: 20px;
        background-position: center 30%;
    }
    
    .dessert-summary-content {
        padding: 2.5rem 3rem;
        margin-bottom: 3rem;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.7);
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .food-definition {
        font-size: 1.8rem;
        line-height: 1.7;
        max-width: 80%;
    }
    
    .food-definition::before,
    .food-definition::after {
        font-size: 2.5rem;
    }

  .recipe-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .top-line {
      font-size: 3.5rem;
  }

  .bottom-line {
      font-size: 2.5rem;
  }

  .heading-container {
      display: flex;
      justify-content: center;
      align-items: center;
  }

  .recommended-img {
      flex-direction: column;
      align-items: center;
  }

  .recommended-card {
      width: 100%;
      max-width: 25rem;
  }

    .card a {
        text-decoration: none;
        color: #007A70;
        font-weight: 600;
        font-size: 1.7rem;
        display: block;
        margin-bottom: 0.5rem;
        transition: color 0.2s ease;
    }

    .card p {
        font-size: 1.4rem;
        color: #333;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        margin-bottom: 2rem;
        opacity: 0.5;
    }

    .card text {
        padding: 2rem;
    }

}

@media screen and (max-width: 912px) {
    .main-title {
        padding-top: 8.5rem;
        font-size: 2.5rem;
        margin-bottom: 2.5rem;
    }
}

@media screen and (max-width: 820px) {
    .main-title {
        padding-top: 8rem;
        font-size: 2.5rem;
        margin-bottom: 2.5rem;
    }

    .recommended-section {
        margin: 1rem 0.5rem;
        display: flex;
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    .main-title {
        padding-top: 6.5rem;
        font-size: 2.5rem;
        margin-bottom: 2.5rem;
    }

    .summary-content {
        max-width: 80%;
        margin: 0 auto;
    }

    .main {
        width: 80%;
    }

    .appetizer {
        width: 80%;
    }

    .salad {
        width: 80%;
    }
    
   .dessert-description {
        max-height: 400px;
        max-width: 90%;
        width: 90%;
        margin: 1rem auto;
        padding: 2rem 1.5rem;
    }

    .dessert-summary-content {
        margin-bottom: 2rem;
        padding: 1.5rem 1rem;
    }

    .food-definition {
        font-size: 1.3rem;
        line-height: 1.5;
    }

    .food-definition::before,
    .food-definition::after {
        font-size: 1.5rem;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    .head-title {
        font-size: 2.5rem;
    }

    .main-course-definition {
        font-size: 0.8rem;
        margin: 0 1.5rem;
    }

    .check-out {
        font-size: 1.1rem;
        max-width: 28rem;
        margin-bottom: 0.8rem;
    }

    .text-container .content {
        height: 25rem;
        border-radius: 6%;
        padding: 1.5rem;
    }

    .text-container .content p:last-of-type {
        font-size: 1.1rem;
        padding: 0.8rem 1.2rem;
        border-left: 0.25rem solid #b7e19d;
        margin: 0 1rem;
        max-width: 95%;
    }

    .celestial-logo {
      position: absolute;
      left: 50%;
      transform: translateX(-85%);
    }

    .recommended-section {
        margin: 1rem 0.5rem;
        display: flex;
        flex-direction: column;
    }

    .heading-container {
        margin-inline: 1rem;
        margin-top: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .top-line {
        font-size: 2rem;
        letter-spacing: 0.2rem;
        margin-bottom: 0.3rem;
    }

    .top-line::after {
        width: 5.5rem;
        height: 0.15rem;
    }

    .recommended-img {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .recommended-card {
        width: 13rem;
        height: 9rem; 
    }

    .overlay .text {
        font-size: 1.1rem;
        padding-bottom: 2.5rem;
    }

    .header-navigation {
        padding-block: 1rem;
        box-sizing: border-box;
    }

    .header-navigation ul {
        margin: 0 1rem;
        gap: 1rem;
    }

    .celestial-logo {
        margin-left: 2rem;
        flex: 1;
        align-items: center;
    }

    :is(.celestial-logo a, .celestial-logo a:visited) {
        font-size: 1.5rem;
        max-width: 150px;
        display: block;
        margin: 0 auto;
    }

    .other-logo {
        gap: 0.25rem;
    }

    .other {
        width: 2rem;
        height: 2rem;
    }

    #home img {
        width: 1.5rem;
        height: 1.5rem;
    }

    :is(#home, #home:visited) {
        font-size: 1.3rem;
    }

    :is(.other img, .other img:visited) {
        width: 1.6rem;
        height: 1.6rem;
    }

    .checkbtn {
        width: 2rem;
        height: 2rem;
    }

    .bars {
        width: 2rem;
    }

    .bars::after {
        width: 2rem;
    }
        
    .recipe-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .card a {
        text-decoration: none;
        color: #007A70;
        font-weight: 600;
        font-size: 1.2rem;
        display: block;
        margin-bottom: 0.5rem;
        transition: color 0.2s ease;
    }

    .card p {
        font-size: 1rem;
        color: #333;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        opacity: 0.5;
        margin-bottom: 1rem;
    }

    .card text {
        padding: 2rem;
    }

    .btn-secondary {
        font-size: 1.3rem;
        padding: 0.6rem 1.2rem;
        transform: none;
    }

    .recipe-menu {
        width: 200px;
        padding: 3rem 1rem 1.5rem;
    }

    .recipe-menu a {
      font-size: 0.7rem;
    }

    .recipe-menu h3 {
        font-size: 1.2rem;
        margin-top: 2.5rem;
        margin-bottom: 0.2rem;
    }

    .recipe-menu img {
        width: 5rem;
        height: 3rem;
    }
}

@media screen and (max-width: 480px) {

    .main-title {
      padding-top: 6.5rem;
    }

    .summary-content {
        max-width: 80%;
        margin: 0 auto;
    }

    .main {
        width: 80%;
    }

    .appetizer {
        width: 80%;
    }

    .salad {
        width: 80%;
    }

    .section-title {
      font-size: 3rem;
    }
    
    .dessert-description {
        padding: 1rem 0.8rem;
        margin: 1rem auto;
        border-radius: 10px;
        max-height: 20rem;
    }

    .dessert-summary-content {
        padding: 1.2rem 0.8rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
        max-height: 20rem;
    }

    .food-definition {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        width: 80%;
    }

    .header-navigation ul {
        margin: 0 0.1rem;
        gap: 0.5rem;
    }

    :is(.celestial-logo a, .celestial-logo a:visited) {
        font-size: 1.2rem;
        display: block;
        margin-right: 2rem;
        max-width: 120px;
    }

    .other-logo {
        gap: 0.15rem;
    }

    .other {
        width: 1.8rem;
        height: 1.8rem;
    }

    #home {
        font-size: 1.2rem;
    }

    :is(.other img, .other img:visited) {
        width: 1.4rem;
        height: 1.4rem;
    }

    .bars, .bars::after {
        width: 1.5rem;
        height: 0.2rem;
        margin-bottom: 1rem;
    }

    .text-container .content {
        height: 20rem;
        border-radius: 5%;
        padding-top: 1.5rem;
    }

    .text-container .content p:last-of-type {
        margin: 6.5rem 0 1rem 0;
        font-size: 0.7rem;
        padding: 0.7rem 1rem;
        border-left: 0.2rem solid #b7e19d;
        border-radius: 5%;
    }

    .check-out {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 90%;
        margin-bottom: 0.5rem;
        padding: 0 1rem;
    }

    .more-recipes-section {
        padding: 1.5rem 0.8rem;
        max-height: 400px;
        margin: 0 auto;
        margin-top: 3.5rem;
    }
    
    .more-recipes-section::before {
        background-size: 150px;
    }
    
    .cooking-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
        margin-bottom: 0.8rem;
        max-width: 95%;
    }
    
    .more-section-title {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
        max-width: 95%;
    }
    
    .description-text {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1.2rem;
        max-width: 95%;
    }
    
    .row.align-items-center {
        text-align: center;
    }
    
    .col-lg-6 {
        padding: 0 0.5rem;
    }

    .recipe-section {
        grid-template-columns: 1fr;
    }

    .overlay .text {
      font-size: 0.8rem;
    }
            
    .header-navigation ul {
      padding: 0.75rem;
    }

    .celestial-logo {
        display: block;
        margin: 0 1.2rem;
    }

    .recipe-menu {
        width: 200px;
        padding: 3rem 1rem 1.5rem;
    }

    .recipe-menu a {
      font-size: 0.7rem;
    }

    .recipe-menu h3 {
        font-size: 1.2rem;
        margin-top: 2.5rem;
        margin-bottom: 0.2rem;
    }

    .recipe-menu img {
        width: 5rem;
        height: 3rem;
    }

    .recommended-card {
        height: 7rem;
    }
            
    .other {
        width: 32px;
        height: 32px;
    }
            
    .other img {
        width: 18px;
        height: 18px;
    }

    .btn-secondary {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

}