* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Public Sans", sans-serif;
}

html,
body {
    /* height: 100%; */
    width: 100%;
}

:root {
    --color: #5f84a3;
    --bg-color: #e5ecf2;
    --text-color: #83beed;
}

.btn-color {
    background-color: var(--color) !important;
    color: white !important;
    font-weight: 500;
    font-size: 18px;
}

.text-color {
    color: #83beed !important;
}

.progres-primary {
    background-color: green !important;
}

.progres-secondary {
    background-color: orange !important;
}

.progres-danger {
    background-color: red !important;
}

.modal-content {
    border-radius: 0px !important;
}

/* sidebar cart modal*/

.cart-modal .modal-dialog {
    margin: 0 0 0 auto;
    height: calc(100% - var(--bs-modal-margin)* 0.01);
}

.cart-modal .modal.fade .modal-dialog {
    transition: transform 0.2s ease-out;
    transform: translate(100%, 0);
}

.cart-modal .modal.fade.show .modal-dialog {
    transform: translate(0, 0);
}

.cart-modal .modal-content {
    height: 100% !important;
}

.modal button:hover {
    background-color: white;
}

p {
    margin-bottom: 0;
}

/************ registration/login start *****************/
.input-icon{
    bottom: 10px;
    left: 12px;
  }
  #eye-on{
    right: 12px;
    top: 10px;
  }
  form button{
    background-color: var(--color-red);
  }
  .registration-form span a, .login-form a, .forgot-pass a {
    color: var(--color-red);
  }
  .registration-form ,.login-form, .address, .forgot-pass, .seller-registration-form, .verifyotp-form{
    width: 25%;
    /* height: 40%; */
    margin-left: 70%;
    margin-top: 6%;
  }

  .seller-registration-form{
    width: 25%;
    /* height: 40%; */
    margin-left: 70%;
    margin-top: 2%;
    padding: 20px;
  }
  .reg{
    width: 100%;
    height: 100vh;
    background: url("/frontend/assets/images/register/image.png");
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
  }
  .form-check-input:checked {
    background-color: var(--color-red);
    border-color: var(--color-red);
  }
  .address .city input{
    width: 90%;
  }
  .seller-registration-form .selected{
   background-color: var(--color-red);
  }
  .form-select option::selection{
    background: red;
  }
  .address-scroll {
    max-height: 330px;
    overflow-y: auto;
  }

  /* forms css end*/

  .error {
    color: red;
  }

  /* * ----  Login Form Page ---- */
.login-form{
    margin-top: 10%;
  }
  .login-form .logo{
    width: 40%;
    margin: 5% auto;
  }
  .login-form .logo img{
    width: 100%;
    height: inherit;
  }
  .login-form form label{
    font-size: 18px;
    width: 120%;
  }
   .custom-icon{
    font-size: 16px;
    padding-left: 30px;
  }
  .login-form form input:focus{
    border: 1px solid var(--color-red);
  }
  .login-form form button{
    background-color: var(--color-red);
    font-size: 18px;
  }
  .login-form form button:hover{
    background-color: var(--color-red);
  }
  .login-form a{
    font-size: 18px;
    color: var(--color-red);
  }
  #eye-off{
   right: 6px;
   top: 10px;
  }
  .form-check-input:checked {
    background-color: var(--color-red);
    border-color: var(--color-red);
  }
/************ registration/login end *****************/

/********************************************* home page css ***************************************************************/
/************ header start *****************/
.bg-primary {
    background-color: #5f84a0 !important;
    color: #fff;
}

.offer-container {
    position: relative;
    width: 100%;
    height: 22px;
    overflow: hidden;
}

.offer-slide {
    position: absolute;
    width: 100%;
    bottom: 0%;
    text-align: center;
    transition: transform 0.5s ease, bottom 0.5s ease;
}

.offer-slide.active {
    bottom: 0;
}

.offer-slide.next {
    bottom: -100%;
}

.bg-primary .vr {
    width: 2px;
    color: white !important;
}
.navbar-toggler {
    border: none;
}
.navbar-toggler .navbar-brand{
    margin-right: 0;
}
.navbar-toggler .navbar-brand img{
    width: 6.2rem !important;
}
.nav-search .offcanvas{
    height: 45vh !important;
}
.navbar-header {
    position: sticky !important;
    z-index: 12;
    top: 0;
    transition: .3s ease-in-out;
    padding: 10px 0;
    background-color: white;
}

