-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
151 lines (130 loc) · 3.01 KB
/
style.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
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
body {
font-family: Arial, sans-serif;
background: linear-gradient(to bottom, #aeeeee, #006699); /* Water-like gradient */
}
.tabs {
overflow: hidden;
background-color: #f1f1f1;
display: flex;
justify-content: space-around;
}
.tablink {
background-color: #555;
color: white;
padding: 14px 20px;
cursor: pointer;
transition: background-color 0.3s;
border: none;
outline: none;
}
.tablink:hover {
background-color: #777;
}
.tab-content {
display: none;
padding: 20px;
}
.tab-content.active {
display: block;
}
#about-me-section {
position: relative;
height: 100vh;
overflow: hidden;
}
.bubble {
width: 100px;
height: 100px;
background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.7), rgba(173,216,230,0.5));
border-radius: 50%;
position: absolute;
bottom: -50px; /* Start below the view */
bottom: 0;
animation: floatUp 5s infinite;
text-align: center;
line-height: 100px;
cursor: pointer;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
transition: transform 0.2s ease-in-out;
}
/* Bubble animation */
@keyframes floatUp {
0% { transform: translateY(0); }
100% { transform: translateY(-500px); } /* Float higher */
}
/* Burst effect */
.burst {
animation: burst 0.5s forwards; /* Create a burst animation */
}
@keyframes burst {
0% { transform: scale(1); opacity: 1; }
100% { transform: scale(2); opacity: 0; }
}
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1000; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.modal-content {
background-color: #fefefe;
margin: 15% auto; /* 15% from the top and centered */
padding: 20px;
border: 1px solid #888;
width: 80%; /* Could be more or less, depending on screen size */
}
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
@keyframes floatUp {
0% { transform: translateY(0); opacity: 1; }
90% { transform: translateY(-90vh); }
100% { transform: translateY(-100vh); opacity: 0; }
}
.burst {
animation: burstEffect 0.5s ease-out forwards;
}
@keyframes burstEffect {
from { transform: scale(1); opacity: 1; }
to { transform: scale(3); opacity: 0; }
}
#deep-dark-zone {
height: 100vh;
background-color: #000;
position: relative;
}
.hidden-pixel {
width: 10px;
height: 10px;
background-color: #111;
position: absolute;
top: 50px;
left: 100px;
opacity: 0.2;
transition: opacity 0.5s;
}
.hidden-pixel:hover {
opacity: 1;
}
.hidden-message {
color: #fff;
display: none;
}
.hidden-pixel:hover + .hidden-message {
display: block;
}