37032-vm/assets/css/custom.css
2025-12-18 07:14:58 +00:00

147 lines
2.3 KiB
CSS

body {
font-family: 'Poppins', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Montserrat', sans-serif;
font-weight: 700;
}
.hero-section {
min-height: 90vh;
background-size: cover;
background-position: center;
position: relative;
color: #ffffff;
}
.hero-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
z-index: 1;
}
.hero-section .container {
position: relative;
z-index: 2;
}
.hero-section h1 {
color: #f8f9fa;
}
.hero-section p {
color: #e9ecef;
}
.hero-section .display-4 {
animation: fadeInDown 1s ease-in-out;
}
.btn-primary {
transition: all 0.3s ease;
}
.btn-primary:hover {
transform: scale(1.05);
}
.navbar {
transition: background-color 0.3s ease-in-out;
}
.nav-link {
transition: color 0.3s;
}
.navbar-brand,
.nav-link {
color: #ffffff !important; /* White for the brand and nav links */
}
.nav-link:hover,
.nav-link:focus {
color: #cccccc !important; /* Lighter grey for hover/focus */
}
footer a {
transition: color 0.3s;
}
footer a:hover {
text-decoration: none;
}
section {
padding: 80px 0;
opacity: 0;
transform: translateY(20px);
transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
section.visible {
opacity: 1;
transform: translateY(0);
}
.card {
border: none;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}
.card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}
#products .card img {
transition: transform 0.3s ease;
}
#products .card:hover img {
transform: scale(1.05);
}
#scroll-to-top {
position: fixed;
bottom: 20px;
right: 20px;
display: none;
width: 40px;
height: 40px;
border-radius: 50%;
background-color: #007bff;
color: white;
text-align: center;
line-height: 40px;
font-size: 20px;
transition: all 0.3s;
z-index: 1000;
}
#scroll-to-top:hover {
background-color: #0056b3;
transform: scale(1.1);
}
@keyframes fadeInDown {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}