-
Notifications
You must be signed in to change notification settings - Fork 0
/
responsive.css
183 lines (143 loc) · 2.74 KB
/
responsive.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
/* Responsive CSS file styles defined for smaller width devices */
/* CSS for tablet devices */
@media screen and (min-width: 576px) and (max-width: 820px) {
.logo {
padding: 0 3rem;
}
.hamburger {
display: block;
padding: 0 3rem;
}
.menu {
position: absolute;
right: 0;
padding: 0 3rem;
top: 75px;
background-image: linear-gradient(180deg, #74D7BB, #53C8B6, #35A99C);
display: none;
transition: all 0.25s;
}
.menu .menu-list {
flex-direction: column;
}
.portfolio {
padding: 0;
}
.about {
flex-direction: column;
}
.about .about-text {
padding: 2rem;
}
.about .about-image img {
padding: 2rem;
}
.services {
padding: 0;
}
.my-row {
gap: 10px;
}
.my-row .my-col {
text-align: center;
width: 35%;
}
}
/* CSS for mobile devices */
@media screen and (min-width: 280px) and (max-width: 576px) {
.hero {
justify-content: center;
color: #fff;
background-image: radial-gradient(circle, rgb(15 14 14 / 30%), rgb(102 96 96 / 40%), rgb(163 160 160 / 16%)), url('./Images/heroImg3.avif')
}
.sub-heading {
color: #fff9f9cc;
}
.hero .intro-buttons {
gap: 20px;
}
.btn {
padding: 10px 30px;
}
.logo {
padding: 0 2rem;
}
.menu {
position: absolute;
right: 0;
padding: 0 2rem;
top: 75px;
background-image: linear-gradient(180deg, #35A99C, #53C8B6, #74D7BB);
display: none;
transition: all 0.25s;
}
.menu .menu-list {
flex-direction: column;
}
.hamburger {
display: block;
padding: 0 2rem;
}
.portfolio {
padding: 0;
margin-left: 1rem; /* Add margin to the left side */
margin-right: 1rem; /* Add margin to the right side */
}
.about {
flex-direction: column;
}
.about .about-text {
width: 90%;
padding: 1rem;
}
.about .about-image img {
width: 90%;
padding: 1rem;
}
/* .services {
padding: 0;
} */
.services {
padding: 0;
margin-left: 1rem; /* Add margin to the left side */
margin-right: 1rem; /* Add margin to the right side */
}
.my-row {
display: flex;
align-items: center;
justify-content: space-between;
flex-direction: column;
margin: 2rem 0;
gap: 1rem;
}
.my-row .my-col {
text-align: center;
width: 100%;
}
.contact {
padding: 0;
}
.contact-content {
flex-direction: column;
align-items: center;
gap: 2rem;
}
.contact-form-container {
width: 80%;
}
.contact-form .form-controls {
width: 100%;
}
.contact-form .form-btn {
width: 100%;
}
.contact-details {
width: 80%;
}
.footer-menu {
padding: 0 2rem;
}
.footer-list-items {
margin: 0;
}
}