:root {
  --text-color: #555;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Open Sans", sans-serif;
}
header,
nav {
  font-family: "Raleway", sans-serif;
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
h2,
h3,
h4,
h6,
p,
a,
small {
  color: var(--text-color);
}

a {
  text-decoration: none;
}
img {
  max-width: 100%;
  max-height: 100%;
}
.title {
  text-align: center;
  line-height: 60px;
  color: var(--text-color);
  margin: 0 auto 80px;
  position: relative;
}
.title::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 5px;
  bottom: 0px;
  left: 50%;
  border-radius: 5px;
  transform: translateX(-50%);
  background-color: #ff523b;
}
ul,
li {
  list-style: none;
}

/*  =====  Containers =======*/
.container {
  padding-left: 20px;
  padding-right: 25px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.small-container {
  max-width: 1080px;
  margin: auto;
  padding-left: 25px;
  padding-right: 25px;
}
/* ..... small ... */
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
/* ...... medium .... */
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
/* ...... Large .... */
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}
/* header */
.header {
  background: radial-gradient(#fff, #ffd6d6);
}
.navbar {
  display: flex;
  align-items: center;
  padding: 20px;
}
.navbar nav {
  flex: 1;
  text-align: right;
}

.navbar nav li {
  display: inline-block;
  margin-right: 20px;
}
.menu-icon {
  width: 28px;
  margin-left: 20px;
  cursor: pointer;
  display: none;
}
.cart-img {
  cursor: pointer;
}
/* Home */
.header .row {
  margin-top: 70px;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
}
.col-2 {
  flex-basis: 50%;
  min-width: 300px;
}
.row .col-2 img {
  padding: 100px 0px 0px;
}
.row .col-2 h1 {
  margin: 25px 0;
  line-height: 60px;
  font-size: 50px;
}
.btn {
  display: inline-block;
  padding: 8px 30px;
  margin: 30px 0;
  border-radius: 30px;
  background-color: #ff523b;
  color: white;
  transition: background 0.5s;
}
.btn:hover {
  background: #563434;
}
/* === Featured Categories === */
.categories {
  margin: 70px 0;
}

.col-3 {
  flex-basis: 30%;
  min-width: 250px;
  margin-bottom: 30px;
}
.categories .col-3 img {
  width: 100%;
}
/* ===Featured Product=== */
.col-4 {
  flex-basis: 25%;
  padding: 10px;
  min-width: 200px;
  margin-bottom: 50px;
  transition: transform 0.5s;
}
.products .col-4:hover {
  transform: translateY(-5px);
}
.products .col-4 img {
  width: 100%;
}
.products h4 {
  font-weight: normal;
  color: var(--text-color);
}
.products .col-4 p {
  font-size: 14px;
}
.rating .fa {
  color: #ff523b;
}
/* ===== Offer ===== */
.offer {
  background: radial-gradient(#fff, #ffd6d6);
  margin-top: 80px;
  padding: 30px 0;
}
.offer .col-2 .offer-img {
  padding: 50px;
}
.offer .col-2 small {
  color: var(--text-color);
}
/* =====Testimonial ===== */
.testimonial {
  padding-top: 100px;
}
.testimonial .col-3 {
  text-align: center;
  padding: 40px 20px;
  box-shadow: 0 0 15px 0px rgb(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.5s;
}

.testimonial .col-3 img {
  width: 50px;
  margin-top: 20px;
  border-radius: 50%;
}
.testimonial .col-3:hover {
  transform: translateY(-10px);
}
.fa.fa-quote-left {
  font-size: 34px;
  color: #ff523b;
}
.col-3 p {
  font-size: 12px;
  color: #777;
  margin: 12px 0;
}
.testimonial .col-3 h3 {
  font-size: 16px;
  font-weight: 600;
}
/* ========= brands ========== */
.brands {
  margin: 100px auto;
}
.col-5 {
  width: 160px;
}
.col-5 img {
  width: 100%;
  cursor: pointer;
  filter: grayscale(100%);
}
.col-5 img:hover {
  filter: grayscale(0);
}
/* =======footer ========== */
footer {
  font-size: 14px;
  color: #8a8a8a;
  background-color: #000;
  padding: 60px 0 20px;
}
footer p {
  color: #8a8a8a;
}
footer h3 {
  color: #fff;
  margin-bottom: 20px;
}
.footer-col-1,
.footer-col-2,
.footer-col-3,
.footer-col-4 {
  min-width: 250px;
  margin-bottom: 20px;
}
.footer-col-1 {
  flex-basis: 30%;
}
.footer-col-2 {
  flex: 1;
  text-align: center;
}
.footer-col-2 img {
  width: 180px;
  margin-bottom: 20px;
}
.footer-col-3,
.footer-col-4 {
  text-align: center;
  flex-basis: 12%;
}
.app-logo {
  margin-top: 20px;
}
.app-logo img {
  width: 140px;
}
footer hr {
  border: none;
  height: 1px;
  background-color: #b5b5b5;
  margin: 20px 0;
}
/* ====media queries for less than 800px === */
@media only screen and (max-width: 800px) {
  .menu-icon {
    display: block;
    cursor: pointer;
  }
  .navbar nav ul {
    background-color: #333;
    width: 100%;
    position: absolute;
    top: 70px;
    left: 0;
    overflow: hidden;
    transition: max-height 0.5s;
  }
  .navbar nav ul li {
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 50px;
  }
  .navbar nav ul li a {
    color: #fff;
  }
}
/* ========== All Products ============== */
.row-2 {
  justify-content: space-between;
  margin: 100px auto 50px;
}
select {
  border: 1px solid #ff523b;
  padding: 5px;
}
select:focus {
  outline: none;
}
.page-btn {
  margin: 0 auto 80px;
}
.page-btn span {
  display: inline-block;
  margin-left: 10px;
  border: 1px solid #ff523b;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
}
.page-btn span:hover {
  background-color: #ff523b;
  color: #fff;
}
/* ==================single product details =========*/

.single-product {
  margin-top: 80px;
}
.single-product .col-2 img {
  padding: 0;
}
.single-product .col-2 {
  padding: 20px;
}
.single-product h4 {
  margin: 20px 0;
  font-size: 22px;
  font-weight: bold;
}
.single-product select {
  display: block;
  padding: 10px;
  margin-top: 20px;
}
.single-product input {
  width: 50px;
  height: 40px;
  padding-left: 10px;
  font-size: 20px;
  margin-right: 10px;
  border: 1px solid #ff523b;
}
.single-product input:focus {
  outline: none;
}
.single-product .fa {
  color: #ff523b;
  margin-left: 10px;
}
.small-img-row {
  display: flex;
  justify-content: space-between;
}
.small-img-col {
  flex-basis: 24%;
  cursor: pointer;
}

/* ====media queries for less than 600px === */
@media only screen and (max-width: 600px) {
  .row {
    text-align: center;
  }
  .col-2,
  .col-3,
  .col-4 {
    flex-basis: 100%;
  }
  .single-product .row {
    text-align: left;
  }
  .single-product .col-2 {
    padding: 20px 0;
  }
  .single-product .row .col-2 h1 {
    font-size: 26px;
    line-height: 32px;
  }
  .cart-info p {
    display: none;
  }
}

/* ================= Cart Items ==================== */
.cart-details {
  margin: 80px auto;
}
table {
  width: 100%;
  border-collapse: collapse;
}
.cart-info {
  display: flex;
  flex-wrap: wrap;
}
th {
  text-align: left;
  padding: 5px;
  color: white;
  background-color: #ff523b;
  font-weight: normal;
}
td {
  padding: 10px 5px;
}
td input {
  width: 40px;
  height: 30px;
  padding: 5px;
}
td a {
  color: #ff523b;
  font-size: 12px;
}
td img {
  width: 80px;
  height: 80px;
  margin-right: 10px;
}
.total-price {
  display: flex;
  justify-content: flex-end;
}
.total-price table {
  border-top: 3px solid #ff523b;
  width: 100%;
  max-width: 400px;
}
td:last-child,
th:last-child {
  text-align: right;
}
/* ============account-page=========== */
.account-page {
  background: radial-gradient(#fff, #ffd6d6);
  padding: 20px 0;
}
.account-page .form-container {
  background-color: #fff;
  width: 300px;
  height: 400px;
  position: relative;
  text-align: center;
  padding: 20px 0;
  margin: auto;
  box-shadow: 0 0 20px 0px rgb(0, 0, 0, 0.1);
  overflow: hidden;
}
.account-page .form-container .form-btn {
  display: inline-block;
}
.account-page .form-container span {
  font-weight: bold;
  padding: 0 10px;
  color: var(--text-color);
  cursor: pointer;
  width: 100px;
  display: inline-block;
}
.account-page .form-container form {
  position: absolute;
  max-width: 300px;
  padding: 0 20px;
  top: 130px;
  transition: transform 1s;
}
.account-page .form-container form input {
  width: 100%;
  height: 30px;
  margin: 10px 0;
  padding: 0 10px;
  border: 1px solid #ccc;
}

form .btn {
  width: 100%;
  margin: 10px 0;
  cursor: pointer;
  border: none;
}
form .btn:focus,
form input:focus {
  outline: none;
}
form a {
  font-size: 12px;
}
#Indecator {
  width: 100px;
  height: 3px;
  border: none;
  background-color: #ff523b;
  margin-top: 8px;
  transform: translateX(100px);
  transition: transform 1s;
}
#LoginForm {
  left: -300px;
}
#RegForm {
  left: 0px;
}
