body{
  font-family: "Montserrat", sans-serif;
}

h1 {
  font-family: "Sport", sans-serif;
  font-size: 2.5em;
}

main {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

#betala form {
  width: 380px;
}

#betala form button[type="submit"] {
  width: 100%;
}

#post-stad {
  display: flex;
  gap: 30px;
}

.stad, .post {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.stad label, .post label {
  margin: 0;
}

.stad input, .post input {
  width: 100%;
}

input {
  width: 100%;
}

#cart-grid {
  margin: auto 0;
  display: grid;
  width: max-content;
  gap: 30px;
  grid-template-columns: repeat(3, 1fr);
}

.cart-card {
  display: flex;
  gap: 20px;
}

.cart-card img{
  aspect-ratio: 1 / 1;
  object-fit: cover;
  overflow: hidden;
  border-radius: 18px;
  width: 150px;
  border: 1px solid rgb(187, 187, 187);
}

.card-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.card-price {
  font-size: 18px;
  font-weight: bold;
}

.card-qty button {
  padding: 4px 7px;
  border-radius: 99px;
  border: none;
}

form button {
  align-self: center;
  justify-self: center;
}

@media (max-width: 1000px) {
  main {
    flex-direction: column;
  }

  #cart-grid {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  #betala form {
    width: 100%;
  }
}

@media (max-width: 600px) {
  #cart-grid {
    grid-template-columns: 1fr;
  }

  .cart-card img {
    width: 100px;
  }

  #post-stad {
    flex-direction: column;
    gap: 0;
  }
}