Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
173 lines (154 loc) · 3.06 KB
/
Copy pathstyles.css
File metadata and controls
173 lines (154 loc) · 3.06 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
/* Reset de estilos */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Estilos generales para el cuerpo del documento */
body, html {
overflow-x: hidden;
font-family: "Playfair Display", serif;
}
/* Contenedor general */
.container-all {
width: 100%;
height: 100%;
position: fixed;
z-index: 3;
visibility: hidden;
opacity: 0;
transition: all 600ms;
}
/* Efecto de modal al hacer clic en un enlace */
.container-all:target {
background-color: rgba(0, 0, 0, 0.6);
visibility: visible;
opacity: 1;
}
/* Estilos para el contenido del popup */
.popup {
width: 90%;
max-width: 800px;
z-index: 3;
position: relative;
display: flex;
flex-direction: column;
height: 500px;
top: 50%;
left: 50%;
padding: 10px;
text-decoration: none;
transform: translate(-50%, -50%);
background-color: antiquewhite;
overflow-y: auto;
overflow-x: hidden;
align-items: center;
border-radius: 15px;
}
/* Estilos para los títulos dentro del popup */
.title-container {
margin-top: 10px;
font-size: 20px;
}
/* Estilos para los párrafos dentro del popup */
.parraf-container {
margin-top: 20px;
margin-bottom: 20px;
}
.parraf-container p {
text-align: center;
font-weight: 500;
}
/* Estilos para contenedores de video e imagen */
.video-container {
border-radius: 10px;
}
.image-container img {
width: 300px;
height: 150px;
}
/* Estilos específicos para algunas imágenes */
#velocidadImage {
width: 300px;
height: 50px;
}
#posicionImage {
width: 300px;
height: 50px;
}
/* Estilos para el botón de cerrar el popup */
.close-popup {
width: 60px;
height: 60px;
position: absolute;
left: -20px;
top: -20px;
padding: 32px;
text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
background: black;
z-index: 1000;
color: white;
font-size: 25px;
line-height: 10px;
border-radius: 50%;
}
/* Estilos para el reproductor de audio */
.audio {
display: flex;
flex-direction: row;
position: absolute;
justify-content: center;
width: 100%;
bottom: 3%;
z-index: 100;
}
audio {
padding: 10px;
}
/* Estilos para el elemento canvas de WebGL */
.webgl {
position: absolute;
top: 0;
left: 0;
z-index: 1;
}
/* Estilos para el título principal */
.title {
position: absolute;
color: white;
top: 50%;
left: 50%;
font-weight: 400;
width: 100%;
opacity: 70%;
letter-spacing: 5px;
transform: translate(-50%, -50%);
z-index: 2;
text-align: center;
}
/* Estilos para la barra de navegación */
nav {
color: white;
z-index: 2;
position: absolute;
bottom: 3%;
left: 50%;
/*animacion al cargar pagina*/
transform: translate(-50%, -3%);
padding: 4rem 8rem;
display: flex;
justify-content: space-between;
}
nav a {
text-decoration: none;
color: white;
font-style: bold;
text-align: center;
}
nav ul {
list-style: none;
display: flex;
opacity: 70%;
gap: 4rem;
}