:root {
  --green: #008d77;
  --gold: #f6bc1c;
  --textGrey: #3e484e;
}

.page-intro {
  height: 65vh;
  width: 100vw;
}

.page-intro img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.about-content {
  display: flex;
  flex-direction: row;
  width: 80%;
  margin: auto;
  margin-top: 48px;
  padding-bottom: 40px;
  justify-content: center;
  gap: 36px;
  flex-grow: 0;
  flex-shrink: 0;
}

.about-content .header {
  flex-basis: 40%;
}

.about-content h2 {
  font-size: 2.4rem;
  font-family: "Iceberg";
  font-weight: 500;
  color: var(--green);
}

.about-content .header .available {
  border-radius: 8px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.15);
  padding: 16px 16px 24px 16px;
  width: 350px;
  margin-top: 20px;
}

.about-content .header p.days {
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.6rem;
  text-transform: uppercase;
  font-family: "Smooch Sans";
}

.about-content .header p.times {
  font-size: 2.2rem;
  line-height: 2rem;
  margin-top: 6px;
  font-weight: 600;
  color: var(--green);
}

.office {
  margin-top: 24px;
  border-radius: 8px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.15);
  padding: 16px 16px 24px 16px;
  width: 350px;
  margin-top: 20px;
}

.office h6 {
  font-size: 1.75rem;
  font-family: "Advent Pro";
  font-weight: 500;
  color: var(--green);
}

.office pre,
.office p {
  font-weight: 500;
  font-size: 1.1rem;
  margin-top: 12px;
}

.office span {
  font-weight: 400;
  color: var(--green);
  font-size: 1.1rem;
  font-family: "Iceberg";
}

.about-content .content {
  flex-basis: 60%;
}

.about-content .content p {
  font-size: 1.1rem;
  line-height: 2rem;
  font-weight: 400;
  color: var(--textGrey);
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

@media screen and (max-width: 600px) {
  .about-content {
    flex-direction: column;
    width: 90%;
    gap: 30px;
  }

  .about-content .header {
    width: 80%;
  }

  .about-content .header p {
    margin-top: 8px;
  }

  .about-content .content {
    margin-top: 14px;
    width: 100%;
  }
}

form {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 16px;
}

form input {
  width: 48%;
  border-radius: 12px;
  border: 1.5px black solid;
  outline: 0px;
  font-size: 1rem;
  padding: 16px 16px;
  font-weight: 500;
}

form input::placeholder {
  color: var(--textGrey);
  opacity: 1;
  font-weight: 400;
  font-size: 1rem;
}

form input:focus,
form textarea:focus {
  outline: none;
  border: 2px var(--green) solid;
}

form textarea {
  margin-top: 8px;
  width: 100%;
  min-height: 150px;
  border-radius: 8px;
  padding: 12px;
  font-size: 1rem;
  border: 1.75px black solid;
  font-weight: 500;
}

form textarea::placeholder {
  font-size: 1rem;
  color: var(--textGrey);
  font-weight: 400;
}

#submit-btn {
  cursor: pointer;
  width: 100%;
  font-weight: 600;
  border: none;
  margin-top: 16px;
  font-size: 1.2rem;
}

#submit-btn.ready {
  background-color: var(--green);
  color: white;
}

#google-map {
  width: 80%;
  height: 450px;
  border-radius: 8px;
  margin: 24px auto;
  display: block;
    border: 0px;
}

.snackbar {
    position: fixed;
    bottom: 4px;
    left: 8px;
    right: 8px;
    background-color: white;
    display: block;
    border-radius: 8px;
    min-height: 40px;
    transition: all 1s;
    width: 100%;
    padding: 16px 10px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.snackbar:not(.success):not(.error) {
    width: 0px;
    overflow: hidden;
    padding: 0px;
}

.snackbar.success p, .snackbar.error p {
    display: block;
}

.snackbar p {
    font-size: 1.1rem;
    font-weight: 600;
    display: none;
    transition: all 1s;
}

.snackbar.success p span {
    color: var(--green);
}

.snackbar.error p span {
    color: rgb(255, 31, 91);
}

@media screen and (max-width: 600px) {
  form {
    justify-content: space-between;
  }

  form input {
    width: 100%;
  }

  form input:first-child,
  form input:nth-child(2) {
    width: 48%;
  }

  #google-map {
    width: 90%;
    height: 300px;
  }
}
