forked from mdnazisharman2803/hacktoberfest22_transopedia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfeedback.css
183 lines (176 loc) · 4.06 KB
/
feedback.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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
body{
min-height: 1200px;
width: 100%;
overflow: hidden;
background-image: url(https://i.ytimg.com/vi/cr3Bf53Lseo/maxresdefault.jpg);
background-repeat: no-repeat;
background-size: cover;
}
.video {
position: absolute;
width: 100%;
height: 100%;
/* overflow: hidden; */
position: relative;
text-align: center;
}
/* .video img {
position: absolute;
min-height: 100%;
width: 100%;
} */
.video .overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
color: #fff;
}
.video .overlay h2 {
text-transform: uppercase;
font-size: 35px
}
.video .overlay p {
color: #cccccc !important;
}
.video .overlay .social {
margin-top: 40px;
}
.video .overlay .social i {
width: 55px;
height: 55px;
border-radius: 50%;
border: 1px solid #cccccc;
line-height: 55px;
font-size: 25px;
transition: .5s ease;
margin-right: 5px;
}
.video .overlay .social i:last-child {
margin-right: 0;
}
.video .overlay .social i:hover {
border-color: #0b8ffe;
cursor: pointer;
box-shadow: 0 0 20px #0b8ffe;
transform: scale(1.2)
}
.video .overlay form {
width: 80%;
margin: 60px auto;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.video .overlay form input {
height: 40px;
background-color: transparent;
padding: 5px;
border: 0;
border-bottom: 1px solid #ccc;
margin-bottom: 30px;
color: #fff;
}
.video .overlay form textarea {
background-color: transparent;
padding: 5px 0px;
border: 0;
border-bottom: 1px solid #ccc;
margin-bottom: 30px;
height: 40px;
width: 100%;
color: #fff;
}
.video .overlay form input:focus,.video .overlay form textarea:focus {
border-bottom-color: #0b8ffe;
box-shadow: 0px 0px 20px rgba(11, 143, 254, 0.42);
background-color: transparent;
}
.video .overlay form input::-webkit-input-placeholder,
.video .overlay form textarea::-webkit-input-placeholder {
color: #e8e8e8;
text-transform: capitalize;
}
.video .overlay form [name="name"],
.video .overlay form [name="email"],
.video .overlay form [name="phone"] {
width: 31%;
}
.video .overlay form [name="website"],
.video .overlay form [name="subject"] {
width: 48%;
margin-bottom: 80px;
}
.video .overlay form button {
background-color: transparent;
padding: 10px 0;
width: 100%;
border: 1px solid #ccc;
color: #fff;
text-transform: uppercase;
transition: 1s ease;
overflow: hidden;
}
.video .overlay form button:hover {
color: #0b8ffe;
border-color: #0b8ffe;
box-shadow: 0 0 20px #0b8ffe;
cursor: pointer
}
.video .overlay form button:hover div {
/* transform: rotate(-422deg) scale(1.5, 1.5) translate(50%, 50px);*/
transform: scale(2) translateX(200px);
transition: 1s ease-in-out;
color: transparent;
}
/* ----------- start media query for video & contact ----*/
@media only screen and (max-width: 575px) {
.video .overlay {
padding-top: 40px;
}
.video .overlay .social {
margin-top: 30px;
}
.video .overlay .social i {
width: 40px;
height: 40px;
font-size: 20px;
line-height: 40px;
}
.video .overlay form {
width: 90%;
margin: 40px auto 0;
flex-direction: column;
align-items: center;
}
.video .overlay form input {
width: 95% !important;
margin-bottom: 15px !important;
}
.video .overlay form textarea {
width: 95%;
margin-top: 15px;
}
.video .overlay form button {
width: 95%;
}
}
@media (min-width: 576px) and (max-width: 991px) {
.video .overlay form {
width: 90%;
margin: 60px auto 0;
}
.video .overlay form [name="name"],
.video .overlay form [name="email"] {
width: 48%;
}
.video .overlay form [name="phone"],
.video .overlay form [name="website"] {
width: 48%;
margin-bottom: 30px;
}
.video .overlay form [name="subject"] {
width: 100%;
}
}