html, body {
  margin: 0px;
  padding: 0px;
  min-height: 100vh;
  min-width: 100%;

  font-family: 'Roboto', sans-serif;
  position: relative;
}

.parent {
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.header, .footer {
  display: block;
  height: 200px;
  background: white;
  text-align: center;
}

.header {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  align-content: center;
}

.header img {
  margin-top: 50px;
}
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
}

#content {
  background: #cacaca;
  min-height: calc(100vh - 400px);
  display: flex;
  justify-content: center;
  background-image: radial-gradient(white 1px, transparent 1px),radial-gradient(white 1px, transparent 1px);
    background-size: calc(20 * 1px) calc(20 * 1px);
    background-position: 0 0,calc(10 * 1px) calc(10 * 1px);

}

.payment-box {
  max-width: 80%;
  width: 600px;
  border-radius: 5px;
  background: white;
  border: 1px solid #e7e5e5;
  position: relative;
  padding: 15px;
  top: -56px;
  -webkit-box-shadow: 2px 2px 15px 2px #787777;
  box-shadow: 2px 2px 15px 2px #787777;
}

.payment-logo {
  width: 100%;
  text-align: right;
  border-bottom: 1px solid #e7e5e5;
  background: #e7e5e5;
  margin: -15px;
  padding: 15px;
  border-radius: 4px 4px 0px 0px;
}

.btn-success {
  width: 100%;
  height: 45px;
  line-height: 40px;
  background: black;
  color: white;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 20px;
  border: 2px solid black;
  border-radius: 4px;
  cursor: pointer;
}

.btn-success:hover {
  background: #2d85f3;
  color: white;
  border:2px solid #195db1;
  -webkit-box-shadow: 2px 2px 15px 2px #787777;
  box-shadow: 2px 2px 15px 2px #787777;

}

.payment-content {
  padding-top: 20px;
  padding-bottom: 20px;
}

.payment-content h1 {
  display: block;
  width: 100%;
  text-decoration: underline;
}

.payment-elements {
  display: flex;
  justify-content: center;
  width: 100%;
  justify-content: space-between;
  margin-top: 33px;

}
.payment-elements > div {
  display: inline-block;
  width: 100%;
  margin: 5px;
  padding: 20px;
  border-radius: 4px;
  background: #e7e5e5;
  border: 1px solid #e7e5e5;
}


.payment-elements > div h3 {
  color: #4c4340;
  font-size: 26px;
  margin-top: 0px;
}

.payment-elements > div p {
    font-size: 48px;
    text-align: center;
    margin-bottom: 0px;
    font-weight: bold;
}

.payment-content-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  text-transform: uppercase;
  font-size: 12px;
}
.payment-content-footer img {
  width: 24px;
  margin-right: 10px;
}

@media only screen and (max-width: 767px) {
  .payment-elements {
    display: block;
  }
  .payment-elements > div {
    display: block;
    width: auto;
  }
}

.payment-content.error {
  border: 1px solid red;
  border-radius: 4px;
  background: #ff000040;
  margin: 20px;
  margin-top: 50px;
  padding: 20px;
}
