Untitled
.main { display: flex; max-width: 100%; justify-content: space-evenly; background-color: rgba(33, 33, 33, 1); } .images{ overflow-x: hidden; } .images, .space, .amenitiesWrapper { width: 90%; max-width: 100%; } @media(max-width:991px){ .main{ flex-direction: column; align-items: center; overflow-x: hidden; } } @media (max-width: 991px) { .amenitiesWrapper { flex-direction: column; align-items: center; margin-top: 20px; margin-bottom: 20px; overflow-x: hidden; } .amenityColumn { margin-bottom: 10px; } } @media (max-width: 991px) { .thumbnail-container, .service-container, .amenitiesList{ flex-wrap: wrap; justify-content: center; align-items: center; } .service-card, .thumbnail-image, .amenityColumn { width: 100%; /* Ensure full-width on small screens */ max-width: 100%; } .service-card{ width: 80%; max-width: 80%; margin-bottom: 10px; } } .display-item{ background-color: rgba(33, 33, 33, 1); } .images{ display: flex; min-width: 240px; flex-direction: column; justify-content: flex-start; width: 670px; margin-left: 7%; margin-top: 3%; } @media (max-width: 991px) { .image-gallery { max-width: 100%; } } .main-image { aspect-ratio: 1.92; object-fit: contain; object-position: center; width: 100%; border-radius: 4px; margin-top: 10px; } @media (max-width: 991px) { .main-image { max-width: 100%; max-height: 70%; } } .thumbnail-container { display: flex; margin-top: 24px; width: 100%; align-items: flex-start; gap: 24px; justify-content: flex-start; flex-wrap: wrap; } @media (max-width: 991px) { .thumbnail-container { max-width: 100%; } } .thumbnail-image { aspect-ratio: 1.15; object-fit: contain; object-position: center; width: 207px; border-radius: 4px; flex: 1; flex-basis: 0%; } .space-details { display: flex; max-width: 70%; flex-direction: column; font-size: 19px; justify-content: flex-start; width: 601px; margin-right: 10%; } .icon-name{ margin-top: 20px; font-size: 18px; flex-direction: column; } @media (max-width: 991px) { .space-details { max-width: 100%; } } .space { position: relative; display: flex; width: 100%; max-width: 601px; flex-direction: column; font-family: Plus Jakarta Sans, -apple-system, Roboto, Helvetica, sans-serif; color: var(--Color-Text-Body, #fff); font-weight: 200; justify-content: flex-start; margin-left: 10px; } @media (max-width: 991px) { .space { max-width: 100%; margin-left: 25px; } } .space-name { color: var(--Color-Text-Headings, #fff); font-size: 35px; font-weight: 700; line-height: 1; z-index: 0; margin-top: 70px; } @media (max-width: 991px) { .space-name { max-width: 100%; font-size: 40px; } } .space-info { align-self: flex-start; z-index: 0; display: flex; margin-top: 16px; align-items: flex-start; gap: 40px 68px; font-family: Poppins, sans-serif; white-space: nowrap; line-height: 2; justify-content: flex-start; } @media (max-width: 991px) { .space-info { white-space: initial; } } .info-item { display: flex; align-items: center; gap: 12px; justify-content: flex-start; padding: 8px 0; } @media (max-width: 991px) { .info-item { white-space: initial; } } .info-icon { aspect-ratio: 1; object-fit: contain; object-position: center; width: 24px; align-self: stretch; margin: auto 0; background: #333; } .divider { background-color: rgba(59, 59, 59, 1); z-index: 0; display: flex; min-height: 1px; margin-top: 16px; width: 100%; } @media (max-width: 991px) { .divider { max-width: 100%; } } .space-description { font-family: Poppins, sans-serif; line-height: 26px; z-index: 0; margin-top: 16px; } .space-rate { font-size: 29px; font-weight: bold; margin-top: 16px; } .booking-button { background-color: #007bff; /* A more appealing blue color */ color: #ffffff; /* White text for better contrast */ border: none; padding: 8px 16px; /* Smaller padding for a more compact button */ cursor: pointer; font-size: 18px; /* Reduced font size for a sleeker look */ margin-top: 16px; border-radius: 8px; /* Softer border radius */ max-width: 35%; /* Reduced width for a smaller button */ text-align: center; /* Center text */ transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transition effects */ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */ } .booking-button:hover { background-color: #0056b3; /* Darker blue on hover */ transform: translateY(-2px); /* Slight lift on hover */ } @media (max-width: 901px) { .booking-button { width: 100%; } } .service-container { display: flex; /* Enable flexbox layout */ flex-direction: row; margin-top: 80px; max-width: 100%; width: 1366px; gap: 18px; /* Space between items */ justify-content: flex-start; /* Align items along the main axis (horizontally) to the start */ margin-left: 10.5%; } @media (max-width: 991px) { .services-container { margin-top: 20px; margin-left: 0px; width: 300px; flex-direction: column; } } .service-card { border-radius: 12px; background-color: black; display: flex; max-width: 500px; justify-content: flex-start; flex: 1; flex-basis: 0%; padding: 24px; margin-bottom: 24px; margin-top: 24px; } @media (max-width: 991px) { .service-card { padding: 0 20px; } } .icon-wrapper { border-radius: 8px; background-color: rgba(216, 155, 28, 0.08); display: flex; min-height: 56px; width: 56px; align-items: center; justify-content: center; height: 56px; padding: 16px; margin-right: 8px } .icon { aspect-ratio: 1; object-fit: contain; object-position: center; width: 24px; margin-right: 8px } .service-title { color: var(--Color-Text-Headings, #fff); margin-top: 16px; font: 400 16px/26px Poppins, -apple-system, Roboto, Helvetica, sans-serif; } .amenitiesWrapper { align-self: stretch; display: flex; /* Enable flexbox layout */ min-width: 240px; flex-direction: column; justify-content: start; width: 480px; margin: auto 0; margin-left: 12%; flex-direction: row; color: #fff; } @media (max-width: 991px) { .amenitiesWrapper { max-width: 100%; } } .amenitiesGroup { display: flex; flex-direction: column; justify-content: start; margin-top: 5%; } @media (max-width: 991px) { .amenitiesGroup { max-width: 100%; } } .sectionTitle { letter-spacing: 0.4px; font: 700 20px/1.4 Plus Jakarta Sans, -apple-system, Roboto, Helvetica, sans-serif; } .amenitiesList { display: flex; margin-top: 16px; align-items: start; gap: 40px 108px; justify-content: start; font: 400 16px/2 Poppins, sans-serif; } @media (max-width: 991px) { .amenitiesList { max-width: 100%; } } .amenityColumn { display: flex; flex-direction: column; justify-content: start; width: 200px; } .amenityItem { display: flex; width: 100%; align-items: center; gap: 16px; white-space: nowrap; justify-content: start; } @media (max-width: 991px) { .amenityItem { white-space: initial; } } .amenityIcon { aspect-ratio: 1; object-fit: contain; object-position: center; width: 20px; } .separate-divider { background-color: rgba(59, 59, 59, 1); height: 1px; margin-top: 24px; width: 100%; } @media (max-width: 991px) { .separate-divider { max-width: 100%; } } .buildingAmenitiesWrapper { display: flex; margin-top: 24px; width: 100%; flex-direction: column; justify-content: start; margin-left: 70% } @media (max-width: 991px) { .buildingAmenitiesWrapper { max-width: 100%; } } .buildingAmenitiesList { display: flex; margin-top: 16px; width: 100%; align-items: start; gap: 40px 100px; justify-content: space-between; font: 400 16px/2 Poppins, sans-serif; color: #fff; } @media (max-width: 991px) { .buildingAmenitiesList { max-width: 100%; } } .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } /* Loading container to center the content */ .loading-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; background: rgba(0, 0, 0, 0.1); background-color: #000; } .loading-container p { font-size: 1.5rem; color: #333; margin-bottom: 20px; } .loading-container img { width: 100%; height: auto; max-width: 400px; max-height: 400px; }
Leave a Comment