body{
    background-color: #efefef;
}
header#header {
    position: static;
}
html{
    scroll-padding-top: 6.5rem !important;
}



.menu-titles{
    width: 82%;
    margin: 0 auto;
    text-align: center;
    font-size: 4.5rem;
    font-weight: 700;
    font-family: "Kanit", sans-serif;
}


/* ----------------home------------- */
div#home-menu{
    width: 100%;
    height: 35rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: -5;
}
div#home-menu img.home-background-photo{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
div#home-menu div.home-menu-title-container {
    width: 88%;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0rem auto 0 auto;
}

/* kalp */
div#home-menu div.home-menu-title-container h3.home-menu-h3::before {
    content: "";
    position: absolute;
    top: 150%;
    left: 60%;
    transform: translate(-50%, -50%) scale(0); 
    width: 35rem;
    height: 25rem;
    background-image: url('../picture_optimize/heart.png');
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: draw-heart 3s ease-in-out infinite;
    z-index: -5000;
}

/* H3 başlık*/
div#home-menu div.home-menu-title-container h3.home-menu-h3 {
    font-size: 2.1rem;
    font-weight: bold;
    font-family: "Kanit", sans-serif;
    color: rgb(255, 255, 255);
    font-style: italic;
    position: relative;
    display: inline-block;
}
/*h4 başlık*/
div#home-menu div.home-menu-title-container h4.home-menu-h4 {
    font-size: 7.5rem;
    font-weight: 600;
    line-height: 1;
    font-family: "Kanit", sans-serif;
    color: rgb(255, 255, 255);
    letter-spacing: 1px;
}

/* Kalp animasyonu */
@keyframes draw-heart {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    25% {
        transform: translate(-50%, -50%) scale(1.06);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    75% {
        transform: translate(-50%, -50%) scale(1.06);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}






/* ------------Menu Header------------ */
#menu-placeholder {
    display: none;
    height: 0;
    transition: none;
  }
  
  #menu-header {
    width: 100%;
    background-color: white;
    transition: all 0.3s ease;
    position: static;
    display: flex;
    align-items: center;
  }
  
  #menu-header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: rgb(0, 0, 0) 0px 0px 50px 0px;
  }
  
  #menu-placeholder.visible {
    display: block;
  }

div#menu-header ul#menu-hdr-container{
    width: 60%;
    height: 6rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content:space-around;
}
div#menu-header ul#menu-hdr-container .categories a{
    color: black;
    font-size: 2.4rem;
    font-weight: 600;
    font-family: "Kanit", sans-serif;
}









/* -------------------Menu------------------ */
div.menu{
    width: 100%;
    padding: 4rem 5rem 2rem 5rem;
}
div.menu div.menu-containers{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82%;
    margin: 0 auto; 
    flex-wrap: wrap;
    margin-top: 2.5rem;
    row-gap: 4rem;
    column-gap: 4.1rem;
}
 .menu-pizzas {
    width: 36rem;
    height: 45rem;
    padding: 3rem;
    border-radius: 2rem;
    background-color: white;
    -webkit-box-shadow: 0px 0px 24px -12px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 24px -12px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 24px -12px rgba(0,0,0,0.75);
}

/* img */
 .menu-pizzas .img-container{
    width: 100%;
    height: 60%;
}
 .menu-pizzas .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.5rem;
}

/* write */
 .menu-pizzas .m-pizzas-write{
    height: 40%;
    width: 100%;
    display: flex;
    flex-direction: column;
}
 .menu-pizzas .m-pizzas-write h4.pizzas-title{
    font-size: 2.2rem;
    color: black;
    margin-top: 2rem;
    font-weight: 600; 
    font-family: "Kanit", sans-serif;
}
 .menu-pizzas .m-pizzas-write h5.pizzas-write{
    font-size: 1.6rem;
    margin-top: 0rem;
    color: rgba(0, 0, 0, 0.61);
    font-style: italic;
}
 .menu-pizzas .m-pizzas-write p.pizzas-price{
    font-size: 2.3rem;
    margin-top: auto;
    color: rgb(0, 0, 0);
    font-style: italic;
}


/* -------------------------footer---------------------- */
#footer{
    margin-top: 8rem;
}




/* ------------------Scroll To Top---------------------- */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ea4b4b;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    display: none;
    z-index: 100000000000;
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    font-size: 3rem;
  }
  
  
  






/* ---------------------------------RESPONSİVE------------------------------------------------ */

/* --------------------------1500--------------------------------- */
@media (max-width: 1500px) {
    /* ---------HOME-------- */


    /* ---------HEADER-------- */


    /* ---------MENU-------- */
    div.menu div.menu-containers{
        width: 100%;
    }
}







/* --------------------------1200--------------------------------- */
@media (max-width: 1200px) {
    /* ---------HOME-------- */


    /* ---------HEADER-------- */
    div#menu-header ul#menu-hdr-container{
        width: 80%;
    }

    /* ---------MENU-------- */
 
}







