-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
184 lines (157 loc) · 3.04 KB
/
styles.css
File metadata and controls
184 lines (157 loc) · 3.04 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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
* {
box-sizing: border-box;
}
html,
body {
margin: 0;
padding: 0;
background: linear-gradient(135deg, #e9a6c9, #fbc2eb);
font-family: "Gloria Hallelujah", cursive;
font-weight: 400;
font-style: normal;
min-height: 100vh;
box-sizing: border-box;
}
.nonee{
display: none;
}
/* body {
position: relative;
overflow-x: hidden;
}
.us {
position: absolute;
width: 400px;
height: 400px;
background-image: url('images/cute-cat.png');
background-size: contain;
background-repeat: no-repeat;
opacity: 0.5;
pointer-events: none;
animation: flotar 20s infinite ease-in-out;
}
@keyframes flotar {
0%, 100% { transform: translateX(80px) rotate(180deg); }
0% { transform: translateY(10px) rotate(10deg); }
} */
/* Contenedor principal */
.container {
width: 100%;
min-height: 100vh;
display: flex;
flex-direction: column; /* Para stacking natural en móviles */
justify-content: center;
align-items: center;
padding: 20px;
text-align: center;
gap: 20px;
}
/* Botón de inicio */
.start {
background-color: #ff0084;
border: 1px solid black;
padding: clamp(16px, 5vw, 28px) clamp(32px, 10vw, 49px);
border-radius: 100px;
cursor: pointer;
font-size: clamp(24px, 6vw, 48px);
white-space: nowrap;
max-width: 90vw;
overflow: hidden;
text-overflow: ellipsis;
}
/* Animación de aparición */
#playBtn {
transition: opacity 1.5s ease;
}
#replayBtn {
transition: opacity 1.5s ease;
}
/* Contenedor de texto oculto inicialmente */
.text-container {
display: none;
text-align: center;
max-width: 90%;
margin: 0 auto;
padding: 0 10px;
}
/* Texto principal */
.text {
font-size: clamp(32px, 8vw, 5em);
letter-spacing: 0.2em;
width: 100%;
font-family: "Caveat", cursive;
white-space: pre-wrap;
text-align: center;
opacity: 0;
transition: opacity 1s ease;
}
.btn__container{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 20px;
}
.fade-in {
opacity: 0;
transform: translateY(20px);
animation: fadeInUp 1s forwards;
}
.fade-out {
opacity: 0;
transition: opacity 1s ease;
pointer-events: none;
}
@keyframes fadeInUp {
to {
opacity: 1;
transform: translateY(0);
}
}
/* Animación de cursor */
@keyframes cursor {
50% {
border-color: transparent;
}
}
/* Animación de typing */
@keyframes typing {
from {
width: 0;
}
}
/* Media Queries para pantallas pequeñas */
@media (max-width: 400px) {
.container {
padding: 40px 20px;
gap: 30px;
}
.start {
width: 100%;
font-size: clamp(20px, 5vw, 36px);
}
.text-container {
padding: 0 5px;
}
}
.none{
display: none;
}
#photo-frame {
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
}
#photo-frame img.photo {
max-width: 90vw;
max-height: 70vh;
border: 8px solid white;
border-radius: 20px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
transition: transform 0.5s ease, box-shadow 0.5s ease;
}
#photo-frame img.photo:hover {
transform: scale(1.03);
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}