File size: 4,196 Bytes
dcad1b4
0879a03
dcad1b4
 
 
 
 
0879a03
 
 
 
dcad1b4
 
 
 
 
 
 
 
 
 
0879a03
 
 
dcad1b4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0879a03
 
 
dcad1b4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0879a03
 
 
dcad1b4
 
 
 
0879a03
 
 
 
dcad1b4
 
 
 
0879a03
 
 
dcad1b4
 
 
 
 
0879a03
 
 
 
dcad1b4
 
0879a03
 
dcad1b4
 
 
0879a03
 
dcad1b4
 
0879a03
 
 
 
dcad1b4
 
 
 
 
 
0879a03
 
dcad1b4
 
0879a03
 
 
dcad1b4
0879a03
 
 
 
dcad1b4
0879a03
 
 
 
dcad1b4
 
 
 
 
0879a03
 
 
 
dcad1b4
 
 
0879a03
 
 
 
dcad1b4
 
 
0879a03
 
 
 
dcad1b4
 
0879a03
 
 
dcad1b4
 
 
 
0879a03
 
 
 
dcad1b4
 
 
0879a03
dcad1b4
 
 
 
0879a03
dcad1b4
 
 
0879a03
 
0504ed2
dcad1b4
 
 
0879a03
 
0504ed2
dcad1b4
 
3673e75
dcad1b4
 
 
 
 
 
0504ed2
dcad1b4
 
a67c433
0504ed2
dcad1b4
 
 
 
 
0504ed2
dcad1b4
 
 
 
 
 
 
 
 
 
 
 
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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
@import url("https://fonts.googleapis.com/css2?family=Anton&display=swap");
.movie-details-page {
  position: relative;
  overflow: hidden;
  scroll-behavior: smooth;
  color: #fff;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Backdrop Styling */
.movie-details-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 250% 150%; /* Adjusted size to create a zooming effect */
  background-position: center;
  z-index: -1;
  animation: backdrop-anim-portrait 20s ease-in-out infinite;
  filter: blur(10px);
}

@keyframes backdrop-anim-portrait {
  0% {
    background-position: center;
    background-size: 350% 150%;
  }
  25% {
    background-position: top left;
    background-size: 320% 120%;
  }
  50% {
    background-position: bottom right;
    background-size: 350% 150%;
  }
  75% {
    background-position: top right;
    background-size: 320% 120%;
  }
  100% {
    background-position: center;
    background-size: 350% 150%;
  }
}

@media (orientation: landscape) {
  .movie-details-backdrop {
    background-size: 250% 150%; /* Adjusted size to create a zooming effect */
    animation: backdrop-anim-landscape 20s ease-in-out infinite;
  }
}

@keyframes backdrop-anim-landscape {
  0% {
    background-position: center;
    background-size: 150% 150%;
  }
  25% {
    background-position: top left;
    background-size: 120% 120%;
  }
  50% {
    background-position: bottom right;
    background-size: 150% 150%;
  }
  75% {
    background-position: top right;
    background-size: 120% 120%;
  }
  100% {
    background-position: center;
    background-size: 150% 150%;
  }
}
/* Container Styling */
.movie-details-page-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header Styling */
.movie-details-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.movie-details-header h1 {
  font-size: 4rem;
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin: 0;
}

/* Action Buttons */
.movie-details-actions {
  display: flex;
  gap: 15px;
}

.play-button {
  border: 1px solid #4339ff;
  background-color: #17174a; /* Red button color */
}

.add-list-button {
  background-color: #333;
}

.play-button,
.add-list-button {
  color: #fff;
  padding: 12px 24px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.play-button:hover {
  background-color: #27277c;
}

.add-list-button:hover {
  background-color: #444;
}

.play-button:hover,
.add-list-button:hover {
  transform: scale(1.05);
}

/* Poster Styling */
.movie-details-poster img {
  width: 250px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 20px;
}

/* Info Section Styling */
.movie-details-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.movie-details-metadata,
.movie-details-overview {
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.movie-details-metadata p,
.movie-details-overview p {
  margin: 8px 0;
  line-height: 1.6;
}

.movie-details-overview h2 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  border-bottom: 2px solid #4339ff;
  padding-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .movie-details-header h1 {
    font-size: 3rem;
  }

  .movie-details-poster img {
    width: 100%;
    max-width: 200px;
  }

  .movie-details-info {
    flex-direction: column;
  }
}

.movie-geners-section {
  display: flex;
  text-align: center;
  align-items: center;
}

.movie-genre-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.movie-genre-item {
  margin: 5px;
}

.movie-genre-link {
  text-decoration: none;
  color: #0082f3; /* Next.js blue color */
  font-weight: bold;
}

.movie-genre-link:hover {
  text-decoration: underline;
}

.loading {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  justify-content: center;
  align-items: center;
  z-index: 100;
}