@@ -142,22 +142,7 @@ header section :first-child img{
142142 grid-gap : 20px ;
143143 margin : auto;
144144}
145- @media (max-width : 768px ){
146- .headAfter section {
147- grid-template-columns : 1fr ;
148- height : 1200px ;
149- }
150- .head p {
151- width : 15rem ;
152- }
153- .head h1 {
154- font-size : 2.125rem ;
155- }
156- html , body {
157- overflow-x : hidden;
158- }
159-
160- }
145+
161146.headAfter div i {
162147 display : inline-block;
163148 color : var (--textColor );
@@ -230,41 +215,7 @@ header section :first-child img{
230215 grid-template-columns : repeat (3 , 1fr );
231216
232217 }
233- @media (max-width : 768px ){
234- .Services > section {
235- grid-template-columns : 1fr ;
236-
237- }
238- .Services > div : first-child {
239- width : 40% ;
240- text-align : center;
241- }
242- .Services > section .img {
243- display : none;
244- }
245- .Services {
246- height : auto;
247- margin-left : 5px ;
248- padding-right : 0px ;
249-
250- }
251-
252- .Special_heading {
253- font-size : 2.5rem ;
254- font-weight : 600 ;
255- }
256- .Special_paragraph {
257- font-size : 0.5rem ;
258- /* width:150px; */
259- margin-top : -8px ;
260- margin-top : -10px ;
261- }
262- .Services > div p {
263- width : 150px ;
264- }
265-
266-
267- }
218+
268219 .Services > section div div {
269220 margin-bottom : 50px ;
270221 position : relative;
@@ -325,17 +276,7 @@ header section :first-child img{
325276 display : grid;
326277 grid-template-columns : repeat (3 , 1fr );
327278 }
328- @media (max-width : 768px ){
329- .cards {
330- grid-template-columns : 1fr ;
331- height : 1300px ;
332- }
333- .Portfolio {
334- height : auto;
335- }
336-
337-
338- }
279+
339280 .cards img {
340281 display : block;
341282 width : 100% ;
@@ -381,6 +322,7 @@ header section :first-child img{
381322 /* about section */
382323 .about {
383324 padding : 75px ;
325+
384326
385327 }
386328
@@ -447,27 +389,7 @@ header section :first-child img{
447389 top : 60px ;
448390 left : 200px
449391}
450- @media (max-width : 768px ) {
451- .about section {
452- grid-template-columns : 1fr ;
453- padding : 0px ;
454- }
455- .about .img {
456- display : none;
457- padding-left : 0px ;
458- }
459- .about {
460- padding : 30px 0px 5px ;
461- margin-bottom : 25px ;
462- }
463- .about section div : nth-child (2 ) p : first-child {
464- font-weight : 400 ;
465- }
466- .about section div : nth-child (2 ){
467- padding : 30px ;
468- }
469-
470- }
392+
471393/* contact section */
472394.contact {
473395 background-color : var (--backColor );
@@ -499,15 +421,7 @@ header section :first-child img{
499421 font-weight : 800 ;
500422 color : var (--textColor );
501423}
502- @media (max-width : 768px ) {
503- .contact div : nth-child (2 ) p : first-child ,
504- .contact div : nth-child (2 ) a {
505- font-size : 1.3rem ;
506- }
507- .contact div : nth-child (2 ) p : last-child {
508- font-size : 0.8rem ;
509- }
510- }
424+
511425/* footer */
512426footer {
513427 height : 80px ;
@@ -521,12 +435,116 @@ footer span{
521435 color : var (--textColor );
522436 font-weight : bold;
523437}
524- @media (max-width : 768px ) {
525- footer {
526- font-size : 10px ;
438+ @media (max-width : 412px ) {
439+ /* after head */
440+ .headAfter section {
441+ grid-template-columns : 1fr ;
442+ height : 1200px ;
527443 }
528-
444+ .head p {
445+ width : 15rem ;
446+ }
447+ .head h1 {
448+ font-size : 2.125rem ;
449+ }
450+ html , body {
451+ overflow-x : hidden;
452+ }
453+ /* services */
454+ .Services > section {
455+ grid-template-columns : 1fr ;
456+
457+ }
458+ .Services > div : first-child {
459+ width : 40% ;
460+ text-align : center;
461+ }
462+ .Services > section .img {
463+ display : none;
464+ }
465+ .Services {
466+ height : auto;
467+ margin-left : 5px ;
468+ padding-right : 0px ;
469+
470+ }
471+
472+ .Special_heading {
473+ font-size : 2.5rem ;
474+ font-weight : 600 ;
475+ }
476+ .Special_paragraph {
477+ font-size : 0.5rem ;
478+ /* width:150px; */
479+ margin-top : -8px ;
480+ margin-top : -10px ;
481+ }
482+ .Services > div p {
483+ width : 150px ;
484+ }
485+
486+ /* portifolio */
487+ .cards {
488+ grid-template-columns : 1fr ;
489+ height : 1300px ;
490+ }
491+ .Portfolio {
492+ height : auto;
493+ }
494+ /* contact */
495+ .contact div : nth-child (2 ) p : first-child ,
496+ .contact div : nth-child (2 ) a {
497+ font-size : 1.3rem ;
498+ font-weight : 650 ;
499+ }
500+ .contact div : nth-child (2 ) p : last-child {
501+ font-size : 0.8rem ;
502+ }
503+ /* about */
504+ .about section {
505+ grid-template-columns : 1fr ;
506+ padding : 0px ;
507+ }
508+ .about .img {
509+ display : none;
510+ padding-left : 0px ;
511+ }
512+ .about {
513+ padding : 30px 0px 5px ;
514+ margin-bottom : 25px ;
515+
516+ }
517+ .about section div : nth-child (2 ) p : first-child {
518+ font-weight : 400 ;
519+ }
520+ .about section div : nth-child (2 ){
521+ padding : 30px ;
522+ }
523+
524+ /* footer */
525+ footer {
526+ font-size : 10px ;
527+ }
529528}
529+ @media (min-width : 413px ) and (max-width : 1084px ){
530+ .Services > section .img {
531+ display : none;
532+ }
533+ .Services {
534+ height : auto;
535+ margin-left : 5px ;
536+ padding-right : 0px ;
537+
538+ }
539+ .Services > section {
540+ grid-template-columns : 1fr 1fr ;
541+ color : # 10cab7
542+ }
543+ /* */
544+ .about .img ::after {
545+ display : none;
546+ }
547+ }
530548
531549
532550
0 commit comments