-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.css
98 lines (86 loc) · 1.63 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
* {
font-family: "Poppins", sans-serif;
margin: 0;
padding: 0;
scroll-behavior: smooth;
box-sizing: border-box;
}
:root {
--text-color: #fff;
--bg-color: #1e1c2a;
}
body {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
font-family: 'Jost', sans-serif;
background: var(--bg-color);
}
.contact-container {
max-width: 960px;
min-width: 400px;
margin: auto;
width: 100%;
background: #272436d8;
box-shadow: 5px 20px 50px #000;
border-radius: 0.5rem;
overflow: hidden;
}
.form-container {
padding: 20px;
}
.form-container h3 {
color: var(--text-color);
font-size: 1.2rem;
font-weight: 600;
margin-bottom: 1rem;
}
.contact-form {
display: grid;
row-gap: 1rem;
}
.contact-form input,
.contact-form textarea,
.contact-form a {
width: 100%;
border: none;
outline: none;
background: var(--bg-color);
padding: 10px;
font-size: 0.9rem;
color: var(--text-color);
border-radius: 0.4rem;
}
.contact-form textarea {
resize: none;
height: 200px;
}
.contact-form .buttons {
display: flex;
gap: 50px
}
.contact-form .send-button {
padding: 12px;
font-size: 1em;
font-weight: bold;
justify-content: center;
background: #573b8a;
color: #fff;
margin-top: 5px;
cursor: pointer;
border-radius: 5px;
transition: .2s ease-in;
text-decoration: none;
text-align: center;
}
.contact-form .send-button:hover {
background: #6d44b8;
}
@media (max-width: 440px) {
.contact-container {
min-width: 70%;
}
}