﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/*css from Layout.cshtml*/

body {
    font-family: Arial, Helvetica, sans-serif;
}
/* Style the header */
/*Not use
                .header {
                    padding: 80px;
                    text-align: center;
                    background: #1abc9c;
                    color: white;
                }
                    */
/* Increase the font size of the h1 element */
.header h1 {
    font-size: 40px;
}

.mainnavbar {
    overflow: hidden;
    background-color: #3333cc;
}

    .mainnavbar a {
        float: left;
        font-size: 16px;
        color: white;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
    }

.maindropdown {
    float: left;
    overflow: hidden;
}

    .maindropdown .maindropbtn {
        font-size: 16px;
        border: none;
        outline: none;
        color: white;
        padding: 14px 16px;
        background-color: inherit;
        font-family: inherit;
        margin: 0;
    }

    .mainnavbar a:hover, .maindropdown:hover .maindropbtn {
        background-color: red;
    }

.maindropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .maindropdown-content a {
        float: none;
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
    }

        .maindropdown-content a:hover {
            background-color: #ddd;
        }

.maindropdown:hover .maindropdown-content {
    display: block;
}
/* Set fixed height for product carousels */
.product-carousel .carousel-inner,
.product-carousel .carousel-item {
    height: 650px;
}

/* Ensure all carousel images have the same height */
.carousel-inner img {
    width: 100%; /* Ensures images fit the container */
    height: 400px; /* Set a fixed height (adjust as needed) */
    object-fit: cover; /* Crop images to fill the space without distortion */
}

.btnTopRight {
    border: none;
    background-color: inherit;
    padding: 14px 28px;
    font-size: 16px;
    cursor: pointer;
    display: inline-block;
    text-decoration: none; /* Removes underline from links */
    color: inherit; /* Inherit text color */
}

    .btnTopRight:hover {
        background: #eee;
        text-decoration: none; /* Keeps links unstyled on hover */
    }

/* Additional Styling for Greeting */
.greeting {
    margin-right: 20px;
    font-size: 16px;
    color: #333;
}

.login {
    color: green;
}

.register {
    color: dodgerblue;
}

/*Start original css*/

a.navbar-brand {
    white-space: normal;
    text-align: left;
    word-break: normal;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.product-card {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

    .product-card h3 {
        color: #333;
        font-size: 24px;
    }

    .product-card p {
        font-size: 16px;
        color: #555;
    }

    .product-card img {
        max-width: 100%;
        border-radius: 8px;
    }

footer {
    background-color: #3333cc;
    color: white;
    padding: 10px;
}

