* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  scroll-behavior: smooth;
  font-family: "Roboto", sans-serif;

  /*  */
}

:root {
  --primary: rgba(214, 8, 8, 0.766);
  --secondary: rgba(15, 10, 29, 0.849);
  --light: #2f3640;
}

header {
  width: 100%;
  height: 100vh;
}
.nav1 {
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 2px 0px 7px rgb(231, 50, 50);
  background-color: rgb(179, 238, 219);
}

.nav1 .left {
  flex-basis: 50%;
  letter-spacing: 2px;
}

.nav1 .left a {
  text-decoration: none;
  color: var(--primary);
  font-weight: bold;
  margin: 0px 5px;
}

.nav1 .right {
  flex-basis: 30%;
}
.nav1 .right i {
  height: 40px;
  width: 40px;
  margin: 0 8px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  color: #fff;
  font-size: 17px;
  text-decoration: none;
  transition: 0.4s ease-in-out;
}

.nav1 .right i:hover {
  transform: rotate(360deg);
}
.nav1 .right i:nth-child(1) {
  background: #4267b2;
}
.nav1 .right i:nth-child(1):hover {
  color: #4267b2;
  background: #fff;
}
.nav1 .right i:nth-child(2) {
  background: #1da1f2;
}
.nav1 .right i:nth-child(2):hover {
  color: #1da1f2;
  background: #fff;
}
.nav1 .right i:nth-child(3) {
  background: #e1306c;
}
.nav1 .right i:nth-child(3):hover {
  color: #e1306c;
  background: #fff;
}
.nav1 .right i:nth-child(4) {
  background: #0077b5;
}
.nav1 .right i:nth-child(4):hover {
  color: #0077b5;
  background: #fff;
}
.nav1 .right i:nth-child(5) {
  background: #ff0000;
}
.nav1 .right i:nth-child(5):hover {
  color: #ff0000;
  background: #fff;
}

.nav2 {
  width: 100%;
  height: 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.nav2 .nav2-left,
.nav2 .nav2-center,
.nav2 .nav2-right {
  flex-basis: 30%;
  margin: auto;
  cursor: pointer;
}

.nav2 .nav2-left i {
  margin-left: 15px;
}
.nav2 .nav2-center h3 {
  color: var(--primary);
  font-size: 2rem;
  letter-spacing: 5px;
  font-weight: bold;
}
.nav2 .nav2-center h3 span {
  color: var(--secondary);
}

.nav2 .nav2-center p {
  color: rgb(91, 5, 76);
  font-size: 15px;
  margin-top: 5px;
  margin-left: 40px;
}
.nav2 .nav2-right i {
  margin: 0px 5px;
}

.nav3 {
  width: 100%;
  height: 70px;
  line-height: 70px;
}

.nav3 ul {
  list-style: none;
  text-align: center;
}

.nav3 ul li {
  display: inline-block;
  width: 150px;
  position: relative;
  z-index: 99;
}

.nav3 ul li a {
  text-decoration: none;
  display: block;
  color: black;
  font-weight: 500;
}

.nav3 ul li a:hover {
  color: var(--primary);
}
.nav3 ul li i {
  color: var(--primary);
  margin: 0px 5px;
}
.nav3 ul ul {
  position: absolute;
  top: 70px;
  left: 0;
  display: none;
}
.nav3 ul ul li {
  background-color: white;
  border-bottom: 1px solid var(--primary);
}
.nav3 ul li:hover > ul {
  display: block;
}

.featured {
  width: 100%;
  height: 60vh;
  background: linear-gradient(
      to right,
      rgba(0, 0, 0, 1) 10%,
      rgba(255, 255, 255, 0.2)
    ),
    url("img/gen.png");
  background-size: cover;
  background-position: top;
  position: relative;
}

.featured-text {
  max-width: 500px;
  position: absolute;
  top: 30%;
  left: 10%;
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 2rem;
  letter-spacing: 5px;
  font-family: "Akaya Kanadaka", cursive;
}
.featured-text button {
  padding: 10px 20px;
  border: none;
  outline: none;
  background-color: var(--secondary);
  margin: 20px 0px;
  color: white;
}
.letest {
  padding: 50px 100px;
}
.product-intro {
  text-align: center;
}

.product-intro h1 {
  color: var(--primary);
  letter-spacing: 0.2rem;
  font-size: 2rem;
  font-weight: bolder;
  margin: 10px 0px;
}
.product-intro h1 span {
  color: var(--secondary);
}

.product-intro p {
  color: grey;
  margin: 15px 0px;
}

.card-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin: 4rem 0;
}
.card-container .card {
  flex-basis: 20%;
  padding: 0.8rem;
  position: relative;
}

