/* General Reset */
:root {
      --safe-top: env(safe-area-inset-top);
      --safe-bottom: env(safe-area-inset-bottom);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
     --starttop: -300px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    font-family: Arial, sans-serif;
    background-color: #044f1c;
    position: fixed;
    display: flex;
    flex-direction: column;
    -webkit-text-size-adjust: none;
	-webkit-touch-callout: none; 
	-webkit-user-select: none;
    overflow: hidden; /* Prevent scrolling of the entire body */
    overscroll-behavior: none; /* Prevent rubberband effect on the body */
}
.div_bookdata {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: #044f1c;
    color: #000;
    z-index: 10;
    position: absolute;
    display: none;
}
.div_bookdata iframe {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    display: inline-block;
}
header {
    height: 180px;
    min-height: 180px;
    background-color: #044f1c;
    background-image: linear-gradient(#044f1c, #09a23a);
    color: #fff;
    padding: calc(16px + var(--safe-top)) 0 0 0;
    text-align: center;
    font-size: 0.85rem;
    flex-shrink: 0; /* Prevent shrinking */
    position: relative;
    display: block;
}
.buttonheader {
    left: 10px;
    top: 70px;
    width: 26px;
    height: 26px;
    padding: 0;
    background: transparent;
    background-image: url("../images/login.png");
    background-size: 26px 26px;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    z-index: 2;
    position: absolute;
    cursor: pointer;
}
.buttonheader.data_available {
    left: calc(100% - 30px);
    top: 73px;
    width: 20px;
    height: 20px;
    background-color: yellow;
    background-image: none;
    border-radius: 50%;
    display: none;
}
.buttonheader:active {
        transform: translateX(1px) translateY(1px);
}
.p_head {
    margin: 12px 0 5px 0;
    font-size: 1.75rem;
    font-weight: bold;
    text-shadow: 2px 2px #000;
    letter-spacing: 3px;
}
ul, li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.nav-bar {
    left: 0;
    right: 0;
    bottom: 0;
    list-style-type: none;
    display: flex; /* Align items horizontally */
    justify-content: center; /* Center the items */
    background-color: #000;
    background-image: linear-gradient(#555, #000);
    border-top: 1px solid #000;
    padding: 0.65rem 0 0.65rem 0;
    position: absolute
}
.nav-bar li {
    margin: 0 1rem;
}
.nav-bar a {
    text-decoration: none;
    color: #fff;
    font-size: 0.90rem;
    transition: color 0.3s ease;
}
.nav-bar a:hover {
    color: #00bcd4;
}
main {
    flex-grow: 1; /* Allow the main content to grow and fill space */
    overflow: hidden; /* Prevent content from overflowing */
}
.div_content {
    width: 100%;
    height: 100%;
    overflow-y: auto; /* Enable vertical scrolling */
    padding: 20px;
    background-color: #777;
    background-image: linear-gradient(#646400, #e1e100);
    webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    overscroll-behavior: contain; /* Confine scroll behavior within this element */    
    display: inline-block;
}
.div_content.one {
    color: #fff;
    background-image: url("../images/zwolle_frontLarge.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}
.div_content.one div {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
}
.div_content.one p {
    margin-bottom: 1rem;         /* Spacing for readability */
}
a {
    color: #fff;
    text-decoration: none;
    outline: none;
    cursor: pointer;
}
.div_content.two {
    position: relative;
    overflow: hidden;
    width: 100%; /* Set the desired width */
    height: 100%; /* Set the desired height */
    margin: 0;
    padding: 0;
    display: none;
}
.div_foto {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: none; 
    transition: transform 0.5s ease;
    display: flex;
}
.img_foto {
    width: 100%;         
    height: 100%;        
    object-fit: contain;
    flex-shrink: 0;
}
.button_foto {
    top: 50%;
    /* transform: translateY(-50%); */
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px;
    outline: none;
    cursor: pointer;
    z-index: 1;
    position: absolute;
}
.button_foto:active {
    background: #111;
    transform: translateX(1px) translateY(1px);
}
.button_foto.prev {
    left: 15px;
}
.button_foto.next {
    right: 15px;
}
.div_content.three {
    background-color: #fff;
    background-image: linear-gradient(#f5f5e0, #f5f5e0);
    text-align: center;
    display: none;
}
.div_content.three iframe {
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    border: 0;
    border-radius: 5px;
}
.div_content.four {
    flex-direction: column; 
    align-items: center; 
    min-height: 100%; 
    background-color: #f4f4f4; 
    background-image: none; 
    margin: 0;
    padding: 20px;
    display: none;
}
.div_calendar_container { 
    display: flex; 
    gap: 20px; 
    width: 100%;
    max-width: 1200px;
    flex-wrap: wrap;
    justify-content: center;
}
.div_month { 
    background-color: #fff; 
    padding: 20px; 
    border-radius: 10px; 
    box-shadow: 0 0 10px rgba(0,0,0,0.1); 
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}
.div_month h2 { 
    text-align: center; 
    margin-top: 0; 
    color: #333;
}
.div_days { 
    display: grid; 
    grid-template-columns: repeat(7, 1fr); 
    gap: 5px; 
    text-align: center; 
    background: #fff;
    background: linear-gradient(to bottom, 
        #eee 0px, 
        #aaa 37px, 
        #fff 37px, 
        #fff 100%);
}
.div_day_header { 
    padding: 10px 0 10px 0; 
    font-weight: bold; 
    background-color: transparent;
    color: #555;
    border: none;
}
.div_day { 
    padding: 10px; 
    background-color: #e9e9e9; 
    cursor: pointer; 
    border-radius: 5px;
    transition: background-color 0.2s;
}
.div_day:hover:not(.div_past_day):not(.div_reserved) { 
    background-color: #c9c9c9; 
}
.div_reserved { 
    background-color: #e74c3c; 
    color: #ccc; 
    cursor: default;
}
.div_past_day { 
    background-color: #777; 
    color: #aaa; 
    cursor: default;
}
.div_spacer {
      height: calc(60px + var(--safe-bottom)); /* reserve space under content for footer */
}
footer {
    text-align: center;
    background-color: #4CAF50;
    background-image: linear-gradient(#09a23a, #044f1c);
    color: white;
    padding: 16px env(safe-area-inset-left) calc(16px + var(--safe-bottom)) env(safe-area-inset-right);
    text-align: center;
    border-top: 1px solid #000;
    flex-shrink: 0;         /* Prevent shrinking */
    display: block;
}
.a_teller {
    color: white;
    font-size: 0.85rem;
    border-radius: 5px;
}
.a_teller:active {
    background-color: #45a049;
}
.div_teller {
    left: calc(50% - 125px);
    top: calc(50% - 80px);
    width: 250px;
    height: 160px;
    background-color: #044f1c;
    background-image: linear-gradient(#044f1c, #09a23a);
    border: 2px solid #000;
    border-radius: 10px;
    z-index: 10;
    animation: slideDown 1s ease forwards;
    position: absolute;
    display: block;
}
.div_teller p {
    left: 0;
    width: 100%;
    margin-top: 20px;
    color: #fff;
    text-align: center;
    position: relative;
}
.div_teller p span {
    text-align: center;
    text-shadow: 1px 1px #000;
    letter-spacing: 2px;
}
.button_tellerClose {
    left: calc(50% - 40px);
    top: calc(100% - 50px);
    width: 80px;
    height: 30px;
    background-image: linear-gradient(#555, #000);
    color: #fff;
    border: none;
    border-radius: 7px;
    outline: none;
    position: absolute;
    cursor: pointer;
}
.button_tellerClose:active {
    color: cyan;
    transform: translateX(1px) translateY(1px);
}
.div_popupBG {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.3);
    z-index: 6;
    position: absolute;
    display: none;
}
.div_contact {
    left: calc(50% - 135px);
    top: calc(50% - 195px);
    width: 270px;
    height: 390px;
    padding: 20px 20px 5px 20px;
    background-image: linear-gradient(#044f1c, #09a23a);
    color: #fff;
    border: 1px solid #000;
    border-radius: 15px;
    font-size: 0.9rem;
    animation: slideDown 1s ease forwards;
    position: absolute;
    display: inline-block;
}
.div_contact p {
    margin-bottom: 1px;
    padding: 0;
}
.div_contact a {
    color: cyan;
}
.div_contact a:hover {
    color: yellow;
}
.div_contact img {
    width: 32px;
    height: 32px;
}
.button_contactClose {
    left: calc(50% - 40px);
    top: calc(100% - 50px);
    width: 80px;
    height: 30px;
    background-image: linear-gradient(#555, #000);
    color: #fff;
    border: none;
    border-radius: 7px;
    outline: none;
    position: absolute;
    cursor: pointer;
}
.button_contactClose:active {
    color: cyan;
    transform: translateX(1px) translateY(1px);
}
.div_login {
    left: calc(50% - 110px);
    top: calc(50% - 85px);
    width: 220px;
    height: 190px;
    padding: 20px 0 0 50px;
    background-image: linear-gradient(#044f1c, #09a23a);
    color: #fff;
    border: 1px solid #000;
    border-radius: 15px;
    font-size: 0.8rem;
    animation: slideDown 1s ease forwards;
    position: absolute;
    display: inline-block;
}
#input_login {
    width: 120px;
    height: 21px;
    padding-left: 5px;
    border-radius: 5px;
    outline: none;
    position: relative;
}
.button_cancelok {
    left: calc(50% - 85px);
    top: calc(100% - 50px);
    width: 80px;
    height: 30px;
    background-image: linear-gradient(#555, #000);
    color: #fff;
    border: none;
    border-radius: 7px;
    outline: none;
    position: absolute;
    cursor: pointer;
}
.button_cancelok.two {
    left: calc(50% + 5px);
}
.button_cancelok:disabled {
    background-image: linear-gradient(#777, #222);
    color: #aaa;
}
.button_cancelok:active:not(:disabled) {
    color: cyan;
    transform: translateX(1px) translateY(1px);
}
.div_booknow {
    --startleft: -200px;
    left: 25px;
    top: 180px;
    width: 190px;
    height: 190px;
    animation: slideRight 1s ease forwards;
    z-index: 5;
    position: absolute;
    display: block;
    cursor: pointer;
}
#img_booknow {
    width: 100%;
    height: 100%;
}
.div_dropdown {
    width: 120px;
    height: 60px;
    margin: 0;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    z-index: 10;
    position: absolute;
    display: none;
}
.div_dropdown li {
    height: 30px;
    padding-left: 20px;
    padding-top: 5px;
    border-radius: 5px;
}
.div_dropdown li:hover {
    background-color: rgba(0, 0, 0, 0.9);
}
.div_dropdown li a:hover {
    color: #00bcd4;
}
.div_message_landscape {
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: 0;
	padding: 0;
	background: #044f1c;
	color: #ebebeb;
	font-size: 1.50em;
	justify-content: center;
	align-items: center;
	z-index: 50;
	position: absolute;
	display: none;
}
@keyframes slideDown {
    from {
        top: var(--starttop); /* Start above the screen */
    }
    to {
        top: 50%; /* End in the middle of the screen */
        transform: translateY(-50%); /* Center perfectly */
    }
}
@keyframes slideRight {
    from {
        left: var(--startleft); /* Start above the screen */
    }
    to {
        left: 25px;
    }
} 
@media only screen and (max-width: 768px) {
    #p_splash {
        font-size: 1.40rem;
    }
    .p_head {
        font-size: 1.40rem;
    }
    .a_data_available span {
        font-size: 0.8rem;
    }
    .div_calendar-container {
        flex-direction: column;
        align-items: center;
    }
    .div_month {
        width: 100%;
        max-width: 320px;
        padding: 10px;
    }
    .div_days {
        gap: 3px;
    }
    .div_booknow {
        width: 150px;
        height: 150px;
    }
    .div_content.one {
        background-image: url("../images/zwolle_frontSmall.jpg");
    }
    .div_contact {
        top: calc(50% - 215px);
        height: 430px;
    }
}
