-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathestilos.css
127 lines (107 loc) · 1.83 KB
/
estilos.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
body {
background-image: url(fondonetflix.jpg);
background-size: cover;
font-family: "Montserrat", sans-serif;
margin: 0;
padding: 0;
}
.container {
max-width: 900px;
margin: 80px auto;
padding: 80px;
background-color: #0000009c;
border-radius: 8px;
box-shadow: 0 0 10px rgba(61, 61, 61, 0.1);
}
h1 {
color: rgb(255, 255, 255);
text-align: center;
}
.search-container {
margin-bottom: 20px;
}
input[type="text"] {
width: 70%;
padding: 10px;
font-size: 16px;
border: 1px solid #d2d2d2;
border-radius: 4px;
}
button {
font-family: "Montserrat", sans-serif;
padding: 10px 20px;
font-size: 16px;
border: none;
border-radius: 6px;
cursor: pointer;
background-color: #ff3434;
color: white;
}
button:hover {
background-color: #341582;
}
#results-container, #favorites-container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.movie {
flex: 0 0 calc(33.33% - 20px);
margin-bottom: 20px;
box-sizing: border-box;
padding: 0 10px;
}
.movie img {
max-width: 100%;
height: auto;
border-radius: 4px;
}
.movie-info {
margin-top: 10px;
}
.movie-info p {
margin: 5px 0;
}
@media screen and (max-width: 768px) {
.container {
max-width: 90%;
}
.movie {
flex: 0 0 calc(50% - 20px);
}
}
@media screen and (max-width: 375px) {
.movie {
flex: 0 0 100%;
}
}
.modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
background-color: #fefefe;
margin: 15% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
}
.close-button {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close-button:hover,
.close-button:focus {
color: black;
text-decoration: none;
cursor: pointer;
}