.card-container .card p {
  margin: 0px 20px;
  text-align: center;
}

.card img {
  width: 100%;
  transition: 0.5s ease-in-out;
}

.card i {
  color: goldenrod;
  margin: 10px 0px;
}
.card button {
  color: white;
  background-color: var(--secondary);
  border: none;
  outline: none;
  margin-top: 15px;
  padding: 5px 20px;
}

.card:hover img,
.card:hover h1 {
  width: 80%;
  color: var(--primary);
}

.trends {
  padding: 100px;
  background-color: rgba(0, 0, 0, 0.01);
}

footer {
  position: relative;
  background: black;
  width: 100%;
  bottom: 0;
  left: 0;
}
footer::before {
  content: "";
  position: absolute;
  left: 0;
  top: 100px;
  width: 100%;
  background: #afafb6;
}
footer .content {
  max-width: 1250px;
  margin: auto;
  padding: 30px 40px 40px 40px;
}
footer .content .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
}

.content .top .logo-details {
  color: #fff;
  font-size: 30px;
}

footer .content .link-boxes {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
footer .content .link-boxes .box {
  width: calc(100% / 5 - 10px);
}
.content .link-boxes .box .link_name {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
  position: relative;
}
.link-boxes .box .link_name::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 35px;
  background: #fff;
}
.content .link-boxes .box li {
  margin: 6px 0;
  list-style: none;
}
.content .link-boxes .box li a {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  opacity: 0.8;
  transition: all 0.4s ease;
}
.content .link-boxes .box li a:hover {
  opacity: 1;
  text-decoration: underline;
}
.content .link-boxes .input-box {
  margin-right: 55px;
}
.link-boxes .input-box input {
  height: 40px;
  width: calc(100% + 55px);
  outline: none;
  border: 2px solid #afafb6;
  background: black;
  border-radius: 4px;
  padding: 0 15px;
  font-size: 15px;
  color: #fff;
  margin-top: 5px;
}
.link-boxes .input-box input::placeholder {
  color: #afafb6;
  font-size: 16px;
}

footer .bottom-details {
  width: 100%;
  background: rgb(65, 68, 66);
}
footer .bottom-details .bottom_text {
  max-width: 1250px;
  margin: auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
}
.bottom-details .bottom_text span,
.bottom-details .bottom_text a {
  font-size: 14px;
  font-weight: 300;
  color: #fff;
  opacity: 0.8;
  text-decoration: none;
}
.bottom-details .bottom_text a:hover {
  opacity: 1;
  text-decoration: underline;
}
.bottom-details .bottom_text a {
  margin-right: 10px;
}

#sidenav {
  display: none;
}

#menubar {
  display: none;
}

