html {
    background-color: #ffffff;
}

body {
    text-align: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.bg-cheese {
    background-image: url(../svg/bg-cheese.svg);
    background-size:contain;
    background-repeat: no-repeat;
}

a, 
a:after,
a:before {
    text-decoration: none;
}

#home {
    background-color: #0f1223;
}

#preloader {
    background-color: #0f1223;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
}

#preloader .spinner-grow {
    top: 50%;
    position: relative;
}

.pizza-slice {
    width: 50px;
    height: 50px;
}

.home-text {
    text-align: left;
    color: white;
    padding: 40px;
}

.home-text h1 {
    font-weight: 600;
    font-size: 60px;
}

.home-text h3 {
    font-weight: 600;
}

.quote-mark {
    display: inline-block;
    width: 32px;
    height: 32px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    top: -15px;
    position: relative;
}

.quote-mark.left {
    background-image: url(../svg/quote-mark-left.svg);
}

.quote-mark.right {
    background-image: url(../svg/quote-mark-right.svg);
}

.section-title {
    margin: 50px 0;
}

.title {
    font-size: 18px;
}

.title > span {
    font-weight: 800;
    display: block;
    font-size: 32px;
}

.product-grid {
    margin: 0 auto;
    display: none;
}

.product-text {
    height: 120px;
}

.product-item {
    width: 250px;
    margin-bottom: 20px;
    border-width: 2px;
    border-color: #efefef;
}

.product-item .card {
    min-height: 350px;
}

.product-item .product-title {
    font-weight: 700;
    font-size: 22px;
}

.product-item .product-image {
    width: 150px;
    height: 150px;
    overflow: hidden;
    margin: 0 auto 25px;
}

.product-item .product-description {
    font-size: 14px;
    font-weight: 600;
    color: #525252;
}

.product-price {
    font-weight: 700;
    font-size: 18px;
    color: #525252;

}

.product-price span {
    display: block;
    color:black;
    font-size: 22px;
}

.product-nav {
    font-size: 22px;
    margin: 40px 0;
}

.product-nav .nav-link {
    color: black;
    cursor: pointer;
}

.product-nav .nav-link.active, .product-nav .nav-link:hover {
    border-bottom-color: red;
    border-width: 4px;
    font-weight: 400;
    color: black;
}

.products {
    background-color: #f7f7f7;
    border-radius: 15px 15px 0 0;
    padding-bottom: 20px;
}

.btn-show-more, .btn-show-more:focus {
    background-color: #0f1223;
    border-color: #0f1223;
    font-weight: 600;
    font-size: 18px;
    margin: 20px 0;
    line-height: 22px;
    color: white;
}

.btn-show-more:hover {
    border-color: #0f1223;
}

.btn-show-more, .badge {
    margin-right: -4px;
}

.product-category {
    font-size: 14px;
    margin-left: 10px;
    margin-top: 5px;
    color:#525252;
}

#best-pizza {
    background-color: #d32728;
    color: white;
}

.pizza-banner {
    margin: -20px 0 20px;
}

.banner-text {
    margin: 20px 0 50px;
}

.banner-title {
    font-weight: 600;
}

.banner-description {
    font-weight: 700;
}

.carousel {
    min-height: 400px;
}

.carousel-inner {
    height: auto;
}

.carousel-caption {
    color: black;
    top: 0;
    right:0;
    left:0;
    bottom:0;
    position: relative;
    padding: 0 15%;
}

.btn-yellow, .btn-yellow:hover, .btn-yellow:focus {
    background-color: #eed542;
    border-color: #eed542;
    font-weight: 600;
    font-size: 20px;
    color: #0f1223;
}

.testimonial-img {
    border-radius: 50%;
    margin: 10px;
    width: 100px;
}

.testimonial-text {
    font-size: 20px;
}

.score {
    color: #eed542;
    font-size: 26px;
    margin-bottom: 20px;
    min-width: 150px;
}

.testimonial-name {
    color: black;
}

.map {
    width:100%;
    height: 300px;
    border: 0;
}

.home-text span {
    display: block;
}

.phone-number {
    color:#eed542;
    font-size: 22px;
    font-weight: 800;
}

.phone-number i {
    margin-right: 10px;
}

.logo {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.delivery-container{
    position: relative;
    width: 100%;
    height: 100%;
    padding-bottom: 75%;
}

.delivery-guy {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: auto;
    height: 100%;
    object-fit: contain;
}

.phone-icon {
    display: inline-block;
    animation: phone-ring 2s infinite;
}

.navbar-icon {
    font-size: 38px;
}

.navbar-toggler {
    display: none;
}

.navbar-toggler {
    background-color: #d32728;
    color: white;
    border-color: white;
    border-width: 3px;
    padding: 2px 6px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-logo {
    height: auto;
    width: 100%;
    max-width: 200px;
}

.navbar-nav .nav-link {
    font-size: 22px;
}

.sticky-top {
    position: fixed;
    right: 0;
}

@keyframes phone-ring {
    0% {
        transform: rotate(-5deg);
      }
      10% {
        transform: rotate(5deg);
      }
      20% {
        transform: rotate(-5deg);
      }
      30% {
        transform: rotate(5deg);
      }
      40% {
        transform: rotate(-1deg);
      }
      50% {
        transform: rotate(1deg);
      }
      60% {
        transform: rotate(-1deg);
      }
      70% {
        transform: rotate(1deg);
      }
      80% {
        transform: rotate(0);
      }
      90% {
        transform: rotate(0);
      }
      100% {
        transform: rotate(0);
      }
  }
  
@media (min-width: 768px) {
    .home {
        height: 100vh;
    }
}

@media (max-width: 768px) { 
    .quote-mark {
        width: 24px;
        height: 24px;
    }
    
    .title span {
        font-size: 26px;
    }

    .testimonial-text {
        font-size: 16px;
    }

    .score {
        font-size: 16px;
    }

    .testimonial-img {
        width: 80px;
    }

    .testimonial-user {
        font-size: 18px;
    }

    /*.nav-underline .nav-link {
        border: none;
    }*/

    .home-text {
        text-align: center;
    }

    .phone-number {
        text-align: center;
        font-size: 20px;
    }

    .home-text h1 {
        font-size: 34px;
    }

    .home-text h3 {
        font-size: 20px;
    }

    .home-text span {
        display: inline-block;
    }

    .home-text {
        padding: 0;
    }

    .logo {
        max-width: 100%;
    }

    .phone-number {
        padding: 0 !important;
    }
 }