.container {
  display: grid;
  grid-template-rows: 80px auto;
  grid-template-columns: repeat(auto-fit,minmax(300px, 1fr));
  gap: 15px;
}

.test {  /* this is to access the font of the title */
font-family: "TharLon-Regular", Helvetica;
color: white;
}

.calendar-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  justify-content: center;
  display: flex;
}

.header {
  grid-area: 1 / 1 / 1 / 1; 
  font-family: "TharLon-Regular", Helvetica;
  color: white;
}
body{
background-color: #3A3A3A;
}
.html{
background-color: #212121;
align-self: center;
width: 100%;
}

section{
padding-bottom: 70px;
}

t1{
font-family: "TharLon-Regular", Helvetica;
font-size: xx-large;
position:absolute;
justify-content: center;
text-align: center;
padding: 10px;
padding-top: 20px;
padding-left: 0px;
padding-right: 0px;
width: 100%;
color: white;
/* background-color: #212121; */
} 
h2{
color: white;
}

.body {
  grid-row: 2 / 2;
  grid-column: 1 / 1;
}

.calendar {
  /* width: 100%; */
  margin: 10px;
  justify-content: center;
}



.modalDialog {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay */
  z-index: 9999;
  display: none; /* Initially hidden */
  align-items: center; /* Center modal vertically */
  justify-content: center; /* Center modal horizontally */
}

.modalDialog:target {
  display: flex; /* Show the modal when targeted */
}

.modalDialog > div {
  /* background: #ffffff; Flat white background */
  border-radius: 12px; /* Rounded corners */
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
  width: 100%;
  max-width: 600px; /* Maximum width for the modal */
  padding: 30px;
  text-align: center; /* Center content */
  position: relative;
}

.modalDialog h2 {
  font-size: 26px;
  color: white;
  margin-bottom: 20px;
  font-weight: 600;
  font-family: "TharLon-Regular", Helvetica;
}

.modalDialog p {
  font-size: 16px;
  color: white;
  margin-bottom: 20px;
  line-height: 1.5; /* Improve text readability */
  font-family: "TharLon-Regular", Helvetica;
  
}

.close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 22px;
  color: white;
  text-decoration: none; 
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: "TharLon-Regular", Helvetica;
}

.close:hover {
  background: #AD343E; /* Highlight close button on hover */
  color: #ffffff;
}

.modalDialog button {
  background-color: #4CAF50; /* Primary button color */
  color: white;
  padding: 12px 25px;
  margin-top: 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.3s ease;
  font-family: "TharLon-Regular", Helvetica;
}

.modalDialog button:hover {
  background-color: #45a049; /* Slightly darker green on hover */
}

