nav {
  width: 85%;
  /* border: 1px solid red; */
  /* height: 60px; */
  /* margin: 0 auto; */
  position: absolute;
  top: 45px;
  left: 50%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translate(-50%, 0);
  /* ------------- navbar logo ---------------- */
  > figure {
    width: 160px;
    height: 100%;
    > img {
      width: 100%;
      height: 100%;
    }
  }
  /* --------------------links-------------- */
  > ul {
    width: 90%;
    height: 100%;
    display: none;
    justify-content: space-between;
    /* border: 1px solid white; */
    align-items: center;
    > li {
      /* width: auto; */
      height: 40px;
      /* border: 1px solid brown; */
      &:first-of-type {
        width: 15%;
        > a {
          background-color: #1b7ffa;
        }
      }
      &:nth-of-type(2) {
        width: 20%;
        > a {
          &:hover {
            background-color: #1b7ffa;
          }
        }
      }
      &:nth-of-type(3) {
        width: 30%;
        > a {
          &:hover {
            background-color: #1b7ffa;
          }
        }
      }
      &:nth-of-type(4) {
        width: 20%;
        > a {
          &:hover {
            background-color: #1b7ffa;
          }
        }
      }
      &:last-of-type {
        width: 15%;
        > a {
          background-color: #ee626b;
          transition: 0.4s ease-in-out;
          &:hover {
            background-color: #276ef1;
          }
        }
      }
      > a {
        width: 100%;
        height: 100%;
        text-transform: capitalize;
        padding: 10px 0px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 20px;
        color: white;
        transition: all 0.4s ease;
        font-size: 11px;
      }
    }
  }
  /* burger menu */
  > span {
    color: white;
    transform: rotate(90deg);
    font-size: 26px;
    width: 50px;
    height: 50px;
  }
}
header {
  width: 100%;
  /* height: 900px; */
  background-image: url(../images/banner-bg.jpg);
  background-size: cover;
  border-radius: 0 0 150px 150px;
  padding: 225px 0;
  display: flex;
  justify-content: center;
  > div {
    width: 100%;
    /* height: 470px; */
    /* border: 1px solid white; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    > div {
      /*----------------- welcome side --------------------*/
      &:nth-of-type(1) {
        width: 80%;
        /* height: 100%; */
        /* border: 1px solid rebeccapurple; */
        padding: 12px;
        > h6 {
          font-size: 20px;
          text-transform: capitalize;
          color: white;
          text-align: center;
        }
        > h2 {
          font-size: 48px;
          color: #fff;
          margin-top: 20px;
          padding-bottom: 5px;
          margin-bottom: 40px;
          text-align: center;
        }
        > p {
          font-size: 14px;
          color: #fff;
          margin-bottom: 70px;
          line-height: 28px;
          text-align: center;
        }
        /*-------------------- input search -------------------------*/
        > div {
          width: 100%;
          height: 50px;
          /* border: 1px solid yellow; */
          > form {
            width: 100%;
            height: 50px;
            position: relative;
            /* border: 1px solid blueviolet; */
            margin-bottom: 20px;
            > input {
              width: 100%;
              height: 100%;
              border-radius: 25px;
              outline: none;
              border: none;
              padding: 0px 20px;
              font-size: 15px;
              &::placeholder {
                color: #828282;
                font-size: 16px;
              }
            }
            > button {
              width: 150px;
              height: 100%;
              position: absolute;
              top: 0;
              right: 0;
              background-color: #ee626b;
              border: none;
              border-radius: 25px;
              color: white;
              font-size: 15px;
              font-weight: 500;
              transition: all 0.4s;
              cursor: pointer;
              &:hover {
                background-color: #1b7ffa;
              }
            }
          }
        }
      }
    }
    /* ------------------------- image side ------------------ */
    > figure {
      width: 80%;
      height: 100%;
      position: relative;
      > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 25px;
      }
      &::after {
        content: "$22";
        background-color: #1b7ffa;
        width: 70px;
        height: 40px;
        position: absolute;
        top: 28px;
        right: 20px;
        border-radius: 25px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 22px;
        color: white;
        font-weight: 700;
      }
      &::before {
        content: "-40%";
        background-color: #ee626b;
        width: 100px;
        height: 100px;
        position: absolute;
        bottom: -30px;
        left: -30px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 22px;
        color: white;
        font-weight: 700;
      }
    }
  }
}
#features {
  width: 100%;
  /* height: 205px; */
  /* border: 1px solid black; */
  position: relative;
  top: -102.5px;
  > .row {
    width: 85%;
    height: 100%;
    /* border: 1px solid red; */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /* -------------- cards ------------- */
    > div {
      width: 100%;
      height: 205px;
      background-color: #fff;
      border-radius: 25px;
      box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.295);
      margin-bottom: 30px;
      /* ------------------- card 1 Free storage -------------- */
      &:nth-of-type(1) {
        padding: 35px;
        cursor: pointer;
        &:hover {
          > figure {
            background-color: #ee626b;
          }
        }
        > figure {
          margin: 0 auto;
          width: 90px;
          height: 90px;
          background-color: #1b7ffa;
          border-radius: 50%;
          display: flex;
          justify-content: center;
          align-items: center;
          transition: 0.4s ease;
          > img {
            width: 40px;
            height: 40px;
            text-align: center;
          }
        }
        > h4 {
          margin-top: 25px;
          text-align: center;
          font-size: 17px;
          text-transform: uppercase;
        }
      }
      &:nth-of-type(2) {
        padding: 35px;
        cursor: pointer;
        &:hover {
          > figure {
            background-color: #ee626b;
          }
        }
        > figure {
          margin: 0 auto;
          width: 90px;
          height: 90px;
          background-color: #1b7ffa;
          border-radius: 50%;
          display: flex;
          justify-content: center;
          align-items: center;
          transition: 0.4s ease;
          > img {
            width: 40px;
            height: 40px;
            text-align: center;
          }
        }
        > h4 {
          margin-top: 25px;
          text-align: center;
          font-size: 17px;
          text-transform: uppercase;
        }
      }
      &:nth-of-type(3) {
        padding: 35px;
        cursor: pointer;
        &:hover {
          > figure {
            background-color: #ee626b;
          }
        }
        > figure {
          margin: 0 auto;
          width: 90px;
          height: 90px;
          background-color: #1b7ffa;
          border-radius: 50%;
          display: flex;
          justify-content: center;
          align-items: center;
          transition: 0.4s ease;
          > img {
            width: 40px;
            height: 40px;
            text-align: center;
          }
        }
        > h4 {
          margin-top: 25px;
          text-align: center;
          font-size: 17px;
          text-transform: uppercase;
        }
      }
      &:nth-of-type(4) {
        padding: 35px;
        cursor: pointer;
        &:hover {
          > figure {
            background-color: #ee626b;
          }
        }
        > figure {
          margin: 0 auto;
          width: 90px;
          height: 90px;
          background-color: #1b7ffa;
          border-radius: 50%;
          display: flex;
          justify-content: center;
          align-items: center;
          transition: 0.4s ease;
          > img {
            width: 40px;
            height: 40px;
            text-align: center;
          }
        }
        > h4 {
          margin-top: 25px;
          text-align: center;
          font-size: 17px;
          text-transform: uppercase;
        }
      }
    }
  }
}
main {
  width: 100%;
  > #sectionTrending {
    width: 85%;
    /* height: 450px; */
    /* border: 1px solid black; */
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 150px;
    > div {
      &:nth-of-type(1) {
        padding: 0 12px;
        margin: 0 0 70px;
        /* border: 1px solid rgb(0, 255, 64); */
        width: 100%;
        > h6 {
          color: #ee626b;
          font-size: 15px;
        }
        > h2 {
          font-size: 36px;
          color: #1e1e1e;
        }
      }
      &:nth-of-type(2) {
        display: none;
      }
      &:nth-of-type(3) {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        > div {
          /*--------------- card1 -----------*/
          &:nth-of-type(1) {
            width: 100%;
            height: 427px;
            margin: 0 0px 30px;
            background-color: #eeeeee;
            border-radius: 25px;
            cursor: pointer;
            &:hover {
              > div {
                > div {
                  &:nth-of-type(1) {
                    > h4 {
                      color: #1b7ffa;
                    }
                  }
                  &:nth-of-type(2) {
                    background-color: #1b7ffa;
                  }
                }
              }
            }
            > figure {
              width: 100%;
              height: 70%;
              > img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: top;
                border-radius: 25px;
              }
            }
            > div {
              padding: 25px;
              display: flex;
              justify-content: space-between;
              align-items: center;
              position: relative;
              > div {
                &:nth-of-type(1) {
                  > span {
                    color: #7a7a7a;
                    font-size: 14px;
                    margin-bottom: 5px;
                  }
                  > h4 {
                    font-size: 17px;
                    font-weight: 600;
                    transition: 0.4s ease;
                  }
                }
                &:nth-of-type(2) {
                  position: absolute;
                  right: 25px;
                  width: 40px;
                  height: 40px;
                  background-color: #ee626b;
                  border-radius: 50%;
                  display: flex;
                  justify-content: center;
                  align-items: center;
                  transition: 0.4s ease;
                  > a {
                    color: white;
                    font-size: 18px;
                  }
                }
              }
            }
          }
          /*--------------- card2 -----------*/
          &:nth-of-type(2) {
            width: 100%;
            height: 427px;
            margin: 0 0px 30px;
            background-color: #eeeeee;
            border-radius: 25px;
            cursor: pointer;
            &:hover {
              > div {
                > div {
                  &:nth-of-type(1) {
                    > h4 {
                      color: #1b7ffa;
                    }
                  }
                  &:nth-of-type(2) {
                    background-color: #1b7ffa;
                  }
                }
              }
            }
            > figure {
              width: 100%;
              height: 70%;
              > img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: top;
                border-radius: 25px;
              }
            }
            > div {
              padding: 25px;
              display: flex;
              justify-content: space-between;
              align-items: center;
              position: relative;
              > div {
                &:nth-of-type(1) {
                  > span {
                    color: #7a7a7a;
                    font-size: 14px;
                    margin-bottom: 5px;
                  }
                  > h4 {
                    font-size: 17px;
                    font-weight: 600;
                    transition: 0.4s ease;
                  }
                }
                &:nth-of-type(2) {
                  position: absolute;
                  right: 25px;
                  width: 40px;
                  height: 40px;
                  background-color: #ee626b;
                  border-radius: 50%;
                  display: flex;
                  justify-content: center;
                  align-items: center;
                  transition: 0.4s ease;
                  > a {
                    color: white;
                    font-size: 18px;
                  }
                }
              }
            }
          }
          /*--------------- card3 -----------*/
          &:nth-of-type(3) {
            width: 100%;
            height: 427px;
            margin: 0 0px 30px;

            background-color: #eeeeee;
            border-radius: 25px;
            cursor: pointer;
            &:hover {
              > div {
                > div {
                  &:nth-of-type(1) {
                    > h4 {
                      color: #1b7ffa;
                    }
                  }
                  &:nth-of-type(2) {
                    background-color: #1b7ffa;
                  }
                }
              }
            }
            > figure {
              width: 100%;
              height: 70%;
              > img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: top;
                border-radius: 25px;
              }
            }
            > div {
              padding: 25px;
              display: flex;
              justify-content: space-between;
              align-items: center;
              position: relative;
              > div {
                &:nth-of-type(1) {
                  > span {
                    color: #7a7a7a;
                    font-size: 14px;
                    margin-bottom: 5px;
                  }
                  > h4 {
                    font-size: 17px;
                    font-weight: 600;
                    transition: 0.4s ease;
                  }
                }
                &:nth-of-type(2) {
                  position: absolute;
                  right: 25px;
                  width: 40px;
                  height: 40px;
                  background-color: #ee626b;
                  border-radius: 50%;
                  display: flex;
                  justify-content: center;
                  align-items: center;
                  transition: 0.4s ease;
                  > a {
                    color: white;
                    font-size: 18px;
                  }
                }
              }
            }
          }
          /*--------------- card4 -----------*/
          &:nth-of-type(4) {
            width: 100%;
            height: 427px;
            margin: 0 0px 30px;
            background-color: #eeeeee;
            border-radius: 25px;
            cursor: pointer;
            &:hover {
              > div {
                > div {
                  &:nth-of-type(1) {
                    > h4 {
                      color: #1b7ffa;
                    }
                  }
                  &:nth-of-type(2) {
                    background-color: #1b7ffa;
                  }
                }
              }
            }
            > figure {
              width: 100%;
              height: 70%;
              > img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: top;
                border-radius: 25px;
              }
            }
            > div {
              padding: 25px;
              display: flex;
              justify-content: space-between;
              align-items: center;
              position: relative;
              > div {
                &:nth-of-type(1) {
                  > span {
                    color: #7a7a7a;
                    font-size: 14px;
                    margin-bottom: 5px;
                  }
                  > h4 {
                    font-size: 17px;
                    font-weight: 600;
                    transition: 0.4s ease;
                  }
                }
                &:nth-of-type(2) {
                  position: absolute;
                  right: 25px;
                  width: 40px;
                  height: 40px;
                  background-color: #ee626b;
                  border-radius: 50%;
                  display: flex;
                  justify-content: center;
                  align-items: center;
                  transition: 0.4s ease;
                  > a {
                    color: white;
                    font-size: 18px;
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  #sectionCategories {
    width: 85%;
    /* border: 1px solid red; */
    margin: 0 auto;
    > h3 {
      color: #ee626b;
      text-align: center;
      font-size: 15px;
      text-transform: uppercase;
    }
    > h5 {
      text-align: center;
      margin: 20px 0 50px;
      font-size: 36px;
      text-transform: uppercase;
    }
    /*------------ cards ----------------*/
    > div {
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      > div {
        height: 473px;
        width: 100%;
        background-color: #0066e1;
        border-radius: 25px;
        margin: 20px 0 0;
        /*--------------- card 1 ------------*/
        &:nth-of-type(1) {
          > h6 {
            height: 15%;
            text-align: center;
            padding: 25px;
            font-size: 17px;
            color: white;
          }
          > figure {
            width: 100%;
            height: 85%;
            > img {
              width: 100%;
              height: 100%;
              object-fit: cover;
              border-radius: 25px;
            }
          }
        }
        /*--------------- card 2 ------------*/
        &:nth-of-type(2) {
          > h6 {
            height: 15%;
            text-align: center;
            padding: 25px;
            font-size: 17px;
            color: white;
          }
          > figure {
            width: 100%;
            height: 85%;
            > img {
              width: 100%;
              height: 100%;
              object-fit: cover;
              border-radius: 25px;
            }
          }
        }
        /*--------------- card 3 ------------*/
        &:nth-of-type(3) {
          > h6 {
            height: 15%;
            text-align: center;
            padding: 25px;
            font-size: 17px;
            color: white;
          }
          > figure {
            width: 100%;
            height: 85%;
            > img {
              width: 100%;
              height: 100%;
              object-fit: cover;
              border-radius: 25px;
            }
          }
        }
        /*--------------- card 4 ------------*/
        &:nth-of-type(4) {
          > h6 {
            height: 15%;
            text-align: center;
            padding: 25px;
            font-size: 17px;
            color: white;
          }
          > figure {
            width: 100%;
            height: 85%;
            > img {
              width: 100%;
              height: 100%;
              object-fit: cover;
              border-radius: 25px;
            }
          }
        }
        /*--------------- card 5 ------------*/
        &:nth-of-type(5) {
          > h6 {
            height: 15%;
            text-align: center;
            padding: 25px;
            font-size: 17px;
            color: white;
          }
          > figure {
            width: 100%;
            height: 85%;
            > img {
              width: 100%;
              height: 100%;
              object-fit: cover;
              border-radius: 25px;
            }
          }
        } /*--------------- card 6 ------------*/
        &:nth-of-type(6) {
          > h6 {
            height: 15%;
            text-align: center;
            padding: 25px;
            font-size: 17px;
            color: white;
          }
          > figure {
            width: 100%;
            height: 85%;
            > img {
              width: 100%;
              height: 100%;
              object-fit: cover;
              border-radius: 25px;
            }
          }
        }
      }
    }
  }
  #shop {
    width: 85%;
    margin: 200px auto 0;
    /* border: 1px solid black; */
    position: relative;
    > div {
      /*----------------- our shop ------------------*/
      &:nth-of-type(1) {
        /* height: 510px; */
        background-color: #f7f7f7;
        border-radius: 25px;
        padding: 25px;
        > h6 {
          margin-top: 20px;
          font-size: 15px;
          color: #ee626b;
        }
        > h2 {
          font-size: 36px;
          margin: 20px 0 30px;
          > span {
            color: #1b7ffa;
          }
        }
        > p {
          font-size: 16px;
          color: #4a4a4a;
          margin-bottom: 20px;
        }
        > a {
          padding: 10px 30px;
          color: white;
          background-color: #ee626b;
          width: 137px;
          height: 50px;
          border-radius: 25px;
          transition: 0.4s ease-in-out;
          margin-top: 50px;
          &:hover {
            background-color: #1b7ffa;
          }
        }
      }
      /*----------------- news letter ------------------*/
      &:nth-of-type(2) {
        margin-top: 20px;
        /* height: 510px; */
        background-color: #f7f7f7;
        border-radius: 25px;
        padding: 25px;
        > h6 {
          margin-top: 20px;
          font-size: 15px;
          color: #ee626b;
        }
        > h2 {
          font-size: 36px;
          margin: 20px 0 50px;
          > span {
            color: #1b7ffa;
          }
        }
        > form {
          display: flex;
          flex-wrap: wrap;
          > input {
            width: 100%;
            height: 50px;
            border-radius: 25px;
            border: none;
            outline: none;
            padding: 0px 20px;
            &::placeholder {
              font-size: 14px;
            }
            &:last-of-type {
              width: 100%;
              height: 50px;
              background-color: #ee626b;
              border-radius: 25px;
              margin-top: 20px;
              font-weight: bolder;
              display: flex;
              justify-content: center;
              align-items: center;
              color: white;
              transition: 0.4s ease-in-out;
              text-transform: uppercase;
              cursor: pointer;
              &:hover {
                background-color: #1b7ffa;
              }
            }
          }
        }
      }
    }
  }
}
footer {
  width: 97%;
  /* height: 400px; */
  padding: 100px 0;
  background-image: url(../images/banner-bg.jpg);
  background-size: cover;
  border-radius: 100px 100px 0 0;
  margin: 80px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  > section {
    width: 250px;
    height: 300px;
    backdrop-filter: blur(100px);
    background-color: rgb(49, 139, 241);
    border: 1px solid rgb(6, 91, 189);
    border-radius: 25px;
    > figure {
      width: 100%;
      height: 60%;
      > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 50% 20%;
        border-radius: 25px;
        border: 0.4px solid rgba(255, 255, 255, 0.548);
      }
    }
    > h1 {
      font-size: 13px;
      text-align: center;
      margin-top: 10px;
      color: white;
      font-weight: bold;
    }
    > h5 {
      font-size: 13px;
      text-align: center;
      margin-top: 10px;
      color: white;
      font-weight: bold;
    }
    > div {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 20px;
      > a {
        > img {
          width: 30px;
          height: 30px;
        }
      }
    }
  }
}
