:root {
    --White: #FFFFFF; 
    --Slightly-gray: #dadada;
    --Darker-gray: #C1C1C1; 
    --Even-darker-gray: #B7B8B3; 
    --Night: #141715; 
    --Gold: #d4d444; 
    --Columbia-Blue: #D0E0E6; 
    --Dark-Cyan: #094A4E; 
    --Dark-Green: #10342B; 
    --Cool-Red: #FF0000; 
}

*{
    margin: 0px;
    /* border: solid red 1px; */
}

body {
    font-family: Inter, sans-serif;
}

div.login_page {
    height: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.margin-preset {
    margin: 5%;
}

.margin-preset2 {
    margin: 30px 2% 0% 2%;
}

.bold {
    font-weight: bold;
}

/* Scrollbar */

body::-webkit-scrollbar {
    width: 10px; /* Width of the scrollbar */
}

body::-webkit-scrollbar-track {
    background: #f1f1f1; /* Color of the track */
}

body::-webkit-scrollbar-thumb {
    background: #888; /* Color of the scroll thumb */
}

body::-webkit-scrollbar-thumb:hover {
    background: #555; /* Color of the scroll thumb on hover */
}

/* ul {
    list-style-type: none;
} */

/* Navbar */

nav {
    z-index: 1000;
    display: flex;
    position: fixed;
    flex-direction: column;
    width: 100%;
    background-color: #dadada;
    /* padding: 0 10px; */
}

nav ul {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    font-size: 12px;
    font-weight: 400;
    font-style: normal;
    padding: 0;
}

nav ul li {
    display: flex;
    align-items: center;
    gap: 3px;
}

nav ul li a {
    color: black;
    text-decoration: none;
}

.NAV_upper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
}

.NAV_under {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: #C1C1C1;
    padding: 8px 10px;
}

.logo {
    font-size: 25px;
    font-style: normal;
    font-weight: 100;
    color: #141715;
}

.mid_Const {
    min-width: 30%;
}

.nav-filler {
    width: 100%;
    height: 93px;
}

/* search bar */

.SearchButton {
    border: 0;
    border-radius: 4px 0px 0px 4px;
    background: #B2B2B2;
}

.SearchBar {
    border-radius: 6px;
    background: white;
}

.SearchBar form {
    display: flex;
    /* align-items: center; */
}

.SearchBar form input {
    border: 0;
    border-radius: 0 6px 6px 0;
    width: 100%;
    text-indent: 4px;
}

/* language icon */

.languageIcon {
    border-radius: 100px;
}

.about-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--Columbia-Blue);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
}

.about-vision, .about-mission, 
.about-history, .about-socials {
    max-width: 40%;
}

