* {
  box-sizing: border-box;
}

body {
  font-family: Helvetica;
  background-color: rgb(30,30,35);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100vh;
  margin: 0;
  padding: 0;
}

h1 {
  margin: 0;
  font-size: 3em;
  text-align: center;
  margin-bottom: 30px;
}

.wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 10px;
}

input {
  font-family: Helvetica;
  color: white;
  border: 3px solid rgb(40,40,45);
  padding: 17px;
  padding-left: 45px;
  letter-spacing: 1px;
}

.icon {
  width: 20px;
  fill: white;
  position: absolute;
  top: 18px;
  left: 14px;
}

input:focus {
  outline: none;
  border-color: rgb(50, 50, 55);
}

.box, input {
  background-color: rgb(40,40,45);
  border-radius: 3px;
  font-size: 14px;
}

.box {
  padding: 20px;
  position: relative;
}

.box img {
  width: 100%;
  border-radius: 3px;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

.box svg {
  height: 20px;
  fill: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgb(40,40,45);
}

.right {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.left {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.middle {
  margin-left: 5px;
  margin-right: 5px;
}

.box-flex {
  display: flex;
  position: relative;
}

@media screen and (max-width: 500px) {
  .full {
    width: 10rem;
  }
}

@media screen and (min-width: 500px) {
  .full {
    width: 20rem;
  }
}
@media screen and (min-width: 700px) {
  .full {
    width: 30rem;
  }
}
