-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
119 lines (104 loc) · 1.98 KB
/
Copy pathstyle.css
File metadata and controls
119 lines (104 loc) · 1.98 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
:root {
--orange: hsl(25, 97%, 53%);
--white: hsl(0, 100%, 100%);
--light-gray: hsl(217, 12%, 63%);
--medium-gray: hsl(213, 19%, 18%);
--dark-blue: hsl(216, 12%, 8%);
}
body {
font-family: 'Overpass', sans-serif;
background-color: var(--dark-blue);
color: var(--white);
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.card {
background-color: var(--medium-gray);
padding: 2rem;
border-radius: 20px;
max-width: 400px;
width: 90%;
text-align: center;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}
.icon-circle {
background-color: var(--light-gray);
border-radius: 50%;
width: 40px;
height: 40px;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 1rem;
}
.rating-buttons {
display: flex;
justify-content: space-between;
margin: 1.5rem 0;
}
.rating-btn {
background-color: var(--medium-gray);
border: none;
border-radius: 50%;
width: 45px;
height: 45px;
color: var(--light-gray);
font-size: 1rem;
cursor: pointer;
transition: background-color 0.3s, color 0.3s;
}
.rating-btn:hover {
background-color: var(--orange);
color: var(--white);
}
.rating-btn.selected {
background-color: var(--light-gray);
color: var(--white);
}
#submit-btn {
background-color: var(--orange);
color: var(--white);
border: none;
padding: 0.75rem 2rem;
border-radius: 20px;
font-weight: bold;
cursor: pointer;
margin-top: 1rem;
width: 100%;
}
.hidden {
display: none;
}
.selected-text {
background-color: var(--medium-gray);
color: var(--orange);
padding: 0.5rem 1rem;
border-radius: 20px;
font-size: 14px;
margin: 1rem auto;
display: inline-block;
}
.thankyou-img {
width: 100px;
margin-bottom: 1rem;
}
@media (max-width: 480px) {
.card {
padding: 1.5rem;
}
.rating-btn {
width: 40px;
height: 40px;
font-size: 0.9rem;
}
#submit-btn {
padding: 0.6rem;
font-size: 1rem;
}
.thankyou-img {
width: 80px;
}
}