/* Google Fonts  */
@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:ital,wght@0,400..900;1,400..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@100..700&display=swap');

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

    list-style: none;
    text-decoration: none;

    font-family: 'Antonio';
    scroll-behavior: smooth;

  
}


body{
    background-color: beige;
}

.section{
    display: flex;
    flex-direction: column;
    padding: 100px 12%;
    
    overflow-x: hidden !important;
}

.container{
    max-height: 100vh;
    overflow: hidden;
    width: 100%;
    background: url("Images/demo-pizza-parlor-slider-10.jpg");
    background-size: cover;
    border-bottom-left-radius: 200px;
    border-bottom-right-radius: 200px;
}

button{
    height: 40px;
    width: 160px;
    background-color: rgba(0,0,0,0.20);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    box-shadow: 2px 2px 5px rgb(236, 44, 27);
    transition: .6s;
}

button:hover{
    background-color: rgb(236, 44, 27);
}


.nav{
    display: flex;
    height: 100px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 0 12%;
    background: linear-gradient(0deg, rgba(0,0,0,0.15) 0% ,
      rgba(0,0,0,0.10) 50% ,  rgba(0,0,0,0) 100%);

    position: relative;

}

.nav ul li{
    display: inline-block;
    margin: 0 20px;
}

.nav ul li a{
    color: #dadada;
    font-weight: 600;
    font-size: 19px;
    transition: .6s;
}

.nav ul li:hover a{
    color: #fff;
}

.ri-menu-2-line{
    padding: 15px;
    background-color: #fff;
    font-size: 19px;
    border-radius: 3px;
    cursor: pointer;
    display: none;
}

.header_wrapper{
    height: 100%;
    width: 100%;
}

.image_wrapper{
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(0deg) translateY(30%);
}

.image_wrapper .Header_image{
    width: 60%;
    animation: rotate 50s infinite linear;

}
.element{
    position: absolute;
    top: 0;
    right: 0;
}

.e1{
    top: -30%;
    right: 30%;
    width: 40%;
    opacity: 0;
    animation: anim_fade 1s forwards linear;
}

@keyframes anim_fade {
    100%{
        opacity: 1;
        top: -18%;
    }
}


.e2{
    top: -40%;
    right: 37%;
    width: 500px;
    opacity: 0;
    animation: anim_fade_2 1s forwards linear;
    animation-delay: 0.2s;
}


@keyframes anim_fade_2 {
    100%{
        opacity: 1;
        top: -30%;
    }
}
.e7{
    top: -20%;
    right: -10%;
    width: 300px;
    animation: anim_fade_left 1s forwards linear;
    animation-delay: 0.5s;
    opacity: 0;
}

@keyframes anim_fade_left {
    100%{
        opacity: 1;
        right: -5%;
    }
}
.e8{
    top: -20%;
    right: 105%;
    width: 300px;
    animation: anim_fade_left_2 1s forwards linear;
    animation-delay: 0.5s;
    opacity: 0;
}

@keyframes anim_fade_left_2 {
    100%{
        opacity: 1;
        right: 90%;
    }
}


.Categories_section{
    align-items: center;
}

.Categories_section h2{
    font-size: 2.5rem;
    font-weight: 700;
}

.Categories_section .Categories_wrapper{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    width: 100%;
    margin-top: 50px;
}

.Categories_section .Categories_wrapper .card{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border-left: 0.2px solid rgba(131,131,131,1);
}

.Categories_section .Categories_wrapper .card:nth-child(1){
    border: none;
}

.Categories_section .Categories_wrapper img{
    width: 100px;
}

.about_section{
    background-color: #fff;
    flex-direction: row;
    position: relative;
}

.image_container{
    width: 60%;
}

.image_container img{
    width: 100%;
}

.About_content{
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    padding:0 50px;
    width: 40%;
}

.e11{
    width: 200px;
    right: 10%;
    top: -10%;
}

.About_content h2{
    color: rgb(236, 44, 27);
    position: relative;
    left: 30px;
}

.About_content h2::after{
    position: absolute;
    content: '';
    top: 50%;
    left: -30px;
    height: 2px;
    width: 25px;
    background-color: rgb(236, 44, 27);
}

.About_content h1{
    font-size: 2.3rem;
}

.About_content p{
    font-size: 16px;
    width: 90%;
}

