html {
  font-size: 62.5%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background-color: #1c1c1c;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 1.5rem;
  color: #ffffff;
}

.container {
  width: 49rem;
  /* height: 69rem; */
  height: auto;
  background-color: #1f2937;
}

header {
  background-color: #3a69d2;
  margin: 0;
  margin-top: -2rem;
  height: 18rem;
  text-align: center;
  padding-top: 2.6rem;
}

h1 {
  margin-bottom: 0;
  font-size: 3.4rem;
}

header p {
  margin-top: 0.4rem;
}

.cost-items {
  display: flex;
  justify-content: space-evenly;
  margin-top: 2.3rem;
}

.cost-items .btn {
  background: #d1d4f4;
  border-radius: 7px;
  padding: 1rem 1.8rem;
  color: #000;
  cursor: pointer;
}

.sub-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2.6rem 2.4rem;
  margin-bottom: 0.6rem;
}

hr {
  width: 44rem;
}

.footer-header {
  display: flex;
  justify-content: space-between;
  margin: 0 2.4rem;
}

h2 {
  font-size: 4rem;
  margin: 0;
  text-align: right;
}

button {
  background: #3a69d2;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
  border-radius: 7px;
  border: 0;
  margin: 4rem 2.4rem;
  margin-bottom: 2.8rem;
  width: 90%;
  color: #ffffff;
  font-size: 1.5rem;
  padding: 1rem;
  cursor: pointer;
}

img {
  width: 1.6rem;
  margin-top: 0.5rem;
  margin-right: 0.5rem;
}

.item {
  display: flex;
  justify-content: center;
  margin: 0 2.4rem;
}

.item-title {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
  margin-right: 2.5rem;
}

#remove {
  margin-right: auto;
  font-size: 1rem;
  margin-top: 2rem;
  cursor: pointer;
}

.item-price {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
}

.items {
  margin-bottom: 2rem;
}

#email-invoice {
  margin: 0 2.4rem;
  margin-bottom: 4rem;
}

.show {
  display: none;
}

label {
  display: block;
  width: 100%;
  margin-bottom: 0.8rem;
}

input {
  padding: 0.8rem 2rem;
  width: 70%;
  border-radius: 6px;
  border: 2px solid dodgerblue;
  outline: none;
}

#submit {
  width: 30%;
  margin: 2rem 0;
  border-radius: 6px;
}

#error,
#error-email {
  color: red;
  margin: 0;
}

.error-display,
.email-display {
  display: none;
}
