* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
  --mainbac: rgba(207, 207, 207, 0.459);
  --min-border-R: 25px;
}

body {
  background-color: var(--mainbac);
  text-align: center;
  /* padding-top: 70px; */
}
/* Header */
header {
  width: 100%;
  position: fixed;
  top: 0;
  padding: 15px;
  z-index: 10;
  background-color: #fff;
/* opacity: 0; */
transition: ease-out 0.5s all;

}
.logo{
  color:rgb(216, 213, 213);
}
header nav {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

header nav ul li {
  list-style: none;
}

header nav ul li a {
  color: black;
  text-decoration: none;
}

.Shop-cart{
background-color: silver;
width: 300px;
height: 100vh;
position: fixed;
right: 0;
opacity: 0;
pointer-events: none;
z-index: 10;
transition: ease-in-out 0.5s all;
}
.btn-close-cart:hover{
  cursor: pointer;
}
section {
  width: 100%;
}
.section-body {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 20px;
  gap: 15px;
}

.Hero-section {
  background-image: url("photos/logo.jpg");
  background-size: cover;
  background-position: center;
  height: 100vh;
}
/* Section Best Selling Products */
.section-Best-Selling {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.section-Best-Selling h1 {
  margin: 20px;
  font-size: 40px;
}
.continer-product {
  width: 300px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-radius: var(--min-border-R);
  background-color: #fff;
}

.product-img ,.product-img-Rec{
  width: 90%;
  height: 250px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
transition: ease-out 0.5s all;
}
/* images for section Best Silling */
.continer-product:nth-child(1) .product-img{
  background-image: url('Products/T-shirts/product-0-0.png');
}


.continer-product:nth-child(2) .product-img{
  background-image: url('Products/T-shirts/product-1-0.png');
}
.continer-product:nth-child(2) .product-img:hover{
  background-image: url('Products/T-shirts/product-1-3.png');

}


.continer-product:nth-child(3) .product-img{
  background-image: url('Products/T-shirts/product-2-0.png');
}


.continer-product:nth-child(4) .product-img{
  background-image: url('Products/T-shirts/product-3-0.png');
}
.continer-product:nth-child(4) .product-img:hover{
  background-image: url('Products/T-shirts/product-3-1.png');
}


/* images for section Best Recommended*/

.continer-product:nth-child(1) .product-img-Rec{
  background-image: url('Products/T-shirts/product-4-0.png');
}


.continer-product:nth-child(2) .product-img-Rec{
  background-image: url('Products/T-shirts/product-5-0.png');
}
.continer-product:nth-child(2) .product-img-Rec:hover{
  background-image: url('Products/T-shirts/product-5-1.png');

}


.continer-product:nth-child(3) .product-img-Rec{
  background-image: url('Products/T-shirts/product-6-0.png');
}


.continer-product:nth-child(4) .product-img-Rec{
  background-image: url('Products/T-shirts/product-3-0.png');
}
.continer-product:nth-child(4) .product-img-Rec:hover{
  background-image: url('Products/T-shirts/product-3-1.png');
}

/* bar colors */
.card-bar-colors {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.color-product {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
/* .color-product:nth-child(1) {
  background-color: black;
}

.color-product:nth-child(2) {
  background-color: silver;
}

.color-product:nth-child(3) {
  background-color: rgb(187, 97, 97);
}

.color-product:nth-child(4) {
  background-color: rgb(75, 149, 192);
} */

.card-product-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: start;
  padding: 20px;
  width: 100%;
  height: auto;
}
.product-salary{
font-size:18px;  
}
.product-salary span{
color: green;
}
.card-product-body h3,
.card-product-body p {
  letter-spacing: 0.5px;
}

.btn-add-card {
  padding: 15px;
  width: 80%;
  border: none;
  border-radius: var(--min-border-R);
}
.btn-add-card:hover{
  cursor: pointer;
}
/* Section About */
.section-About {
  margin-top: 15px;
}
.About-body {
  margin-top: 30px;
}
.About-Continer {
  display: flex;
  flex-wrap: wrap;
}
.About-Continer img {
  width: 50%;
  height: 100vh;
}
.About-Continer:nth-child(2) {
  direction: rtl;
}
.About-continer-text {
  width: 50%;
  align-content: center;
  text-align: center;
}
.About-continer-text p {
  margin: 5px;
  letter-spacing: 5px;
}
/* Section Reference */
.section-Refrance h1 {
  margin: 30px;
  font-size: 38px;
}
.Refrance-body {
  padding: 15px;
  position: relative;
}
.continer-Scroll {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}
.continer-Scroll::-webkit-scrollbar {
  display: none;
}
.card-Refrance {
  width: fit-content;
  height: 450px;
  margin: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  border-radius: var(--min-border-R);
  background-color: #fff;
}
.card-Refrance img {
  width: 100%;
  height: 100%;
  border-radius: 25px;
}
.card-Refrance video{
  width: fit-content;
  height: 100%;
  border-radius: 25px;

}
.card-Refrance-text{
padding: 15px;
}

/* footer */
footer{
  width: 100%;
  height: 300px;
  background-color: rgba(75, 63, 63, 0.493);
  display: flex;
  justify-content: space-around;
}
.footer-links{
  width: 200px;
  height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 15px;
}
.div-links{
  display: flex;
  flex-direction: column; 
  gap: 5px;
}
.div-links a{
  color: rgb(90, 90, 90);
font-size: 17px;
  width: fit-content;
}
.btn-contact{
  width: 98%;
  padding: 10px;
  background-color: var(--mainbac);
  border-radius: var(--min-border-R);
  border: none;
}



.continer-contact {
  width: 40%;
  height: 100%;
  padding: 5px;
  background-color: var(--mainbac);
  border-radius: var(--min-border-R);
display: none;
}

/* Form */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.groub-input-name {
  display: flex;
  justify-content: space-around;
  padding: 10px;
}

.groub-input-name input {
  width: 45%;
}

.groub-input {
  width: 100%;
  margin: 5px;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

input {
  padding: 15px;
  width: 70%;
  margin: 5px;
  border: solid 0.5px black;
}

#clint-Massage {
  width: 90%;
  height: auto;
  padding: 10px;
}

.btn-send {
  width: 70%;
  padding: 15px;
  margin: 5px;
  border-radius: var(--min-border-R);
  border: none;
}

.btn-send:hover {
  cursor: pointer;
}

@media (max-width: 746px) {
  .continer-product {
  width: 47%;
}
  .contact-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    gap: 20px;
  }
  .div-Social {
    width: 100%;
  }
  .continer-contact {
    width: 100%;
  }
  .About-Continer {
    justify-content: center;
    padding: 15px;
  }
  .About-Continer img {
    width: 90%;
    height: auto;
  }
  .About-continer-text {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .Hero-section {
    background-image: url("photos/logo-phone.png");
  }
  .continer-product {
    width: 230px;
  }
  
}
@media (max-width: 530px){
  
  .continer-product {
    width: 300px;
}
}
