Divyansh Kushwaha
UPdated
7308f1a
raw
history blame contribute delete
1.83 kB
body {
font-family: 'Roboto', sans-serif;
background-color: #121212;
margin: 0;
padding: 0;
color: #f5f5f5;
}
.container {
max-width: 800px;
margin: 50px auto;
text-align: center;
background: #1f1f1f;
padding: 30px;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
h1 {
color: #ffcc00;
margin-bottom: 20px;
font-size: 2.5em;
}
form {
margin-bottom: 40px;
}
input[type="text"] {
width: 65%;
padding: 12px;
font-size: 16px;
margin-right: 10px;
border: 2px solid #333;
border-radius: 6px;
background-color: #1f1f1f;
color: #f5f5f5;
transition: border-color 0.3s ease;
}
input[type="text"]:focus {
border-color: #ffcc00;
outline: none;
}
button {
padding: 12px 25px;
font-size: 16px;
background: linear-gradient(90deg, #ff8c00, #ffcc00);
color: #1f1f1f;
border: none;
border-radius: 6px;
cursor: pointer;
font-weight: bold;
transition: background 0.3s ease, transform 0.2s ease;
margin-top: 15px; /* Add distance between input and button */
}
button:hover {
background: linear-gradient(90deg, #ffcc00, #ff8c00);
transform: scale(1.05);
}
.recommendations {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 20px;
margin-top: 20px;
}
.movie {
background: #1f1f1f;
padding: 15px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.movie:hover {
transform: scale(1.05);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.movie img {
width: 150px;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
margin-bottom: 10px;
}
.movie h2 {
font-size: 1.2em;
margin-top: 10px;
color: #ffcc00;
}