.About_content .about_btns{
    display: flex;
    gap: 20px;
    align-items: center;
}

.About_content .about_btns button{
    background-color: #1e1e1e;
    width: 160px;
    height: 55px;
    border-radius: 5px;
}
.About_content .about_btns button:hover{
    background-color: rgb(236, 44, 27);
}

.About_content .about_btns a{
    font-size: 20px;
}

.features{
    width: 100%;
    display: flex;
    padding: 5% 12%;
    justify-content: space-around;
}

.features .Feature_card{
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.features .Feature_card i{
    height: 70px;
    width: 70px;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #1e1e1e;
    color: #fff;
    transition: .6s;
    border: 1px  solid #1e1e1e;
}

.features .Feature_card:hover i{
    box-shadow: 5px 5px 6px 0px rgba(0,0,0,0.15);
    background-color: #fff;
    color: #1e1e1e;
    animation: ScaleUp 0.5s forwards linear;
}

.features .Feature_card span{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 15px;
    color: #a4a4a4;
    font-weight: 300;
}


.Popular_Pizza{
    background-color: #f0EEEA;
    position: relative;
    overflow: hidden;
    padding-bottom: 150px;
}

.Popular_Pizza::after{
    position: absolute;
    content: 'SIGNATURE';
    bottom: -10%;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 12rem;
    font-weight: 900;
}


.Title{
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.Title h4{
    color: rgb(236, 44, 27);
    font-size: 30px;
}


.Title h2{
    font-size: 50px;
    border-left: 0.2px solid rgba(131,131,131,1);
    padding-left: 18px;
}

.popular_pizza_cards{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
    width: 78%;
    margin: auto;
    margin-top: 60px;
}
.popular_pizza_cards .popular_pizza_card{
    width: 100%;
    transition: .6s;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
}

.popular_pizza_cards .popular_pizza_card:hover{
    background-color: #fff;
    box-shadow: 6px 6px 16px rgba(0,0,0,0.10);
}
.popular_pizza_cards .popular_pizza_card img{
    width: 100%;
}
.popular_pizza_cards .popular_pizza_card .rating{
    padding: 5px 8px;
    background-color: #ecba23;
    width: fit-content;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    margin-bottom: 12px;
}

.popular_pizza_cards .popular_pizza_card .rating span{
    padding: 5px 8px;
    font-size: 16px;
    background-color: #1e1e1e;
    border-radius: 5px;
}

.popular_pizza_cards .popular_pizza_card h3{
    font-size: 22px;
    margin-bottom: 12px;
}

.popular_pizza_cards .popular_pizza_card p{
    font-size: 28px;
    color: rgb(236, 44, 27);
    font-weight: 500;
}

.Menu_wrapper{
    background-color: #fff;
}

.menu_Container{
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
}

.menu_Container .menu_side{
    width: 100%;
}
.image_Content_{
    display: flex;
    align-items: center;
    gap: 30px;
}


.menu_Container .menu_side .menu{
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 30px;
    align-items: center;
    border-bottom: 0.5px dotted rgba(0,0,0,0.15);
    border-radius: 5px;
    transition: .6s;
}


.menu_Container .menu_side .menu:hover{
    transform: translateY(-5px);
    box-shadow: 6px 6px 16px rgba(0,0,0,0.20);
}

.menu_Container .menu_side .menu .Menutitle{
    display: flex;
    flex-direction: column;
}
.menu_Container .menu_side .menu .Menutitle h3{
    font-size: 22px;
}

.menu_Container .menu_side .menu .Menutitle p{
    font-size: 16px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 300;
}

.price{
    font-size: 2em;
    color: rgb(236, 44, 27);
}

.testimonial_Wrapper{
    flex-direction: row;
    gap: 30px;
}

.Testimonial_content{
    width: 30%;
}

.Testimonial_content h4{
    display: flex;
    gap: 8px;
    color: rgb(236, 44, 27);
    font-size: 22px;
}

.Testimonial_content h4 i{
    color: rgb(236, 44, 27);
}

.Testimonial_content h2{
    font-size: 26px;
}

.testimonial{
    width: 70%;
}

.swiper{
    width: 100% !important;
}

.swiper-slide{
    display: flex !important;
    align-items: center;
    gap: 40px;
}

.swiper-slide .content{
    display: flex;
}

.swiper-slide .content h2{
    transform: rotate(270deg);
    font-size: 22px;
    color: rgb(236, 44, 27);
}

.swiper-slide .content .review_wrapper{
    width: 80%;
    border-left: 0.2px solid rgba(131,131,131,1);
    padding-left: 30px;
}

.swiper-slide .content .review_wrapper p{
    font-size: 20px;
}


.swiper-slide .content .review_wrapper .rating_testimonial{
    padding: 8px;
    border-radius: 5px;
    background-color: rgb(236, 44, 27);
    color: #fff;
    margin-top: 20px;
    width: fit-content;
}

footer{
    width: 100%;
    background: url(Images/demo-pizza-parlor-home-bg-03.jpg);
    object-fit: cover;
    border-top-left-radius: 200px;
    border-top-right-radius: 200px;
}

footer .top_container .Top_container_cards{
    display: flex;
    gap: 40px;
    justify-content: space-between;
    width: 80%;
    margin: auto;
    margin-top: -160px;
}


footer .top_container .Top_container_cards .card_banner{
    width: 100%;
    padding-top: 30px;
    padding-left: 30px;
    border-radius: 5px;
    background-color: #ddd;
    display: flex;
    justify-content: space-between;

}

footer .top_container .Top_container_cards .card_banner .Card_content{
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    gap: 5px;
}

footer .top_container .Top_container_cards .card_banner .Card_content h4{
    color: rgb(236, 44, 27);
}

footer .top_container .Top_container_cards .card_banner .Card_content h3{
    font-size: 3rem;
    line-height: 3rem;
    margin: 10px  0;
}

footer .top_container .Top_container_cards .card_banner .Card_content button{
    background-color: #fff;
    box-shadow: none;
    color: #1e1e1e;
    border-radius: 5px;

}

footer .top_container .Top_container_cards .card_banner .Card_content button:hover{
    background-color: #1e1e1e;
    color: #fff;
}

footer .bottom_container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
}

footer .bottom_container h3{
    font-size: 2rem;
    color: #fff;
    text-align: center;
    margin-top: 30px;
}

footer .bottom_container .footer_wrapper{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
    margin-top: 50px;
    width: 100%;
}

footer .bottom_container .footer_wrapper h4{
    color: #fff;
    font-size: 20px;
    margin-bottom: 30px;
}

footer .bottom_container .footer_wrapper p{
    color: rgba(131,131,131,0.6);
    transition: .6s;
}

footer .bottom_container .footer_wrapper p:hover{
    color: #fff;
}

footer .bottom_container .footer_wrapper .social {
    display: flex;
    gap: 12px;
}


footer .bottom_container .footer_wrapper .social i{
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: #1e1e1e;
    border-radius: 50%;
    font-size: 22px;
    position: relative;
}


footer .bottom_container .footer_wrapper .social i::after{
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #ddd;
    border-radius: 50%; 
    transform: scale(1.4);
    opacity: 0;
    z-index: 1;
}

footer .bottom_container .footer_wrapper .social i:hover:after{
    animation: ScaleDown 0.3s forwards linear;
}


/* Animations */



@keyframes ScaleDown {
    0%{
        transform: scale(1.4);
        opacity: 0;

    }
    100%{
        transform: scale(1);
        opacity: 1;
        z-index: -1;

    }
}

@keyframes rotate {
    100%{
        transform: rotate(360deg);
    }
}

@keyframes ScaleUp {
    0%{
        transform: scale(1);
    }
    50%{
        transform: scale(1.2);
    }
    100%{
        transform: scale(1);
    }
}



/* Media Quries */

@media screen and (max-width:1500px) {
    .e2{
        top: -34%;
        right: 32%;
        width: 500px;
    }

    .popular_pizza_cards{
        width: 100%;
    }
}

@media screen and (max-width:1400px) {
    footer .bottom_container{
        width: 100%;
    }

    footer .top_container .Top_container_cards{
        width: 100%;
    }

    footer .top_container .Top_container_cards .card_banner img{
        width: 250px;
    }
    footer .top_container .Top_container_cards .card_banner .Card_content{
        margin-top: 0;
    }

}


@media screen and (max-width:1100px) {
    .nav ul li{
        margin: 0 10px;
    }

    .e2{
        top: -30%;
        right: 35%;
        width: 350px;
    }

    .e8{
        right: 80%;
    }

    .Categories_section .Categories_wrapper{
        grid-template-columns: repeat(3,1fr);
        gap: 20px;
    }

    .Categories_section .Categories_wrapper .card:nth-child(4){
        border: none;
    }

    .image_container{
        width: 50%;
    }
    .About_content{
        width: 50%;
        padding: 0 20px;
    }

    .About_content h1{
        font-size: 1.5rem;
    }

    .features .Feature_card{
        gap: 10px;
    }

    
    .e11{
        width: 150px;
    }

    .popular_pizza_cards{
        grid-template-columns: repeat(2,1fr);
    }

    .testimonial_Wrapper{
        flex-direction: column;
    }

    .testimonial{
        width: 100%;
    }

    footer{
        border-top-left-radius: 100px;
        border-top-right-radius: 100px;
    }
    footer .top_container .Top_container_cards{
        flex-direction: column;
        width: 70%;
        margin-top: 0;
    }

    footer .top_container .Top_container_cards .card_banner .Card_content h3{
        font-size: 2.3rem;
        line-height: 2.3rem;
    }

    footer .bottom_container .footer_wrapper{
        grid-template-columns: repeat(2,1fr);
        gap: 50px;
    }

}

@media screen and (max-width:900px) {
    .container{
        overflow-x: hidden;
    }
    .ri-menu-2-line{
        display: block;
    }

    .nav ul{
        position: absolute;
        top: 100%;
        right: -50%;
        width: 250px;
        height: 100vh;
        background-color: #1e1e1e;
        z-index: 999;
        transition: .6s;
    }

    .nav ul li{
        display: block;
        margin: 50px 25px;
    }

    .nav .activeMenu{
        right: 0%;
    }

    .image_wrapper {
        transform: rotate(0) translateY(35%);
    }
    .e2{
        top: -36%;
        right: 31%;
        width: 300px;
    }

    .e7{
        right: -10%;
        width: 230px;
    }

    .container{
        border-bottom-left-radius: 100px;
        border-bottom-right-radius: 100px;
    }

    .about_section{
        flex-direction: column;
    }

    .About_content{
        width: 100%;
    }

    .image_container{
        width: 100%;
        margin-bottom: 50px;
    }

    .e11{
        top: -5%;
    }

    .menu_Container{
        flex-direction: column;
    }

    .swiper-slide{
        flex-direction: column;
    }




}

@media screen and (max-width:768px) {
    .e7 , .e8{
        display: none;
    }

    .e2{
        top: -20%;
        right: 10%;
    }

    .e1{
        top: -9%;
        right: 0;
        width: 63%;
    }

    .image_wrapper .Header_image{
        position: relative;
        width: 92%;
        right: 30%;
    }

    .nav ul li{
        margin: 40px 25px;
    }

    .Categories_section .Categories_wrapper{
        grid-template-columns: repeat(2,1fr);
        gap: 20px;
    }

    .Categories_section .Categories_wrapper .card:nth-child(1) , 
    .Categories_section .Categories_wrapper .card:nth-child(4){
        border-left: 0.2px solid rgba(131,131,131,1);
    }

    .Testimonial_content{
        width: 100%;
    }

    footer .top_container .Top_container_cards{
        width: 80%;
    }



}

@media screen and (max-width:500px) {
    .e2{
        width: 240px;
        right: 8%;
    }

    .Categories_section .Categories_wrapper{
        grid-template-columns: repeat(1,1fr);
        gap: 50px;
    }

    .Categories_section .Categories_wrapper .card{
       border: none !important;
    }

    .popular_pizza_cards{
        grid-template-columns: repeat(1,1fr);
    }

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

    .Title h2{ 
        border-left: none;
        border-top: 0.2px solid rgba(131,131,131,1);
        padding-left: 0;
        padding-top: 10px;
    }
    
    .swiper-slide .content{
        flex-direction: column;
    }

    .swiper-slide .content h2{
        transform: rotate(0);
        margin-bottom: 30px;
    }
    footer .top_container .Top_container_cards{
        width: 100%;
    }

    footer .bottom_container .footer_wrapper{
        grid-template-columns: repeat(1,1fr);
    }

    footer .top_container .Top_container_cards .card_banner img{
        width: 190px;
    }
}