-
Notifications
You must be signed in to change notification settings - Fork 98
Description
/* Reset */
- {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Poppins', sans-serif;
color: #333;
background: #f9f9f9;
line-height: 1.6;
}
/* Navbar */
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
background: rgb(224, 105, 125);
padding: 15px 30px;
}
.navbar .logo {
color: #fff;
}
.navbar .nav-links {
list-style: none;
display: flex;
}
.navbar .nav-links li {
margin-left: 20px;
}
.navbar a {
color: white;
text-decoration: none;
font-weight: 500;
}
.navbar a:hover,
.active {
text-decoration: underline;
}
/* Hero */
.hero {
background: url("bg pic.jpeg") center/cover no-repeat;
text-align: center;
padding: 110px 20px;
color: rgb(26, 21, 21);
animation: fadeIn 3s ease-in;
margin-top: 10px;
}
@Keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.hero h2 {
font-size: 2.5rem;
}
/* Destinations */
.destinations {
padding: 50px;
text-align: center;
}
.cards {
display: flex;
gap: 20px;
justify-content: center;
flex-wrap: wrap;
}
.card {
background-color: #f9f9f9;
padding: 15px;
border-radius: 10px;
width: 250px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s;
}
.card img {
width: 100%;
border-radius: 10px;
}
.card:hover {
transform: scale(1.05);
}
/* About */
.about-hero {
background: url('images/about.jpg') center/cover no-repeat;
color: white;
text-align: center;
padding: 100px 20px;
}
.about-sections {
display: flex;
justify-content: space-around;
padding: 40px;
flex-wrap: wrap;
}
.about-sections div {
width: 300px;
margin: 15px;
}
/* Contact */
.contact-section {
padding: 40px;
text-align: center;
}
.contact-form {
display: flex;
flex-direction: column;
width: 300px;
margin: auto;
gap: 10px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
.contact-form button {
background: #0066cc;
color: white;
padding: 10px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: 0.3s;
}
.contact-form button:hover {
background: #004080;
}
/* Footer */
footer {
text-align: center;
padding: 15px;
background: #222;
color: white;
margin-top: 30px;
}
/* Animation */
@Keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Responsive */
@media (max-width: 768px) {
.cards,
.about-sections {
flex-direction: column;
align-items: center;
}
}