-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.css
118 lines (103 loc) · 2.25 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
body,main{
height:100%;
width: 100%;
margin:0px;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
box-sizing: border-box;
}
main {
background-color: #212121;
color: rgb(255, 255, 255);
font-family: Arial, sans-serif;
flex-direction: column;
justify-content: unset;
height: 100vh;
}
h1 {
text-align: center;
margin-top: 0;
padding-top: 5rem;
}
p {
text-align: center;
width: 70%;
margin-inline: auto;
font-size: 1.5rem;
letter-spacing: .05rem;
}
form {
max-width: 600px;
margin: 40px auto;
padding: 4rem 2rem;
/* background: rgba(255, 255, 255, 0.14); */
border-radius: 16px;
background-color: rgba(255, 255, 255, 0.074);
border: 1px solid #1FC5A8;
-webkit-backdrop-filter: blur(20px);
backdrop-filter: blur(20px);
border-radius: .7rem;
transition: all ease .8s;
}
form:hover {
border: none;
box-shadow: 0px 0px 10px 2px rgba(31, 197, 168,0.5);
}
label {
display: block;
margin-bottom: 4px;
font-weight: bold;
font-size: 1.2rem;
color: #F2F2F2;
letter-spacing: .05rem
}
input, textarea {
display: block;
width: 100%;
margin-bottom: 20px;
padding: 0.5rem 1rem;
background-color: transparent;
border: none;
border-bottom: solid 1px #212121;
outline: none;
color: #F2F2F2;
transition: all ease .3s;
}
input:focus,textarea:focus {
background-color: #212121;
}
textarea {
height: 50px;
}
textarea:focus {
height: 200px;
}
input[type="submit"], input[type="reset"] {
width: auto;
}
.btn-cont input{
margin-top: 1rem;
width: 30%;
min-width: 100px;
background-color: #212121;
border-radius: 4px;
color: #1FC5A8;
cursor: pointer;
transition: all .2s ease-in;
}
.btn-cont input:hover{
transform: scale(1.1);
border-bottom:solid 1px #1FC5A8;
}
.btn-cont{
display: flex;
justify-content: space-around;
}
@media (max-width: 600px) {
form {
width: 90%;
margin: 20px auto;
padding: 10px;
border-width: 1px;
font-size: smaller;
}
}