/*  all    */
body {
  border: 0;
  margin: 0;
  box-sizing: border-box;
  position: relative;
  background-color: rgba(0,0,255,0.1);
  margin-bottom: 50px;
}


@keyframes rotate70 {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(100deg) scale(0.5);
  }
  100% {
    transform: rotate(0deg) scale(1);
  }
}

@keyframes slide {
  0% {
    transform: translatex(-100%);
  }
  100% {
    transform: translatex(100%);
  }
}

@keyframes pop {
  0% {
    transform: rotate(180deg) scale(0);
  }
  50% {
    transform: rotate(90deg)scale(0.5);
  }
  98% {
    transform: scale(1.1);
  }
  100% {
    transform: rotate(0deg) scale(1);
  }
}

.pop {
  animation: pop 1s linear;
}

#move {
  min-width: 70vw;
  color: white;
  font-weight: bold;
  font-size: 1.3em;
  animation: slide 7s linear reverse infinite;
  margin: auto 0;
}
#animated {
  max-width: 30vw;
  height: 30px;
  display: flex;
  overflow: hidden;
  justify-content: center;
  padding: auto 0;
  flex-wrap: no-wrap;
}

.rotate-animation {
  animation: rotate70 0.5s linear;
}

#menu {
  position: fixed;
  background-color: blue;
  width: 100vw;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  padding: 5px 5px 5px 40px;
  margin: 0;
  top: 0;
  left: 0;
}

#sphead {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  padding: 5px;
  margin: 0;
  top: 0;
  left: 0;
}
#hombtn, #search {
  height: 23px;
  font-size: 1.5rem;
  background-color: rgba(255,255,255,0);
  color: black;
  border: none;
}
#homebtn, #allsect, #drop, #slbl, .btn {
  height: 30px;
  font-size: 1.2rem;
  background-color: rgba(255,255,255,0.6);
  color: black;
  font-weight: 1000;
}
#input1 {
  height: 25px;
  margin-bottom: 5px;
}
#input1, #drop {
  width: 30vw;
}
#drop {
  text-align: center;
  margin: 0;
}

/*  outer most section*/
section {
  display: flex;
  padding-top: 40px;
  background-color: rgba(0,0,255,0.2);
  border-radius: 10px;
  margin: 10px;
  flex-direction: column;
}

/*  sidebar all*/
#sidebar {
  box-sizing: border-box;
  margin: 36px 10px 5px 5px;
  display: absolute;
  width: 30vw;
  height: 90vh;
  position: fixed;
  background-color: rgba(0,0,255,0.4);
  color: red;
  border-radius: 0 30px 30px 30px;
}
#sb-in, #sb-down {
  display: flex;
  background-color: rgba(255,255,255,0.6);
  flex-direction: column;
  justify-content: center;
  height: calc(100% - 10px);
  justify-content: space-evenly;
  place-items: center;
  margin: 5px;
  border-radius: 20px;
  text-align: center;
}
#sb-out {
  display: flex;
  background-color: rgba(255,255,255,0.6);
  flex-direction: column;
  justify-content: center;
  height: calc(100% - 10px);
  justify-content: space-evenly;
  place-items: center;
  margin: 5px;
  border-radius: 20px;
  text-align: center;
}
a {
  text-decoration: none;
  color: black;
}
a:hover {
  color: red;
}

/*inner containers
upper part*/
section div {
  width: 95%;
  text-align: center;
  margin: 0 auto;
}
section div h2 {
  color: white;
  background-color: rgba(0,0,255,0.4);
  border-radius: 10px 10px 0 0;
  margin: 0 auto;
}

/*   lower part */
section .box {
  margin: 0 auto 1.5vh auto;
  background-color: white;
  border-radius: 0 0 10px 10px;
}

/*testing */
#sphead {
  height: 30px;
  background-color: rgba(0,0,200,0.5);
  margin-bottom: 10px;
  width: 95%;
  margin: 0 auto;
}
head .icon {
  border-radius: 50%;
}
.items {
  padding-bottom: 15px;
  padding-top: 10px;
}
.item {
  display: inline-block;
  background-color: lightblue;
  width: 160px;
  min-height: 250px;
  margin: 5px 0 0 5px;
  border-radius: 7px;
}
.img {
  height: 165px;
  width: 150px;
  margin: 5px 5px -5px 5px;
  background-color: white;
}
.img2 {
  width: 90vw;
  margin: 10px auto;
  background-color: white;
}
@media only screen and (max-width: 460px) {

  .item {
    display: inline-block;
    background-color: lightblue;
    width: 115px;
    min-height: 0px;
    margin: 1px 0 0 1px;
    border-radius: 3px;
  }
  .img {
    height: 112px;
    width: 112px;
    margin: 1px 1px -5px 1px;
    background-color: white;
  }
  .img2 {
    width: 80vw;
  }
  #input1 {
    display: none;
  }
  #animated {
    min-width: 60vw;
  }
  #move {
    min-width: 120vw;
  }
  .hh {
    display: none;
  }
  #menu {
    padding: 5px 5px 5px 5px;
  }
@media only screen and (max-width: 300px) {
    #input1 {
      display: none;
    }
    #animated {
      max-width: 0;
    }
    #move {
      max-width: 0;
    }
    .hh {
      display: none;
    }
    #menu {
      padding: 5px 5px 5px 5px;
    }
    #allsect {
      min-width: 0;
      font-size: 0.5em;
    }
    body {
      font-size: 0.4rem;
    }
    #hombtn{
      font-size: 1em;
    }
    #menu {
      min-height: 0px;
    }
  }

}

.p1, .p2 {
  font-weight: bold;
}
.p1 {
  color: green;
}
.p2 {
  color: red;
}

/*mainly for about.html*/
.abouttxt {
  text-align: center;
  margin: 50px;
  font-size: 20px;
  display: flex;
  align-content: center;
  flex-direction: column;
}

.form {
  text-align: center;
  margin: 50px;
  align-content: center;
  font-size: 30px;
}

/*mainly for cont.html*/
#ta {
  height: 400px;
  font-size: 20px;
  width: 80vw;
  margin: auto;
}
.txt, #ta {
  text-align: center;
  font-size: 30px;
  align-items: center;
}
#audio, #video {
  margin: auto;
  padding: auto;
}
#warn {
  font-family: Helvetica;
  font-style: bold;
}
/*mainly for desc.html*/
#mkorder, #rev, #more, #nxtstep, #porder {
  max-width: 300px;
  margin: 10px auto;
  border-radius: 10px;
}
.input, .ord {
  margin: 10px auto;
  border-radius: 10px;
}
.ord {
  font-size: 1.2em;
  max-width: 60vw;
  display: block;
}
#discount {
  color: red;
}
#price {
  color: green;
}
.d {
  display: flex;
  overflow: hidden;
  font-size: 1.1em;
}
.dp {
  display: flex;
}
.dt1 {
  min-width: 30%;
  max-width: 30%;
  text-align: left;
  padding: 10px auto;
}
.dt2 {
  min-width: 60%;
  max-width: 60%;
  text-align: left;
  padding: 10px auto;
}
.sep {
  margin: auto 5px;
}

/* footer */
footer {
  text-align: center;
}

.bottom {
  display: flex;
  position: fixed;
  bottom: 0;
  width: 100vw;
  justify-content: space-evenly;
  padding: 2px;
  background-color: rgba(0,0,0,0.7);
}
.bottom button {
  padding: 2px 10px;
  font-size: 2em;
  background-color:rgba(255,255,255,0.2);
  border: none;
  color: white;
}