@media (max-width: 767px) {
  body {
    width: 100%;
    margin: 0;
    font-family: "Assistant", sans-serif;
    --main-theme: #edd3c7;
    /* --main-theme: #f5d7f3; */

    --main-theme-pressed: #eedcd3;

    --english-font: "Raleway", sans-serif;

    display: flex;
    flex-direction: column;
    min-height: 100svh;

    -webkit-tap-highlight-color: transparent;
    /* for Chrome on Android */
    outline: none;
    /* for most browsers */
    box-shadow: none;
    /* for some browsers or if you are using Bootstrap */
  }

  .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
  }

  .page-header p,
  .page-header a {
    font-size: 4vw;
    font-family: var(--english-font);
    cursor: pointer;
  }

  #my-own {
    display: flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
  }
  #my-own-logo {
    margin-left: 3px;
  }

  #service-name,
  #choose,
  #selected-date-text {
    text-align: right;
    margin-right: 10%;
  }

  #time-slots {
    max-width: 90%;
    margin-left: 5%;
  }

  /* #time-slots p { */
  /* margin-right: 5%; */
  /* } */

  .time-slots-container {
    direction: rtl;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2vh;
  }

  .time-slots-div {
    width: 90%;
    direction: rtl;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .time-slots-container input[type="radio"] {
    display: none;
  }

  .time-slots-div label {
    background-color: white;
    color: 0;
    border: black solid 1px;
    margin: 2%;
    padding-top: 1vh;
    padding-bottom: 1vh;
    text-align: center;
    width: 28.5%;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 18px;
    transition: background-color 0.3s ease, border 0.3s ease;
  }

  .time-slots-container input[type="radio"]:checked + label {
    background-color: rgba(238, 220, 211, 0.4);
    border: #c2a69a solid 1px;
  }

  .confirm-booking-time {
    display: flex;
    justify-content: center;
    padding: 3vw;
  }

  #confirm-button {
    background-color: var(--main-theme);
    color: #000;
    border: none;
    padding: 3vw 20vw;
    /* border-radius: 5px; */
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
    font-size: larger;

    border-radius: 24px;
    box-shadow: rgba(60, 64, 67, 0.3) 0 1px 3px 0,
      rgba(60, 64, 67, 0.15) 0 4px 8px 3px;
  }

  #confirm-button:hover {
    background-color: var(--main-theme-pressed);
  }

  #confirm-button:disabled {
    background-color: lightgray;
  }

  #choose {
    margin-top: 5vh;
    margin-bottom: 0;
    font-size: 5vw;
    font-weight: 400;
  }

  hr {
    width: 80%;
  }

  .month-year-container {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto;
  }

  #current-month-year {
    font-size: 18px;
  }

  .days-of-week-row {
    display: flex;
    justify-content: space-evenly;
    flex-direction: row-reverse;
    padding: 10px;
    margin-bottom: -3vh;
  }

  #prev-month,
  #next-month {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
  }

  .month-row {
    direction: rtl;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    width: 90%;
    margin-left: 1%;
    /* display: flex; */
    /* flex-direction: row-reverse; */
    /* justify-content: space-evenly; */
    align-items: center;
    /* Align items vertically */
    padding: 10px;
  }

  .day-of-week,
  .day {
    text-align: center;
    /* Center text */
    justify-content: center;
    padding: 12px 12px;
  }

  .day-of-week {
    font-weight: bold;
    /* Make day of week text bold */
  }

  .day {
    display: flex;
    /* Ensure the day elements are flex containers */
    align-items: center;
    /* Center content vertically */
    justify-content: center;
    /* Center content horizontally */
    cursor: pointer;
    /* Add pointer cursor to dates for interaction */
    transition: background-color 0.3s;
    /* Add transition for smoother color change */
    border-radius: 50%;
    width: 1em;
    height: 1em;
    text-align: center;
    line-height: 1.2em;
    position: relative;
  }

  .available::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background-color: #f4c9b5;
    border-radius: 50%;
  }

  .out-of-month {
    color: #fff;
  }

  .past-day {
    color: #888;
  }

  .selected {
    background-color: var(--main-theme);
  }

  .selected::after {
    background-color: var(--main-theme);
  }

  footer {
    height: 7vh;
    margin-top: auto;
  }

  .footer-content {
    align-items: center;
    justify-content: center;
    background-color: var(--main-theme);
    height: 100%;
    display: flex;
  }

  .footer-content a {
    display: flex;
    color: black;
    font-size: 6vw;
    margin: 0 5px;
    text-align: center;
  }

  .time-slots-div label {
    padding-top: 1vh;
    padding-bottom: 1vh;
    text-align: center;
    width: 28.5%;
    font-size: 18px;
  }
}
