-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
123 lines (105 loc) · 1.75 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
123
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
overflow-x: hidden;
background-color: #333;
}
.container {
background-color: rgb(249, 242, 232);
transform-origin: top left;
transition: transform 0.5s linear;
width: 100vw;
min-height: 100vh;
padding: 50px;
}
.container.show-nav {
transform: rotate(-17.5deg);
}
.container.show-nav + nav li {
transform: translateX(0);
transition-delay: 0.2s;
}
.circle-container {
position: fixed;
top: -100px;
left: -100px;
}
.circle {
background-color: #ff7979;
height: 200px;
width: 200px;
border-radius: 50%;
position: relative;
transition: transform 0.5s linear;
}
.container.show-nav .circle {
transform: rotate(-70deg);
}
.circle button {
position: absolute;
top: 50%;
left: 50%;
height: 75px;
background: transparent;
border: 0;
font-size: 26px;
color: white;
}
.circle button:focus {
outline: none;
}
.circle button#open {
left: 60%;
}
.circle button#close {
top: 60%;
transform: rotate(70deg);
transform-origin: top left;
}
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: 0px auto 100px auto;
gap: 20px;
max-width: 80%;
}
h1 {
font-family: "Coiny", sans-serif;
font-size: 52px;
margin: 0;
}
p {
text-align: center;
font-family: "Mulish", sans-serif;
margin: 0;
}
img {
width: 70%;
margin: 0 auto;
border-radius: 50px;
}
nav {
position: fixed;
bottom: 60px;
left: 0;
z-index: 100;
}
nav ul {
display: flex;
flex-direction: column;
list-style-type: none;
padding-left: 50px;
gap: 30px;
}
nav ul li {
text-transform: uppercase;
color: white;
font-size: 18px;
transform: translateX(-155%);
transition: transform 0.4s ease-in;
}