@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url("../components/navbar/nav.css");
@import url("../components/footer/footer.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
}

#i1 {
    width: 100%;
    height: 50vh;
}

#mainWrapper {
    margin-top: 100px;
    display: flex;
}

#rightWrapper {
    display: flex;
    flex-direction: column;
    align-items: start;


}

#i1:hover {
    transform: scale(1.1);
    transition: all 5s;
}

#rangeAddTo {
    display: flex;
}

.element:last-child {
    margin-bottom: 30vh;
}

@media (max-width: 576px) {
    #mainWrapper {

        flex-direction: column;
    }

    .k {
        flex-direction: column;
    }

}

@media (max-width: 864.8px) {
    #mainWrapper {

        flex-direction: column;
    }
}


#rightWrapper h1 {
    margin-bottom: 10px;

}

#rightWrapper h3 {
    margin-bottom: 15px;
}

form {
    margin-bottom: 20px;
}

form select {
    width: 130px;
    margin-bottom: 15px;
}

#rangeAddTo {
    margin-bottom: 20px;
}

#rangeAddTo input {
    border-radius: 5px;
    margin-right: 5px;
}

#rangeAddTo input[type="button"] {
    width: 200px;
}

#rightWrapper h4 {
    margin-top: 20px;
    margin-bottom: 10px;
}


#rightWrapper p.element {
    margin-bottom: 20px;
}

/* end of product details style*/
h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

button {
    font-size: 0.8rem;
    font-weight: 700;
    outline: none;
    border: none;
    background-color: #1d1d1d;
    color: aliceblue;
    padding: 13px 30px;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s ease;
}

button:hover {
    background-color: #fb774b;
    color: rgb(38, 18, 18);
}

h2 {
    font-size: 1.8rem;
    font-weight: 600;
}

h3 {
    font-size: 1.4rem;
    font-weight: 800;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

h5 {
    font-size: 1rem;
    font-weight: 400;
    color: #1d1d1d;
}

h6 {
    color: #c64d4d;
}

hr {
    width: 30px;
    height: 2px;
    background-color: #fb774b;
}

/*mobile nav view*/
.navbar-light .navbar-toggler {
    border: none;
    outline: none;
    background-color: transparent !important;
}

.navbar {
    font-family: "Poppins", sans-serif;
}

.navbar {
    font-size: 1rem;
    top: 0;
    left: 0;
    opacity: 0.9;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.navbar-light .navbar-nav .nav-link {
    padding: 0 20px;
    color: black;
    transform: 0.3 ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar svg:hover,
.navbar-light .navbar-nav .nav-link:active,
.navbar svg:active {
    color: coral;
}

.navbar svg {
    font-size: 1.8rem;
    padding: 0px 7px;
    cursor: pointer;
    font-weight: 500;
    color: #111;
    transition: 0.3s ease;
}

#bar {
    font-size: 1.5rem;
    padding: 7px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s ease;
    color: black;
}

.navbar-nav .nav-item .icon {
    color: black;
    font-weight: 500;
}

.navbar-nav .nav-item {
    position: relative;
}




*,
:after,
:before {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
::after,
::before {
    box-sizing: border-box;
}

*,
::after,
::before {
    box-sizing: border-box;
}



/* 
#prod_count {
    background: red;
    color: #fff;
    padding: 4px;
    position: absolute;
    top: -62%;
    right: 24%;
    border-radius: 53%;
    font-size: 11px;
} */

#Profile {
    display: flex;
    align-items: center;
    cursor: pointer;
}

#Profile i {
    margin-right: 5px;
}

.dropdown-menu {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-menu a {
    color: #333;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
    background-color: #f8f9fa;
    color: #333;
}

#home {
    background-image: url("../images/back.jpg");
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: top 92px center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

#home span {
    color: coral;
}

#new .one {
    position: relative;
}

#new .one img {
    width: 100%;
    height: 70%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

#new .one .details {
    position: absolute;
    width: 100%;
    height: 70%;
    top: 0;
    left: 0;
    transition: 0.3 ease-in-out;
    opacity: 0;
}

#new .one:hover .details {
    cursor: pointer;
    background-color: rgba(245, 178, 178, 0.7);
    opacity: 1;
}

