* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    font-family: sans-serif;
}

ul {
  list-style: none;
}


body {
    width: 80vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    margin: auto;
    color: #111111;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #444444;
}

a:hover {
    text-decoration: none;
    color: #111111;
}

button {
    font-weight: 700;
    background-color: transparent;
    border: none;
}

.nav-bar {
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 5em;
    z-index: 444;
    margin-top: 3em;
}

.title {
    font-size: 3rem;
    font-weight: 700;
    color: #111111;
}

.nav {
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
    gap: 4em;
    font-weight: 700;
}

section {
    width: 100%;
    height: 70vh;
    padding: 5em;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.form-container {
    width: 800px;
    height: 600px;
    background-color: white;
    display: flex;

}

.form-container h1 {
    align-self: start;
    font-size: 2rem;
    color: #111111;
}

form {
    flex: 1;
    color: #111111;
    background-color: white;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 2em;
}

form input {
    color: gray;
    width: 100%;
    height: 50px;
    border-radius: 10px;
    border: none;
    box-shadow: 2px 2px 4px 0px rgb(211, 210, 210);
    padding-left: 1em;
    padding-right: 1em;
    margin-bottom: 1em;
}

form button {
    width: 100%;
    height: 50px;
    background-color: #111111;
    border-radius: 10px;
    color: white;
}

form label {
    margin-bottom: 0.2em;
}

form textarea {
    color: gray;
    width: 100%;
    height: 120px;
    border-radius: 10px;
    border: none;
    box-shadow: 2px 2px 4px 0px rgb(211, 210, 210);
    padding: 1em;
    margin-bottom: 1em;
}

.phone-num-wrapper {
    display: inline-flex;
    box-shadow: 2px 2px 4px 0px rgb(211, 210, 210);
    border-radius: 10px;
    background-color: white;
    width: 100%;
    height: 50px;
    margin-bottom: 1em;
    padding-left: 1em;
}

.phone-num-wrapper input {
    box-shadow: none;
}

.phone-num-wrapper select {
    border: none;
    width: 30%;
}



.booking-container {
    width: 500px;
    height: 600px;
    background-color: white;
    display: flex;
    flex-direction: column;
    padding: 1em;
}

.calendar {
    height: 45%;;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*outline: 1px solid purple;*/
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

.months {
  width: 100%;
  height: 35px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.months span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 100%;
  position: relative;
  z-index: 1;
  cursor: pointer;
}

.months span::before {
  position: absolute;
  content: "";
  height: 30px;
  width: 20px;
  top: 50%;
  left: 50%;
  z-index: -1;
  border-radius: 25px;
  background-color: transparent;
  transform: translate(-50%, -50%);
}

.months span:hover::before {
  box-shadow: 2px 2px 4px 0px rgb(211, 210, 210);
}

.months span:active::before {
  background-color: #111111;
  border: 1px solid #111111;
}

.months span:active {
  color: white;
}

.weeks {
  width: 100%;
  height: 30px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.weeks li {
  width: calc(100% / 7);
  text-align: center;
}

.days {
  width: 100%;
  height: 200px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.days li {
  position: relative;
  height: auto;
  width: calc(100% / 7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  cursor: pointer;
}

.days li::before {
  position: absolute;
  content: "";
  height: 30px;
  width: 25px;
  top: 50%;
  left: 50%;
  z-index: -1;
  border-radius: 25px;
  transform: translate(-50%, -50%);
}

.days li:hover::before {
  box-shadow: 2px 2px 4px 0px rgb(211, 210, 210);
}

.days li.active {
  color: #111111;
}

.days li.active::before {
  box-shadow: 2px 2px 4px 0px rgb(211, 210, 210);
}

.days li.active:hover::before {
  border: 1px solid #444444;
}

.days li.active:active::before {
  box-shadow: 2px 2px 4px 0px rgb(211, 210, 210);
}

.days li.active.clicked::before {
  border: 1px solid #444444;
}

.days li.inactive{
  color: #aaa;
  pointer-events: none;
  cursor: not-allowed;
}

.days li:active {
  color: white;
}

.days li:active::before {
  background-color: #111111;
}

.days li.clicked {
  color: white;
}

.days li.clicked::before {
  background-color: #111111;
}

.days li.booked {
  color: #aaa;
  pointer-events: none;
  cursor: not-allowed;
}

.date-label {
  justify-self: end;
  align-self: start;
}

.time {
  height: 40%;
  margin-top: 2em;
  /*outline: 1px solid yellow;*/
}

.time ul {
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.timeline {
  width: calc(100% / 4 - 10px);
  height: 30px;
  box-shadow: 2px 2px 4px 0px rgb(211, 210, 210);
  color: #111111;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.timeline:hover {
  background-color: #111111;
  color: white;
}

.timeline:active {
  background-color: #111111;
  color: white;
}

.timeline.clicked {
  background-color: #111111;
  color: white;
}

.timeline.booked {
  color: #cccccc;
  border: 1px solid #cccccc;
  pointer-events: none;
  cursor: not-allowed;
}

.none {
  display: none;
}

.price {
    height: 15%;
    display: inline-block;
    text-align: right;
    padding-top: 10px;
    /*outline: 1px solid green;*/
}

.total-time {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: end;
  justify-content: end;
}

@media (min-width: 100px) and (max-width: 1240px) {
body {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    color: #111111;
    overflow-x: hidden;
}

.nav-bar {
    width: 100%;
    height: 40px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    z-index: 444;
    padding: 0;
    margin-top: 10px;
}

.title {
    font-size: 1.5rem;
    margin-left: 10px;
}

.nav {
    width: 70%;
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
    font-weight: 700;
    gap: 0.5em;
    margin-right: 0.5em;
}

.nav a {
  font-size: 1rem;
  width: auto;
  margin: 0;
  padding: 0;
}

section {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding: 1em;
    align-items: start;
}

.form-container {
    width: 100%;
    height: 600px;
    background-color: white;
    display: flex;
}


.booking-container {
    width: 100%;
    height: 600px;
    background-color: white;
    display: flex;
    flex-direction: column;
}

}