36119-vm/static/css/custom.css
Flatlogic Bot bd1a0b96c9 v2
2025-11-23 13:20:22 +00:00

223 lines
4.1 KiB
CSS

@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');
body {
background-color: #141414;
color: #fff;
font-family: 'Roboto', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Bebas Neue', sans-serif;
color: #fff;
}
.page-wrapper {
background-color: #141414;
min-height: 100vh;
display: flex;
flex-direction: column;
}
/* --- Navigation --- */
.navbar {
background-color: rgba(20, 20, 20, 0.8);
backdrop-filter: blur(10px);
transition: background-color 0.3s ease;
}
.navbar.scrolled {
background-color: #141414;
}
.navbar-brand {
font-family: 'Bebas Neue', sans-serif;
color: #E50914 !important;
font-size: 2.5rem;
letter-spacing: 1px;
}
.nav-link {
color: #a9a9a9 !important;
font-weight: 500;
transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.active {
color: #fff !important;
}
/* --- Hero Section --- */
.hero-section {
position: relative;
height: 90vh;
background-size: cover;
background-position: center top;
display: flex;
align-items: center;
}
.hero-section::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(to top, #141414 15%, rgba(20, 20, 20, 0) 50%), linear-gradient(to right, rgba(20, 20, 20, 0.5) 0%, rgba(20, 20, 20, 0) 30%);
}
.hero-content-wrapper {
position: relative;
z-index: 1;
padding: 0 5%;
}
.hero-content {
max-width: 550px;
}
.hero-title {
font-size: 5rem;
font-weight: bold;
text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}
.hero-description {
font-size: 1.2rem;
line-height: 1.5;
margin: 1rem 0 2rem;
text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}
.hero-buttons .btn {
margin-right: 1rem;
font-weight: bold;
padding: 0.75rem 2rem;
border-radius: 5px;
font-size: 1.1rem;
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
.btn-play {
background-color: #fff;
color: #000;
border: none;
}
.btn-play:hover {
background-color: rgba(255, 255, 255, 0.8);
}
.btn-more-info {
background-color: rgba(109, 109, 110, 0.7);
color: #fff;
border: none;
}
.btn-more-info:hover {
background-color: rgba(109, 109, 110, 0.5);
}
/* --- Movie Carousels --- */
.movie-sections {
margin-top: -10vh; /* Pulls the carousels up into the hero gradient */
position: relative;
z-index: 2;
}
.section-title {
font-size: 1.8rem;
font-weight: 500;
margin-bottom: 1rem;
padding: 0 5%;
}
.movie-carousel-wrapper {
position: relative;
}
.movie-carousel {
display: flex;
overflow-x: scroll;
overflow-y: hidden;
padding: 0 5% 20px;
scrollbar-width: none; /* Firefox */
}
.movie-carousel::-webkit-scrollbar {
display: none; /* Safari and Chrome */
}
.movie-card {
flex: 0 0 auto;
width: 16vw; /* Responsive width */
max-width: 280px;
min-width: 180px;
margin-right: 10px;
border-radius: 5px;
overflow: hidden;
position: relative;
transition: transform 0.3s ease, box-shadow 0.3s ease;
cursor: pointer;
background-color: #181818;
}
.movie-card img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.movie-card-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
padding: 2rem 1rem 1rem;
opacity: 0;
transition: opacity 0.3s ease;
}
.movie-card:hover .movie-card-overlay {
opacity: 1;
}
.movie-card:hover {
transform: scale(1.05);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}
.movie-card-title {
font-family: 'Roboto', sans-serif;
font-size: 1rem;
font-weight: bold;
margin-bottom: 0.5rem;
}
.movie-card-actions {
display: flex;
justify-content: space-between;
align-items: center;
}
.btn-play-icon {
color: #fff;
font-size: 2rem;
}
.btn-play-icon:hover {
color: #E50914;
}
.movie-rating {
font-size: 0.8rem;
color: #a9a9a9;
}
/* --- Footer --- */
.main-footer {
background-color: #181818;
color: #a9a9a9;
font-size: 0.9rem;
}