-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
120 lines (102 loc) · 2.38 KB
/
styles.css
File metadata and controls
120 lines (102 loc) · 2.38 KB
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
/* Responsive Navigation Styles */
.nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: var(--spacing-sm) 5%;
max-width: 1400px;
margin: 0 auto;
flex-wrap: wrap; /* Allow items to wrap */
}
.logo {
display: flex;
align-items: center;
gap: var(--spacing-sm);
flex-shrink: 0; /* Prevent logo from shrinking */
}
.logo img {
width: 10px; /* Adjust this value */
height: auto; /* Maintain aspect ratio */
max-width: 100%;
object-fit: contain;
}
.nav-links {
display: flex;
align-items: center;
gap: var(--spacing-md);
flex-wrap: wrap; /* Allow links to wrap */
justify-content: flex-end; /* Align to right */
}
/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
.nav {
flex-direction: column;
align-items: center;
padding: var(--spacing-sm) 2%;
}
.logo {
margin-bottom: var(--spacing-sm);
width: 100%;
justify-content: center;
}
.logo img {
width: 40px; /* Smaller logo for mobile */
max-height: 40px;
}
.nav-links {
width: 100%;
flex-direction: column;
align-items: center;
gap: var(--spacing-sm);
}
.nav-links a {
width: 100%;
text-align: center;
padding: var(--spacing-xs) 0;
}
.cta-button {
display: block;
width: 100%;
text-align: center;
}
}
/* Smaller Mobile Devices */
@media (max-width: 480px) {
.nav {
padding: var(--spacing-xs) 1%;
}
.logo h2 {
font-size: 1.5rem; /* Smaller text on very small screens */
}
.logo img {
width: 35px; /* Even smaller for very small screens */
max-height: 35px;
}
.nav-links {
gap: var(--spacing-xs);
}
}
.contact-card {
background: rgba(10, 10, 26, 0.8);
padding: 20px;
border-radius: 15px;
text-align: center;
border: 2px solid rgba(0, 255, 255, 0.5);
box-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
max-width: 300px;
margin: 20px auto;
font-size: 1.2rem;
}
.contact-card h2 {
color: #00ffff;
text-shadow: 0 0 8px #00ffff;
}
.contact-info {
color: #fff;
font-weight: bold;
text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
}
.contact-card:hover {
box-shadow: 0 0 25px #00ffff, 0 0 50px #00ffff;
transition: all 0.3s ease-in-out;
}