-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.css
96 lines (85 loc) · 1.88 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
* {
margin: 0;
padding: 0;
font-family: "Poppins", sans-serif;
}
body {
background-image: url(contact-background.jpg);
background-position: center;
height: 100vh;
background-size: cover;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.main_box {
background-color: rgba(255, 255, 255, 0.3);
height: 600px;
width: 600px;
padding: 30px;
border-radius: 25px;
box-shadow: 0 0 10px white;
color: white;
}
.main_box h1 {
font-size: 50px;
font-weight: 400;
text-align: center;
margin-bottom: 60px;
}
.main_box form label,
.main_box form input,
.main_box form textarea {
display: block;
margin-left: 100px;
margin-right: 100px;
}
.main_box form input,
.main_box form textarea {
background-color: rgba(255, 255, 255, 0.3);
height: 30px;
width: 400px;
border: 2px solid white;
box-shadow: 0 0 1px white;
border-radius: 5px;
color: white;
font-size: 15px;;
}
.main_box form textarea::placeholder {
color: white;
opacity: 0.6;
}
.main_box form label {
font-size: 30px;
margin-top: 20px;
}
#subject {
height: 90px;
padding: 5px;
}
.main_box form button {
font-size: 25px;
border-radius: 25px;
padding: 2px 20px;
border: none;
box-shadow: 0 0 20px rgba(255, 255, 255, 0.8),
0 0 30px rgba(255, 255, 255, 0.6),
0 0 40px rgba(255, 255, 255, 0.4);
display: block;
margin: 0 auto;
margin-top: 60px;
cursor: pointer;
}
.main_box form button:hover {
box-shadow: 0 0 25px rgba(255, 255, 255, 0.8),
0 0 35px rgba(255, 255, 255, 0.6),
0 0 45px rgba(255, 255, 255, 0.4);
transform: scale(1.1);
}
.main_box form input:focus,
.main_box form textarea:focus {
outline: none;
box-shadow: 0 0 5px white;
transform: scale(1.05);
}