_contact-us.scss
2.68 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
.contact-us {
position: fixed;
right: 0;
bottom: 0;
z-index: 50;
transform: translateY(105%);
width: 100%;
border-radius: 30px 30px 0px 0px;
overflow: hidden;
box-shadow: 0px 0px 8px rgba(14, 56, 94, 0.16), 0px 0px 32px rgba(14, 56, 94, 0.08);
background-color: $white;
transition: .3s;
@media (min-width: 480px) {
max-width: 360px;
border-radius: 50px 10px 0px 0px;
}
@media (min-width: 1200px) {
right: 100px;
}
&.active {
transform: translateY(0);
}
&__top {
position: relative;
padding: 40px 40px 40px 20px;
background-color: #21ADD9;
}
&__close {
position: absolute;
top: 0;
right: 0;
width: 60px;
height: 60px;
display: flex;
align-items: center;
justify-content: center;
svg {
fill: $white;
}
}
&__title {
color: $white;
font-size: 24px;
line-height: 28px;
font-weight: 700;
}
&__body {
padding: 40px 20px;
}
&__items {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 20px;
margin-bottom: 40px;
}
&__socials {
display: flex;
justify-content: center;
}
}
.contact-us-item {
&:hover {
svg {
@media (min-width: 1200px) {
transform: scale(1.2);
}
}
}
&__icon {
display: flex;
align-items: center;
justify-content: center;
height: 90px;
margin-bottom: 8px;
border-radius: 10px;
background-color: #EDF7FF;
svg {
transition: .3s;
}
}
&__name {
color: #686B6F;
font-size: 14px;
line-height: 20px;
font-weight: 500;
text-align: center;
}
}
.contact-us-social {
&:hover {
img,
svg {
@media (min-width: 1200px) {
transform: scale(1.2);
}
}
}
&:not(:last-child) {
margin-right: 20px;
}
&__icon {
display: flex;
align-items: center;
justify-content: center;
width: 80px;
height: 80px;
margin-bottom: 13px;
border-radius: 10px;
img,
svg {
transition: .3s;
}
}
&__icon-tg {
background: linear-gradient(203.2deg, #37AEE2 21.67%, #1E96C8 70%);
}
&__icon-wa {
background-color: #25D366;
}
&__name {
color: #686B6F;
font-size: 14px;
line-height: 20px;
font-weight: 500;
text-align: center;
}
}