﻿@import url('https://fonts.googleapis.com/css?family=Spartan');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Spartan';
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.form-container {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-floating input {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 10px;
}

.form-floating input:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.btn-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .btn-group .defaultBtn {
        width: 100%;
    }

.container-fluid.p-0 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#footer {
    margin-top: auto;
}

a {
    color: #333;
    text-decoration: none;
}

.validation-message {
    color: red;
}

.section-m1 {
    padding: 40px 0;
}

button {
    font-size: 20px;
    font-weight: 600;
    padding: 15px 30px;
    color: #1a1a1a;
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: 0.2s;
}

.defaultBtn {
    font-size: 20px;
    font-weight: 600;
    padding: 15px 30px;
    color: #fff;
    background-color: #89d2a3;
    cursor: pointer;
    transition: 0.2s;
    border: 2px solid #fff;
    border-radius: 50px;
    text-align: center;
}

    .defaultBtn i {
        color: inherit;
    }

    .defaultBtn:hover {
        border: 2px solid #89d2a3;
        background-color: #fff;
        color: #89d2a3;
    }

.loginBtn {
    border: 3px solid #89d2a3;
    border-radius: 15px;
    font-weight: 600;
    background-color: #eaf8da;
    font-size: 18px;
    padding: 10px;
    padding-top: 13px;
}

    .loginBtn i {
        color: inherit;
    }

    .loginBtn:hover {
        color: #89d2a3;
    }

.adminBtn {
    padding: 15px;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    font-weight: bold;
    font-size: 20px;
}

    .adminBtn:hover {
        background-color: #fcfcfc;
        border: 2px solid #fff;
    }

#numberOfItemsInCart {
    position: absolute;
    right: -7px;
    top: -18px;
    border-radius: 50%;
    background-color: #89d2a3;
    font-size: 16px;
    line-height: 28px;
    height: 28px;
    width: 28px;
    text-align: center;
    vertical-align: middle;
    font-weight: bolder;
}

.identityText {
    text-align: center;
    font-size: 13px;
}

    .identityText a:hover {
        color: #89d2a3;
    }

.navbar-custom {
    background-color: #eaf8da;
}

#navbar {
    align-items: center;
    justify-content: center;
    animation: nav-load 300ms ease-in;
}

    #navbar li {
        padding-left: 7px;
        list-style: none;
        position: relative;
    }

        #navbar li .nav-link {
            text-decoration: none;
            font-size: 18px;
            font-weight: 600;
            transition: 0.2s ease;
        }

            #navbar li .nav-link:hover,
            #navbar li .nav-link.active {
                color: #89d2a3;
            }

                #navbar li .nav-link.active::after,
                #navbar li .nav-link:hover::after {
                    content: "";
                    width: 30%;
                    height: 2px;
                    background: #89d2a3;
                    position: absolute;
                    bottom: 8px;
                    left: 15px;
                }

#content {
    background-image: url("../img/background.png");
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: top 25% right 0;
    padding: 0 150px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

    #content button {
        width: 300px;
        height: 70px;
        padding: 15px 0;
        text-align: center;
        margin: 20px 10px;
        border-radius: 50px;
        font-weight: bold;
        background: rgba(365, 365, 365, 0.5);
        border: 3px solid #89d2a3;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        color: #333;
    }

    #content span {
        color: #fff;
        border: 3px solid #89d2a3;
        background: #89d2a3;
        height: 100%;
        width: 0;
        border-radius: 50px;
        position: absolute;
        left: 0;
        bottom: 0;
        z-index: -1;
        transition: 0.5s;
        text-align: center;
        padding: 15px 0;
    }

    #content button:hover span {
        width: 100%;
        z-index: 0;
    }

    #content button:hover {
        border: none;
        color: #fff;
        z-index: initial;
    }

    #content h1 {
        font-size: 50px;
        font-weight: bolder;
    }

    #content h2 {
        margin: 15px 0;
        font-weight: bold;
        color: #1a1a1a;
    }

    #content h4 {
        font-size: 18px;
        margin-bottom: 20px;
        font-weight: 900;
        color: #1a1a1a;
    }

#products {
    background-color: #eaf8da;
    padding: 25px 80px;
}

    #products #product {
        max-width: 400px;
        padding: 10px;
        box-shadow: 0 0 34px rgba(0, 0, 0, 0.35);
        background-color: #fff;
        margin: 15px 0;
    }

        #products #product:hover {
            box-shadow: 0 0 54px #fff;
            transform: scale(1.01);
            cursor: pointer;
        }

        #products #product img {
            width: 100%;
            padding: 10px
        }

#banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url("../img/banner1.png");
    width: 100%;
    height: 40vh;
    background-size: cover;
    background-position: center;
}

    #banner h2 {
        color: #fff;
        font-size: 40px;
        text-shadow: 0.1em 0.1em 0.05em #333
    }

    #banner h1 {
        color: #fff;
        font-size: 100px;
        padding: 10px 0;
        text-shadow: 0.1em 0.1em 0.05em #1a1a1a
    }

    #banner button {
        border-radius: 15px;
        background-color: transparent;
        color: #fff;
        text-shadow: 0.1em 0.1em 0 #1a1a1a;
        border: 2px solid #fff;
    }

        #banner button:hover {
            background-color: #89d2a3;
            color: #fff;
            border-color: transparent;
        }

#footer .logo {
    margin-bottom: 30px;
}

#footer h4 {
    font-size: 18px;
    padding-bottom: 10px;
    font-weight: bold;
}

#footer p {
    font-size: 13px;
    margin: 0 0 8px 0;
}

#classicHover {
    color: #1a1a1a;
    text-decoration: underline;
}

#footer a {
    font-size: 13px;
    text-decoration: none;
    margin-bottom: 10px;
    color: #1a1a1a;
}

#footer .follow {
    margin-top: 20px;
}

    #footer .follow i {
        padding-right: 4px;
        cursor: pointer;
    }

        #footer .follow i:hover,
        #footer a:hover,
        #classicHover:hover {
            color: #89d2a3;
        }

.copyright {
    margin-top: 20px;
    width: 100%;
    text-align: center;
    background-color: #eaf8da;
    padding-top: 10px;
    font-size: 12px
}

#productDiv a:hover, #productDiv i:hover {
    color: #89d2a3;
}

#productanimation {
    animation: prod-load 300ms ease-in;
}

#productDiv img {
    background-color: #eaf8da;
    border-radius: 20px;
}

#productDiv a, #productDiv i, #productDiv p {
    cursor: pointer;
    font-weight: bold;
    font-size: larger;
    text-decoration: none;
    text-align: center;
    color: #333;
}

#productDiv {
    border: 2px solid #89d2a3;
    border-radius: 10px;
    background-color: #fff;
    filter: drop-shadow(4px 4px 4px #dedede);
}

#productShop:hover {
    color: #89d2a3;
    filter: drop-shadow(10px 10px 10px #333);
    background-color: transparent;
    transform: scale(1.06);
}

.img-square-container {
    position: relative;
    width: 100%;
    padding-top: 100%;
}

    .img-square-container img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

#singleProduct p {
    cursor: auto;
}

#addToCartBtn {
    padding-left: 10px;
    padding-right: 15px;
    padding-top: 7px;
    padding-bottom: 10px;
    align-content: center;
}

    #addToCartBtn input[type="button"] {
        border: 1px solid #333;
        border-radius: 20px;
    }

    #addToCartBtn a {
        text-decoration: none;
        color: #333;
    }

#addToCart i {
    padding-right: 10px;
}

#addToCart {
    padding: 8px;
}

#addToCartBtn i:hover {
    color: #333;
}

#addToCart:hover {
    background-color: #eaf8da;
    border-radius: 15px;
}

#addToCartBtn input[type="submit"] {
    background-color: #fff;
    color: #333;
    border: none;
    font-weight: bold;
    padding-bottom: 10px;
}

#prodName {
    font-size: medium;
}

prodPrice {
    font-size: large;
}

#counter {
    border: none;
}

.counter {
    padding-top: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .counter button:hover i {
        color: #fff;
    }

    .counter button {
        background-color: #fff;
        border: 1px solid #ccc;
        font-size: 20px;
        padding: 5px 15px;
        cursor: pointer;
        border-radius: 200px;
    }

        .counter button:hover {
            border-color: #fff;
            background-color: #89d2a3;
        }

    .counter input[type=number] {
        padding: 5px;
        font-size: 16px;
        border-radius: 5px;
        border: 1px solid #ccc;
        margin: 0 10px;
        text-align: center;
        width: 50px;
    }

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#emptyCart {
    font-size: 24px;
    font-weight: bold;
    background-color: #eaf8da;
    border-radius: 20px;
    padding: 20px;
}

    #emptyCart i {
        color: #89d2a3;
    }

#cartBackToShop {
    text-decoration: none;
    color: #333;
    border: 3px solid #89d2a3;
    border-radius: 50px;
    width: fit-content;
    padding: 20px;
    font-weight: bold;
    font-size: 18px;
    background-color: #fff;
}

    #cartBackToShop:hover {
        background-color: #89d2a3;
        color: #fff;
        border-color: transparent;
    }

#allTotals {
    border-top: 1px solid #000;
    padding-top: 30px;
    text-align: end;
    padding-right: 40px;
}

#totalValue {
    padding-left: 20px;
    font-size: 20px;
    font-weight: bold;
}

#cartHead {
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    padding-bottom: 20px;
    padding-top: 20px;
    border-bottom: 1px solid #000;
}

#cartContainer {
    border: 3px solid #89d2a3;
    border-radius: 50px;
    padding: 30px;
    margin-top: 60px;
}

