SateeshAmbesange's picture
Create App.css
fe27fe7 verified
/* frontend/src/App.css */
body {
background-color: #0E1117;
color: #FAFAFA;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
margin: 0;
padding: 20px;
}
.App-header {
text-align: center;
margin-bottom: 40px;
}
.App-header h1 {
font-size: 2.5rem;
color: #4B8BBE;
}
.controls {
display: flex;
justify-content: center;
align-items: center;
gap: 20px;
margin-bottom: 40px;
}
.controls select {
min-width: 300px;
padding: 10px;
font-size: 16px;
border-radius: 8px;
border: 1px solid #4B8BBE;
background-color: #262730;
color: #FAFAFA;
}
.controls button {
background-color: #4B8BBE;
color: white;
border-radius: 8px;
border: none;
padding: 10px 24px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.2s;
}
.controls button:disabled {
background-color: #555;
cursor: not-allowed;
}
.controls button:hover:not(:disabled) {
background-color: #3A6A94;
}
.recommendation-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 20px;
padding: 0 20px;
}
.movie-card {
background-color: #262730;
border-radius: 10px;
overflow: hidden;
}
.movie-card img {
width: 100%;
height: 300px;
object-fit: cover;
}
.movie-title {
font-size: 14px;
font-weight: bold;
text-align: center;
padding: 10px;
}
.error {
text-align: center;
color: #FF4B4B;
}