-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathContactModal.css
More file actions
161 lines (142 loc) · 3.22 KB
/
ContactModal.css
File metadata and controls
161 lines (142 loc) · 3.22 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes fadeOut {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
@keyframes slideUp {
from {
transform: translateY(20px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
@keyframes slideDown {
from {
transform: translateY(0);
opacity: 1;
}
to {
transform: translateY(20px);
opacity: 0;
}
}
.modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.7); /* Darker overlay */
backdrop-filter: blur(10px); /* Stronger blur */
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
animation-duration: 0.3s;
animation-fill-mode: forwards;
}
.modal-content {
background-color: rgba(17, 24, 39, 0.8); /* Semi-transparent dark gray */
backdrop-filter: blur(8px); /* Glassmorphism effect */
padding: 24px; /* Increased padding */
border-radius: 12px; /* More rounded */
max-width: 500px;
width: 100%;
color: white;
display: flex;
flex-direction: column;
gap: 20px;
box-shadow: 0 0 30px rgba(0, 0, 0, 0.5); /* Subtle glow shadow */
border: 1px solid rgba(255, 255, 255, 0.1); /* Thin light border */
/* font-family: 'Arvo', serif; removed */
animation-duration: 0.3s;
animation-fill-mode: forwards;
}
.modal-overlay.fade-in {
animation-name: fadeIn;
}
.modal-overlay.fade-out {
animation-name: fadeOut;
}
.modal-content.slide-up {
animation-name: slideUp;
}
.modal-content.slide-down {
animation-name: slideDown;
}
.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
}
.modal-header h2 {
font-size: 1.5rem;
/* font-weight: bold; removed */
font-family: 'Space Mono', 'JetBrains Mono', monospace;
color: #f87171; /* Primary color for title */
}
.close-button {
background-color: transparent;
border: none;
color: #9ca3af; /* gray-400 */
cursor: pointer;
border-radius: 9999px; /* fully rounded */
padding: 8px; /* Bigger click area */
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease-in-out;
}
.close-button:hover {
background-color: rgba(255, 255, 255, 0.1); /* Subtle hover effect */
color: white;
}
.modal-body {
display: flex;
flex-direction: column;
gap: 15px; /* Increased gap */
}
.contact-links {
display: flex;
flex-direction: column;
gap: 15px; /* Increased gap */
}
.contact-link {
display: flex;
align-items: center;
gap: 15px; /* Increased gap */
color: #e5e7eb; /* gray-200 */
background-color: rgba(26, 32, 44, 0.5); /* Semi-transparent background */
border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
padding: 12px 16px; /* Larger padding */
border-radius: 8px; /* Rounded corners */
text-decoration: none;
transition: all 0.2s ease-in-out;
}
.contact-link:hover {
background-color: rgba(26, 32, 44, 0.8); /* Darker on hover */
color: white;
border-color: rgba(248, 113, 113, 0.4); /* Primary color accent */
transform: translateY(-2px); /* Subtle lift */
}
.contact-link span {
font-family: 'Space Mono', 'JetBrains Mono', monospace;
font-size: 0.95rem; /* Slightly smaller for balance */
}
.red-text {
color: #f87171;
}