#new .one .details button {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: #2a2a2a;
    background: none;
    border-bottom: 1px solid #2a2a2a;
    padding: 2.5px;
    transform: translateY(70px);
    transition: 0.3s ease;
}

#new .one .details button:hover {
    color: white;
    border-bottom: 1px solid white;
}

#new .one:nth-child(1) .details {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
}

#new .one:nth-child(2) .details {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#new .one:nth-child(3) .details {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-end;
    text-align: end;
}


/* proucts */
.product {
    cursor: pointer;
    margin-bottom: 2rem;
    transition: 0.3s ease;
}

.star {
    padding: 10px 0;
}

.star svg {
    font-size: 0.8rem;
    color: goldenrod;

}

.product img {
    transition: 0.3s ease;
}

.product:hover {
    transform: scale(1.05);
}

.product:hover img {
    opacity: 0.9;
}

.product .buy-btn {
    background: #fb774b;
    transform: translateY(20px);
    opacity: 0;
    transition: 0.3s all;
}

.product:hover .buy-btn {
    transform: translateY(0px);
    opacity: 1;
    color: white;
}

#banner {
    background-image: url("../images/banner/2.jpg");
    width: 100%;
    height: 60vh;
    background-size: cover;
    background-position: top 70px center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

}

#banner h4 {
    color: #d8d8d8;
}

#banner h1 {
    color: white;
}

#banner button {
    background-color: #fb774b;
}


/* footer */
footer {
    background-color: #222222;

}

footer h5 {
    color: #d8d8d8;
    font-weight: 700;
    font-size: 1.2rem;
}

footer li {
    padding-bottom: 4px;
}

footer li a {
    color: #999;
    font-size: 0.8rem;
}

footer li a:hover {
    color: #d8d8d8;
}

footer p {
    color: #999;
    font-size: 0.8rem;
}

footer .copyright a {
    color: #000;
    width: 2rem;
    height: 2rem;
    background-color: #fff;
    display: inline-block;
    text-align: center;
    line-height: 2rem;
    border-radius: 50%;
    transition: 0.3s ease;
    margin: 0 5px;
}

footer .copyright a:hover {
    background-color: #fb774b;
    color: #fff;
}

/* cart style */

#cart-container {
    overflow-x: auto;
}

#cart-container table {
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed;
}

#cart-container table thead {
    font-weight: 700;
}

#cart-container table thead td {
    background-color: #fb774b;
    color: white;
    border: none;
    padding: 6px 0;
}

#cart-container table td {
    border: 1px solid #b6b3b3;
    text-align: center;
}

#cart-container table tbody img {
    width: 90%;
    max-width: 100px;
    object-fit: cover;

}

#cart-container table svg {
    color: #8d8c89;
}



#cart-bottom .coupon div,
#cart-bottom .total>div {
    border: 1px solid #b6b3b3;
}

#cart-bottom .coupon h5,
#cart-bottom .total h5 {
    background: #fb774b;
    color: white;
    border: none;
    padding: 6px 12px;
    font-weight: 700;
}

#cart-bottom .coupon p,
#cart-bottom .coupon input {
    padding: 0 12px;
}

#cart-bottom .coupon input {
    height: 44px;
    margin: 0 0 20px 12px
}

#cart-bottom .coupon button {
    margin: 0 0 20px 12px
}

#cart-bottom .total div>div {
    padding: 0 12px;
}

#cart-bottom .total h6 {
    color: #2a2a2a;
}

.second-hr {
    width: 100%;
    height: 1px;
    background-color: #b8b8b8;
}

#cart-bottom .total div>button {
    margin: 0 12px 20px 0;
    display: flex;
    justify-content: flex-end;
}

.login-sec {
    background-image: url("../images/banner/2.jpg");
    width: 100vw;
    height: 140vh;
    background-size: cover;
    background-position: top 92px center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

body {
    margin: 0;
    color: #6a6f8c;
    font: 600 16px/18px 'Open Sans', sans-serif;
}

#card-rel {
    position: relative;
    height: 100%;
}