@media only screen and (max-width: 720px) {
  header {
    width: 100%;
    height: 100%;
  }
  #sidebar {
    display: block;
  }

  #menubar {
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0%-50%);
    z-index: 99;
    background-color: var(--primary);
    color: wheat;
    font-size: 2rem;
    padding: 20px 10px;
    animation: animate 5s ease infinite;
  }
  @keyframes animate {
    0% {
      background-color: var(--primary);
    }
    100% {
      background-color: var(--secondary);
    }
  }
  #sidenav {
    width: 70%;
    height: 100vh;
    line-height: 20px;
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    background-color: lightseagreen;
    padding-top: 70px;
    display: block;
    overflow: hidden;
    transition: 0.5s ease-in-out;
  }

  #sidenav ul {
    list-style: none;
  }

  #sidenav ul li {
    display: block;
    width: 200px;
    position: relative;
    z-index: 99;
  }

  #sidenav ul li a {
    text-decoration: none;
    display: block;
    color: white;
    font-weight: 500;
    font-size: 20px;
    padding: 10px 20px;
  }

  #sidenav ul li a:hover {
    color: var(--primary);
  }
  #sidenav ul li i {
    color: var(--primary);
    margin: 0px 5px;
  }
  #sidenav ul ul {
    position: absolute;
    top: 70px;
    left: 0;
    display: none;
  }
  #sidenav ul ul li {
    background-color: rgb(121, 110, 110);
    border-bottom: 1px solid var(--primary);
  }
  #sidenav ul li:hover > ul {
    display: block;
  }

  .nav1 {
    position: relative;
    z-index: 2;
    background-color: white;
    flex-direction: column;
  }
  .nav1 .right i {
    margin: 0px 5px;
  }

  .nav1 .left a {
    font-weight: bold;
    margin: 0px 2px;
  }

  .nav2 {
    width: 100%;
    height: 80px;
    margin: 10px 0px 60px 10px;
  }

  .nav2 .nav2-left {
    margin: 5px 100px;
    cursor: pointer;
  }
  .nav2 .nav2-center h3 {
    margin: 5px 130px;
    cursor: pointer;
  }
  .nav2 .nav2-center h3 span {
    margin: 0px -30px;
    cursor: pointer;
  }

  .nav2 .nav2-center p {
    font-size: 20px;
    color: #e1306c;
  }

  .nav3 {
    display: none;
  }

  .featured {
    background-attachment: fixed;
  }

  .letest {
    padding: 0px 40px;
  }
  .product-intro {
    text-align: center;
  }

  .product-intro h1 {
    color: var(--primary);
    letter-spacing: 0.2rem;
    font-size: 2rem;
    font-weight: bolder;
    margin: 10px 0px;
  }
  .product-intro h1 span {
    color: var(--secondary);
  }

  .product-intro p {
    color: grey;
    margin: 15px 0px;
  }

  .card-container {
    margin: 2rem 0;
  }
  .card-container .card {
    flex-basis: 100%;
    position: relative;
    text-align: center;
  }

  .card img {
    width: 100%;
    transition: 0.5s ease-in-out;
  }

  .card i {
    color: goldenrod;
    margin: 10px 0px;
  }
  .card button {
    color: white;
    background-color: var(--secondary);
    border: none;
    outline: none;
    margin-top: 15px;
    padding: 5px 20px;
  }
}

/* Responsiveness of  footer*/

/* 
@media (max-width: 900px) {
  footer .content .link-boxes {
    flex-wrap: wrap;
  }
  footer .content .link-boxes .input-box {
    width: 40%;
    margin-top: 10px;
  }
}
@media (max-width: 700px) {
  footer {
    position: relative;
  }
  .content .top .logo-details {
    font-size: 26px;
  }
  .content .top .media-icons a {
    height: 35px;
    width: 35px;
    font-size: 14px;
    line-height: 35px;
  }
  footer .content .link-boxes .box {
    width: calc(100% / 3 - 10px);
  }
  footer .content .link-boxes .input-box {
    width: 60%;
  }
  .bottom-details .bottom_text span,
  .bottom-details .bottom_text a {
    font-size: 12px;
  }
}
@media (max-width: 520px) {
  footer::before {
    top: 145px;
  }
  footer .content .top {
    flex-direction: column;
  }
  .content .top .media-icons {
    margin-top: 16px;
  }
  footer .content .link-boxes .box {
    width: calc(100% / 2 - 10px);
  }
  footer .content .link-boxes .input-box {
    width: 100%;
  }
} */
