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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Heebo', sans-serif;
    position: relative;
}

section {
    padding: 80px 0;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none
}

p {
    font-size: 1rem;
}

h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 2.4rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
    color: #f94144;
}

.container {
    max-width: 1100px;
    width: 90%;
    margin: 0 auto;
}

#logo {
    width: 180px;
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 999;
    animation: 3s godown infinite linear;
}

@keyframes godown {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(100px);
    }

    100% {
        transform: translateY(0);
    }
}

#logo img {
    max-width: 100%;
    display: block;
}


/* header section */

header {
    background: transparent;
    position: fixed;
    width: 100%;
    transition: 0.5s;
    z-index: 888;
}

.has-bg {
    background: #d7a94e;
}

.header-flex {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 80px;
    margin-top: 1.5rem;
    position: relative;
}

.bar {
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #d7a94e;
    cursor: pointer;
    display: none;
}

.bar i {
    font-size: 25px;
    color: #220901;
}

.menu-holder {
    display: inline-block;
}

.header-menu {
    display: inline-flex;
    gap: 1.2rem;
    margin: 10px 0;
}

.header-menu li {
    font-size: 1.1rem;
    padding: 6px 12px;
}

.header-menu li:hover {
    background-color: #d7a94e;
    color: white;
    border-radius: 4px;
    text-shadow: 1px 2px 8px #331803;
}

/* banner section */

.banner {
    background: url(../images/banner-bg-1.jpg) rgba(0, 0, 0, 0.1);
    background-position: center;
    background-size: cover;
    background-blend-mode: overlay;
    min-height: 100vh;
    padding: 80px 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.banner-title {
    text-align: right;
    color: white;
    transform: translateY(-60px);
}

.banner h1 {
    font-family: 'Young Serif', serif;
    font-size: 4.8rem;
    text-transform: capitalize;
    text-shadow: 2px 2px 10px #331803;
    margin-bottom: 15px;
}

.banner p {
    color: #331803;
    font-weight: 400;
    font-size: 1.3rem;
}

span {
    font-family: 'Young Serif', serif;
    text-shadow: 1px 1px 8px #331803;
    font-size: 1.6rem;
    letter-spacing: .15rem;
    color: white;
}

/* Popular Cakes section */

.popup-wrapper {
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.popup-content {
    background: url(../images/popup.jpg) rgba(0, 0, 0, 0.3);
    background-position: center;
    background-size: cover;
    background-blend-mode: overlay;
    border: 2px solid #000;
    padding: 20px 30px;
    width: 700px;
    height: 500px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.order-box {
    width: 450px;
}

.popup-content h4 {
    font-size: 24px;
    font-weight: 400;
    text-transform: uppercase;
    color: gold;
    text-transform: capitalize;
    margin-bottom: 20px;
}

.popup-content li {
    font-size: 16px;
    font-weight: lighter;
    color: white;
    text-align: left;
    line-height: 2rem;
    display: block;
}

.btn-close i {
    position: absolute;
    top: 50px;
    right: 50px;
    font-size: 35px;
    color: white;
    cursor: pointer;
}

.play {
    font-size: 50px;
    color: tomato;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    animation: 1s pulse linear infinite alternate-reverse;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.2);
    }
}


/* Cakes section */

.cakes {
    padding: 60px 0 120px;
    background: #fff;
}

.cakes .container {
    position: relative;
}

.cakes-textbox {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cakes-title {
    text-align: center;
}

.cakes-title h2 {
    margin-bottom: 40px;
}

.cakes .cake-item {
    background-size: cover;
    background-position: center;
    height: 400px;
    position: relative;
    box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.2);
}

.cakes .item1 {
    background-image: url(../images/slider-1.jpg);
}

.cakes .item2 {
    background-image: url(../images/slider-5.jpg);
}

.cakes .item3 {
    background-image: url(../images/slider-10.jpg);
}

.cakes .item4 {
    background-image: url(../images/slider-12.jpg);
}

.cakes .item5 {
    background-image: url(../images/slider-13.jpg);
}

.cakes .item6 {
    background-image: url(../images/slider-15.jpg);
}

.cakes .cake-item h4 {
    background: white;
    opacity: .8;
    padding: 5px;
    width: 30%;
    position: absolute;
    left: 5px;
    bottom: 0;
    color: red;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.cakes .slick-slide {
    margin: 0 10px;
}

.cakes .slick-list {
    margin: 0 -10px;
}

.cakes .slick-arrow {
    width: 40px;
    height: 40px;
    background-color: #FFCAD4;
    border-radius: 50%;
    border: none;
    font-size: 0;
    cursor: pointer;
    position: absolute;
    z-index: 1;
    top: 20px;
    right: 0;
    transform: translateX(50%);
    transition: .4s;
}

.cakses .slick-arrow:hover {
    background: white;
}

.cakes .slick-arrow:before {
    content: url(https://cdn-icons-png.flaticon.com/512/32/32213.png);
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.04);
}

.cakes .slick-prev {
    transform: translateX(50%) scaleX(-1);
}

.cakes .slick-next {
    top: 65px;
}

.cakes .slick-dots {
    display: flex;
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%);
    gap: 8px;
}

.cakes .slick-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    font-size: 0;
    border: none;
    background-color: #FFE5D9;
    cursor: pointer;
}

