Prime810 commited on
Commit
61e83a7
·
verified ·
1 Parent(s): 9054fc6

Update Frontend/style.css

Browse files
Files changed (1) hide show
  1. Frontend/style.css +44 -23
Frontend/style.css CHANGED
@@ -8,37 +8,41 @@ body {
8
  }
9
 
10
  h1 {
11
- font-size: 2.5rem;
12
- margin-bottom: 1rem;
13
- background: linear-gradient(to right, #ff6a00, #ee0979);
14
  -webkit-background-clip: text;
15
  -webkit-text-fill-color: transparent;
 
16
  }
17
 
18
  #videoElement {
19
  width: 100%;
20
  max-width: 420px;
21
- border-radius: 16px;
22
- border: 3px solid rgba(255, 255, 255, 0.2);
23
- box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
24
- margin-bottom: 20px;
25
  }
26
 
27
  .btn {
28
- background-color: #ff6a00;
29
  color: #fff;
30
- padding: 12px 24px;
31
  border: none;
32
- border-radius: 8px;
33
- font-size: 16px;
34
  font-weight: 600;
35
  cursor: pointer;
 
36
  transition: all 0.3s ease;
37
- margin: 8px 0;
38
  }
39
 
40
  .btn:hover {
41
- background-color: #ee0979;
 
 
42
  }
43
 
44
  #emojiDisplay {
@@ -47,25 +51,42 @@ h1 {
47
 
48
  #emojiDisplay img {
49
  margin-top: 1rem;
50
- width: 120px;
51
  height: auto;
52
- border-radius: 12px;
53
- box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
 
54
  }
55
 
56
  #emotionText {
57
- font-size: 1.2rem;
58
- margin-top: 1rem;
59
  font-weight: 500;
 
 
 
 
 
 
 
 
 
 
60
  }
61
 
62
  #downloadEmoji {
63
  display: none;
64
- background-color: #3498db;
65
- padding: 10px 20px;
66
- border-radius: 6px;
67
- margin-top: 16px;
68
  color: #fff;
69
  text-decoration: none;
70
- font-weight: 500;
 
71
  }
 
 
 
 
 
 
8
  }
9
 
10
  h1 {
11
+ font-size: 2.7rem;
12
+ margin-bottom: 1.2rem;
13
+ background: linear-gradient(to right, #ff9a9e, #fad0c4);
14
  -webkit-background-clip: text;
15
  -webkit-text-fill-color: transparent;
16
+ text-align: center;
17
  }
18
 
19
  #videoElement {
20
  width: 100%;
21
  max-width: 420px;
22
+ border-radius: 20px;
23
+ border: 4px solid rgba(255, 255, 255, 0.3);
24
+ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
25
+ margin-bottom: 24px;
26
  }
27
 
28
  .btn {
29
+ background: linear-gradient(135deg, #00f2fe, #4facfe);
30
  color: #fff;
31
+ padding: 14px 28px;
32
  border: none;
33
+ border-radius: 50px;
34
+ font-size: 17px;
35
  font-weight: 600;
36
  cursor: pointer;
37
+ margin: 10px 0;
38
  transition: all 0.3s ease;
39
+ box-shadow: 0 5px 15px rgba(79, 172, 254, 0.4);
40
  }
41
 
42
  .btn:hover {
43
+ background: linear-gradient(135deg, #43e97b, #38f9d7);
44
+ box-shadow: 0 8px 20px rgba(56, 249, 215, 0.5);
45
+ transform: scale(1.05);
46
  }
47
 
48
  #emojiDisplay {
 
51
 
52
  #emojiDisplay img {
53
  margin-top: 1rem;
54
+ width: 140px;
55
  height: auto;
56
+ border-radius: 16px;
57
+ box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
58
+ animation: bounce 1.2s ease infinite;
59
  }
60
 
61
  #emotionText {
62
+ font-size: 1.3rem;
63
+ margin-top: 1.2rem;
64
  font-weight: 500;
65
+ color: #c7ffec;
66
+ }
67
+
68
+ @keyframes bounce {
69
+ 0%, 100% {
70
+ transform: translateY(0);
71
+ }
72
+ 50% {
73
+ transform: translateY(-10px);
74
+ }
75
  }
76
 
77
  #downloadEmoji {
78
  display: none;
79
+ background: linear-gradient(to right, #ff6a00, #ee0979);
80
+ padding: 12px 24px;
81
+ border-radius: 40px;
82
+ margin-top: 20px;
83
  color: #fff;
84
  text-decoration: none;
85
+ font-weight: 600;
86
+ transition: all 0.3s ease;
87
  }
88
+
89
+ #downloadEmoji:hover {
90
+ background: linear-gradient(to right, #ee0979, #ff6a00);
91
+ box-shadow: 0 6px 12px rgba(255, 106, 0, 0.4);
92
+ }