@charset "utf-8";
::placeholder {
}

html { 
    font-size: 62.5%;
}
h1 {
    text-align: center;
}
span {
    font-size: 1.6rem;
}

.booking-form {
    display: grid;
    gap: 0.6rem;
    place-items: center;
    margin: 0 auto;
    width: 90%;
    padding: 2rem 0;
    text-align: center;
    border: 1px dotted;
    border-radius: 10px 10px;
}
.booking-button {
    margin: 1.6rem 0;
    visibility: hidden;
    background: #fff;
	border: 2px solid #ccc;
	border-radius: .5rem;
	padding: 1rem 1rem;
	cursor: pointer;
}
.booking-done {
    font-size: 1.6rem;
}
#calendar {
    text-align: center;
}

section {
    margin: 10px;
}

h1 {
    font-size: 2rem;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
    width: 100%;
}

td {
    border: 1px solid #ddd;
    padding: 5px;
    text-align: center;
    width: calc(100% / 7);
    height: calc(100vh / 14);
}

td:first-child {
    color: red;
}

td:last-child {
    color: royalblue;
}

td.disabled {
    color: #ccc;
}
td.week {
    height: 20px;
    text-align: center;
}

td.today {
    color:#fff;
    background: pink;
}
td.holiday {
    color: red;
}
.day{
    border:1px solid #000;
    border-radius: 50% 50%;
    padding: 5px;
}
.table-container {
    display: flex;
    flex-flow: column;
    height: 2.8rem;
}
.date {
    font-size: 1.2rem;
}
.available {
    text-align: center;
    font-size: 1.4rem;
}
.name {
    font-size: 0.6rem;
}
@media (min-width:768px){
    .booking-form {
        width: 50%;
    }
    table {
    }   
    .day{
        border:1px solid #000;
        border-radius: 50% 50%;
        padding: 5px;
    }
    .table-container {
        height: 4.0rem
    }
    .date {
        text-align: left;
        font-size: 1.4rem
    }
    .available {
        font-size: 1.6rem;
    }
    .name {
        font-size: 1.2rem;
    }
}