-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform.css
More file actions
107 lines (107 loc) · 2.63 KB
/
form.css
File metadata and controls
107 lines (107 loc) · 2.63 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
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
font-family: poppins, sans-serif;
background: url(https://cdn.svgator.com/images/2024/07/SVG-background-animation.gif);
}
.contact-container {
width: 100vh;
height: 80vh;
display: flex;
align-items: center;
justify-content: center;
box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
margin-left: 20.5rem;
margin-top: 3rem;
border-radius: 10px;
background: url(https://cdn.svgator.com/images/2022/06/SVG-background-animated.gif);
}
@media screen and (max-width: 450px) {
.contact-container {
width: 95vw;
height: 50vh;
margin-left: 10px;
margin-top: 8rem;
}
}
.contact-left {
display: flex;
flex-direction: column;
align-items: start;
gap: 10px;
}
.contact-left-title {
font-weight: 500;
font-size: 30px;
color: #d5d2d2;
text-shadow: 1px 2px 3px gray;
}
@media screen and (max-width: 450px) {
.contact-left-title {
font-size: 20px;
align-items: center;
margin-left: 30px;
}
}
.contact-inputs {
width: 400px;
height: 50px;
border: none;
outline: none;
padding-left: 25px;
font-weight: 500;
color: rgb(0, 0, 0);
border-radius: 50px;
font-size: 15px;
box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
text-shadow: 1px 2px 3px rgb(192, 185, 185);
}
@media screen and (max-width: 450px) {
.contact-inputs {
width: 350px;
}
}
.contact-left textarea {
height: 140px;
padding-top: 15px;
border-radius: 20px;
}
.contact-inputs:focus {
border: 2px solid rgb(141, 138, 137);
}
.contact-inputs::placeholder {
color: rgb(133, 128, 128);
}
button {
font-weight: 600;
font-size: 15px;
color: white;
padding-left: 35px;
padding-right: 35px;
padding-top: 12px;
padding-bottom: 12px;
border-radius: 50px;
border: none;
cursor: pointer;
background-color: rgb(255, 55, 55);
text-shadow: 1px 2px 3px rgb(30, 29, 29);
box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
transition: all 0.5s;
display: flex;
align-items: center;
justify-content: center;
gap: 5px;
}
button:hover {
scale: 105%;
}