-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsection6.css
More file actions
106 lines (86 loc) · 1.81 KB
/
section6.css
File metadata and controls
106 lines (86 loc) · 1.81 KB
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
.section6 {
display: flex;
margin-top: 7rem;
margin-bottom: 3rem;
max-width: var(--width);
margin-inline: auto;
justify-content: space-between;
align-items: center;
padding-inline: 2rem;
.left {
display: flex;
flex-direction: column;
align-items: flex-start;
h1 {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 1.5rem;
}
p {
font-size: 1rem;
margin-bottom: 2rem;
max-width: 520px;
}
a {
text-decoration: none;
background: var(--black);
color: var(--white);
border: none;
font-weight: 600;
padding-inline: 26px;
padding-block: 14px;
padding-top: 16px;
border-radius: 100px;
line-height: 16px;
position: relative;
z-index: 100;
}
}
}
@media screen and (max-width: 1100px) {
.section6 {
gap: 0rem;
.right * {
max-width: 45vw;
}
.left {
h1 {
}
p {
}
}
}
}
@media screen and (max-width: 865px) {
.section6 {
.right * {
max-width: 40vw;
}
.left {
h1 {
}
p {
}
}
}
}
@media screen and (max-width: 768px) {
.section6 {
flex-direction: column;
gap: 3rem;
.right * {
max-width: 100vw;
transform: translateX(-10%);
}
.left {
align-items: center;
text-align: center;
h1 {
font-size: 2.1rem;
}
p {
max-width: 100%;
}
}
}
}