-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
93 lines (77 loc) · 1.46 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
*{
margin: 0;
padding:0;
box-sizing: inherit;
}
html{
font-size: 62.5%;
box-sizing: border-box;
}
body{
font-family: sans-serif;
color: white;
line-height:1.5;
height: 100vh;
position: relative;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(145deg, #252525, #2c2c2c);
}
.open-modal{
outline: none;
font-size: 2rem;
font-weight: 600;
padding: 1.25rem 2.4rem;
margin: 2rem 3rem;
border: none;
border-radius: 3rem;
background: linear-gradient(145deg, #252525, #2c2c2c);
color: white;
box-shadow: 4px 4px 19px #202020,
-4px -4px 19px #323232;
cursor: pointer;
}
.close-modal{
position: absolute;
top: 1.2rem;
right: 2rem;
font-size: 5rem;
color: rgb(255, 255, 255);
cursor: pointer;
border: none;
background: none;
}
h1 {
font-size: 2.5rem;
margin-bottom: 2rem;
}
p {
font-size: 1.8rem;
}
.hidden {
display: none;
}
.modal {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 70%;
color: #ffffff;
padding: 6rem;
border-radius: 5px;
background: linear-gradient(145deg, #252525, #2c2c2c);
z-index: 10;
backdrop-filter: blur(3px);
}
.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(24, 23, 23, 0.6);
backdrop-filter: blur(3px);
z-index: 5;
}