|
html, body { |
|
height: 100%; |
|
font-family: 'Arial', sans-serif; |
|
background-color: #121212; |
|
color: #ffffff; |
|
margin: 0; |
|
padding: 0; |
|
display: flex; |
|
flex-direction: column; |
|
} |
|
|
|
::-webkit-scrollbar { |
|
width: 1px; |
|
height: 1px; |
|
} |
|
|
|
::-webkit-scrollbar-track { |
|
background-color: #121212; |
|
} |
|
|
|
::-webkit-scrollbar-thumb { |
|
background-color: #121212; |
|
border-radius: 10px; |
|
} |
|
|
|
::-webkit-scrollbar-thumb:hover { |
|
background-color: #121212; |
|
} |
|
|
|
|
|
.container { |
|
max-width: 1200px; |
|
margin: 0 auto; |
|
padding: 20px; |
|
} |
|
|
|
h1, h2, h3 { |
|
font-family: 'Bebas Neue', sans-serif; |
|
color: #e50914; |
|
} |
|
|
|
h1 { |
|
text-align: center; |
|
} |
|
|
|
|
|
.movies { |
|
display: flex; |
|
flex-wrap: wrap; |
|
justify-content: space-around; |
|
} |
|
|
|
.movie { |
|
background-color: #1e1e1e; |
|
border-radius: 25px; |
|
padding: 10px; |
|
margin: 10px; |
|
width: 200px; |
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); |
|
transition: transform 0.2s; |
|
text-align: center; |
|
} |
|
|
|
.movie:hover { |
|
transform: scale(1.05); |
|
} |
|
|
|
.movie h2, .movie h3 { |
|
font-size: 18px; |
|
margin: 10px 0; |
|
} |
|
|
|
.movie p { |
|
font-size: 14px; |
|
color: #b3b3b3; |
|
} |
|
|
|
.poster { |
|
width: 100%; |
|
height: auto; |
|
border-radius: 25px; |
|
margin-bottom: 10px; |
|
} |
|
|
|
.poster-container { |
|
flex: 1; |
|
margin-right: 20px; |
|
padding: 10px; |
|
} |
|
|
|
.details-container { |
|
flex: 2; |
|
} |
|
|
|
.movie-detail { |
|
display: flex; |
|
align-items: flex-start; |
|
} |
|
|
|
.related-movies { |
|
margin-top: 40px; |
|
} |
|
|
|
.related-movies h2 { |
|
text-align: center; |
|
} |
|
|
|
.genre { |
|
margin-right: 5px; |
|
} |
|
|
|
a { |
|
color: #e50914; |
|
text-decoration: none; |
|
} |
|
|
|
a:hover { |
|
text-decoration: underline; |
|
} |
|
|
|
|
|
|
|
.home-button-container { |
|
text-align: center; |
|
margin-top: 40px; |
|
} |
|
|
|
.home-button { |
|
display: inline-block; |
|
padding: 10px 20px; |
|
background-color: #e50914; |
|
color: #fff; |
|
text-decoration: none; |
|
border-radius: 5px; |
|
font-size: 16px; |
|
transition: background-color 0.2s; |
|
} |
|
|
|
.home-button:hover { |
|
background-color: #b20710; |
|
} |
|
|
|
.error-message { |
|
color: #e50914; |
|
font-size: 10px; |
|
font-weight: bold; |
|
text-align: center; |
|
margin-top: 20px; |
|
} |
|
.container h1 { |
|
margin-top: 20px; |
|
visibility: visible; |
|
} |
|
|
|
|
|
|
|
@media (max-width: 768px) { |
|
.movies { |
|
display: grid; |
|
grid-template-columns: repeat(2, 1fr); |
|
gap: 30px; |
|
justify-items: center; |
|
} |
|
|
|
.movie { |
|
width: 100%; |
|
} |
|
|
|
.movie-detail { |
|
flex-direction: column; |
|
align-items: center; |
|
} |
|
|
|
.poster-container { |
|
margin: 50px; |
|
} |
|
|
|
.details-container { |
|
text-align: center; |
|
} |
|
} |
|
|
|
.bottom-gap { |
|
margin-bottom: 0; |
|
} |
|
|
|
@media (max-width: 768px) { |
|
|
|
.bottom-gap { |
|
margin-bottom: 60px; |
|
} |
|
|
|
} |
|
|
|
|