aboutsummaryrefslogtreecommitdiff
path: root/src/app.scss
blob: 0780b91a2fe0a393bf20cde70ef90d5229593699 (plain)
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
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;600&display=swap');

$font-min: 16px;
$font-desired: calc((2.6vh + 8vw) / 2);
$font-max: 32px;

$icon-min: 50px;
$icon-desired: calc((3.25vh + 10vw) / 2);
$icon-max: 96px;

*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #1e1e2e;
  color: #ccc;
  font-family: 'Space Mono', monospace;
  width: 100%;
  font-size: clamp($font-min, $font-desired, $font-max);
  position: fixed;
  height: 100dvh;
}

.socials {
  margin-top: 10px;
}

.social-icon {
  font-size: clamp($icon-min, $icon-desired, $icon-max);
}

a {
  color: #ccc;
  text-decoration: none;
  transition: color .45s ease-in-out;

  :hover {
    color: #a6fbb2;
    transition: color .45s ease-in-out;
  }
}

.container {
  display: flex;
  height: 100dvh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-direction: column;
  width: 100%;
}

.main {
  text-align: left;
  line-height: 1.2;
  margin: 20px;
}

.wave {
  position: absolute;
  top: 0;
  max-width: 140vw;
  max-height: 140vh;
}

.wave1 {
  left: 0;
  transform: rotate(-45deg) translate(-30%, -80%);
}

.wave2 {
  right: 0;
  transform: rotate(45deg) translate(50%, -90%);
}