* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  overflow-x: hidden;
}
body {
  font-family: "Poppins", sans-serif;
}

/*------------   navigation menu    ----------*/
/* .navbar {
  display: flex;
  align-items: center;
  padding: 20px;
}
nav {
  flex: 1;
  text-align: right;
  margin-right: 25px;
}
nav ul {
  display: inline-block;
  list-style-type: none;
}
nav ul li {
  display: inline-block;
  margin-right: 20px;
  position: relative;
}
a {
  text-decoration: none;
}
p {
  color: #555;
} */

/*------- sub menu ---------*/

.sub-menu li {
  display: list-item;
  text-align: left !important;
  width: 150px;
  padding: 5px 0;
  font-size: 14px;
}

.sub-menu {
  display: none;
  position: absolute;
  color: #555;
  background-color: #f5f5f5;
  padding: 10px;
  z-index: 5;
}

.main-menu ul li:hover .sub-menu {
  display: block;
}

/*--------- header -------*/
/* .container {
  max-width: 100%;
  margin: auto;
  padding-right: 25px;
  padding-left: 25px;
} */

.header {
  background: radial-gradient(#fff, #ffd6d6);
}

/*-------   slider   -------*/
.banner1,
.banner2,
.banner3,
.banner4 {
  height: 100vh;
  width: 100%;
  position: absolute;
  left: 0;
}
.banner1 img,
.banner2 img,
.banner3 img,
.banner4 img {
  width: 100%;
}
.text-box {
  /* width: 600px; */
  position: absolute;
  top: 150px;
  left: 120px;
  color: #fff;
  font-family: italic;
}
.text-box h1 {
  font-size: 70px;
  margin-bottom: 40px;
}
.banner1 {
  animation: slide1 12s linear infinite;
}
.banner2 {
  animation: slide2 12s linear infinite;
}
.banner3 {
  animation: slide3 12s linear infinite;
}
.banner4 {
  animation: slide4 12s linear infinite;
}
@keyframes slide1 {
  0% {
    visibility: visible;
  }
  25% {
    visibility: hidden;
  }
  50% {
    visibility: hidden;
  }
  75% {
    visibility: hidden;
  }
  100% {
    visibility: visible;
  }
}

@keyframes slide2 {
  0% {
    visibility: hidden;
  }
  25% {
    visibility: hidden;
  }
  50% {
    visibility: visible;
  }
  75% {
    visibility: hidden;
  }
  100% {
    visibility: hidden;
  }
}

@keyframes slide3 {
  0% {
    visibility: hidden;
  }
  25% {
    visibility: hidden;
  }
  50% {
    visibility: hidden;
  }
  75% {
    visibility: visible;
  }
  100% {
    visibility: hidden;
  }
}

@keyframes slide4 {
  0% {
    visibility: hidden;
  }
  25% {
    visibility: hidden;
  }
  50% {
    visibility: hidden;
  }
  75% {
    visibility: hidden;
  }
  100% {
    visibility: visible;
  }
}

/*------ products ------*/
.all-products {
  position: relative;
  /* margin-top: 600px; */
}
.row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-around;
}

.small-container {
  max-width: 100%;
  /* padding-right: 25px; */
}
.col-4 {
  flex-basis: 25%;
  padding: 10px;
  min-width: 200px;
  margin-bottom: 50px;
  transition: transform 0.5s;
}
.col-4 img {
  width: 100%;
}
.title {
  text-align: center;
  margin: 50px auto 80px;
  position: relative;
  line-height: 60px;
  color: #555;
}
.title::after {
  content: "";
  background: #ff523b;
  width: 80px;
  height: 5px;
  border-radius: 5px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
}
h4 {
  color: #555;
  font-weight: normal;
}
.col-4 p {
  font-size: 14px;
}
.rating .fa {
  color: #ff523b;
}
.col-4:hover {
  transform: translateY(-5px);
}

/*-----------  footer -----------*/
.footer {
  background: #000;
  color: #8a8a8a;
  font-size: 14px;
  padding: 60px 0 20px;
}
.footer p {
  color: #8a8a8a;
}
.footer h3 {
  color: #8a8a8a;
  margin-bottom: 20px;
}
footer-col-1,
footer-col-2,
footer-col-3 {
  min-width: 300px;
  margin-bottom: 20px;
}
.footer-col-1 {
  flex-basis: 30%;
}

.footer-col-2,
.footer-col-3 {
  flex-basis: 12%;
  text-align: center;
}
ul {
  list-style-type: none;
}
.footer hr {
  border: none;
  background: #b5b5b5;
  height: 1px;
  margin: 20px 0;
}
.copyright {
  text-align: center;
}

/*@media only screen and (min-width: 18900px)
{
	.small-container
	{
		margin-top: 550px;
	}
}
@media only screen and (min-width: 1550px)
{
	.small-container
	{
		margin-top: 500px;
	}
}
@media only screen and (min-width: 1000px)
{
	.small-container
	{
		margin-top: 500px;
	}
}*/
/*-------- media query gor menu  --------*/
@media only screen and (max-width: 800px) {
  .all-products {
    position: relative;
    /* margin-top: 400px; */
  }
  .container {
    padding: 0;
    margin: 0;
  }
  /* nav {
    flex: 1;
    text-align: right;
    margin-right: 0px;
  }
  nav ul li {
    display: inline-block;
    margin-right: 10px;
    z-index: 1000;
  }
  nav ul li a {
    color: #000;
  } */
  .logo img {
    width: 100px;
  }

  .text-box {
    top: 75px;
    left: 70px;
  }
  .footer {
    width: 100%;
    /* margin-left: 40px; */
  }
  html,
  body {
    overflow-x: hidden;
  }
}

/*-------- mediaquery for < 600 screen size ---------*/
@media only screen and (max-width: 600px) {
  .all-products {
    position: relative;
    /* margin-top: 250px; */
  }
  html,
  body {
    overflow-x: hidden;
  }
  .container {
    padding: 0;
    margin: 0;
  }
  /* nav {
    flex: 1;
    text-align: right;
    margin-right: 0px;
  }
  nav ul li {
    display: inline-block;
    margin-right: 5px;
    font-size: 15px;
    z-index: 10;
  }
  nav ul li a {
    color: #000;
  } */
  .logo img {
    width: 90px;
  }
  .row {
    align-items: center;
  }
  .col-4 {
    flex-basis: 100%;
  }
  .text-box {
    top: 10px;
    left: 10px;
  }
  .text-box h1 {
    font-size: 40px;
    margin-bottom: 10px;
  }
  .col-4 {
    flex-basis: 50%;
    padding: 10px;
    min-width: 200px;
    margin-bottom: 50px;
    transition: transform 0.5s;
  }
}

/*-------- mediaquery for < 400 screen size ---------*/
@media only screen and (max-width: 400px) {
  .all-products {
    position: relative;
    /* margin-top: 200px; */
  }
}

/*-------- mediaquery for < 400 screen size ---------*/
@media only screen and (min-width: 1900px) {
  .all-products {
    position: relative;
    /* margin-top: 660px; */
  }
}

@media only screen and (min-width: 1600px) {
  .all-products {
    position: relative;
    /* margin-top: 700px; */
  }
}
