* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: #e2cfe2;
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: "raleway", "poppins", "Gill Sans", "Gill Sans MT", "Trebuchet MS",
    sans-serif;
  font-size: 1.125rem;
  line-height: 1.2rem;
}

h1 {
  font-size: 3rem;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

h2 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.highlight {
  color: #8c1784;
}

.container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  width: 97vw;
  flex-wrap: wrap;
}

.image-container {
  position: relative;
  flex: 1;
  min-height: 100vh;
}

.image-container img {
  position: fixed;
  top: 0;
  left: 0;
  width: 47vw;
  height: 100vh;
  object-fit: cover;
}

.form-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: auto;
  margin-top: 2rem;
  margin-bottom: 2rem;
  background-color: #ececece5;
  border-radius: 1rem;
  height: auto;
  width: 50vw;
  box-shadow: 0 4px 10px rgb(0 0 0 / 0.2);
}

.price-banner {
  position: fixed;
  top: 2%;
  right: 54%;
  background-color: #ececec;
  color: #000;
  border-radius: 50%;
  width: 6rem;
  height: 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  box-shadow: 0 4px 10px rgb(0 0 0 / 0.2);
}

input,
select,
button {
  padding: 1rem;
  margin: 1rem;
  border-radius: 8px;
  font-size: 16px;
  background-color: #fff;
  border: 1px #e2cfe2 solid;
  box-shadow: 0 4px 10px rgb(0 0 0 / 0.2);
  flex-wrap: wrap;
}

input[type="checkbox"],
input [type="radio"] {
  transform: scale(1.5);
  margin-right: 1rem;
  margin-top: 1rem;
}

#orderSummary {
  margin-top: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

#summaryText {
  color: #000;
  background-color: #dfdddd;
  box-shadow: 0 4px 10px rgb(0 0 0 / 0.2);
  border-radius: 1rem;
  padding: 1rem;
  font-size: 1.1rem;
  line-height: 1.5;
}

#summaryText:hover {
  transform: scale(1.1);
}

#seeOrder {
  background-color: #dcafd9;
  padding: 1rem;
  border: 2px #dcafd9 solid;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgb(0 0 0 / 0.2);
  flex-wrap: wrap;
}

#orderButton {
  padding: 1rem 5rem 1rem 5rem;
  margin-bottom: 3rem;
  font-size: 1.2rem;
  background-color: #dcafd9;
  border: 2px #dcafd9 solid;
  border-radius: 0.8rem;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgb(0 0 0 / 0.2);
  flex-wrap: wrap;
}

#orderButton:hover {
  transform: scale(1.1);
}

#orderButton:active {
  transform: scale(1.05);
}

#seeOrder:hover {
  transform: scale(1.1);
}

#seeOrder:active {
  transform: scale(1.05);
}

#menuNav {
  flex-wrap: flex;
  font-size: 1rem;
  padding-bottom: 1rem;
}

#menuNav:hover {
  transform: scale(1.1);
}

@media (max-width: 1200px) {
  * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  body {
    background-image: url(images/pancakeBackgroundMedium-min.webp),
      url(images/pancakeBackupMedium-min.webp);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-size: 1.125rem;
    line-height: 1.2;
  }
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  .image-container {
    display: none;
  }
  .container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    width: 100vw;
    flex-wrap: wrap;
    padding: rem;
  }
  .form-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fffffff2;
    width: auto;
    padding: 2rem;
    margin: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgb(0 0 0 / 0.2);
  }
  input,
  select,
  button {
    padding: 10px;
    margin: 12px;
    border-radius: 8px;
    font-size: 16px;
    background-color: #fff;
    border: #e2cfe2;
    box-shadow: 0 4px 10px rgb(0 0 0 / 0.2);
  }
  #totalPriceText {
    background-color: #8c1784;
  }
  #orderButton {
    padding: 1rem 5rem 1rem 5rem;
    font-size: 1.2rem;
    background-color: #dcafd9;
    border: 2px #dcafd9 solid;
    border-radius: 0.8rem;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgb(0 0 0 / 0.2);
    flex-wrap: wrap;
  }
  #seeOrder {
    background-color: #dcafd9;
    padding: 10px;
    border: #dcafd9;
    margin: 12px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgb(0 0 0 / 0.2);
  }
  input[type="checkbox"] {
    transform: scale(1.5);
    margin-right: 5%;
    margin-top: 5%;
  }
  input[type="radio"] {
    transform: scale(1.5);
    margin-right: 5%;
    margin-top: 5%;
    margin-bottom: 12%;
  }
  #orderButton:hover {
    transform: scale(1.1);
  }
  #orderButton:active {
    transform: scale(1.05);
  }
  #seeOrder:hover {
    transform: scale(1.1);
  }
  #seeOrder:active {
    transform: scale(1.05);
  }
}

#menuNav {
  color: #c35ca6;
  font-size: 1rem;
  cursor: pointer;
  padding-bottom: 0.5rem;
}

@media (max-width: 768px) {
  body {
    background-image: url(images/pancakeBackgroundSmall-min.webp),
      url(images/pancakeBackupSmall-min.webp);
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  p {
    font-size: 1rem;
  }
}

@media (max-width: 375px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.125rem;
  }
  p {
    font-size: 0.875rem;
  }
}
