10
10
line-height : 1.6 ;
11
11
min-height : 100vh ;
12
12
color : var (--text-color );
13
- font-family : 'Poppins' , sans-serif;
14
13
background-color : var (--background-color );
15
14
}
16
15
52
51
display : flex;
53
52
flex-wrap : wrap;
54
53
justify-content : center;
55
- align-items : center ;
54
+ align-items : flex-start ;
56
55
padding : 50px 20px 20px 20px ;
57
56
min-height : calc (100vh - 120px );
58
57
gap : 100px ;
@@ -66,8 +65,11 @@ main {
66
65
67
66
.form-section {
68
67
flex : 1 ;
68
+ display : flex;
69
+ flex-direction : column;
69
70
max-width : 500px ;
70
71
padding : 20px ;
72
+ margin-top : 50px ;
71
73
text-align : center;
72
74
background-color : # ffffff ;
73
75
box-shadow : 0 2px 10px rgba (0 , 0 , 0 , 0.1 );
@@ -76,12 +78,12 @@ main {
76
78
77
79
.form-section h1 {
78
80
font-size : 2em ;
79
- color : # 4a90e2 ;
80
81
margin-bottom : 10px ;
81
82
}
82
83
83
84
.form-section p {
84
85
font-size : 1.1em ;
86
+ font-weight : 500 ;
85
87
margin-bottom : 20px ;
86
88
}
87
89
94
96
background-color : # e9eef5 ;
95
97
border-radius : 8px ;
96
98
font-size : 1em ;
99
+ font-family : "Poppins" , sans-serif;
97
100
transition : border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
98
- font-weight : 700 ;
101
+ font-weight : 600 ;
99
102
}
100
103
101
104
input [type = "text" ]: hover ,
@@ -115,25 +118,30 @@ textarea:focus {
115
118
box-shadow : 0 4px 8px rgba (0 , 0 , 0 , 0.2 );
116
119
}
117
120
118
- textarea {
121
+ . form-section textarea {
119
122
resize : vertical;
123
+ height : 100px ;
124
+ min-height : 100px ;
125
+ max-height : 200px ;
126
+ overflow-y : auto;
127
+ flex-grow : 1 ;
120
128
}
121
129
122
130
.form-section button {
123
131
width : 100% ;
124
132
padding : 10px ;
125
- background : # 4a90e2 ;
126
133
color : # ffffff ;
127
134
border : none;
128
135
border-radius : 8px ;
129
136
font-size : 1em ;
130
137
cursor : pointer;
131
138
transition : 0.3s ease;
139
+ background : var (--primary-color );
132
140
}
133
141
134
142
.form-section button : hover {
135
- background : # 3a78c2 ;
136
143
transform : scale (1.02 );
144
+ background-color : # 686969 ;
137
145
}
138
146
139
147
.social-links {
0 commit comments