anuvaadai / style.css
Bagda's picture
Create style.css (#1)
ad0ca5a verified
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
color: #333;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.header {
text-align: center;
margin-bottom: 40px;
color: white;
}
.header h1 {
font-size: 3rem;
margin-bottom: 10px;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.subtitle {
font-size: 1.2rem;
opacity: 0.9;
}
.main-content {
background: white;
border-radius: 20px;
padding: 40px;
box-shadow: 0 20px 40px rgba(0,0,0,0.1);
margin-bottom: 20px;
}
.prompt-section {
margin-bottom: 30px;
}
.prompt-box {
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
color: white;
padding: 25px;
border-radius: 15px;
margin-bottom: 30px;
}
.prompt-box h2 {
margin-bottom: 15px;
font-size: 1.5rem;
}
.prompt-box ol {
margin-left: 20px;
line-height: 1.6;
}
.input-section {
margin-bottom: 30px;
}
.input-container {
margin-bottom: 25px;
}
.input-container label {
display: block;
margin-bottom: 10px;
font-weight: 600;
color: #555;
}
.input-container input {
width: 100%;
padding: 15px;
border: 2px solid #e1e5e9;
border-radius: 10px;
font-size: 1rem;
transition: border-color 0.3s ease;
}
.input-container input:focus {
outline: none;
border-color: #667eea;
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.options-section {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.option-group label {
font-weight: 600;
color: #555;
margin-bottom: 8px;
display: block;
}
.option-group select {
width: 100%;
padding: 12px;
border: 2px solid #e1e5e9;
border-radius: 8px;
font-size: 1rem;
background: white;
cursor: pointer;
}
.checkbox-container {
display: flex;
align-items: center;
cursor: pointer;
font-weight: 600;
color: #555;
}
.checkbox-container input {
margin-right: 10px;
transform: scale(1.2);
}
.generate-btn {
width: 100%;
padding: 18px;
background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
color: white;
border: none;
border-radius: 12px;
font-size: 1.2rem;
font-weight: 600;
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.2s ease;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}
.generate-btn:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(79, 172, 254, 0.3);
}
.loading-section {
text-align: center;
padding: 40px;
background: #f8f9fa;
border-radius: 15px;
margin: 20px 0;
}
.loading-spinner {
width: 60px;
height: 60px;
border: 4px solid #e1e5e9;
border-top: 4px solid #667eea;
border-radius: 50%;
animation: spin 1s linear infinite;
margin: 0 auto 20px;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.loading-text {
font-size: 1.1rem;
color: #666;
margin-bottom: 20px;
}
.progress-bar {
width: 100%;
height: 8px;
background: #e1e5e9;
border-radius: 4px;
overflow: hidden;
}
.progress-fill {
height: 100%;
background: linear-gradient(90deg, #667eea, #764ba2);
width: 0%;
animation: progress 3s ease-in-out infinite;
}
@keyframes progress {
0% { width: 0%; }
50% { width: 70%; }
100% { width: 100%; }
}
.output-section {
background: #f8f9fa;
padding: 30px;
border-radius: 15px;
margin: 20px 0;
}
.output-section h3 {
color: #28a745;
margin-bottom: 25px;
font-size: 1.5rem;
}
.video-container {
margin-bottom: 25px;
text-align: center;
}
.video-container video {
width: 100%;
max-width: 800px;
border-radius: 10px;
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.download-section {
text-align: center;
margin-bottom: 25px;
}
.download-btn {
padding: 12px 25px;
background: #28a745;
color: white;
border: none;
border-radius: 8px;
font-size: 1rem;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 8px;
transition: background 0.3s ease;
}
.download-btn:hover {
background: #218838;
}
.transcript-section {
margin-bottom: 25px;
}
.transcript-section h4 {
margin-bottom: 15px;
color: #555;
}
.transcript-container textarea {
width: 100%;
height: 150px;
padding: 15px;
border: 2px solid #e1e5e9;
border-radius: 8px;
font-family: inherit;
resize: vertical;
background: white;
}
.playback-controls {
display: flex;
justify-content: center;
gap: 10px;
}
.control-btn {
width: 50px;
height: 50px;
border: none;
border-radius: 50%;
background: #667eea;
color: white;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.3s ease, transform 0.2s ease;
}
.control-btn:hover {
background: #5a6fd8;
transform: scale(1.1);
}
.footer {
text-align: center;
color: white;
opacity: 0.8;
padding: 20px;
}
@media (max-width: 768px) {
.container {
padding: 10px;
}
.main-content {
padding: 20px;
}
.header h1 {
font-size: 2rem;
}
.options-section {
grid-template-columns: 1fr;
}
}