body { margin: 0; padding: 30px; font-family: Arial, sans-serif; min-height: 100vh; /* Ensures it covers the entire viewport */ background: url('https://media1.thrillophilia.com/filestore/syan611ikyyywjjjyv3684ubczm6_3175e4197867ffa61a3f598de892a2b5.jpg?w=753&h=450&dpr=2.0') no-repeat center center/cover; /* Background image */ background-attachment: fixed; /* Keeps the background fixed */ } .container { position: relative; display: flex; justify-content: flex-end; /* Aligns form to the right */ height: 100%; /* Adjust height to fit content */ } .text-section { position: fixed; left: 0; z-index: -1; text-align: center; max-width: 600px; padding: 50px 20px 20px 50px; color: black; /* Ensure text is readable */ font-size: 1rem; /* Adjust font size */ text-transform: capitalize; } #output{ display: block; text-align: center; background-color: #fff; margin: auto; padding: 20px; margin-top: 50px; } .text-section h1 { font-size: 3rem; /* Adjust the size as needed */ margin: 0 0 20px; } .text-section p { font-size: 1rem; /* Adjust the size as needed */ background-color: #efefef; padding: 10px; border-radius: 10px; } .booking-form { max-width: 800px; padding: 20px; border: 1px solid #ccc; border-radius: 10px; background-color: #fff7f2; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } label { display: block; margin: 10px 0 5px; } input, select { -webkit-appearance: none; -moz-appearance: none; appearance: none; width: 100%; padding: 8px; margin-bottom: 15px; border-radius: 5px; border: 1px solid #ddd; box-sizing: border-box; } button { background-color: #007bff; color: white; padding: 10px; border: none; border-radius: 5px; cursor: pointer; } button:hover { background-color: #0056b3; } .card { border: 1px solid #ddd; border-radius: 10px; padding: 10px; margin: 10px 0; cursor: pointer; display: flex; align-items: center; } .card img { width: 165px; border-radius: 5px; margin-right: 10px; } .card.selected { border: 2px solid #007bff; } #carSelection { width: 100%; /* Adjust width of select box */ height: auto; /* Let the height adjust based on size */ } /* Styling options to adjust spacing and padding */ #carSelection option { padding: 5px; width: fit-content; white-space: nowrap; /* Prevent text from wrapping */ } /* You can also add some styles for selected options */ #carSelection option:checked { background-color: #3e8e41; color: white; } #carQuantityFields { margin-top: 10px; } .form-row { display: flex; flex-wrap: wrap; gap: 0 20px; /* Optional: Adds space between items */ } .form-group { flex: 1 1 calc(50% - 20px); /* Each field will take up 50% of the row minus gap space */ min-width: 150px; /* Ensures fields don’t get too small */ box-sizing: border-box; /* Prevents fields from breaking out of the row */ } @media (max-width: 768px) { .form-group { flex: 1 1 100%; /* On smaller screens, each field takes the full width */ } } @media (max-width: 540px) { .card img { width: 80px; } } .destinationOptions { display: grid; grid-template-columns: 1fr 1fr; /* Two equal columns */ gap: 10px; /* Adjust as needed */ align-items: center; } .destinationOptions label { text-align: left; } .destinationOptions select { width: 100%; /* Ensures dropdowns fill the available space */ margin-bottom: 5px; /* Add spacing between label and dropdown */ } .itineraryDay{ text-align: center; padding-bottom: 10px; border-bottom: 1px solid #dae3e8; } #daysContainer { margin-bottom: 10px; } #daysContainer .day-section{ padding: 10px; margin-bottom: 20px; border: 1px solid #dfeaf0; border-radius: 10px; } #daysContainer .day-section:nth-child(odd) { background-color: #e8f7ff; /* Color for odd-numbered sections */ } #daysContainer .day-section:nth-child(even) { background-color: #e8f7ff; /* Color for even-numbered sections */ } .card{ background-color: white; } #finalTotal { display: none; text-align: right; /* Right-align the text */ padding: 10px 20px; /* Add padding to the top, bottom, and sides */ background-color: #f5f5f5; /* Light background color */ border: 1px solid #ccc; /* Light grey border */ border-radius: 5px; /* Slightly rounded corners for a polished look */ font-size: 16px; /* Set the font size */ max-width: 350px; color: #333; /* Dark grey text color for readability */ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */ margin-top: 20px; /* Add top margin for spacing */ width: 80%; /* Set a fixed width */ margin-left: auto; /* Align to the right side */ margin-right: 20px; /* Add some space from the right edge */ margin-bottom: 20px; } .activity-item { margin-bottom: 8px; } .activity-item label { display: inline-block; margin-left: 8px; /* Space between checkbox and label */ width: calc(100% - 24px); /* Takes up remaining space after checkbox */ } .activity-item input[type="checkbox"] { width: auto; /* Minimal width for checkbox */ height: auto; appearance: auto; } .activity-item input[type="number"] { margin-top: 4px; /* Space between label and quantity field */ width: 100%; /* Take up the full width of the container */ } .smallNote{ color: gray; font-weight: bold; font-size: 12px; margin-top: -10px; } .smallCabNote{ color: red; font-weight: bold; } .actQnty{ /*text-transform: capitalize;*/ } .car-item { display: flex; background-color: #f2ebeb; flex: 1 1 calc(33.33% - 10px); /* Adjusts width to fit three items per row with some spacing */ margin: 5px; /* Add margin for spacing between items */ flex-direction: column; /* Aligns label and input vertically */ } .car-item label { margin-bottom: 5px; /* Adds space between the label and the input */ } .car-quantity { display: block; /* Ensures the quantity input is displayed below the checkbox */ margin-top: 5px; /* Adds space between checkbox and input */ } .cars-container { display: flex; flex-wrap: wrap; /* Allows items to wrap to the next line */ gap: 0 10px; /* Adds spacing between items */ }