-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
186 lines (171 loc) · 3.22 KB
/
index.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
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
185
@import url('https://fonts.googleapis.com/css?family=Montserrat|Montserrat+Alternates|Poppins&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Montserrat Alternates', sans-serif;
}
body{
background-repeat: no-repeat;
background: url(img/fondo.jpg);
}
.capa{
position: fixed;
width: 100%;
height: 100vh;
background: rgba(0, 0, 0, 0.6);
z-index: -1;
top: 0;left: 0;
}
/*Estilos para el encabezado*/
.header{
width: 100%;
height: 80px;
position: fixed;
top: 0;left: 0;
background-color: white;
}
.container{
width: 90%;
max-width: 1200px;
margin: auto;
}
.container .btn-menu, .logo{
float: left;
line-height:100px;
}
.container .btn-menu label{
color: #001800;
font-size: 25px;
cursor: pointer;
}
.container .btn-menu label:hover{
color: #0a920a;
font-size: 25px;
cursor: pointer;
}
.logo{
justify-content: space-between;
display: flex;
}
.logo img{
margin-top: 20PX;
height: 45px;
border-radius: 55%;
font-size: 22px;
margin-left: 10px;
}
.logo h1{
color: black;
font-weight: 400;
font-size: 22px;
margin-left: 10px;
}
.container .menu{
float: right;
line-height: 100px;
}
.container .menu a{
display: inline-block;
padding: 15px;
line-height: normal;
text-decoration: none;
color: #000000;
transition: all 0.3s ease;
border-bottom: 2px solid transparent;
font-size: 15px;
margin-right: 5px;
}
.container .menu a:hover{
border-bottom: 2px solid #067c1a;
color: #067c1a;
padding-bottom: 5px;
}
/*Fin de Estilos para el encabezado*/
/*Menù lateral*/
#btn-menu{
display: none;
}
.container-menu{
position: absolute;
background: rgba(0,0,0,0.5);
width: 100%;
height: 100vh;
top: 0;left: 0;
transition: all 500ms ease;
opacity: 0;
visibility: hidden;
}
#btn-menu:checked ~ .container-menu{
opacity: 1;
visibility: visible;
}
.cont-menu{
width: 100%;
max-width: 250px;
background: #000000;
height: 100vh;
position: relative;
transition: all 500ms ease;
transform: translateX(-100%);
}
#btn-menu:checked ~ .container-menu .cont-menu{
transform: translateX(0%);
}
.cont-menu nav{
transform: translateY(15%);
}
.cont-menu nav a{
display: block;
text-decoration: none;
padding: 20px;
color: #c7c7c7;
border-left: 5px solid transparent;
transition: all 400ms ease;
}
.cont-menu nav a:hover{
border-left: 5px solid #c7c7c7;
background: #067c1a;
}
.cont-menu label{
position: absolute;
right: 5px;
top: 10px;
color: #fff;
cursor: pointer;
font-size: 18px;
}
form{
padding: 30px;
width: 400px;
margin: auto;
margin-top: 100px;
background-color: rgb(196, 202, 196);
border-radius: 5px;
}
.text-form{
font-family: 'Anton', sans-serif;
font-size: 25px;
margin-bottom: 25px;
}
.control{
width: 100%;
background-color: white;
padding: 10px;
border-radius: 5px;
margin-bottom: 15px;
border: 1px solid;
border-color: green;
}
.boton{
width: 100%;
padding: 10px;
border-radius: 5px;
margin-bottom: 15px;
border: 1px solid;
border-color: green;
}
.boton:hover{
background-color: green;
border-color: black;
}