:root {
  /* brand colors */
  --mm-pink: #FECAE9;
  --mm-blue: #6984E9;
  --mm-yellow: #E6FF9B;
  --mm-dark-brown: #392015;
  --mm-light-brown: #824F38;
  --mm-peach: #F88E6E;
  --mm-red: #D54013;
  --mm-gray: #969696;
  --mm-dark-gray: #696969;

  /* text colors */
  --light-text: var(--mm-yellow);
  --medium-text: var(--mm-light-brown);
  --dark-text: var(--mm-dark-brown);
}

body {
  overflow-x: hidden;
  
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;

  background-color: var(--mm-pink);
  color: var(--dark-text);
}

a {
  text-decoration: none;
  color: var(--medium-text);
}
a:hover {
  color: var(--light-text);
}
.section-light-brown a {
  color: var(--light-text);
}
.section-light-brown a:hover,
.section-yellow a:hover {
  color: var(--dark-text);
}

.header {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  background-color: var(--mm-pink);

  border-bottom: 2px solid var(--mm-dark-brown);

  padding: 10px 0;
}
.header a {
  color: var(--dark-text);
}
.header a:hover {
  color: var(--medium-text);
}
.header a.current-page {
  text-decoration: underline;
}

ul {
  text-align: center;
  display: inline-block;
  text-align: left;
}

.section-pink,
.section-blue,
.section-yellow,
.section-light-brown,
.section-peach,
.section-red {
  border-bottom: 2px solid var(--mm-dark-brown);
}
.section-pink {
  background-color: var(--mm-pink);
  color: var(--dark-text);
}
.section-blue {
  background-color: var(--mm-blue);
  color: var(--dark-text);
}
.section-yellow {
  background-color: var(--mm-yellow);
  color: var(--dark-text);
}
.section-dark-brown {
  border-bottom: 2px solid black;
  background-color: var(--mm-dark-brown);
  color: var(--light-text);
}
.section-light-brown {
  background-color: var(--mm-light-brown);
  color: var(--light-text);
}
.section-peach {
  background-color: var(--mm-peach);
  color: var(--dark-text);
}
.section-red {
  background-color: var(--mm-red);
  color: var(--dark-text);
}

.center-text,
.section-center {
  text-align: center;
}
.left-text,
.section-left {
  text-align: left;
}
.right-text,
.section-right {
  text-align: right;
}

.section-center,
.section-left,
.section-right {
  padding: 50px;

  /* flexbox to horizontally center section content even if it doesn't span the full width of the section */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-full-width {
  padding: 50px 0;
}

.margin-top {
  margin-top: 30px;
}

.width-80 {
  width: 80%;
}

.xs-text {
  font-size: 20px;
}
.sm-text {
  font-size: 25px;
}
.md-text {
  font-size: 40px;
}
.lg-text {
  font-size: 70px;
}

.light-text {
  color: var(--light-text);
}
.dark-text {
  color: var(--dark-text);
}

.no-break {
  white-space: nowrap;
}

button,
.button {
  border: 2px solid var(--mm-dark-brown);
  border-radius: 10px;
  padding: 10px;
  font-size: 25px;
}
button:hover,
.button:hover {
  cursor: pointer;
}
.btn-pink {
  background-color: var(--mm-pink);
  color: var(--dark-text);
}
.btn-blue {
  background-color: var(--mm-blue);
  color: var(--dark-text);
}
.btn-yellow {
  background-color: var(--mm-yellow);
  color: var(--dark-text);
}
.btn-dark-brown {
  border-color: black;
  background-color: var(--mm-dark-brown);
  color: var(--light-text);
}
.btn-light-brown {
  background-color: var(--mm-light-brown);
  color: var(--light-text);
}
.btn-peach {
  background-color: var(--mm-peach);
  color: var(--dark-text);
}
.btn-red {
  background-color: var(--mm-red);
  color: var(--dark-text);
}
.btn-pink:not(:disabled):hover,
.btn-blue:not(:disabled):hover,
.btn-yellow:not(:disabled):hover,
.btn-dark-brown:not(:disabled):hover,
.btn-red:not(:disabled):hover {
  background-color: var(--mm-peach);
}
.btn-light-brown:not(:disabled):hover {
  background-color: var(--mm-dark-brown);
  border-color: black;
}
.btn-peach:not(:disabled):hover {
  background-color: var(--mm-pink);
}

input:read-only,
textarea:read-only,
button:disabled,
.button:disabled {
  cursor: not-allowed;
  opacity: 60%;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;

  background-color: var(--mm-light-brown);
  border: 2px solid var(--mm-dark-brown);
  color: var(--light-text);
  border-radius: 20px;
  padding: 40px;

  /* not sure where this is coming from but let's remove it */
  margin-block-end: 0;
}

form button[type="submit"] {
  width: 100%;
}

input,
textarea {
  margin-left: 10px;
  background-color: var(--mm-pink);
  border-style: none;
  border: 2px solid var(--mm-dark-brown);
  border-radius: 5px;
  color: var(--medium-text);
  caret-color: var(--mm-light-brown);
}
input {
  height: 27px;
  vertical-align: middle;
}
textarea {
  vertical-align: top;
}
input:focus,
textarea:focus {
  outline: none;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px var(--mm-pink) inset;
  -webkit-text-fill-color: var(--medium-text);
}

#contact-form-statuses {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding-top: 10px;
}
#contact-form-loading,
#contact-form-error,
#contact-form-success {
  grid-row-start: 1;
  grid-column-start: 1;

  opacity: 0;
}

