-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
145 lines (132 loc) · 2.34 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-color: rgb(0, 0, 0) ;
}
main{
height: 100%;
width: 100%;
/* background-color: rgb(255, 0, 0); */
}
.nav{
display: flex;
width: 100%;
align-items: center;
justify-content: space-around;
padding-bottom: 15px;
background-color: rgb(65, 65, 65);
border-bottom: 3px solid rgb(255, 255, 255,0.75);
border-bottom-left-radius: 50px;
border-bottom-right-radius: 50px;
position: sticky;
top: 0;
z-index: 3;
box-shadow: 8px 10px 33px rgb(255 255 255 / 50%);
}
h1{
color: white;
flex: 50%;
margin-left: 5vh;
}
.input{
flex: 60%;
}
h1>p{
font-size: 0.9rem;
}
#serach{
display: block;
border: none;
width: 70%;
margin: auto;
margin-top: 15px;
padding: 15px;
font-size: 20px;
box-shadow: 20px 10px 5px rgb(102, 51, 153,0.6);
border-radius: 15px;
}
#serach:focus{
outline: none;
}
.movie-box{
width: 100%;
margin-top: 15px;
min-height: 100%;
z-index: 1;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.box{
position: relative;
width: 300px;
height: 300px;
margin: 15px;
overflow: hidden;
box-shadow: 0px 15px 10px rgba(61, 60, 60, 0.8);
border-radius: 15px;
}
.box-img{
position: relative;
margin: 0px;
width: 300px;
height: 300px;
z-index: 1;
}
.box-img img{
width: 100%;
height: 100%;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
overflow: hidden;
}
.content{
z-index: 0;
/* display: none; */
position: absolute;
width: 0;
height: 0;
bottom: 0;
left: 0px;
background-color: rgba(0, 0, 0, 0.5);
color: rgb(255, 255, 255);
border-radius:20px ;
transition: 0.5s ease-in-out;
}
.box:hover .content{
z-index: 2;
min-width: 100%;
height: 290px;
bottom: -15px;
}
.content .title{
display: flex;
justify-content: space-between;
width: 100%;
padding: 5px;
border-top-left-radius: 20px;
border-top-right-radius: 20px;
background: linear-gradient();
background: rgb(0,0,0);
background: linear-gradient(180deg, rgba(0,0,0,0.8435749299719888) 90%, rgba(255,255,255,1) 100%);
}
h2{
font-size: 2rem;
}
h4{
font-size: 2.5rem;
color: rgb(98, 202, 0);
}
.content .overview h3{
margin-top: 5px;
font-size: 1rem;
}
.content .overview p{
margin: 1px 2px;
font-size: 0.9rem;
overflow: hidden;
}