-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.css
145 lines (127 loc) · 2.53 KB
/
contact.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
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
.contact-me {
background-color: #fff;
}
.contact-container {
background-color: #6070ff;
background-image: url('images/contact-me-bg.png');
background-repeat: no-repeat;
background-size: contain;
background-position: right;
border-top-left-radius: 80px;
color: #fff;
}
.contact-content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 22px;
padding: 30% 10% 10% 10%;
box-sizing: border-box;
}
.contact-content h2 {
font-weight: 700;
font-size: 40px;
line-height: 52px;
}
.contact-content p {
font-size: 20px;
line-height: 28px;
color: #ebebff;
text-align: center;
}
.contact-content form {
width: 100%;
height: 345px;
display: flex;
flex-direction: column;
align-items: center;
}
.contact-content form li {
list-style: none;
}
.contact-content form input {
width: 327px;
height: 48px;
gap: 10px;
border-radius: 8px;
border: 1px solid #cfd8dc;
outline: none;
margin-bottom: 10px;
padding-left: 10px;
font-size: 17px;
line-height: 20px;
}
.contact-content form textarea {
font-family: 'Poppins', sans-serif;
font-weight: 400;
width: 327px;
height: 170px;
padding: 10px 12px;
box-sizing: border-box;
border: 1px solid #cfd8dc;
outline: none;
border-radius: 8px;
font-size: 15px;
line-height: 24px;
resize: none;
}
.contact-content form button {
color: #396df2;
font-weight: 500;
font-size: 17px;
line-height: 24px;
letter-spacing: 3%;
background: #fff;
width: fit-content;
border-radius: 8px;
padding: 10px;
border: 1px solid #396df2;
cursor: pointer;
margin-top: 10px;
}
.contact-content form button:hover {
background: #6070ff;
box-shadow: 0 8px 16px rgba(64, 83, 252, 0.24);
color: #fff;
border: 1px solid #fff;
}
.contact-content form button:active {
border: 1px solid #7f8cff;
color: #fff;
background: #2230d2;
}
#error-msg {
color: red;
font-size: 1.2rem;
font-weight: 500;
visibility: hidden;
}
@media screen and (min-width: 768px) {
.contact-container {
background-image: url(images/desktop-contact-bg.png);
}
.contact-content {
gap: 22px;
padding: 10% 10% 10% 10%;
box-sizing: border-box;
}
.contact-content p {
max-width: 600px;
}
.contact-content form input {
width: 447px;
height: 48px;
gap: 10px;
border-radius: 2px;
}
.contact-content form textarea {
width: 447px;
border-radius: 2px;
}
.contact-content form ul li.centered-button {
display: flex;
justify-content: center;
align-items: center;
}
}