File size: 1,692 Bytes
03769d0
 
 
 
 
 
 
 
1a805b3
 
 
 
 
03769d0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1a805b3
 
03769d0
 
 
 
1a805b3
 
03769d0
 
 
1a805b3
 
03769d0
 
 
 
1a805b3
03769d0
 
 
1a805b3
03769d0
 
 
 
 
1a805b3
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
84
85
86
87
88
89
90
91
92
93
94
/* Films Page Container */
.films-page-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  height: 80dvh;
  overflow-y: scroll;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
  scroll-behavior: smooth;
}

/* Films Grid */
.films-page {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 30px;
  width: 100%;
  justify-content: center;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .films-page {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .films-page {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
}

/* Pagination Controls */
.pagination-controls {
  margin-top: 20px;
  display: flex;
  align-items: center;
  position: absolute;
  bottom: 1dvh;
}

/* Pagination Button */
.pagination-button {
  background-color: #1c2354;
  border: 1px solid #4339ff;
  color: #ffffff;
  border-radius: 50%;
  padding: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 1s, border .5s;
}

.pagination-button.enabled:hover {
  background-color: #273281;
}

.pagination-button.disabled {
  background-color: #333;
  cursor: not-allowed;
  border: none;
}

/* Page Info */
.page-info {
  font-size: 1.2em;
  margin: 0 15px;
  color: #e0e0e0;
}

/* Handle Animations on Page Load */
@keyframes pageLoad {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.films-page-container {
  animation: pageLoad 1s ease;
}