* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    font-family: "Poppins", sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure the body takes at least the full height of the viewport */
    margin: 0;
    background-image: linear-gradient(45deg, #ffffff 0%, #f0f0f0 75%, #d8d8d8 100%);
}

header {
    position: fixed;
    display: flex;
    top: 0;
    left: 0;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #161d23;
    z-index: 999;
    transition: all 0.3s ease-in-out; /* Add a transition for smooth animation */
}

header.small {
    height: 125px; /* Adjust the height of the smaller header */
    backdrop-filter: blur(10px); /* Add blur effect to the smaller header */
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    background-color: rgba(22, 29, 35, 0.8); /* Adjust the background color and opacity of the smaller header */
}

.container {
    max-width: 2600px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
    justify-content: space-between;
    background: transparent;
    margin-top: 220px;
    margin-bottom: 50px;
}

.buttons-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.buttons-container button {
    margin: 0 5px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #161d23;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.buttons-container button:hover {
    background-color: #000000;
}

.title {
    text-align: center;
    font-size: 60px;
    font-weight: 300;
    border-bottom: 3px solid #222;
    padding-bottom: 10px;
    margin-top: 30px;
    margin-bottom: 20px;
}

form label {
    display: block;
    margin-bottom: 10px;
}

form input[type="text"],
form input[type="email"],
form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white; /* Add a background color to match other input elements */
}

.custom-select {
    width: 60px; /* Adjust the width as needed */
}

form input[type="submit"] {
    padding: 10px 20px;
    background-color: #161d23;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

form input[type="submit"]:hover {
    background-color: #000000;
}

.unavailable-date::-webkit-calendar-picker-indicator {
    filter: grayscale(100%);
}

.error {
    color: red;
    margin-top: 10px;
}

/* Styling for the popup */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

.popup-content {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 80%;
    max-width: 500px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.popup-content ul li {
    font-size: 16px;
}

.popup-content h2{
    text-align: center;
    border-bottom: 2px solid #222;
    padding-bottom: 3px;
    margin-bottom: 5px;
}

.popup-content h3{
    font-size: 18px;
}

/* Close button style */
#closePopup {
    margin-top: 10px;
    cursor: pointer;
    margin: 0 5px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #161d23;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
#closePopup:hover{
    background-color: #000000;
}

.popup-scroll {
    max-height: 400px; /* Adjust the maximum height as needed */
    overflow-y: auto;
    padding-right: 15px; /* Add space for scrollbar width */
}

.telephone-preselection {
    display: flex;
    align-items: center;
  }
  
.telephone-preselection span {
    font-size: 16px;
    margin-right: 5px;
}
.telephone-preselection .preselection {
    width: 80px; /* Adjust the width as needed */
}

/* Mobile version */
@media screen and (max-width: 600px) {
    .title {
      font-size: 30px; /* Reduce the font size for better fit on smaller screens */
    }
  
    form input[type="text"],
    form input[type="email"],
    form select {
      padding: 8px; /* Adjust the padding for better spacing on mobile */
    }
  
    form input[type="submit"] {
      padding: 8px 16px; /* Adjust the padding for better spacing on mobile */
    }
  }