/* Whole Body */
body {
    background: #50342e;
    overflow: visible;
}

/* Header */
header {
    /* background: #3E2723; */
    background: #311712;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4);
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 15px;
    padding-bottom: 15px;
    position: fixed;
    z-index: 2;
    width: 95%;
    height: 80px;
    transition: height 0.3s ease, background 0.3s ease;
}

/* Header After Scroll */
header.small {
    height: 60px;
    width: 70%;
    background: #4d221aaf;
}

/* Title In Heading  */
span.titles {
    font-family: Playfair Display, serif;
    color: #FFF3E0;
}

h1 {
    display: inline;
}

/* Poem In Header  */
span.poem {
    top: 33px;
    left: 516px;
    font-family: Dancing Script, cursive;
    color: #ffb6d1;
    font-size: 25px;
    position: fixed;
    transform: translateX(0px) translateY(0px);
    transition: opacity 1s ease, transform 1s ease;
}

/* Poem In Header After Scroll  */
span.poem.visible {
    font-size: 20px;
    transform: translateX(658px) translateY(-20px);
}

/* Navigation  */
nav {
    font-family: Montserrat, sans-serif;
    font-weight: 600;
    text-align: right;
    display: inline;
}

a.navi {
    color: #FFF3E0;
    margin: 10px;
}

a.navi:hover {
    color: #ffb6d1;
}

/* Home Page  */
#welcome {
    scroll-margin-top: 150px;
}

div.hero {
    padding-top: 50px;
    padding-left: 15px;
    width: 1101px;
    height: 700px;
    display: flex;
    justify-content: space-between;
}

div.herotext {
    margin-top: -100px;
    align-content: center;
}

div.herotitle {
    align-content: center;
    font-family: Patrick Hand, cursive;
    font-size: 50px;
    font-weight: 400;
    color: #F8F1E4;
    text-shadow: 2px 2px 10px #FFB6D1;
    padding-bottom: 20px;
}

/* Coffee Mug Image  */
.coffee-mug {
    margin-top: 150px;
    width: 300px;
    height: 500px;
    /* background: url(mug.png) no-repeat center/contain; */
    /* position: relative; */
    overflow: hidden;
    align-content: center;
}

/* Steram Above Coffee Mug  */
@keyframes steam {
    0% {
        opacity: 0;
        transform: translateY(0px);
    }

    100% {
        opacity: 1;
        transform: translateY(-20px);
    }
}

.steam {
    position: absolute;
    width: 218px;
    height: 50px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 100%;
    top: 335px;
    left: 839px;
    opacity: 0;
    animation: steam 3s infinite;
}

/* Poem On Welcome Screen */
div.heropoem {
    font-family: Dancing Script, cursive;
    margin-top: -300px;
    margin-left: 34px;
    color: #ffb6d1;
    font-size: 25px;
    position: fixed;
    transform: translateX(0px) translateY(0px);
    transition: opacity 1s ease, transform 1s ease;
}

/* Poem On Welcome Screen After Scroll  */
div.heropoem.visible {
    font-size: 20px;
    transform: translateX(1131px) translateY(-390px);
}

/* Poem On Menu Section  */
div.menupoem {
    font-family: Dancing Script, cursive;
    margin-top: -579px;
    margin-left: 1166px;
    color: #ffb6d1;
    font-size: 20px;
    font-weight: 900;
    position: fixed;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Poem On Menu Section After Scroll  */
div.menupoem.visible {
    font-weight: 100;
    opacity: 1;
}

/* Menu Section */
#menu {
    scroll-margin-top: 150px;
}

div.menu {
    margin-top: 60px;
    margin-left: 10px;
    padding-top: 10px;
    padding-left: 15px;
    width: 1080px;
    height: 530px;
    border-radius: 25px;
    background: #D2B48C;
}

/* Menu Section Title */
div.menutext {
    margin-top: 15px;
    margin-left: 25px;
}