.social-links {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.social-left, .social-right {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.social-links a {
    text-decoration: none;
    color: var(--Night, #141715);
}

/* Carousel */

.carousel {
    width: 100%;
    position: relative;
    overflow: hidden;
}
  
.carousel-images {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-image {
    min-width: 100%;
    object-fit: contain;
    transition: opacity 0.5s ease;
    transition: transform 0.4s;
}

.carousel-image:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ffffff00;
    border: none;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
    width: 50px;
    height: 50px;
    z-index: 10;
}

.prev {
    left: 10px;
    background-image: url(Assets/arrow-left.svg);
}

.next {
    right: 10px;
    background-image: url(Assets/arrow-right.svg);
}

/* .leftArrow {
    left: 2%;
    position: relative;
    z-index: 100;
}

.rightArrow {
    left: -2%;
    position: relative;
    z-index: 100;
} */

/* categories section */

.categories_Container {
    background-color: #B7B8B3;
    padding-top: 100px;
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 100px;
    width: 80%;
    justify-content: space-between;
    position: relative;
    display: flex;
    gap: 12px;
}

h3.mostRented {
    color: white;
}

.categories_Container1 {
    background-color: #959494;
    padding-top: 50px;
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 100px;
    width: 80%;
    justify-content: space-between;
    position: relative;
    display: flex;
    gap: 12px;
}
.categories_Container1 a {
    text-decoration: none;
    color: black;
}

.categories_Container1 h3 {
    text-align: center;
}

.categories_Container1 img {
    border-radius: 10px;
    width: 200px;
    height: 200px;
}
.category1 {
    padding: 10px;
    background-color: white;
    border-radius: 12px;
    transition: transform .4s;
}
.category2 {
    padding: 10px;
    background-color: white;
    border-radius: 12px;
    transition: transform .4s;
}
.category3 {
    padding: 10px;
    background-color: white;
    border-radius: 12px;
    transition: transform .4s;
}
.category4 {
    padding: 10px;
    background-color: white;
    border-radius: 12px;
    transition: transform .4s;
}
.category5 {
    padding: 10px;
    background-color: white;
    border-radius: 12px;
    transition: transform .4s;
}
.category6 {
    padding: 10px;
    background-color: white;
    border-radius: 12px;
    transition: transform .4s;
}

img.camera_png {
    border-radius: 12px;
}

/* product section */
.product_Container {
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.mostRented {
    padding-top: 10px;
    background-color: #959494;
    height: 30px;
}

h3.mostRented {
    color: black;
    /* position: absolute; */
    text-align: center;
}

a.logoA {
    text-decoration: none;
    font-weight: 1;
}

/* Login page */

div.login_logo {
    padding: 20px;
    display: flex;
    justify-content: center;
}

a.HomepageNAV_login {  
    font-size: 50px;
    font-weight: 100;
    color: black;
    text-decoration: none;
}

div.cardP {
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

div.login_cardP {
    background-color: #f1f1f1;
    display: flex;
    border-radius: 20px;
    flex-direction: column;
    justify-self: center;
    width: 577px;
    height: 607px;
}

div.login_text_box {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    padding-top: 20px;
}

a.login_text {
    font-size: 50px;
}

label.email_text {
    font-size: 20px;
    font-weight: bold;
}

label.password_text {
    font-size: 20px;
    font-weight: bold;
}

label.name_text {
    font-size: 20px;
    font-weight: bold;
}

div.email_box {
    display: flex;
    justify-content: center;
    
}

div.password_box {
    display: flex;
    justify-content: center;
}

input.password_input, input.email_input, input.name_input {
    width: 344px;
    padding: 10px;
    border-width: 1px;
    border-radius: 12px;
    margin-bottom: 25px;
}

div.footer_P {
    margin-top: 25px;
    width: 100%;
    height: 100vw;
    display: flex;
    flex-direction: row;
    background-color: #f1f1f1;
    justify-content: center;
}

div.footer_container {
    width: 100%;
    display: flex;
    justify-content: center;
}

div.COS_box, div.privacy_box, div.help_box{
    padding: 20px;
    display: flex;
    justify-content: center;
}

div.name_box {
    display: flex;
    justify-content: center;
}

button.login_button {
    border-width: 0;
    background-color: #E2E2E2;
    border-radius: 50px;
    width: 344px;
    height: 44px;
    display: block;
    margin: auto;
    margin-bottom: 10px;
}

div.forget_password_box {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

a.forget_password_text {
    margin-right: 174px;
    text-decoration: none;
}

div.or_box {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

div.google_button_box {
    display: flex;
    justify-content: center;
}

button.google_button {
    border-width: 0;
    background-color: white;
    border-radius: 50px;
    width: 344px;
    height: 44px;
    display: block;
    margin: auto;
    margin-bottom: 10px;
    font-weight: bold;
    margin-bottom: 35px;
}

div.no_account_box {
    display: flex;
    justify-content: center;
}

a.no_account_text {
    text-decoration: none;
}

/* Cart page */

.arrow-back button {
    position: fixed;
    top: 100px;
    left: 20px;
    z-index: 1;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

div.discount_box {
    width: 1097px;
    height: 148px;

    display: flex;
    border:solid #B2B2B2 4px;
    left: 100px;
    position: relative;
    transform: translateY(60%);
    margin-bottom: 100px;
}

div.discount_banner_text_box {
    width: 416px;
    height: 114px;
    display: flex;
    justify-content: center;
    position: relative;
}

label.discount_banner_text {
    font-size: 32px;
    font-weight: bold;
    padding-left: 100px;
}

.highlight {
    color: #d9534f;
    font-weight: bold;
}

.cart {
    background-color: #fff;
    padding: 50px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.cart h2 {
    font-size: 40px;
    padding-bottom: 25px;
    margin-top: 0;
}

.cart-item {
    display: flex;
    align-items: center;
    border-width: 100px;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    padding-top: 25px;
    padding-bottom: 50px;
}

.cart-item2 {
    display: flex;
    align-items: center;
    border-width: 50px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 25px;;

}

.cart-item img {
    width: 300px;
    height: auto;
    margin-right: 20px;
}

.item-details {
    flex-grow: 1;
}

.item-options {
    display: flex;
    align-items: center;
}

.item-options label {
    margin-right: 5px;
}

.item-options input {
    width: 50px;
    margin-right: 10px;
}

.item-options button {
    margin-left: 10px;
    padding: 5px 10px;
    background-color: #d9534f;
    color: #fff;
    border: none;
    border-radius: 4px;
}

.item-price {
    font-size: 18px;
    font-weight: bold;
}

/* Category Page */

.star-rating {
    display: flex;
    direction: row;
}

.star {
    font-size: 2em;
    color: black;
    margin: 0 5px;
    transition: 0.1s;
}

.star:hover,
.star:hover ~ .star {
    color: lightgray;
}

.star-rating:hover .star {
    color: rgb(153, 133, 18);
}

div.categories_Container{
    padding-top: 100px;
    padding-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.categories_Container img {
    border-radius: 10px;
}
.category {
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 10px;
    text-align: center;
    padding: 20px;
    background-color: #fff;
}

.category:hover {
    transform: scale(1.04);
    cursor: pointer;
}

.category1:hover, .category2:hover, .category3:hover, .category4:hover, .category5:hover, .category6:hover {
    transform: scale(1.04);
    cursor: pointer;
}

.category-picture {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.category-image {
    max-width: 100%;
    height: auto;
    max-height: 100px;
}


div.categories_Container a{
    text-align: center;
    color: black;
    text-decoration: solid;
}

div.Items-Electronic, div.Items-Audio, div.Items-Fashion, 
div.Items-Furniture, div.Items-Outdoor, div.Items-Transport
{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}


div.Product{
    background-color: #d3d3d3;
    flex: 1 1 300px;
    padding: 10px;
    border-radius: 10px;
    box-sizing: border-box;
    transition: transform .4s;
}

div.Product img{
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

div.Product p{
    font-size: 25px;
}

.Product:hover {
    transform: scale(1.04);
    cursor: pointer;
}

/* Product page */

.back-results a {
    display: flex;
    text-decoration: none;
    color: gray; 
    gap: 8px;
    align-items: center;
}

.product-page {
    display: flex;
    flex-direction: column;
}

.product-upper {
    display: flex;
    justify-content: flex-start;
    gap: 5%;
}

.product-thumbnail {
    width: 40%;
}

.product-spotlight img {
    width: 100%;
    border: 2px solid black;
    border-radius: 8px;
}

.product-small {
    display: flex; 
    /* gap: 2%; */
    /* width: 40%; */
    justify-content: space-between;
    align-items: center;
}

.product-small .preview-container {
    width: 20%;
    height: 100px;
    border: 1px solid black;
    border-radius: 8px;
}

.preview-container {
    display: flex;
    /* line-height: 100px; */
}

.preview-container img {
    margin: auto auto;
    max-width: 80%;
    height: auto;
}

.product-title-details {
    display: flex;
    justify-content: space-between;
}

.product-title-details .left {
    display: flex;
    align-items: center;
    gap: 4%;
    width: 60%;
}

.rating-details {
    display: flex;
    align-items: center;
    /* justify-content: center; */
    gap: 3%;
    width: 60%;
}

.div-line {
    margin-top: 15px;
    margin-bottom: 20px;
    background-color: var(--Even-darker-gray);
    height: 1px;
}

.price-tag {
    margin-bottom: 20px;
}

.product-count {
    display: flex;
    align-items: center;
    gap: 2%;
}

.input-spinner {
    display: flex;
    align-items: center;
}
  
.input-spinner button {
    width: 30px;
    height: 30px;
    font-family: inter;
    background-color: white;
    border: solid var(--Even-darker-gray) 1px;
    border-radius: 8px;
}

.input-spinner button.left {
    border-radius: 8px 0 0 8px;
}

.input-spinner button.right {
    border-radius: 0 8px 8px 0;
}
  
.input-spinner input[type='number'] {
    width: 50px;
    height: 26.5px;
    text-align: center;
    font-family: inter;
    border: 0;
    border-top: solid var(--Even-darker-gray) 1px;
    border-bottom: solid var(--Even-darker-gray) 1px;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.selector-container {
    display: flex;
    gap: 2%;
    margin-top: 15px;
    justify-content: space-between;
}
  
.option {
    border: 1px solid black;
    padding: 10px;
    margin: 5px 0;
    cursor: pointer;
    border-radius: 8px;
}
  
.option.selected {
    border: 3px solid red;
    padding: 8px;
}

.product-buttons {
    display: flex;
    gap: 8%;
    width: 100%;
    margin-top: 15px;
}
 
.product-buttons a {
    text-decoration: none;
}

.btn-cart {
    display: flex; 
    align-items: center;
    gap: 2%;
    background-color: white;
    padding: 8px;
    border: solid red 1px;
    border-radius: 6px;
    color: red;
    width: 120%;
    justify-content: center;
}

.btn-rent {
    display: flex;
    align-items: center;
    background-color: red;
    padding: 0 9px;
    border-radius: 6px;
    color: white;
    width: 120%;
    justify-content: center;
    height: 100%;
}

.confirm {
    width: 100px;
    margin: 20px 0;
    padding: 10px 20px;
}

.product-description {
    margin-top: 15px;
}

.product-lower {
    margin-top: 20px;
}

.review-container {
    display: flex;
    justify-content: space-between;
    gap: 5%;
}

.product-review {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    /* gap: 5%; */
}

.profile-picture {
    min-width: 20%;
    height: auto;
    background-image: url(Assets/ko\ aliong.jpg);
    /* background-size: cover;  */
    background-position: center;
    background-size: auto;
    background-repeat: no-repeat;
}

.review {
    max-width: 80%;
}

.Product a {
    color: black;
    text-decoration: none;
}


.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.user-profile-card {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    display: flex;
    padding: 20px;
    max-width: 400px;
    width: 100%;
}

.user-profile-picture {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 20px;
}

.user-profile-info {
    flex-grow: 1;
}

.user-profile-info h2 {
    margin: 0;
    font-size: 1.5em;
    color: #333;
}

.user-profile-info p {
    margin: 5px 0 20px;
    color: #777;
}

.user-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.user-stat {
    text-align: center;
}

.user-stat .user-number {
    display: block;
    font-size: 1.2em;
    color: #e74c3c;
}

.user-stat .user-label {
    color: #999;
}

.user-buttons {
    display: flex;
    gap: 10px;
}

.user-chat-button, .user-store-button {
    background-color: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1em;
}

.user-store-button {
    background-color: #333;
}

.user-chat-button:hover, .user-store-button:hover {
    opacity: 0.8;
}

/* MENU */

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff; /* White background */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 10px;
    display: none;
    z-index: 1000;
    border: 2px solid #ccc; /* Add a border for better visibility */
}


.dropdown-menu.show {
    display: block; /* Show when .show class is added */
}

.dropdown-menu a {
    display: block;
    padding: 8px 12px;
    color: #333333; /* Text color */
    text-decoration: none;
    transition: background-color 0.3s ease; /* Smooth transition */
}

.dropdown-menu a:hover {
    background-color: #f0f0f0; /* Light background on hover */
}

a {
    text-decoration: none;
}

/* Footer */

form.subscribe-email {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    
}

.footer-bg {
    background: var(--Slightly-gray, #F5F5F5);
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    /* margin: 10% inherit; */
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 80px;
    /* flex-wrap: wrap; */
}

.footer-left {
    display: flex;
    width: 30%;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 14px;
}

h4.newsletter {
    color: var(--Night, #141715);
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

input#subscribe {
    width: 80%;
    height: 40px;
    padding-left: 10px;
    border: none;
    background: var(--Columbia-Blue, #D0E0E6);
    font-family: inter;
}

.submit-btn {
    background: var(--Dark-Cyan, #094A4E);
    width: 15%;
    height: 40px;
    padding: 13px;
    border: none;
    color: var(--White, #FFF);
    font-family: inter;
}

.padding-preset {
    padding: 5%;
}

.footer-right .newsletter {
    margin-bottom: 5px;
}

.footer-right p {
    margin-bottom: 12px
}

