-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.scss
128 lines (108 loc) · 1.75 KB
/
style.scss
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
:root {
// colors
--clr-cyan: #CEE3E9;
--clr-dark-blue: #202733;
--clr-grey-blue: #4F5D74;
--clr-neon-green: #53FFAA;
--clr-dark-grey-blue: #313A48;
//fonts
--ff-200: 2.8rem;
--ff-100: 1.3rem;
@media (max-width: 35em) {
--ff-200: 2.4rem;
--ff-100: 1.1rem;
}
}
/*---------
Reset
---------*/
*,
*::before,
*::after {
box-sizing: border-box;
}
* {
margin: 0;
padding: 0;
}
html, body {
font-size: 62.5%;
height: 100vh;
}
img {
width: 100%;
}
body {
background-color: var(--clr-dark-blue);
font-family: 'Manrope', sans-serif;
font-weight: 800;
display: flex;
justify-content: center;
align-items: center;
padding: 2rem;
}
.card {
padding: 0 4.8rem;
max-width: 54rem;
border-radius: 1.5rem;
background-color: var(--clr-dark-grey-blue);
text-align: center;
position: relative;
}
@media (max-width: 35em) {
.card {
max-width: 34rem;
}
}
.advice {
&__id {
font-size: var(--ff-100);
color: var(--clr-neon-green);
text-transform: uppercase;
letter-spacing: 4.09px;
padding: 4.8rem 1rem 2.4rem;
}
&__text {
font-size: var(--ff-200);
color: var(--clr-cyan);
letter-spacing: 0.3px;
padding-bottom: 4rem;
}
}
.divider {
padding-bottom: 6.5rem;
&--mobile {
display: none;
}
@media (max-width: 35em) {
&--mobile {
display: block;
}
&--desktop {
display: none;
}
}
}
.dice-img {
width: 2.4rem;
height: 2.4rem;
}
.btn {
width: 6.4rem;
height: 6.4rem;
background-color: var(--clr-neon-green);
border-radius: 50%;
border: none;
position: absolute;
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
bottom: -3rem;
text-align: center;
transition: all 0.3s ease-in-out;
cursor: pointer;
&:hover {
box-shadow: 0 0px 22px #53ffa978;
}
}