-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
114 lines (101 loc) Β· 2.08 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;600&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
main {
width: 100vw;
height: 100vh;
background-color: #f1faee;
overflow: hidden;
}
.item {
background-color: #1d355750;
border-radius: 50%;
position: absolute;
animation: moveAround 1s ease-in-out infinite;
}
@keyframes moveAround {
0% {
transform: translate(4px, 4px);
transform: scale(0.8);
}
25% {
transform: translate(-4px, 4px);
}
50% {
transform: translate(4px, -4px);
transform: scale(0.9);
}
75% {
transform: translate(-4px, -4px);
}
100% {
transform: translate(4px, 4px);
transform: scale(1);
}
}
body {
display: flex;
align-items: center;
justify-content: space-between;
flex-direction: column-reverse;
overflow: hidden;
}
header {
width: 100vw;
display: flex;
align-items: center;
justify-content: space-evenly;
border: 1px solid rgba(157, 157, 157, 0.096);
position: absolute;
padding: 1.5rem 4rem;
font-weight: 300;
opacity: 0.2;
transition: all 0.25s ease-in;
filter: blur(1px);
box-shadow: 1px 5px 50px -10px #1d355725;
}
header:hover {
opacity: 1;
transition: all 0.4s ease-in;
filter: none;
}
.input-box {
display: flex;
align-items: center;
justify-content: space-between;
gap: 3rem;
}
main p {
position: absolute;
top: calc(100vh / 2);
padding: 0 3rem;
}
.none {
display: none;
}
@media (max-width: 1080px) {
header {
display: flex;
align-items: center;
justify-content: space-between;
flex-direction: column;
gap: 1.5rem;
font-size: 0.8rem;
padding: 0;
opacity: 1;
filter: blur(5px);
}
.input-box {
display: flex;
align-items: center;
justify-content: space-between;
gap: 2rem;
}
.none {
display: block;
}
}