/* --------------------------900--------------------------------- */
@media (max-width: 900px) {
    /* ---------HOME-------- */


    /* ---------HEADER-------- */


    /* ---------MENU-------- */
 
}







/* ---------------------------768---------------------------------- */
@media (max-width: 768px) {
    /* ---------HOME-------- */


    /* ---------HEADER-------- */


    /* ---------MENU-------- */
    div.menu{
        padding: 4rem 2rem 2rem 2rem;
    }
    div.menu div.menu-containers{
        flex-direction: column;
        flex-wrap: nowrap;
        row-gap: 3rem;
        column-gap: none;
    }
    .menu-pizzas {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        width: 100%;
        height: 20rem;
        padding: 1.5rem;
        -webkit-box-shadow: 0px 0px 24px -17px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 0px 24px -17px rgba(0,0,0,0.75);
        box-shadow: 0px 0px 24px -17px rgba(0,0,0,0.75);
    }


    /* img */
    .menu-pizzas .img-container{
        width: 40%;
        height: 100%;
    }
    .menu-pizzas .img-container img {
        border-radius: 1.3rem;
    }



    /* write */
    .menu-pizzas .m-pizzas-write{
        height: 100%;
        width: 58%;
        display: flex;
        flex-direction: column;
    }
    .menu-pizzas .m-pizzas-write h4.pizzas-title{
        font-size: 2.2rem;
        margin-top: 0;
    }
    .menu-pizzas .m-pizzas-write h5.pizzas-write{
        font-size: 1.6rem;
    }
    .menu-pizzas .m-pizzas-write p.pizzas-price{
        font-size: 2.3rem;
        margin-bottom: 0.5rem;
    }
}






/* ---------------------------576--------------------------------------- */
@media (max-width: 576px) {
    .menu-titles{
        margin-bottom: -1.7rem;
    }

    /* ---------HOME-------- */
    div#home-menu{
        height: 30rem;
    }
    div#home-menu div.home-menu-title-container h3.home-menu-h3::before {
        left: 65%;
        transform: translate(-50%, -50%) scale(0); 
        width: 35rem;
        height: 25rem;
    }
    div#home-menu div.home-menu-title-container h3.home-menu-h3 {
        text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
    }
    div#home-menu div.home-menu-title-container h4.home-menu-h4 {
        text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
    }  
     
    /* ---------HEADER-------- */
    div#menu-header ul#menu-hdr-container{
        width: 90%;
        height: 6rem;
        justify-content: space-between;
    }
    #menu-header.fixed {
        height: 8rem;
    }
    div#menu-header ul#menu-hdr-container .categories a{
        font-size: 2rem;
    }

    /* ---------MENU-------- */
    div#menu-pizza{
        margin-top: 1.5rem;
    }
    div.menu{
        padding: 2rem 1.1rem 2rem 1.1rem;
    }
    div.menu div.menu-containers{
        row-gap: 2rem;
    }
    .menu-pizzas {
        height: 18rem;
        padding: 1.3rem;
        -webkit-box-shadow: 0px 0px 25px -20px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 0px 25px -20px rgba(0,0,0,0.75);
        box-shadow: 0px 0px 25px -20px rgba(0,0,0,0.75);
    }

    /* img */
    .menu-pizzas .img-container{
        width: 38%;
        height: 100%;
    }



    /* write */
    .menu-pizzas .m-pizzas-write{
        width: 60%;
    }
    .menu-pizzas .m-pizzas-write h4.pizzas-title{
        font-size: 2.4rem;
    }
    .menu-pizzas .m-pizzas-write h5.pizzas-write{
        font-size: 1.7rem;
    }
    .menu-pizzas .m-pizzas-write p.pizzas-price{
        font-size: 2.3rem;
    }



    /* ----------FOOTER------------ */
    footer#footer{
        padding: 0 0 10rem 0;

    }
    footer#footer div#footer-container div#footer-contact-container p.footer-contact{
        font-size: 1.7rem;
    }
    footer#footer div#footer-container div#footer-social-container a{
        font-size: 1.7rem;
    }
    footer#footer div#footer-container h3.footer-title{
        font-size: 2.5rem;
    }
    footer#footer div#copyright-container{
        font-size: 1.3rem;

    }
}


@media (max-width: 500px) {
    html{
        font-size: 50% !important;
    }
}



/* ----------------Animation--------------- */
/* --header-- */
header{
    transform: translateX(-40px);
    transition: all 0.6s ease;
    opacity: 0;
}
header.active{
    opacity: 1;
    transform: translateX(0);
}


/* --Home-- */
.home-menu-title-container h3{
    transform: translateX(-100px);
    transition: all 1s ease;
    opacity: 0;
}

.home-menu-title-container h4{
    transform: translateX(-100px);
    transition: all 1.5s ease;
    opacity: 0;
}

/* active */
.home-menu-title-container h3.active{
    opacity: 1;
    transform: translateX(0);
}

.home-menu-title-container h4.active{
    opacity: 1;
    transform: translateX(0);
}













