-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
89 lines (76 loc) · 1.68 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/* Custom styles for additional effects */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
nav a {
transition: color 0.3s ease;
}
@keyframes fadeInDown {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.header-title {
animation: fadeInDown 1s ease-out;
font-family: 'Georgia', serif;
font-size: 62px; /* Default font size */
letter-spacing: 8px;
text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.6);
}
.services-title {
animation: fadeIn 1s ease-out;
}
.card {
background: white;
border-radius: 10px;
overflow: hidden;
animation: fadeIn 0.6s ease-out;
text-align: center;
}
.card:hover {
transform: translateY(-5px);
}
.card h3 {
margin-top: 1rem;
}
.icon-container {
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 1rem;
}
/* AOS library animation */
[data-aos] {
transition: transform 0.6s ease, opacity 0.6s ease;
}
/* Responsive adjustments for header */
@media (max-width: 768px) {
.header-title {
font-size: 40px; /* Adjust the font size for mobile */
letter-spacing: 2px;
}
nav a {
font-size: 14px; /* Adjust the font size of nav links for mobile */
padding: 5px; /* Add padding for easier tapping on touch screens */
}
/* Adjust header layout for mobile */
.header {
flex-direction: column;
text-align: center;
}
.header nav {
margin-top: 10px; /* Add some space between the title and nav links */
}
}