-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcontact.css
More file actions
159 lines (141 loc) · 2.41 KB
/
contact.css
File metadata and controls
159 lines (141 loc) · 2.41 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
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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
/*--------NAV--------*/
nav {
border: none;
width: 100%;
display: flex;
padding: 0% 6%;
justify-content: space-between;
align-items: center;
}
nav img {
width: 85px;
}
.nav-links {
flex: 1;
text-align: right;
}
.nav-links ul li {
list-style: none;
display: inline-block;
padding: 0 2%;
position: relative;
}
.nav-links ul li a {
text-decoration: none;
color: #a05bf6;
font: 14px;
}
.nav-links ul li::after {
content: "";
width: 0%;
height: 2px;
background: blueviolet;
margin: auto;
transition: 0.3s;
display: block;
}
.nav-links ul li:hover::after {
width: 100%;
}
/*NAV responsive*/
nav .fa {
display: none;
}
@media (max-width: 700px) {
.text-box h1 {
font-size: 20px;
}
.nav-links ul {
padding: 1.5em 1em;
}
}
/*--------Contact--------*/
.contact-container {
display: flex;
align-items: center;
justify-content: space-evenly;
}
.contact-left {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
padding: 10px;
border-radius: 10px;
}
.contact-left-title h2 {
font-weight: 600;
color: #a05bf6;
font-size: 40px;
margin-bottom: 5px;
}
.contact-left-title hr {
border: none;
width: 100%;
height: 3px;
background-color: #a05bf6;
border-radius: 10px;
margin-bottom: 20px;
}
.contact-inputs {
width: 400px;
height: 50px;
outline: none;
border: solid 2px #a05bf6;
padding-left: 25px;
font-weight: 500;
border-radius: 50px;
}
.contact-left textarea {
padding: 10px;
height: 140px;
border-radius: 15px;
resize: none;
}
.contact-inputs:focus {
border: 1px solid #000;
}
.contact-inputs::placeholder {
color: rgb(150, 163, 176);
}
.contact-left button {
display: flex;
background-color: #ba91ed;
align-items: center;
padding: 15px 30px;
font-size: 16px;
gap: 10px;
border-radius: 50px;
cursor: pointer;
}
.contact-left button::before {
background-color: #a05bf6;
}
.contact-left button img {
height: 15px;
}
/*--------contact rightside---------*/
.contact-right img {
width: 30rem;
}
/*--------contact responive---------*/
@media screen and (max-width: 720px) {
.contact-right {
display: none;
}
.contact-right img {
width: 0rem;
}
.all.contact-left .animate {
transform: scale(0.01);
}
.all.contact-container.show-animate .animate {
transform: scale(0.01);
}
}