h2.menutitle {
    padding-top: 15px;
    margin-left: 0px;
    display: inline;
    color: #FFF5E1;
    font-size: 60px;
    font-family: Playfair Display, serif;
}

/* Items In Menu Section */
div.menucardsection {
    padding-top: 30px;
    padding-right: 15px;
    margin-top: 15px;
    display: flex;
    justify-content: space-around;
}

/* Individual Cards From Menu Section */
div.menucard {
    width: 230px;
    height: 320px;
    padding: 12px;
    padding-top: 0px;
    padding-left: 0px;
    border-radius: 12px;
    /* background: #704214; */
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
    z-index: 1;
}

/* Individual Cards From Menu Section After Hover */
div.menucard:hover {
    transform: rotateY(180deg);
    box-shadow: -15px 25px 10px rgba(0, 0, 0, 0.762);
}

div.card-front, div.card-back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

div.card-front {
    background-color: #704214;
    color: #FFF5E1;
}

div.card-back {
    background-color: #D17B88;
    color: #3E2723;
    transform: rotateY(180deg);
}

/* Design Inside Cards */
div.card-back-in {
    margin: 15px;
}

div.card-back-title {
    text-align: center;
    font-family: Quicksand, sans-serif;
    font-size: 35px;
    font-weight: 900;
}

div.card-back-discription {
    margin-top: 50px;
    font-family: Dancing Script, cursive;
    font-size: 25px;
    font-weight: 500;
}

div.cardimg {
    margin-left: 6px;
}

img.cardimg {
    margin-top: 15px;
    margin-bottom: 15px;
    width: 230px;
}

div.card-from-text {
    text-align: center;
    color: #FFF5E1;
    font-family: Lato, static;
    font-size: 30px;
}

/* Poem In Ingredient Section */
div.ingpoem {
    font-family: Dancing Script, cursive;
    top: 293px;
    left: 1176px;
    color: #ffb6d1;
    font-size: 20px;
    font-weight: 900;
    position: fixed;
    display: block;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Poem In Ingredient Section After Scroll */
div.ingpoem.visible {
    opacity: 1;
}

/* Ingredient Section */
#blend {
    scroll-margin-top: 130px;
}

div.ing {
    margin-top: 200px;
    margin-left: 10px;
    padding-top: 10px;
    padding-left: 15px;
    width: 1080px;
    height: 1150px;
    border-radius: 15px;
    background: #D2B48C;
}

/* Title Of Ingredient Section */
div.ingtitle {
    margin-top: 15px;
    margin-left: -15px;
    text-align: center;
}

h2.ingtitle {
    padding-top: 25px;
    margin-left: 30px;
    display: inline;
    color: #FFF5E1;
    font-size: 50px;
    font-family: Playfair Display, serif;
}

