-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
113 lines (97 loc) · 1.91 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-size: 62.5%;
}
body {
font-family: "Roboto Mono", monospace;
text-align: center;
background-image: url("https://www.alura.com.br/assets/img/imersoes/dev-2021/dia-04-aluraflix-e-filmes.png");
background-color: #000000;
background-size: cover;
background-position: center top;
background-repeat: no-repeat;
}
header h1 {
margin-top: 50px;
color: #fff;
font-size: 2rem;
line-height: 4rem;
text-align: center;
}
header img {
width: 220px;
}
main p {
font-size: 1.5rem;
color: #fff;
line-height: 4rem;
text-align: center;
}
main .container--btn {
width: 100%;
display: flex;
flex-direction: column;
/* padding: 50px; */
}
main .container--btn #pelicula {
width: 230px;
text-align: center;
margin: 0 auto;
outline: none;
cursor: pointer;
font-size: 1.5rem;
margin-bottom: 20px;
padding: 5px;
}
main .container--btn button {
width: 200px;
height: 40px;
border: none;
background-color: #01B869;
box-shadow: 0px 7px 9px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease-in-out;
outline: none;
cursor: pointer;
color: #fff;
margin: 0 auto;
font-size: 1.8rem;
font-weight: bold;
}
main a {
width: 50px;
height: 50px;
display: block;
position: absolute;
top: 10px;
right: 10px;
}
#listaPeliculas {
display: flex;
/* justify-content: space-evenly; */
flex-wrap: wrap;
justify-content: center;
gap: 10px;
min-width: 320px;
max-width: 1000px;
height: auto;
margin-top: 20px;
}
.pelicula {
width: 200px;
min-height: 100%;
border: 1px solid #ccc;
padding: 10px;
text-align: center;
}
.pelicula img {
width: 100%;
display: block;
max-width: 500px;
min-width: 50px;
height: 220px;
margin: 0 auto;
}