.cakes .slick-dots li.slick-active button {
    background: tomato;
}


/* About section */

.about {
    background: #fff;
}

.about-flex {
    display: flex;
    gap: 50px;
}

.about .left {
    width: 50%;
}

.about h2 {
    font-size: 2rem;
}

.about h4 {
    text-transform: uppercase;
}

.about p {
    margin-bottom: 30px;
}

.about-btn {
    display: inline-block;
    border: 2px solid #f94144;
    color: #f94144;
    padding: 5px 20px;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.5s;
    border-radius: 6px;
    cursor: pointer;
}

.about-btn:hover {
    background: #f94144;
    color: white;
}

.about .right {
    width: 50%;
}

.about .right .store img {
    height: 500px;
}


/* Services section */

.services {
    background: #f4f1ec;
}

.services-title {
    margin-bottom: 35px;
}

.services .right h3 {
    font-size: 20px;
    color: #555555;
    margin: 15px 0;
}

.services .right p {
    line-height: 1.3em;
}

.services-flex {
    display: flex;
    gap: 50px;
}

.services .left,
.services .right {
    width: 50%;
    background: #f4f1ec;
    padding: 25px;
}

.services .left:hover,
.services .right:hover {
    background: #fff;
    box-shadow: 0px 0px 12px 0px rgba(90, 104, 112, 0.3);
}

/* Sign-up form */

