-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.css
100 lines (85 loc) · 1.6 KB
/
home.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
#home {
display: flex;
min-height: calc(100vh - 91px);
position: relative;
}
#cta {
width: 35%;
display: flex;
flex-direction: column;
gap: 28px;
margin-top: 5%;
}
#cta .title {
font-size: 4rem;
color: var(--color-neutral-1);;
}
#cta .title span {
color: var(--color-primary-6);
}
#cta .description {
font-size: 1.2rem;
}
#cta_buttons {
display: flex;
gap: 24px;
}
#cta_buttons a {
text-decoration: none;
color: var(--color-neutral-1);;
}
#phone_button {
display: flex;
gap: 8px;
align-items: center;
background-color: #ffffff;
padding: 8px 14px;
font-weight: 500;
box-shadow: 0px 0px 12px 4px rgba(0, 0, 0, 0.1);
border-radius: 12px;
}
#phone_button button {
box-shadow: none;
}
#banner {
display: flex;
align-items: start;
justify-content: end;
width: 70%;
z-index: 2;
}
#banner img {
height: 100%;
width: fit-content;
}
.shape {
background-color: var(--color-primary-2);
width: 50%;
height: 100%;
position: absolute;
border-radius: 40% 30% 0% 20%;
top: 0;
right: 0;
z-index: 1;
}
@media screen and (max-width: 1170px) {
#home {
min-height: 100%;
padding-top: 0px;
}
#banner,
#banner img,
#home .shape {
display: none;
}
#cta {
width: 100%;
text-align: center;
align-items: center;
}
}
@media screen and (max-width: 450px) {
#phone_button button {
display: none;
}
}