-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
122 lines (106 loc) · 2.07 KB
/
style.css
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
@import url(https://fonts.googleapis.com/css2?family=Figtree:wght@400;700&display=swap);
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
}
html,
body {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
overscroll-behavior: none;
overflow: hidden;
background-color: lightgreen;
}
.gameSpace {
filter: blur(5px);
animation: fadeIn 2s ease;
width: 100vw;
height: 100vh;
}
/* ----------------------------------------------------------------------------- */
.overlay {
height: 100vh;
width: 100vw;
position: absolute;
}
.menu {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: absolute;
z-index: 1;
text-align: center;
width: 85vh;
height: 50vh;
background-color: lavender;
border: 50px solid lavender;
border-radius: 75px;
/* padding: 50px;
margin: 50px; */
animation: fadeInBlur 2s ease;
top: 50%;
transform: translate(-50%, -50%);
left: 50%;
/* transform: translateX(-50%); */
}
.title {
font-family: "TS Block", sans-serif;
font-weight: 900;
/* font-size: 65px; */
transform: scale(2, 1) perspective(280px) rotateX(25deg);
padding-inline: 155px;
}
h2 {
font-family: "Figtree", sans-serif;
font-weight: 100;
font-size: 18px;
}
.menu-buttons {
display: flex;
flex-direction: column;
justify-content: center;
align-content: center;
padding-inline: 175px;
margin-top: -30px;
margin-bottom: 10px;
}
button {
color: #ffffff;
background-color: #2d63c8;
font-size: 19px;
font-family: "Figtree", sans-serif;
border: 1px solid #2d63c8;
border-radius: 8px;
padding: 8px 50px;
margin-bottom: 10px;
letter-spacing: 2px;
cursor: pointer;
&:hover {
color: #2d63c8;
background-color: #ffffff;
border-color: #dde2eb;
}
}
@keyframes fadeInBlur {
from {
opacity: 0;
filter: blur(15px);
}
to {
opacity: 1;
filter: blur(0px);
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}