Prime810's picture
Upload 2 files
434b5c0 verified
raw
history blame
2.18 kB
body {
margin: 0;
font-family: 'Segoe UI', sans-serif;
background: linear-gradient(to bottom right, #141e30, #243b55);
color: #f3f3f3;
text-align: center;
}
header {
padding: 2rem 1rem;
background: linear-gradient(to right, #ff9a9e, #fad0c4);
color: transparent;
-webkit-background-clip: text;
background-clip: text;
}
header h1 {
font-size: 3rem;
margin: 0;
}
header p {
font-size: 1.2rem;
margin-top: 0.5rem;
}
.camera-section {
padding: 1rem;
}
#videoElement {
width: 100%;
max-width: 460px;
border-radius: 20px;
border: 4px solid rgba(255, 255, 255, 0.3);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
object-fit: cover;
margin-bottom: 1rem;
}
.btn-group {
margin-top: 1rem;
}
.btn {
background: linear-gradient(to right, #6a11cb, #2575fc);
color: white;
padding: 12px 24px;
border: none;
border-radius: 40px;
font-size: 1rem;
font-weight: bold;
margin: 8px;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}
.btn:hover {
background: linear-gradient(to right, #43e97b, #38f9d7);
transform: scale(1.05);
}
.result-section {
padding: 1rem;
}
#capturedImagePreview img {
width: 100%;
max-width: 360px;
margin-top: 1rem;
border-radius: 16px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
#emojiDisplay img {
margin-top: 1rem;
width: 100px;
animation: bounce 1.2s ease-in-out infinite;
}
#emotionText {
margin-top: 1rem;
font-size: 1.3rem;
font-weight: 500;
color: #c7ffec;
}
#downloadEmoji {
display: inline-block;
margin-top: 1rem;
background: linear-gradient(to right, #ee0979, #ff6a00);
padding: 12px 24px;
border-radius: 30px;
color: white;
text-decoration: none;
font-weight: bold;
transition: 0.3s;
}
#downloadEmoji:hover {
transform: scale(1.05);
box-shadow: 0 8px 16px rgba(238, 9, 121, 0.3);
}
footer {
margin-top: 2rem;
padding: 1rem;
font-size: 0.9rem;
color: #aaa;
}
@keyframes bounce {
0%, 100% { transform: translateY(0); }
50% { transform: translate(-10px); }
}