/* Items In Ingredient Section */
div.ingcard {
    margin-left: 10px;
    margin-top: 50px;
    width: 1040px;
    height: 150px;
    /* background-color: #704214; */
    background: linear-gradient(to right, #6d3c0a, #e7ad60);
    border-radius: 75px;
    display: flex;
}

img.ingcard-img {
    margin-top: -9px;
    margin-left: -9px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 7px solid black;
}

div.ingcardtext {
    display: inline;
    margin-left: 25px;
    color: #3b1b0f;
    font-family: Quicksand, sans-serif;
    font-size: 20px;
    font-weight: 500;
}

h2.ingcardtext {
    margin: 0px;
    margin-top: 25px;
    font-family: Montserrat, sans-serif;
    font-size: 50px;
}

/* Initially Not Hidden Section */
div.not-hidden {
    display: flex;
    opacity: 1;
    z-index: 1;
}

/* Initially Hidden Section */
div.hidden {
    margin-top: -164px;
    height: 150px;
    display: flex;
    border-radius: 75px;
    position: relative;
    opacity: 0;
    background: linear-gradient(to right, #6d3c0a, #e7ad60);
    z-index: 2;
    transition: opacity 5s ease-in-out;
}

div.hidden:hover {
    opacity: 1;
}

/* Hidden Ingredient Design */
div.ingcard-hidden {
    margin-left: 10px;
    margin-top: 50px;
    width: 1040px;
    height: 150px;
    /* background-color: #704214; */
    background: linear-gradient(to right, #6d3c0a, #e7ad60);
    border-radius: 75px;
}

img.ingcard-img-hidden {
    margin-top: -9px;
    margin-left: -9px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 7px solid black;
}

div.ingcardtext-hidden {
    display: inline;
    margin-left: 25px;
    color: #3b1b0f;
    font-family: Quicksand, sans-serif;
    font-size: 20px;
    font-weight: 500;
}

h2.ingcardtext-hidden {
    margin: 0px;
    margin-top: 25px;
    font-family: Montserrat, sans-serif;
    font-size: 50px;
}

/* Poem In Brewing Section */
div.processpoem {
    font-family: Dancing Script, cursive;
    top: 405px;
    left: 1176px;
    color: #ffb6d1;
    font-size: 20px;
    font-weight: 900;
    position: fixed;
    display: block;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Poem In Brewing Section After Scroll */
div.processpoem.visible {
    opacity: 1;
}

/* Brewing Section */
#brewing {
    scroll-margin-top: 130px;
}

div.process {
    margin-top: 200px;
    margin-left: 10px;
    padding-top: 10px;
    padding-left: 50px;
    padding-right: 50px;
    width: 1000px;
    height: 1500px;
    border-radius: 15px;
    background: #D2B48C;
    position: relative;
}

/* Brewing Section Title */
div.process-title {
    padding-top: 10px;
    padding-bottom: 25px;
    margin-top: 40px;
    margin-bottom: 30px;
    margin-left: 30px;
    text-align: center;
    /* color:#EAD196; */
    /* color:#704214; */
    color: #FAE3D9;
    font-size: 75px;
    font-weight: 900;
    font-family: Patrick Hand, static;
    background: #6b3702;
    border-radius: 75px;
}

/* Center Line */
div.process-container::before {
    content: "";
    position: absolute;
    margin-top: -50px;
    left: 50%;
    width: 4px;
    height: 109%;
    background: #3f2300;
    transform: translateX(-50%);
}

/* Items On Both Side Of Line */
div.process-container {
    position: relative;
    padding: 20px 0;
}

div.process-item {
    position: relative;
    width: 50%;
    padding: 20px;
    border-radius: 100px;
    box-sizing: border-box;
}

/* Dot On Center Line Adjustent To Each Item */
div.process-item::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -7px;
    width: 15px;
    height: 15px;
    background: #6f4e37;
    border-radius: 50%;
    z-index: 1;
}

/* Items In Timeline Section */
div.proecss-item .content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

div.process-item .content h2 {
    font-family: 'Playfair Display', serif;
    color: #4D2C19;
}

div.process-item .content p {
    color: #3E2723;
}

/* Item On The Left Side On Center Line */
div.process-item.left {
    background: linear-gradient(to left, #704214, #FFF3E0);
    text-align: center;
    left: 0;
}

div.proecss-item.left::before {
    right: -10px;
}

/* Item On The Right Side On Center Line */
div.process-item.right {
    background: linear-gradient(to right, #704214, #FFF3E0);
    text-align: center;
    left: 50%;
}

div.process-item.right::before {
    left: -10px;
}

/* Conclusion Section In TImeline Section */
div.process-conclusion-outter {
    display: flex;
    justify-content: center;
}

div.process-conclusion {
    width: 75%;
    margin-top: 62px;
    padding: 40px;
    border-radius: 100px;
    text-align: center;
    font-family: Patrick Hand, cursive;
    font-size: 30px;
    font-weight: 500;
    color: #3E2723;
    background: linear-gradient(to bottom, #704214, #FFF3E0);
    box-sizing: border-box;
}

/* Poem Of Table For Two Section */
div.cafepoem {
    font-family: Dancing Script, cursive;
    top: 515px;
    left: 1176px;
    color: #ffb6d1;
    font-size: 20px;
    font-weight: 900;
    position: fixed;
    display: block;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Poem Of Table For Two Section After Scroll */
div.cafepoem.visible {
    opacity: 1;
}

/* Table For Two Section */
#table {
    scroll-margin-top: 130px;
}

div.cafe {
    margin-top: 200px;
    margin-left: 10px;
    padding-top: 10px;
    padding-left: 15px;
    width: 1080px;
    height: 590px;
    border-radius: 15px;
    background: #D2B48C;
}

/* Table For Two Section Title */
div.cafetitle {
    margin-top: 15px;
    font-family: 'Playfair Display', serif;
    font-size: 50px;
    font-weight: bold;
    color: #b37802;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

div.cafeinner {
    margin-top: 15px;
    display: flex;
}

/* Text Section In Table For Two Section */
div.cafeinner2 {
    width: 50%;
}

/* Poem Inside Text Section In Table For Two Section */
div.cafeonelinepoem {
    margin-bottom: 30px;
    margin-left: 50px;
    padding-top: 30px;
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    color: #6d3c0a;
    font-style: italic;
    /* text-align: center; */
    text-shadow: 1px 1px 4px rgba(251, 100, 155, 0.6);
    margin-top: 15px;
}

/* Discription Inside Text Section In Table For Two Section */
div.cafediscription {
    padding-left: 50px;
    font-family: 'Lora', serif;
    font-size: 20px;
    color: #3b1b0f;
    /* text-align: center; */
    max-width: 600px;
    margin: 0 auto 20px auto;
    line-height: 1.6;
}

/* Image Section In Table For Two Section */
div.cafeimg {
    width: 40%;
}

img.cafeimg {
    width: 100%;
    height: 100%;
    border: 4px rgb(0, 0, 0) solid;
    border-radius: 25px;
    box-shadow: 20px 25px 10px rgba(0, 0, 0, 0.762);
}

/* Button In Table For Two Section Which Triggers The Dialogue Box */
div.cafebutton {
    margin-top: 25px;
    margin-left: 75px;
}

button.cafebutton {
    padding: 12px 24px;
    width: 200px;
    height: 75px;
    font-family: 'Lora', serif;
    font-size: 20px;
    font-weight: bold;
    color: #4D2C19;
    background: linear-gradient(135deg, #FFB6D1, #D27D9B);
    border-radius: 15px;
    border: none;
    cursor: pointer;
    transition: all 1s ease-in-out;
}

button.cafebutton:hover {
    background: linear-gradient(135deg, #D27D9B, #FFB6D1);
    transform: scale(1.1);
}

/* Poem In Question Section */
div.orderpoem {
    font-family: Dancing Script, cursive;
    top: 625px;
    left: 1176px;
    color: #ffb6d1;
    font-size: 20px;
    font-weight: 900;
    position: fixed;
    display: block;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Poem In Question Section After Scroll */
div.orderpoem.visible.enable {
    opacity: 1;
}

/* Question Dialogue Box */
div.question {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 245, 230, 0.95);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Buttons In Question Dialogue Box */
button.questionbtn {
    margin: 10px;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease-in-out;
}

/* Yes Button In Question Dialogue Box */
#yes-btn {
    background: #FFB6D1;
    color: #4D2C19;
    box-shadow: 2px 2px 5px rgba(255, 182, 209, 0.5);
}

#yes-btn:hover {
    background: #D27D9B;
    transform: scale(1.1);
}

/* No Button In Question Dialogue Box */
#no-btn {
    background: #D2B48C;
    color: #3E2723;
    position: relative;
}

#no-btn:hover {
    background: #A67B5B;
}

/* Confetti Animations Which Appear After Yes As An Answer */
.confetti-container {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    pointer-events: none;
}

.confetti {
    width: 10px;
    height: 10px;
    background: pink;
    position: absolute;
    top: 0;
    opacity: 0.7;
    animation: confetti-fall linear infinite;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(100vh) rotate(360deg);
    }
}