.nav-scrolled {
    transition: .3s ease-in-out;
    padding: 0 0;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.navbar .offcanvas.offcanvas-end {
    width: 280px;
}

.navbar .offcanvas-header,
.navbar .offcanvas-body {
    width: 100%;
}

 .badge {
    top: -2px;
    right: -3px;
}

@media (max-width: 768px) {

    .location-header,
    .offer-header {
        display: none;
    }

    .mx-lg-auto {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    header .nav-user {
        right: 10px !important;
    }
}

.nav-footer {
    display: flex;
    align-items: center;
}
header #nav-item{
    position: relative;
}
header #nav-item .nav-user {
    width: 10rem;
    background-color: white;
    position: absolute;
    top: 120%;
    right: -50px;
    /* left: -10px; */
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    display: none;
}
#nav-item:hover .nav-user{
    display: flex;
}
header #nav-item .nav-user a {
    text-decoration: none;
    color: black;
}

/************ header end**************/
/************ main start ****************/
.banner {
    background-color: var(--bg-color);
}

.banner .book-img:nth-child(1) {
    transform: rotate(20deg);
    aspect-ratio: 16/18;
}

.banner .book-img:nth-child(2) {
    transform: rotate(-20deg);
    aspect-ratio: 16/18;
}

.base {
    width: 100%;
    height: auto;
    border-bottom: 60px solid #5f84a3;
    border-right: 30px solid rgba(0, 0, 0, 0);
    border-left: 30px solid rgba(0, 0, 0, 0);
    position: relative;
    top: -50px;
}

.base::after {
    content: '';
    width: calc(100% + 60px);
    height: 10vh;
    border-bottom: 30px solid #264258;
    position: absolute;
    bottom: -90px;
    left: -30px;
}

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

.categories .swiper {
    width: 95%;
    height: 100%;
}

.categories .swiper .swiper-wrapper {
    margin-right: 40px;
}

.categories .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.categories .swiper-slide img {
    display: block;
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

/* .book-price{
    color: var(--text-color);
  } */

.book-option a {
    margin-inline: 10px;
    color: black;
    opacity: 0.9;
}

@media (min-width: 1200px) {
    .col-xl-20 {
        width: 20%;
    }
}

.card {
    position: relative;
    overflow: hidden;
    transition: all 1s linear;
    width: 100%;
}

.card-header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 0.7rem;
    border: 0;
}


.card-img {
    /* width: 100%; */
    height: 20rem;  /* Fixed height */
    overflow: hidden;
    /* padding: 0.7rem;
    display: flex;
    justify-content: center;
    align-items: center; */
}
.card-img img {
    width: 100%;
    /* height: 100%; */
    /* object-fit: cover; */
    aspect-ratio: 14/18;
    /* object-fit: contain;
    height: 18rem; */
}

.wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: white;
    border-radius: 50%;
    padding: 5px;
}

.heart{
    cursor: pointer;
}

.card-body {
    height: 10rem;
    position: relative;
}

.stationary-page .card-body {
    height: 12rem;
    position: relative;
}

.card-title {
    line-height: 1.5;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}

.card-body .cart {
    position: absolute;
    top: 68%;
    right: 7%;
    font-size: 20px;
    text-decoration: none;
    color: black;
}

.book-option {
    text-align: center;
    width: 100%;
    margin: 0 auto;
    transition: all 0.3s linear;
    position: absolute;
    opacity: 0;
    left: 50%;
    /* bottom: -50px; */
    transform: translate(-50%, -50%);
    /* background: #fff;
    box-shadow: 1px 1px 1px 2px rgb(247, 242, 242);
    border-radius: 5px; */
    /* padding: 5px; */
    display: flex;
}

.card:hover .book-option {
    bottom: 0px;
    opacity: 1;
}

.fa-star {
    color: #ffb425;
}

