|
|
|
.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; |
|
scrollbar-width: none; |
|
scroll-behavior: smooth; |
|
} |
|
|
|
|
|
.films-page { |
|
display: grid; |
|
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); |
|
gap: 30px; |
|
width: 100%; |
|
justify-content: center; |
|
} |
|
|
|
|
|
@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 { |
|
margin-top: 20px; |
|
display: flex; |
|
align-items: center; |
|
position: absolute; |
|
bottom: 1dvh; |
|
} |
|
|
|
|
|
.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 { |
|
font-size: 1.2em; |
|
margin: 0 15px; |
|
color: #e0e0e0; |
|
} |
|
|
|
|
|
@keyframes pageLoad { |
|
from { |
|
opacity: 0; |
|
} |
|
to { |
|
opacity: 1; |
|
} |
|
} |
|
|
|
.films-page-container { |
|
animation: pageLoad 1s ease; |
|
} |
|
|