.rows-on-mobile {
  display: block;
}

/* this gets set to a grid in the desktop breakpoint */
.booking-grid {
  display: block;
}

img {
  max-width: 100%;
  object-fit: contain;
  overflow: hidden; /* removes any extra height/width so the border goes around the image only, not around any extra space around the image */
}

.upcoming-flyers-container,
.early-flyers-container {
  display: flex;
  flex-direction: row;
  width: 100%; /* fill width and don't exceed */
  justify-content: space-evenly; /* space out horizontally */
  align-items: center; /* center align vertically */
  flex-wrap: wrap;
  row-gap: 30px;
}
.upcoming-flyer,
.early-flyer {
  width: 30%; /* fit 3 flyers; 30% width each for a total of 90% (some width leftover for spacing) */
  height: auto; /* so the flyers doesn't stretch vertically */
  border: 2px solid var(--mm-dark-brown);
}

.flex-img-container {
  display: flex;
  flex-direction: row;
  width: 100%; /* fill width and don't exceed */
  justify-content: space-evenly; /* space out horizontally */
  align-items: center; /* center align vertically */
  flex-wrap: wrap;
  row-gap: 30px;
}
.flex-img {
  width: 23%; /* fit 4 flyers; 23% width each for a total of 69% (some width leftover for spacing) */
  height: auto; /* so the flyers doesn't stretch vertically */
  border: 2px solid var(--mm-dark-brown);
}

.border {
  border: 2px solid var(--mm-dark-brown);
}

.glow {
  border: 2px solid black;
  box-shadow: 0px 0px 40px gold;
}

hr {
  border-style: none;
  height: 2px;
  background-color: var(--mm-dark-brown);
  width: 25%;
}

/* home page phone keypad */
#phone-keypad {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--mm-dark-gray);
}
#phone-keypad a.button {
  border-radius: 0;
  border: 1px solid var(--mm-dark-gray);
  
  /* make the keypad buttons a little more square and increase the font size to fill the space more */
  aspect-ratio: 1.75;
  font-size: 35px;

  /* align vertically and horizontally */
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-white {
  background-color: white;
  color: black;
}
.btn-black {
  background-color: black;
  color: white;
}
.btn-white:hover {
  background-color: var(--mm-gray);
  color: black;
}
.btn-black:hover {
  background-color: var(--mm-gray);
  color: white;
}

/* desktop only */
@media only screen and (min-width: 1025px) {
  .booking-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Creates two columns: one 1/3 width, one 2/3 width */
    gap: 30px;
  }
}

/* BOTH tablet and mobile */
@media only screen and (max-width: 1024px) {
  .lg-text {
    font-size: 40px;
  }

  .header .lg-text {
    font-size: 10vw;
  }

  .section-center,
  .section-left,
  .section-right,
  .section-full-width {
    padding: 30px;
  }

  form {
    padding: 20px;
  }
}

/* tablets & landscape mobile -ish */
@media only screen and (min-width: 600px) and (max-width: 1024px) {
  .flex-img {
    width: 45%;
  }

  .upcoming-flyer,
  .early-flyer {
    width: 90%;
  }
}

/* mobile -ish */
@media only screen and (max-width: 599px) {
  .rows-on-mobile {
    display: grid;
    grid-template-rows: auto;
    gap: 5px;
  }

  .hide-on-mobile {
    display: none;
  }

  .flex-img,
  .upcoming-flyer,
  .early-flyer {
    width: 90%;
  }

  #phone-keypad a.button {
    padding: 5px;
    font-size: 25px;
  }
}