-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.css
More file actions
149 lines (134 loc) · 2.6 KB
/
main.css
File metadata and controls
149 lines (134 loc) · 2.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
}
body {
width: 100%;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-color: #ffe5e5;
}
.container {
display: flex;
flex-direction: column;
text-align: center;
align-items: center;
gap: 20px;
max-width: 500px;
margin: 20px;
}
.container .tenor-gif-embed {
max-width: 200px;
}
.container .btn {
display: flex;
gap: 25px;
}
.btn a {
text-decoration: none;
color: #111;
background: #fff;
padding: 10px 25px;
border-radius: 8px;
box-shadow: 0.5rem 1rem 3rem hsl(0, 0%, 0%, 0.3);
font-weight: bold;
font-size: 16px;
transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
display: inline-block;
text-align: center;
border: 2px solid transparent;
}
.btn a:hover {
background: #111;
color: #fff;
transform: scale(1.05);
border: 2px solid #fff;
}
.btn a:active {
transform: scale(0.98);
box-shadow: 0.3rem 0.6rem 2rem hsl(0, 0%, 0%, 0.2);
}
#newButton {
display: none; /* Initially hidden */
top: 100px;
left: 100px;
}
/* Heart Animation */
.heart {
position: absolute;
font-size: 42px;
color: red;
animation: heart-animation 1s ease-out;
opacity: 0;
transform: scale(0);
}
.options {
display: flex;
flex-direction: column;
align-items: center;
gap: 15px;
margin-top: 20px;
}
.option {
font-size: 22px; /* Increased text size */
padding: 15px 40px; /* Bigger buttons */
border-radius: 10px;
border: none;
cursor: pointer;
background: #ff9a9e;
color: white;
font-weight: bold;
transition: 0.3s ease;
box-shadow: 0.3rem 0.6rem 1rem rgba(0, 0, 0, 0.2);
}
.option:hover {
background: #ff6a88;
transform: scale(1.05);
}
.option:active {
transform: scale(0.98);
box-shadow: 0.2rem 0.4rem 0.8rem rgba(0, 0, 0, 0.15);
}
input {
font-size: 18px;
padding: 12px;
width: 80%;
max-width: 300px; /* Good size for mobile */
text-align: center;
border: 2px solid #ff9a9e;
border-radius: 8px;
outline: none;
}
.submit-btn {
font-size: 20px;
padding: 12px 30px;
border-radius: 10px;
border: none;
cursor: pointer;
background: #ff6a88;
color: white;
font-weight: bold;
margin-top: 10px;
transition: 0.3s ease;
}
.submit-btn:hover {
background: #ff3b6f;
transform: scale(1.05);
}
@keyframes heart-animation {
0% {
transform: scale(0);
opacity: 1;
}
50% {
transform: scale(1.5);
}
100% {
transform: scale(1);
opacity: 0;
}
}