2025-02-15 17:34:39 +04:00

141 lines
2.1 KiB
CSS

/* Reset default browser styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Open Sans', sans-serif;
line-height: 1.6;
color: #fff;
background-color: #121212;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
background-color: #222222;
}
nav ul {
display: flex;
list-style: none;
padding: 0;
}
nav ul li {
margin-right: 20px;
}
nav ul li a {
color: #fff;
text-decoration: none;
transition: color 0.3s ease;
}
nav ul li a:hover {
color: #ff6600;
}
.logo {
max-width: 50px;
max-height: 50px;
}
.logo img {
display: block;
width: 100%;
height: auto;
}
main {
padding: 20px;
}
.featured-movies,
.upcoming-movies {
margin-bottom: 40px;
}
.featured-movies h2,
.upcoming-movies h2 {
color: #ff6600;
}
.movie-list {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.movie-card {
width: 300px;
margin-bottom: 40px;
background-color: #222222;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.movie-card img {
width: 100%;
height: auto;
}
.movie-card h3 {
color: #fff;
margin: 10px 0;
}
.movie-card p {
color: #999;
margin: 5px 0;
}
.movie-card a {
display: block;
width: 100%;
background-color: #ff6600;
color: #fff;
text-align: center;
padding: 10px 0;
text-decoration: none;
transition: background-color 0.3s ease, color 0.3s ease;
}
.movie-card a:hover {
background-color: #fff;
color: #ff6600;
}
footer {
padding: 20px;
background-color: #222222;
text-align: center;
color: #999;
}
.watch-now-btn {
display: inline-block;
padding: 10px 20px;
background-color: #ff6600;
color: #fff;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s ease, color 0.3s ease;
}
.watch-now-btn:hover {
background-color: #fff;
color: #ff6600;
}
.header-th {
color: #fff;
text-align: left;
width: 200px;
}