#customerInputField {
    border: 2px solid #89d2a3;
    border-radius: 20px;
    padding: 5px;
    width: 100%;
}

.text-danger {
    font-size: 14px;
}

#cartDiv {
    border: 3px solid #89d2a3;
    border-radius: 50px;
    padding: 30px;
    margin-top: 60px
}

#personalData input:hover {
    background-color: #fcfcfc;
}

#finishOrderBtn {
    font-size: 20px;
    border: 2px solid #89d2a3;
    background-color: #fff;
    padding: 15px;
    border-radius: 50px;
    font-weight: bold;
    width: fit-content;
    margin-left: 20px;
}

    #finishOrderBtn:hover {
        color: #fff;
        background-color: #89d2a3;
        border-color: transparent;
    }

#yourOrderTxt {
    font-weight: bold;
    font-size: 22px;
}

.carousel-item img {
    height: 500px;
    object-fit: cover;
    margin-bottom: 20px;
    margin-top: 20px;
    filter: drop-shadow(5px 5px 4px #808080);
    border-radius: 25px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon,
.carousel-indicators button {
    filter: invert(70%);
}

#paragraphProduct {
    padding-top: 15px;
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 1px;
}

#productsSection {
    filter: drop-shadow(5px 5px 4px #808080);
}

#about {
    padding-top: 80px;
    height: auto;
    background-size: cover;
    background-position: center;
}

#aboutUs {
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 1px;
    border: 4px solid #89d2a3;
    border-radius: 25px;
    padding: 20px;
}

#aboutImg {
    border: 4px solid #89d2a3;
    border-radius: 25px;
    padding: 10px;
}

#contact a {
    text-decoration: none;
    color: #89d2a3;
}

#contact {
    align-content: center;
    height: 600px;
    background-color: #eaf8da;
}

#contactText {
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 1px;
    border: 4px solid #89d2a3;
    border-radius: 25px;
    padding: 20px;
    background-color: #fff;
}

.defaultEdit:hover {
    color: #89d2a3;
}

.defaultLabel {
    font-weight: bold;
}

.custom-file input[type="file"] {
    display: none;
}

.custom-file label {
    cursor: pointer;
}

#fileName {
    font-style: italic;
}

.showPasswordBtn {
    position: absolute;
    right: 5%;
    top: 30px;
    cursor: pointer;
}

.showPasswordBtn:hover {
    color: #89d2a3;
}

.discount {
    position: absolute;
    background-color: red;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: #fff;
    right: 15px;
    font-size: 22px;
    font-weight: 900;
}

.fullPrice {
    text-decoration: line-through red;
    color: #808080;
}

.priceWithDiscount {
    font-size: 22px;
    font-weight: 900;
}

.admin-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .admin-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .admin-card a {
        text-decoration: none;
        color: #333;
        display: block;
        padding: 20px;
    }

    .admin-card i {
        font-size: 2.5rem;
        margin-bottom: 10px;
        color: #89d2a3;
    }

    .admin-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0;
    }

.fa-xmark {
    color: red;
}

.fa-check {
    color: green;
}

.out-of-stock {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    z-index: 100;
}

.disabled {
    pointer-events: none;
    opacity: 0.5;
}

@keyframes nav-load {
    0% {
        transform: translateY(-100%)
    }

    100% {
        transform: translateY(0);
    }
}

@media (min-width:0px) and (max-width:768px) {
    #content {
        height: 90vh;
        padding: 0 30px;
        background-position: top 25% right 12%;
        align-items: center;
    }

        #content h1 {
            font-size: 29px;
            font-weight: bolder;
            background: rgba(365, 365, 365, 0.2);
            border-radius: 15px;
        }

        #content h2 {
            font-size: 20px;
            font-weight: bold;
            background: rgba(365, 365, 365, 0.2);
            border-radius: 15px;
        }

        #content h4 {
            font-size: 18px;
            font-weight: bold;
            background: rgba(365, 365, 365, 0.2);
            border-radius: 15px;
        }

        #content button {
            margin-top: 100px;
            background: rgba(0, 0, 0, 0.3);
            color: #fff;
        }

        #content a {
            margin-left: auto;
            margin-right: auto;
        }

    #cartHead {
        font-size: 11px;
    }

    #cartContainer {
        padding: 0;
    }

    #finishOrderBtn {
        color: #333;
    }

    #allTotals{
        padding-bottom: 30px;
    }
}

@media(min-width:768px) and (max-width:992px) {
    #content {
        height: 90vh;
        padding: 0 80px;
        background-position: top 25% right 12%;
    }

        #content h3 {
            font-size: 25px;
            padding: 20px 0;
            font-weight: bold;
        }

        #content h1 {
            font-size: 50px;
            font-weight: bolder;
        }

        #content h4 {
            font-size: 20px;
            padding: 20px 0;
            font-weight: 900;
        }
}