.button {
display: flex;
flex-direction: row;
align-items: center;
padding: 6px 14px;
font-family: -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
border-radius: 6px;
border: none;
text-decoration: none;
color: #fff;
background: linear-gradient(180deg, #4B91F7 0%, #367AF6 100%);
 background-origin: border-box;
box-shadow: 0px 0.5px 1.5px rgba(54, 122, 246, 0.25), inset 0px 0.8px 0px -0.25px rgba(255, 255, 255, 0.2);
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
}

.button:focus {
box-shadow: inset 0px 0.8px 0px -0.25px rgba(255, 255, 255, 0.2), 0px 0.5px 1.5px rgba(54, 122, 246, 0.25), 0px 0px 0px 3.5px rgba(58, 108, 217, 0.5);
outline: 0;
}

.greenbutton {
appearance: none;
background-color: #2ea44f;
border: 1px solid rgba(27, 31, 35, .15);
border-radius: 6px;
box-shadow: rgba(27, 31, 35, .1) 0 1px 0;
box-sizing: border-box;
color: #fff;
cursor: pointer;
display: flex;
font-family: -apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
font-size: 1.15em;
font-weight: 600;
line-height: 33.4929px;
padding: .8em 1.5em;
width: 100%;
text-shadow: rgba(0, 0, 0, .3) 1px 1px 1px;
text-align: center;
text-decoration: none;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
vertical-align: middle;
white-space: nowrap;
justify-content: center;
}

.greenbutton:focus:not(:focus-visible):not(.focus-visible) {
box-shadow: none;
outline: none;
}

.greenbutton:hover {
background-color: #2c974b;
}

.greenbutton:focus {
box-shadow: rgba(46, 164, 79, .4) 0 0 0 3px;
outline: none;
}

.greenbutton:disabled {
background-color: #94d3a2;
border-color: rgba(27, 31, 35, .1);
color: rgba(255, 255, 255, .8);
cursor: default;
}

.greenbutton:active {
background-color: #298e46;
box-shadow: rgba(20, 70, 32, .2) 0 1px 0 inset;
}

.today{
position: relative;
vertical-align: top;
font-family: Mija,-apple-system,BlinkMacSystemFont,Roboto,"Roboto Slab","Droid Serif","Segoe UI",system-ui,Arial,sans-serif;
color: white;
}

.day, .today{
position: relative;
vertical-align: top;
} 

.emptybutton {
background: #2C2C2C;
border-radius: 6px;
border: 1px solid rgba(27, 31, 35, .15);
box-sizing: border-box;
color: #2C2C2C;
cursor: pointer;
display: flex;
font-family: Mija,-apple-system,BlinkMacSystemFont,Roboto,"Roboto Slab","Droid Serif","Segoe UI",system-ui,Arial,sans-serif;
font-size: 1.15em;
font-weight: 600;
justify-content: center;
line-height: 33.4929px;
padding: .8em 1.5em;
text-align: center;
text-decoration: none;
text-decoration-skip-ink: auto;
transition: all .2s ease-in-out;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
width: 100%;
height: 100%;
word-break: break-word;
vertical-align: middle;
white-space: nowrap;

}

.emptybutton:active,
.emptybutton:focus {
border-bottom-style: none;
border-color: #dadada;
box-shadow: rgba(0, 0, 0, .3) 0 3px 3px inset;
outline: 0;
}

.emptybutton:hover {
border-bottom-style: none;
border-color: #dadada;
}

.redbutton {
background: #AD343E;
border-radius: 11px;
border: 1px solid rgba(27, 31, 35, .15);
box-sizing: border-box;
color: #fff;
cursor: pointer;
display: flex;
font-family: Mija,-apple-system,BlinkMacSystemFont,Roboto,"Roboto Slab","Droid Serif","Segoe UI",system-ui,Arial,sans-serif;
font-size: 1.15em;
font-weight: 600;
justify-content: center;
line-height: 33.4929px;
padding: .8em 2em;
text-align: center;
text-decoration: none;
text-decoration-skip-ink: auto;
text-shadow: rgba(0, 0, 0, .3) 1px 1px 1px;
text-underline-offset: 1px;
transition: all .2s ease-in-out;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
width: 100%;
word-break: break-word;
vertical-align: middle;
white-space: nowrap;
}

.redbutton:active,
.redbutton:focus {
border-bottom-style: none;
border-color: #dadada;
box-shadow: rgba(0, 0, 0, .3) 0 3px 3px inset;
outline: 0;
}

.redbutton:hover {
border-bottom-style: none;
border-color: #dadada;
}

.calendar-buttons {
display: flex;
justify-content: center;
gap: 10px;
margin-bottom: 10px;
}

.calendar td {
  vertical-align: top;
}

@media(max-width:800px){
/* html, body{
  overflow-x: hidden;
  max-width: 100%;
} */
html{
  align-items: center;
  width: 100%;
}

.calendar{
  width: 90%;
  table-layout: fixed;
  margin-left: 0px;
  margin-right: 0px;
  align-self: center;
  position: relative;
}
.header{
  font-size: 10px;
}
.redbutton{
  width: 100%;
  font-size: 11px;
}
.greenbutton{
  width: 100%;
  font-size: 11px;
}
.calendar th{
  width: 52px;
}
.emptybutton{
  width: 100%;
  font-size: 11px;
}


}
.inline-inputs {
display: flex;
align-items: right;
}
.inline-inputs label,
.inline-inputs input,
.inline-inputs p {
margin-right: 5px; /* Adjust space between items */
}

/* booking page stuff */
.modalContent {
  background-color: #3A3A3A;
  background: #3a3a3a;
  padding: 20px;
  border-radius: 8px;
  position: relative;
  color: #3A3A3A;
}

.modalText {
  color: white;
  font-family: "TharLon-Regular", Helvetica;
}

.form-group {
  margin-bottom: 10px;
  justify-content: center;
  display:flex;
}

.submitBtn {
  background-color: white;
  border-radius: 5px;
}