-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
113 lines (98 loc) · 2.09 KB
/
index.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
.header {
border-bottom-left-radius: 15px;
border-bottom-right-radius: 15px;
}
/*movie-card {
padding: 10px;
background: #;
} */
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}
/* Barra di navigazione */
nav {
position: fixed;
top: 0;
left: 0;
width: 100%;
background-color: #e90ab5;
color: #fff;
padding: 10px;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 1;
}
nav ul {
list-style-type: none;
margin: 0;
padding: 0;
display: flex;
}
nav ul li {
margin-right: 20px;
}
nav ul li a {
color: #fff;
text-decoration: none;
}
nav input[type="text"] {
padding: 5px;
border-radius: 3px;
border: none;
}
/* Hero */
.hero {
height: 100vh;
background-color: #000;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
position: relative;
background-image: url('https://wallpapers.com/images/high/movie-poster-background-p5qblffj7cvswl5g.webp');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
}
.hero::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5); /* opacità background*/
}
.hero-content {
z-index: 1;
color: #fff;
text-align: center;
}
.hero-content h1 {
font-size: 3rem;
margin-bottom: 20px;
text-shadow: -1px -1px 0 #e90ab5, 1px -1px 0 #e90ab5, -1px 1px 0 #e90ab5, 1px 1px 0 #e90ab5;
color: white;
}
.hero-content p {
font-size: 1.2rem;
margin-bottom: 40px;
}
.movies-card {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}
.movies-card {
flex-basis: calc(20% - 20px); /* Imposta la larghezza di ogni card a un quinto dello spazio disponibile, sottraendo un po' di spazio per il padding */
margin: 10px;
padding: 10px;
background-color: rgb(10, 190, 190);
color: aliceblue;
border: 2px solid aliceblue;
border-radius: 10px;
}