-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
82 lines (64 loc) · 1.12 KB
/
index.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
.hero {
display: flex;
min-height: 89vh;
padding: 0 2rem;
gap: 1rem;
flex-direction: row-reverse;
justify-content: space-around;
align-items: center;
}
.hero-txt {
text-align: left;
}
.hero-txt__h2 {
margin: .5rem 0;
font-size: 2.5rem;
}
.hero-txt__btn {
width: 15vw;
min-width: fit-content;
margin: 1rem 0 0 40%;
font-size: 1.2rem;
}
@media (max-width: 720px) {
.hero {
padding: 2rem;
justify-content: start;
flex-direction: column;
}
.hero-txt {
text-align: center;
}
.hero-txt__btn {
margin: 1rem auto 0 auto;
padding: .7rem;
}
}
.hero-img {
width: auto;
height: auto;
max-width: 90vw;
max-height: 90vh;
aspect-ratio: 1 / 1;
margin-top: 1rem;
border-radius: 5%;
}
@media (prefers-color-scheme: light) {
.hero-img {
filter: brightness(0.6);
}
}
.things {
background: var(--bg-2);
}
.things__txt {
padding-left: .5rem;
padding-bottom: 1rem;
margin: 0;
}
.contact__txt {
margin-bottom: 1rem;
}
.footer__no-js {
color: var(--fg-1);
}