#mainArea{
    max-width: 750px;
    margin: auto;
}

#titleArea{
    margin:auto;
}

#titleAreaContainer{
   display: block;
   margin: 0;
}

.schedule-container{
    overflow: hidden;
    text-align: center;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, .1);
    backdrop-filter:blur(4px);
    background-color: rgba(255, 255, 255, 0.6);
    border-width: 2px;
    border-color: #000000;
    border-radius: 10px;
    border-style: solid;
}

.schedule-container h2{
     font-size: 30pt;
     --offset:10px;
    text-shadow: 10px 10px 20px white, 
                 10px -10px 20px white, -10px -10px 20px white, -10px 10px 20px white;
}

.schedule-container fieldset{
    min-width: 0;
}

.schedule-container fieldset label{
    font-weight: bold;
}

#formMessage{
    font-size:18pt;
    margin: 25px;
    text-align: left;
}

#calendar {
    margin: 0;
    overflow: hidden;
    overflow-x: auto;
    padding: 10px 10px 15px 10px;
    white-space: nowrap;
}

.days {
    margin-right: 20px;
    padding:13px;
    border: 1px solid black;
    border-radius: 10px;
    display:inline-block;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.6);
    cursor:pointer;
}

.days .weekday{
     
}

.days .day{
    margin: 12px 0;
}

.days .month{
      
}

.days.selected {
    padding: 10px;
    border-width: 4px;
    background-color: rgba(110,200,245, 0.6);
}

#timeSlots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:0 20px;
}

.times {
    margin-top: 10px;
    padding: 8px;
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid black;
    border-radius: 10px;
    cursor: pointer;
}

.times.unavailable {
    background-color: gray;
    text-decoration-line: line-through;
    cursor: not-allowed;
}

.times.selected {
    padding: 5px;
    border-width: 4px;
    background-color: rgba(110,200,245, 0.6);
}

.error{
    border-width: 2px;
    border-color: red;
    border-style: solid;
}

#sendButton{
    width: 100%;
    margin-top: 25px;
    font-size: 18pt;
}

#sendProgress{
    display: none;
}

#successMessage{
    font-size: 16pt;
    margin-top: 25px;
    display: none;
}

#successMessage #timeReserved{
    display: none;
}

#successMessage p:first-child{
    font-weight: bold;
}

#errorMessage{
    display: none;
}

@media (max-width:800px){
    #mainArea{
        margin:25px;
    }

    .schedule-container h2{
     font-size: 25pt;
    }
}