.login-box {
    width: 100%;
    margin: auto;
    max-width: 525px;
    min-height: 700px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: url("../images/login_img.avif") no-repeat center;
    box-shadow: 0 12px 15px 0 rgba(0, 0, 0, .24), 0 17px 50px 0 rgba(0, 0, 0, .19);
}

.login-snip {
    width: 100%;
    height: 100%;
    position: absolute;
    padding: 50px 70px 50px 70px;
    background: rgba(0, 77, 77, .9);
}

@media screen and (max-width: 768px) {
    .login-snip {
        width: 100%;
        padding: 70px 30px;
    }

    .login-box {
        width: 80%;
    }

}

.login-snip .login,
.login-snip .sign-up-form {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    transform: rotateY(180deg);
    backface-visibility: hidden;
    transition: all .4s linear;
}

.login-snip .sign-in,
.login-snip .sign-up,
.login-space .group .check {
    display: none;
}

.login-snip .tab,
.login-space .group .label,
.login-space .group .button {
    text-transform: uppercase;
}

.login-snip .tab {
    font-size: 22px;
    margin-right: 15px;
    padding-bottom: 5px;
    margin: 0 15px 10px 0;
    display: inline-block;
    border-bottom: 2px solid transparent;
}

.login-snip .sign-in:checked+.tab,
.login-snip .sign-up:checked+.tab {
    color: #fff;
    border-color: #1161ee;
}

.login-space {
    min-height: 345px;
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.login-space .group {
    margin-bottom: 15px;
}

.login-space .group .label,
.login-space .group .input,
.login-space .group .button {
    width: 100%;
    color: #fff;
    display: block;
}

.login-space .group .input,
.login-space .group .button {
    border: none;
    padding: 15px 20px;
    border-radius: 25px;
    background: rgba(255, 255, 255, .1);
}

#eye,
#eye-signup,
#eye-signup-val {
    right: 12px;
    top: 13px;
    width: 28px;
    cursor: pointer;
}

.login-space .group .label {
    color: #aaa;
    font-size: 12px;
}

.login-space .group .button {
    background: #1161ee;
}

.login-space .group label .icon {
    width: 15px;
    height: 15px;
    border-radius: 2px;
    position: relative;
    display: inline-block;
    background: rgba(255, 255, 255, .1);
}

.login-space .group label .icon:before,
.login-space .group label .icon:after {
    content: '';
    width: 10px;
    height: 2px;
    background: #fff;
    position: absolute;
    transition: all .2s ease-in-out 0s;
}

.login-space .group label .icon:before {
    left: 3px;
    width: 5px;
    bottom: 6px;
    transform: scale(0) rotate(0);
}

.login-space .group label .icon:after {
    top: 6px;
    right: 0;
    transform: scale(0) rotate(0);
}

.login-space .group .check:checked+label {
    color: #fff;
}

.login-space .group .check:checked+label .icon {
    background: #1161ee;
}

.login-space .group .check:checked+label .icon:before {
    transform: scale(1) rotate(45deg);
}

.login-space .group .check:checked+label .icon:after {
    transform: scale(1) rotate(-45deg);
}

.login-snip .sign-in:checked+.tab+.sign-up+.tab+.login-space .login {
    transform: rotate(0);
}

.login-snip .sign-up:checked+.tab+.login-space .sign-up-form {
    transform: rotate(0);
}

*,
:after,
:before {
    box-sizing: border-box
}

.clearfix:after,
.clearfix:before {
    content: '';
    display: table
}

.clearfix:after {
    clear: both;
    display: block
}

a {
    color: inherit;
    text-decoration: none
}


.hr {
    height: 2px;
    margin: 10px 0 10px 0;
    background: rgba(255, 255, 255, .2);
}

.foot {
    text-align: center;
}

.card {
    width: 500px;
}

::placeholder {
    color: #b3b3b3;
}

#invaild_pas,
#invaild_email_pas,
#email_exist,
#signup_done,
#invaild_username,
#invaild_pas_val,
#invaild_login_email,
#invaild_login_pas {
    color: red;
    font-size: 12px;
    margin-top: 5px;
    margin-bottom: 5px;
}

#signup_done {
    color: #fb774b;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

option {
    background-color: rgb(6, 73, 72);
}