.services .card-flex {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.services .card {
    border: 2px solid #9BABB8;
    background: white;
    width: calc((100% - 20px) / 2);
    padding: 24px 18px;
    border-radius: 6px;
    box-shadow: 0px 0px 12px 0px rgba(90, 104, 112, 0.3);
}

.services .card:hover {
    transform: scale(1.1);
}

.icon-link {
    color: #9BABB8;
    text-decoration: none;
    font-size: 30px;
}

.accordion-item h2 {
    font-size: 2rem;
}

.services .right {
    position: relative;
}

.services-logo img {
    width: 200px;
    position: absolute;
    top: 78%;
    left: 50%;
    transform: translateX(-50%);
}

/* Contact section */

.cta {
    background: url(../images/cta-bg.jpg) rgba(0, 0, 0, 0.4);
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.cta h3,
.cta p {
    color: white;
}

video {
    display: block;
    width: 100%;
    border: 2px solid #fff;
    box-shadow: 2px 8px 15px 0 rgba(0, 0, 0, 0.5);
    animation: 3s move-right forwards;
}

@keyframes move-right {

    0% {
        transform: translatex(-1000px);
    }

    100% {
        transform: translateX(0);
    }
}

.cta-flex {
    display: flex;
    gap: 40px;
}

.cta .video-holder {
    width: 60%;
}

.cta-text {
    width: 40%;
    padding: 30px 20px;
}

.cta-text h2 {
    color: white;
    margin-bottom: 15px;
}

.cta-btn {
    display: inline-block;
    background: #f94144;
    padding: 6px 25px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.5s;
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    cursor: pointer;
}

.cta a i {
    font-size: 25px;
    color: white;
}

/* footer section */

footer {
    background: #231f20;
    padding: 60px 0 40px;
}

footer .container {
    position: relative;
}

.footer-card h3 {
    font-size: 20px;
    text-transform: uppercase;
    color: white;
    margin-bottom: 15px;
}

.footer-card p {
    color: white;
    font-size: 0.9rem;
    font-weight: lighter;
    line-height: 1.7em;
}

footer h4 {
    font-family: 'Gilda Display', serif;
    font-size: 14px;
    color: white;
    font-weight: lighter;
    text-align: center;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-card {
    width: calc((100% - 80px) / 3);
    padding: 0 10px 0 30px;
}

.social-media-list {
    text-align: center;
}

.social-media-list a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.social-media-list i {
    color: white;
    font-size: 25px;
    margin-right: 20px;
    text-align: center;
}

hr {
    color: white;
}

/* Back to top Button */

.back-to-top {
    width: 50px;
    height: 50px;
    background: white;
    color: #f94144;
    font-size: 35px;
    position: absolute;
    right: -50px;
    bottom: calc(100% - 25px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.back-to-top:hover {
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    opacity: 70%;
    background: #f94144;
    color: white;
}

@media only screen and (max-width: 1600px) {
    .back-to-top {
        position: fixed;
        right: 80px;
        bottom: 80px;
    }
}

@media only screen and (max-width: 992px) {
    section {
        padding: 70px 0;
    }

    .header-menu {
        gap: 1rem;
    }

    .services .right {
        height: 540px;
    }

    .services .right iframe {
        width: 320px;
        height: 200px;
    }

    .services-logo img {
        width: 180px;
        top: 75%;
    }

    .back-to-top {
        right: 70px;
    }
}

@media only screen and (min-width: 769px) {
    .menu-holder {
        display: block !important;
    }
}

@media only screen and (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    #logo {
        width: 140px;
        position: absolute;
        top: 25px;
        left: 40px;
        animation: 3s godown forwards;
    }

    .banner h1 {
        font-size: 4rem;
        margin-bottom: 15px;
    }

    .banner p {
        font-size: 1rem;
    }

    span {
        font-size: 1.4rem;
    }

    .has-bg {
        background: transparent;
    }

    .bar {
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 2px 3px 7px rgba(0, 0, 0, 0.6);
    }

    .menu-holder {
        position: absolute;
        top: 65%;
        left: 0;
        transform: translateX(-15px);
        padding: 25px 0 25px 25px;
        width: 26%;
        display: none;
    }

    .header-menu {
        display: block;
    }

    .header-menu li {
        display: block;
        text-align: center;
        background: white;
        opacity: 0.9;
        padding: 6px 0;
        margin: 10px 0;
        font-size: 1.2rem;
        border-radius: 5px;
        transform: translateX(-40px);
        cursor: pointer;
    }

    .header-menu li:hover {
        color: White;
    }

    .about-flex {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .about .left,
    .about .right {
        width: 100%;
        text-align: center;
    }

    .about .right .store img {
        height: 350px;
    }

    .services {
        padding: 40px 0;
    }

    .services-title {
        margin-bottom: 30px;
    }

    .services-flex {
        flex-direction: column;
        gap: 30px;
    }

    .services .left,
    .services .right {
        width: 100%;
        gap: 35px;
        padding: 15px;
    }

    .services .right {
        height: 500px;
    }

    .services .right iframe {
        width: 500px;
        height: 250px;
    }

    .services-logo img {
        width: 200px;
    }

    .cta {
        padding: 60px 0 30px;
    }

    .cta-flex {
        flex-direction: column;
        gap: 30px;
    }

    .cta .video-holder,
    .cta .cta-text {
        width: 100%;
        text-align: center;
    }

    .cta button {
        padding: 5px 25px;
        margin-top: 12px;
        font-size: 1rem;
    }

    .cta a i {
        font-size: 20px;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 35px;
        right: 50px;
        bottom: 70px;
    }
}

@media only screen and (max-width: 520px) {
    section {
        padding: 40px 0;
    }

    h2 {
        font-size: 2rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    #logo {
        width: 120px;
        left: 25px;
    }

    .bar {
        width: 40px;
        height: 40px;
    }

    .bar i {
        font-size: 20px;
    }

    .header-flex {
        height: 60px;
    }

    .menu-holder {
        width: 48%;
    }

    .header-menu li {
        padding: 5px 0;
        margin: 8px 0;
        font-size: 1rem;
        border-radius: 5px;
        transform: translateX(-40px);
    }

    .banner-title {
        transform: translateY(-40px);
    }

    .banner h1 {
        font-size: 3.5rem;
    }

    .banner p {
        font-size: 1rem;
        color: white;
        text-shadow: 1px 1px 8px #331803;
    }

    span {
        font-size: 1.4rem;
    }

    .cakes {
        padding: 40px 0 60px;
    }

    .popup-content {
        padding: 10px 20px;
        width: 350px;
        height: 350px;
        text-align: center;
    }

    .order-box {
        width: 300px;
    }

    .popup-content h4 {
        font-size: 16px;
        font-weight: 300;
        margin-bottom: 15px;
    }

    .popup-content li {
        font-size: 13px;
        line-height: 1.4rem;
    }

    .btn-close i {
        font-size: 28px;
    }

    .play {
        font-size: 30px;
    }

    .products {
        padding: 0;
    }

    .products .items {
        padding-bottom: 0;
    }

    .services .left,
    .services .right {
        padding: 10px;
    }

    .about {
        padding: 50px 0;
    }

    .about .right .store img {
        height: 280px;
    }

    .services-title {
        margin-bottom: 25px;
    }

    .services .right {
        height: 500px;
    }

    .popup2 {
        width: 350px;
    }

    .popup2 iframe {
        width: 290px;
        height: 200px;
    }

    .services-logo img {
        width: 130px;
        top: 83%;
    }

    .cta {
        padding-top: 50px 0 30px;
    }

    video {
        animation: none;
    }

    footer {
        padding: 40px 0;
    }

    .footer-flex {
        flex-direction: column;
        gap: 30px;
    }

    .footer-card {
        width: 100%;
        text-align: center;
    }

    .social-media-list i {
        font-size: 20px;
        margin-right: 20px;
    }

    footer h4 {
        text-align: center;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 30px;
        right: 35px;
        bottom: 50px;
    }
}