File size: 1,495 Bytes
03769d0
 
 
 
 
0879a03
03769d0
 
 
 
 
 
 
 
 
 
 
 
 
dcad1b4
03769d0
 
0879a03
03769d0
 
dcad1b4
03769d0
0879a03
03769d0
0879a03
 
 
 
 
 
 
03769d0
 
dcad1b4
03769d0
 
0879a03
03769d0
0879a03
03769d0
 
 
 
 
 
352724c
03769d0
 
dcad1b4
03769d0
 
 
 
 
 
 
 
dcad1b4
03769d0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
/* styles/MovieCard.css */

.movie-card {
    position: relative;
    width: 150px;
    height: 250px;
    margin: 10px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #202232;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
  }
  
  .movie-card-image-container {
    position: relative;
    width: 100%;
    height: 80%;
  }
  
  .movie-card-poster {
    object-fit: cover;
    object-position: top;
    border-radius: 8px 8px 0 0;
    animation: fade-in 2s forwards;
    opacity: 0;
  }

  @keyframes fade-in{
    0%{opacity: 0;}
    100%{opacity: 1;}
  }
  
  .movie-card-info {
    position: relative;
    width: 100%;
    height: 28%;
    padding: 10px;
    background: #1b1c24;
    color: #fff;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none !important;
  }
  
  .movie-card-title {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .movie-card-year {
    margin: 5px 0 0;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .error {
    color: #e74c3c;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }