-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
114 lines (89 loc) · 1.68 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
body {
font-family: 'Roboto', sans-serif;
background-color: #EEF9BF;
}
.contador{
position: fixed;
right: 10px;
top: 10px;
text-align: center;
font-weight: 700;
font-size: 20px;
color: #75B79E;
}
header {
margin: 45px 0;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
header h1 {
font-weight: 700;
font-size: 56px;
line-height: 66px;
letter-spacing: -0.004em;
text-align: center;
color: #75B79E;
}
section {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 34px;
margin: 0 auto;
max-width: 872px;
}
section article {
width: 117px;
height: 146px;
margin-bottom: 34px;
position: relative;
}
article img {
width: 100px;
height: 100px;
}
.face {
width: 100%;
height: 100%;
background-color: #A7E9AF;
border-radius: 5px;
box-shadow: 1px 1px 1px rgba(0,0,0,.3);
display: flex;
align-items: center;
justify-content: center;
position: absolute;
backface-visibility: hidden;
transition: all .5s;
transform-style: preserve-3d;
}
.back-face {
transform: rotateY(180deg);
}
.card .face-costas {
transform: rotateY(0deg);
}
.card .face-frente {
transform: rotateY(-180deg);
}
.selecionado{
font-family: 'Roboto', sans-serif;
}
@media (max-width: 335px) {
header h1 {
max-width: 312px;
font-size: 36px;
line-height: 42px;
text-align: center;
}
section {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
}
article {
margin: 0;
}
}