Skip to content

Commit

Permalink
Update styles.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Master120344 authored Aug 3, 2024
1 parent cd14401 commit 677145d
Showing 1 changed file with 175 additions and 1 deletion.
176 changes: 175 additions & 1 deletion styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,178 @@ header nav ul li a.btn:hover {
min-width: 250px;
margin: 15px;
background-color: #fff;
border: 2px solid #
border: 2px solid #ff6f61;
border-radius: 10px;
padding: 20px;
transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
transform: translateY(-10px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature i {
font-size: 48px;
color: #ff6f61;
margin-bottom: 10px;
}

#how-it-works ol {
padding-left: 20px;
font-size: 18px;
}

#about-us p {
font-size: 18px;
line-height: 1.6;
}

footer {
background-color: #333;
color: #fff;
padding: 20px 0;
text-align: center;
}

footer h2 {
font-size: 24px;
margin-bottom: 10px;
}

footer p {
font-size: 18px;
margin-bottom: 20px;
}

footer form {
display: flex;
flex-direction: column;
align-items: center;
}

footer form input, footer form textarea {
width: 80%;
max-width: 500px;
margin-bottom: 10px;
padding: 10px;
border: none;
border-radius: 5px;
}

footer form button {
background-color: #ff6f61;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}

footer form button:hover {
background-color: #ff3d2e;
}

footer .social {
display: flex;
justify-content: center;
margin-top: 20px;
}

footer .social a {
color: #fff;
margin: 0 10px;
font-size: 24px;
transition: color 0.3s;
}

footer .social a:hover {
color: #ff6f61;
}

/* Mobile Styles */
@media (max-width: 768px) {
header nav {
display: none; /* Hide the default navigation */
}

header .container {
display: flex;
justify-content: space-between;
align-items: center;
}

header .menu-toggle {
display: block;
}

header nav ul {
flex-direction: column;
align-items: center;
display: none; /* Hide the menu */
}

header nav ul.showing {
display: block;
}

header nav ul li {
margin: 10px 0;
}

#hero h2 {
font-size: 36px;
}

#hero p {
font-size: 18px;
}

.features-grid {
flex-direction: column;
align-items: center;
}

.feature {
margin-bottom: 20px;
}
}

@media (max-width: 480px) {
header h1 {
font-size: 18px;
}

#hero h2 {
font-size: 28px;
}

#hero p {
font-size: 16px;
}

#hero .btn {
padding: 10px 20px;
font-size: 16px;
}

.feature i {
font-size: 36px;
}
}

/* Toggle Menu Styles */
.menu-toggle {
display: none;
}

@media (max-width: 768px) {
.menu-toggle {
display: block;
}

nav ul.showing {
display: block;
}
}

0 comments on commit 677145d

Please sign in to comment.