-
-
Notifications
You must be signed in to change notification settings - Fork 266
/
styles.css
134 lines (131 loc) · 2.44 KB
/
styles.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-color: rgb(174, 168, 168);
}
.contact h2,h3{
max-width: 50rem;
margin: 0 auto;
text-align: center;
margin-bottom: 2rem;
}
.top_header{
background-color: #aca7eb;
height: 8rem
}
.top_header h2{
font-size: 4rem;
font-weight: 490;
padding-top: 30px;
}
.col{
max-width: 50rem;
margin: 0 auto;
text-align: center;
margin-bottom: 1.5rem;
}
.contact_info{
margin-top: 7rem;
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 20px 30px;
width: 52vw;
height:22vh;
background-color:black;
border-radius: 0.8rem;
border: 0.5px solid white;
overflow: hidden;
cursor: pointer;
}
.contact_info>h2{
margin-bottom: 20px;
color: white;
}
.contact_info>p{
display: flex;
align-items: center;
gap:10px;
margin-block: 5px;
cursor:auto;
color: white;
}
.contact_info p>i{
font-weight: 600;
}
.contact_info p>a{
color:white;
}
.contact_info::after{
content: "";
position: absolute;
bottom: -100%;
background: #aca7eb;
width:100%;
height: 100%;
transition: 0.4s;
z-index: 1;
}
.contact_info:hover.contact_info::after{
bottom: 0;
}
.contact_info:hover.contact_info h2,
.contact_info:hover.contact_info p,
.contact_info:hover.contact_info i,
.contact_info:hover.contact_info a{
color: black;
z-index: 2;
}
.contact form{
max-width: 50rem;
margin: 0.9rem auto;
text-align: center;
margin-bottom: 2rem;
}
.contact form .input_box{
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.contact form .input_box input,
.contact form textarea{
width: 100%;
padding: 1.2rem;
font-size: 1rem;
color: white;
background-color:black;
border-radius: .8rem;
margin: 0.5rem 0;
}
.contact form .input_box input{
width: 49%;
}
.contact form textarea{
resize: none;
}
.contact form .btn{
text-align: center;
margin-top: 2rem;
cursor: pointer;
width: 10rem;
border-radius: 25px;
border: 0.5px solid white;
height: 2.5rem;
font-size: 1.5rem;
font-weight: 400;
background-color: #111;
color: white;
transition: 0.5s;
}
.contact form .btn:hover{
background-color:blue;
color: black;
border: black;
box-shadow: 0 0 5px 4px black;
font-weight: 600;
}