-
Notifications
You must be signed in to change notification settings - Fork 0
/
portafolio-box.css
79 lines (71 loc) · 1.52 KB
/
portafolio-box.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
.portafolio-box{
position: relative;
border-radius: 2rem;
box-shadow: 0 0 1rem var(--color-fondo);
overflow: hidden;
display: flex;
}
.portafolio-box img{
width: 100%;
min-height: 300px;
}
.portafolio-layer{
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(rgba(0, 0, 0, 0.075), var(--color-fondo));
color: var(--color-font);
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
text-align: center;
padding: 0 4rem;
transform: translateY(100%);
transition: .5s ease;
}
.portafolio-box:hover .portafolio-layer{
transform: translateY(0);
}
.portafolio-layer h4{
font-size: 3.5rem;
font-weight: 500;
padding-bottom: 2rem;
}
.portafolio-layer p{
font-size: 1.8rem;
line-height: 1.3;
}
.portafolio-layer a{
display: inline-flex;
justify-content: center;
align-items: center;
width: 8rem;
height: 8rem;
background: var(--color-font);
border-radius: 50%;
margin: 5rem 2rem 0 2rem;
transition: .5s ease;
}
.portafolio-layer a:hover{
background: aqua;
box-shadow: 0 0 1rem aqua;
}
.portafolio-layer a i{
font-size: 4rem;
color: var(--color-fondo);
transition: .5s ease;
}
.portafolio-layer a i:hover{
transform: scale(1.42);
}
.EFAR {
max-width: 45%;
}
.Form-alura{
max-width: 65%;
}
/* .portafolio-layer {
} */