* {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  text-transform: capitalize;
  transition: all 0.2s linear;
}

body {
  background-color: #eee;
  text-align: center;
  box-sizing: border-box;
}
.container {
  padding: 15vw 3vw 0;
  min-height: 100vh;
  box-sizing: border-box;
}
.container .search {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 3vw;
  background-color: #eee;
  z-index: 1;
}
.container #search-box {
  width: 100%;
  border: 3px solid #000;
  padding: 3vw 12vw 3vw 3vw;
  font-size: 5.5vw;
}

.container .clear {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 5vw;
  font-size: 9vw;
  background: #9d9c9c;
  width: 6vw;
  height: 6vw;
  border-radius: 50%;
  display: none;
  z-index: 2;
}
.container .clear.active {
  display: block;
}

.container .clear::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 3px;
  height: 60%;
  background: #fff;
}
.container .clear::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 3px;
  height: 60%;
  background: #fff;
}
.container .image-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 30px;
}

.container .image-container .image {
  padding: 15px;
  background-color: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  border: 2px solid #000;
  width: 100%;
  border-radius: 5px;
  animation: fadeIn 0.2s linear;
}

@keyframes fadeIn {
  0% {
    transform: scale(0.5) translateY(-10px);
    opacity: 0;
  }
}

.container .image-container .image img {
  height: auto;
  width: 100%;
  margin-bottom: 10px;
  border-radius: 5px;
}
.container .image-container .image h3 {
  font-size: 5.5vw;
  margin-bottom: 1vw;
}
.container .image-container .image h4 {
  font-size: 5.5vw;
  margin-bottom: 1vw;
  color: #0006ff;
}

.container .image-container .image p.price {
  font-size: 5.5vw;
  font-weight: bold;
  color: #c50909;
}
.back {
  position: fixed;
  bottom: 5vw;
  width: 17vw;
  height: 17vw;
  background: rgba(191, 16, 16, 0.8);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0px 0px 11px #000;
}
.back-to-top {
  right: 3vw;
}
.back-to-bottom {
  left: 3vw;
}
.back span {
  color: #fff;
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

footer {
  background: #000;
  color: #fff;
  margin-top: 15vw;
  padding: 9vw 0;
  font-size: 6vw;
  letter-spacing: 0.04em;
  font-weight: bold;
}