/******* stationary **********/
.stationary .swiper {
    width: 100%;
    height: 100%;
}
.stationary .swiper-slide {
    text-align: left;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stationary .card-body {
    height: 6rem;
}


.trending-books .book img {
    transition: transform 1s linear;
}

.trending-books .book h5 {
    color: black;
    transition: color 1s linear;
}

.trending-books .book:hover img {
    transform: scale(1.2);
}

.trending-books .book:hover h5 {
    color: var(--text-color);
}

.trending-books h4::after {
    content: '';
    width: 70%;
    height: 3px;
    position: absolute;
    left: 0;
    bottom: 0px;
    background-color: var(--text-color);
}

.newsletter .email {
    bottom: 10px;
    left: 5px;
}

.newsletter input {
    padding-left: 30px;
    padding-right: 110px;
}

.newsletter .subscribe {
    top: 4px;
    right: 8px;
    padding: 3px 10px;
}

/**************** main end ***********************/

footer {
    background-color: var(--bg-color);
    padding: 20px 20px 0px 20px;
    margin-top: 5%;
    margin-bottom: 0;
}

footer a {
    /* padding: 5px 10px; */
    color: black;
    /* opacity: 0.8; */
    font-weight: lighter;
    transition: all 0.15s ease-in-out;
}

footer a:hover {
    color: #1991f3;
}


/****************************************************************** Home page css end *************************************************************/
/****************************************************************** product details page css start *************************************************************/
.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-link a {
    color: black;
    transition: all 1s linear;
}
.pro-details .qty-container{
    width: 50%;
}

.offer {
    color: red;
    background-color: rgb(236, 174, 174);
    padding: 5px;
    margin-top: 2px;
}

.items-qua {
    /* width: 30%; */
    background-color: lightgrey;
    /* border-radius: 30px; */
    /*margin: 10% 0;*/
    padding: 6px;
    display: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 50px;
}
.items-qua .input-qty{
    width: 50%;
    background-color: lightgray;
}

.sign {
    width: 30px;
    height: 30px;
    background-color: grey;
    border-radius: 100%;
    cursor: pointer;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.add-to-cart-btn {
    display: block;
    margin: 10% 0;
    padding: 10px 20px;
    background-color: lightblue;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.add-to-cart-btn:active {
    transform: scale(0.95);
}

.add-to-cart-btn:disabled {
    background-color: grey;
    cursor: not-allowed;
}

.pro-des-rev-faq .nav-item {
    margin-inline: 30px;
}

.pro-des-rev-faq .nav-item .nav-link {
    font-size: 25px;
    color: black;
    border: 0;
    /* transition: all 1s linear; */
}

.pro-des-rev-faq .nav-item .nav-link:hover {
    border-bottom: 2px solid var(--text-color);
    background-color: white;
}

.pro-des-rev-faq .nav-item .active {
    border-bottom: 2px solid var(--text-color);

}

.pro-des-rev-faq .nav-tabs {
    border-bottom: 0;
}

.pro-des-rev-faq .accordion-button,
.checkout .accordion-button {
    background-color: white;
    margin: 2% 0;
}
.pro-des-rev-faq .fa-star{
    font-size: 1rem;
}

.related-product .swiper {
    width: 100%;
    height: 100%;
}

.related-product .swiper .swiper-wrapper {
    overflow: visible;
}

.related-product .swiper-slide {
    text-align: left;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .related-product .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

.related-product .swiper-pagination {
    bottom: -2px;
}

.related-product .swiper-pagination-bullet-active {
    background-color: var(--text-color);
}

.related-product .card-body {
    height: 8rem;
}
.related-product .swiper .card-footer {
   background: none;
   border-top: 0;
}

.pro-details .nav-pills .nav-link.active {
    background: white !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/****************************************************************** product details page css end *************************************************************/
/******************************************************* order page css start ***********************************************************/

.refund {
    width: 5px;
    height: 5px;
    background-color: red;
    border-radius: 50%;
}

.ordered-product {
    transition: all 0.2s ease-in-out;
}

.ordered-product:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.pagination {
    /* position: relative; */
    display: flex;
    justify-content: center;
}

.pagination .page-link {
    color: var(--color);
    padding: 10px;
}

.pagination .prev-link {
    /* position: absolute;
    left: 0; */
    margin-right: 20px;
}

.pagination .next-link {
    /* position: absolute;
    right: 0; */
    margin-left: 20px;
}

.active>.page-link,
.page-link.active {
    color: white;
    background-color: var(--color);
    border-color: var(--color);
}
.ordered-product .rate{
    cursor: pointer;
}

/** new dev added in order page start **/


.order-card{
    margin-bottom: 1rem;
    font-size: 1rem  !important;
}
.order-card .order-header{
    border-radius: 18px 18px 0 0;
    border: 1px #d5d9d9 solid;
    border-bottom: none;
    padding: 14px 18px 7px 18px;
    background-color: #f0f2f2;
}
.order-card h5{
    font-size: 1rem  ;
}
.order-main{
    border-radius: 0 0 18px 18px;
    border: 1px #d5d9d9 solid;
    border-top: none;
    padding: 20px;
}
.order-main a{
    text-decoration: none;
    color: black;
    font-size: 20px;
}
/** new dev added in order page end **/


/******************************************************* order page css end ***********************************************************/

/******************************************************** add to cart css start ********************************************************/

.cart-table .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cart-table .items-qua{
    width: 60%!important;
    margin: 0 auto!important;
}
.cart-table .table td:nth-child(1),.checkout .table td:nth-child(1) {
    width: 10%;
}

.cart-table .product-img, .checkout .product-img {
    width: 100%;
    margin: 5% auto;
}
.cart-table .product-img img, .checkout .product-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* .cart-table .table td:nth-child(4){
    width: 30%;
} */
/* .cart-table .table td{
    width: 30%;
    text-align: center;
} */
/* .cart-table .items-qua {
    width: 55%;
    margin-left: 0;
} */

.cart-table .action i {
    font-size: 25px;
    margin-inline: 5px;
}

ul li {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;

}
@media screen and (max-width: 1024px) {
    .cart-table .items-qua, .checkout .table .items-qua{
        width: 10rem !important;
    }
}
@media screen and (min-width: 1024px) {
    .cart-table .items-qua, .checkout .table .items-qua{
        width: 15rem  !important;
    }
}
/******************************************************** add to cart page css end ********************************************************/

/******************************************************** book page css start ********************************************************/
.filter .scroll-content {
    overflow-y: auto;
    /* Enables vertical scrolling */
    overflow-x: hidden;
    /* Disables horizontal scrolling */
    /* height: 20vh; */
    /* Sets the height of the scrollable area */
}

.form-check-input:checked {
    background-color: var(--color);
    border-color: var(--color);
}

/* range price for filter section*/
.price-range-container {
    width: 100%;
    max-width: 600px;
    margin: 15px auto;
    text-align: center;
}
.slider {
    position: relative;
    width: 100%;
    height: 10px;
    background: grey;
    border-radius: 5px;
    transition: background 0.3s ease;
}
.thumb {
    position: absolute;
    top: -10px;
    width: 30px;
    height: 30px;
    background: #d8c2c2;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.price-value {
    font-size: 16px;
}

/******************************************************** book page css end ********************************************************/

/******************************************************** order details page css start ********************************************************/

/**************** order tracking *********************/

.tracking-container {
    background-color: #fff;
    width: 100%;
    padding: 20px;

}
.tracking-steps {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    position: relative;
}

/* Progress Bar */
.tracking-steps::before {
    content: '';
    position: absolute;
    top: 0.7rem;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    height: 4px;
    background-color: #ddd;
    z-index: 0;
}

.tracking-steps .progress-line {
    position: absolute;
    top: 0.7rem;
    transform: translateY(-50%);
    left: 0;
    height: 4px;
    background-color: green;
    width: 0;
    z-index: 1;
    transition: width 1s ease;
}
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

/* Circle Alignment Fix */
.step .circle {
    width: 20px;
    height: 20px;
    background-color: #ddd;
    border-radius: 50%;
    border: 2px solid #fff;
    position: relative;
    z-index: 2;
    margin-bottom: 5px;
}

.step.done .circle {
    background-color: green;
    animation: pop 0.5s ease forwards;
}
.step.active .circle {
    background-color: orange;
    animation: pulse 1.5s infinite;
}

.step.in-active .circle {
    background-color: #ddd;
}

.step p {
    text-align: center;
    margin-top: 5px;
    font-size: 12px;
}

/* Animations */
@keyframes pop {
    0% {
        transform: scale(0);
    }

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 165, 0, 0.7);
    }

    100% {
        box-shadow: 0 0 0 10px rgba(255, 165, 0, 0);
    }
}

/* Responsive Styles for Vertical Layout */
@media (max-width: 767px) {
    .tracking-steps {
        flex-direction: column;
        align-items: left;
    }

    .tracking-steps::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0.68rem;
        transform: translateX(-50%);
        width: 4px;
        height: 100%;
        background-color: #ddd;
    }

    .tracking-steps .progress-line {
        position: absolute;
        top: 0;
        left: 0.68rem;
        transform: translateX(-50%);
        width: 4px;
        height: 0;
        background-color: green;
        transition: height 1s ease;
    }

    .step {
        flex-direction: row;
        margin-top: 30px;
    }

    .step .circle {
        margin-bottom: 0;
        margin-right: 10px;
    }

    .step p {
        text-align: left;
    }
}
.row-link {
    display: block;
    /* Makes the <a> tag behave like a block element */
    width: 100%;
    /* Ensures the link takes the full width of the .row */
}

/******************************************************** order details page css end ********************************************************/
.order-table .table-bordered{
    border: 1px solid rgba(0, 0, 0, 0.3);
}
.order-table th{
    background-color: #e5ecf2;
}
.order-table td{
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

/************************************************************ cancel order css start ********************************************************/
.cancellation .refund-new {
    display: none;
}

.cancellation #change {
    display: none;
}

.cancel-order{
    text-decoration: none;
    font-size: 1.25rem;
    cursor: pointer;
}
/************************************************************ cancel order css end ********************************************************/

/************************************************************ Privacy and policy css ********************************************************/

.policy h3,
.terms-conditions h3,
.payment-refunds h3,
.shipping-policy h3 {
    margin-bottom: 25px;
}

.shipping-policy h4,
.shipping-policy h5 {
    margin: 30px 0 25px 10px;
}

.policy p strong,
.terms-conditions p strong,
.payment-refunds p strong,
.shipping-policy p strong {
    margin-left: -15px;
}

.policy p,
.terms-conditions p,
.payment-refunds p,
.shipping-policy p {
    margin: 10px 30px;
    text-align: justify;
}

.policy ul p strong,
.terms-conditions ul p strong,
.payment-refunds ul p strong,
.shipping-policy ul p strong {
    margin: 10px 30px 10px -10px;
}

.policy ul p,
.terms-conditions ul p,
.payment-refunds ul p,
.shipping-policy ul p {
    margin: 20px;
}

.policy ul li,
.terms-conditions ul li,
.payment-refunds ul li,
.shipping-policy ul li {
    display: list-item;
    margin-left: 20px;
    margin-right: 30px;
    text-align: justify;
}

/************************************************************ cancel order css end ********************************************************/
/************************************************************ checkout css start ********************************************************/
.checkout .detail {
    width: 100%;
    background-color: #f8f8f8;
}

.available-offer ul li {
    display: list-item;
}
.checkout .table {
    width: 100%;
}
.checkout .table th,td{
    text-align: center;
}
.checkout .table .items-qua{
    width: 100%;
    margin: 0 auto;
}
/************************************************************ checkout css end ********************************************************/
/************************************************************ order success css start ********************************************************/
.true-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    margin: 0 auto;
}

/************************************************************ order success css end ********************************************************/
.eye-off {
    top: 42px;
    right: 5px;
}

/********************************************** user dashboard start ****************************************/
.error {
    color: red;
}
.profile-img {
    width: 25%;
    height: 25%;
    /* border: 2px solid white; */
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
}
.edit-profile {
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    bottom: 18px;
    right: -2px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.profile-img img {
    width: 100%;
    height: inherit;
    /* object-fit: cover; */
    border-radius: 50%;
}
.dashboard .nav-link {
    color: black;
    font-size: 20px;
    border-radius: 0;
    border: 0;
}
/********************************************** user dashboard end ****************************************/

/* -------------------------------------------------- Contact us page start ------------------------------------------------*/
.get-in-touch{
    margin: 5% 0;
  }
  .get-in-touch textarea{
    width: 100%;
  }
  .error{
    color: red
  }
  /* -------------------------------------------------- Contact us page end ------------------------------------------------*/
  /* -------------------------------------------------- loader ------------------------------------------------*/
  #loader-contian {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-wrapper {
    width: 150px;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.book {
    width: 100%;
    height: auto;
    filter: drop-shadow(10px 10px 5px rgba(0, 0, 0, 0.137));
}

.book-wrapper .book-page {
    width: 50%;
    height: auto;
    position: absolute;
    animation: paging 0.7s linear infinite;
    transform-origin: left;
}

@keyframes paging {
    0% {
        transform: rotateY(0deg) skewY(0deg);
    }

    50% {
        transform: rotateY(90deg) skewY(-20deg);
    }

    100% {
        transform: rotateY(180deg) skewY(0deg);
    }
}
/* -------------------------------------------------- Footer for mobile  ------------------------------------------------*/
@media (min-width: 992px){
    .footer-nav{
        display: none;
    }
}

@media (max-width: 992px) {
    footer{
        margin-bottom: 45px;
    }
    .footer-nav{
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: white;
        z-index: 10;
    }
    .footer-nav .col-4 {
        padding: 10px;
        border: 1px solid #f0f2f2;
    }
    .footer-nav .badge{
        top: -1px;
        right: -14px;
    }
}

/* Error page code */
.error-404 h1{  color: var(--color); }
.error-404{
    margin: 3% 0;
}
.error-404 button{
    background-color: var(--color);
}
