@import url(../css/global_styles.css);

:root {
  --primary-color: #fdce58;
  --secondary-color: #2aa42a;
  --hover-color: #beb4b4;
  --shadow: #4ababe;
}

.form_input {
  display: flex;
  height: 40px;
  margin: 10px;
  width: 261px;
  font-size: 26px;
  margin: 10px auto;
}

input[type="submit"] {
  background-color: var(--secondary-color);
  border: none;
  width: 273px;
  height: 71px;
  font-size: 20px;
  box-shadow: var(--shadow) 0px 3px 6px;
  margin: 20px auto;
}

input[type="submit"]:hover,
.cancel:hover {
  background-color: var(--hover-color);
}

.cancel {
  display: inline-block;
  background-color: red;
  text-decoration: none;
  color: black;
  font-size: 20px;
  width: 273px;
  height: 71px;
  text-align: center;
  line-height: 71px;
  box-shadow: var(--shadow) 0px 3px 6px;
  margin: 20px auto;
}

.booking_time {
  margin: 20px;
  display: flex;
  flex-direction: column;
  margin: auto;
}

.information {
  border: solid lightgray 1px;
  max-width: 812px;
  display: flex;
  flex-direction: column;
  margin: 20px auto;
}

h2 {
  display: flex;
  justify-content: center;
}
.buttons {
  display: flex;
  flex-wrap: wrap;
}

label {
  display: flex;
  justify-content: center;
}

.booking_info {
  display: flex;
  flex-wrap: wrap;
  margin: auto;
}

.payment {
  margin: 0px auto;
}
.buttons {
  margin: auto;
  flex-wrap: wrap;
}
form {
  border: solid lightgray 1px;
  max-width: 812px;
  margin: auto;
}

p {
  margin: 0px 0px 10px 10px;
  display: flex;
  flex-wrap: wrap;
}

.text {
  max-width: 600px;
  margin: 14px auto;
}

@media (min-width: 900px) {
  .information,
  form {
    min-width: 812px;
  }
  .booking_info {
    display: flex;
    margin: auto;
  }

  .cancel {
    margin: 20px;
  }
}
