-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
200 lines (169 loc) · 3.39 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
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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@300;400;500;600;700&display=swap');
:root {
--background-clr: #17162E;
--item-clr: #1D1C3B;
--white-clr: #FFFFFF;
--accent-clr: #706EA8;
--grey-clr: #ACACAC;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: var(--background-clr);
padding-bottom: 5%;
}
h1 {
font: 600 36px 'Kumbh Sans';
color: var(--white-clr);
text-align: center;
}
.container {
margin-inline: auto;
width: min(90%, 90rem);
}
header {
margin-top: 40px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 30px;
}
button {
background-color: transparent;
border: none;
cursor: pointer;
}
.input_field {
position: relative;
width: 50%;
}
#pesquisar {
background: #ffffff34;
padding: 20px 82px 20px 24px;
border: none;
outline: transparent;
border-radius: 8px;
font: 500 18px 'Kumbh Sans';
color: var(--white-clr);
width: 100%;
transition: background .3s;
}
#pesquisar::placeholder {
color: #8A8A8A;
}
#pesquisar:focus {
outline: 2px solid #ffffff83;
background: #ffffff3f;
}
#pesquisar:hover {
background: #ffffff3f;
}
.btn-pesquisar {
position: absolute;
right: 20px;
top: 9px;
padding: 10px 12px;
border-radius: 50%;
transition: .3s;
}
.btn-pesquisar:hover {
background-color: #ffffff15;
}
.checkbox_field {
display: flex;
align-items: center;
gap: 10px;
}
#mostrarFavoritos {
accent-color: var(--accent-clr);
width: 20px;
height: 20px;
cursor: pointer;
}
.checkbox_field label {
font: 600 18px 'Kumbh Sans';
color: var(--white-clr);
cursor: pointer;
}
section {
margin-top: 50px;
display: flex;
flex-direction: column;
gap: 48px;
}
.movie_item {
background-color: var(--item-clr);
display: flex;
align-items: center;
gap: 40px;
padding: 24px 30px;
border-radius: 8px;
box-shadow:
0.3335185647010803px 0.24931815266609192px 2.4224610328674316px 0px #00000007,
1.4366953372955322px 1.0739859342575073px 4.567187309265137px 0px #0000000C,
3.4634618759155273px 2.5890731811523438px 7.6376953125px 0px #00000010,
32.838748931884766px 24.548248291015625px 79px 0px #00000026;
}
.movie_image {
flex-shrink: 0;
width: 140px;
height: 140px;
clip-path: circle(50% at 50% 50%);
overflow: hidden;
}
.movie_image img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}
.movie_infoBox {
flex-basis: 50%;
}
.movie_title {
font: 500 18px 'Kumbh Sans';
line-height: 30px;
color: var(--white-clr);
margin-bottom: 24px;
}
.movie_actions {
display: flex;
gap: 32px;
}
.movie_actionBox {
display: flex;
align-items: center;
gap: 12px;
}
.movie_actionBox span {
font: 400 18px 'Kumbh Sans';
color: var(--white-clr);
}
.btn-favoritar {
display: flex;
align-items: center;
gap: 12px;
padding: 8px 18px;
border-radius: 40px;
background-color: #ffffff13;
}
.movie_description {
flex-basis: 100%;
}
.movie_description p {
font: 400 16px 'Kumbh Sans';
line-height: 30px;
color: var(--grey-clr);
}
@media (max-width: 820px) {
.movie_item {
flex-direction: column;
}
.input_field {
width: 90%;
}
}