Hotel & Travel
body {
background-color: #f4f4f4;
font-family: Arial, sans-serif;
}
.hotel-travel-container {
display: grid;
grid-template-columns: repeat(2, 1fr); /* 2 columns */
grid-template-rows: repeat(4, auto); /* 4 rows */
gap: 20px; /* Space between cards */
margin: 20px;
}
.hotel-card {
background-color: white; /* Set background color of the card to white */
color: #012068; /* Text color */
border: 1px solid #ddd;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: row; /* Image on left, text on right */
gap: 20px; /* Space between image and text */
cursor: pointer;
transition: transform 0.3s ease;
}
.hotel-card:hover {
transform: scale(1.05);
}
.hotel-card a {
text-decoration: none;
color: inherit;
}
.hotel-card h3 {
font-size: 1.5em;
margin: 10px 0;
}
.hotel-card p {
margin: 5px 0;
font-size: 1.1em;
}
.hotel-image {
width: 200px; /* Set image width */
height: 150px; /* Set image height */
background-size: cover;
background-position: center;
border-radius: 8px;
flex-shrink: 0; /* Prevent the image from shrinking */
}
.hotel-phone {
margin-top: 5px;
font-size: 1.1em;
}
.hotel-phone a {
color: #012068;
text-decoration: none;
}
.hotel-phone a:hover {
color: #ffcc00; /* Highlight color on hover */
}
.hotel-phone-label {
display: inline-block;
margin-right: 10px;
color: #012068;
}
h2 {
text-align: center;
font-size: 2em;
margin-bottom: 20px;
color: #012068;
}
.hotel-card a {
display: block;
padding: 10px;
background-color: #012068; /* Background color for the button */
color: white;
border-radius: 4px;
text-align: center;
margin-top: 10px;
font-weight: bold;
text-decoration: none;
transition: background-color 0.3s;
}
.hotel-card a:hover {
background-color: #003d80;
}
Hotel & Travel