ntphuc149 commited on
Commit
0a3fed4
·
verified ·
1 Parent(s): bdd735f

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +154 -39
style.css CHANGED
@@ -39,7 +39,6 @@ section {
39
 
40
  .container {
41
  max-width: 1920px;
42
- margin: auto;
43
  width: 100%;
44
  display: flex;
45
  justify-content: center;
@@ -57,6 +56,7 @@ header {
57
  left: 0;
58
  z-index: 1;
59
  }
 
60
  .logo {
61
  font-size: 2.5rem;
62
  font-weight: 700;
@@ -81,9 +81,9 @@ nav {
81
  display: flex;
82
  justify-content: end;
83
  align-items: center;
84
- padding: 10px 20px;
85
  border-radius: 2rem;
86
- width: 50%;
87
  }
88
 
89
  .navbar {
@@ -124,7 +124,7 @@ nav {
124
  }
125
  .menu-icon div {
126
  display: block;
127
- background: var(--text-color);
128
  height: 2px;
129
  width: 23px;
130
  transition: 0.3s;
@@ -138,6 +138,7 @@ nav {
138
  .move .line3 {
139
  transform: rotate(45deg) translate(-5px, -5px);
140
  }
 
141
  .home {
142
  width: 60%;
143
  min-height: 500px;
@@ -207,7 +208,17 @@ nav {
207
  font-weight: 800;
208
  margin: 1rem 0;
209
  }
 
 
 
 
 
 
 
 
 
210
  .service-content {
 
211
  display: grid;
212
  grid-template-columns: repeat(auto-fit, minmax(auto, 200px));
213
  justify-content: space-between;
@@ -246,6 +257,10 @@ nav {
246
  margin-top: 1rem;
247
  }
248
 
 
 
 
 
249
  .product-content {
250
  display: grid;
251
  grid-template-columns: repeat(3, 250px);
@@ -322,14 +337,31 @@ nav {
322
  background: var(--main-color);
323
  transition: 0.4s all cubic-bezier(0.075, 0.82, 0.165, 1);
324
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
325
  .team-content {
326
- display: grid;
327
- grid-template-columns: repeat(auto-fit, minmax(240px, auto));
328
- gap: 1.5rem;
329
  }
 
330
  .team-box img {
331
  width: 100%;
332
- height: 400px;
333
  object-fit: cover;
334
  border-radius: 10px;
335
  }
@@ -414,6 +446,7 @@ nav {
414
  }
415
 
416
  .book {
 
417
  display: flex;
418
  flex-direction: column;
419
  align-items: center;
@@ -497,6 +530,7 @@ nav {
497
  justify-content: space-between;
498
  gap: 1rem;
499
  margin-top: 3rem !important;
 
500
  }
501
  .footer .logo {
502
  color: var(--main-color);
@@ -678,11 +712,47 @@ nav {
678
  font-size: 3.5rem;
679
  }
680
 
 
 
 
 
 
 
 
 
 
 
 
 
681
  @media (max-width: 1500px) {
682
  .header-container {
683
  width: 80%;
684
  }
685
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
686
  .caption h1 {
687
  font-size: 1.2rem;
688
  }
@@ -713,13 +783,13 @@ nav {
713
  .printer div h1:last-child {
714
  font-size: 2.5rem;
715
  }
 
 
 
 
 
716
  }
717
  @media (max-width: 1080px) {
718
- .container {
719
- width: 90%;
720
- margin: 0 auto;
721
- }
722
-
723
  .header-container {
724
  width: 90%;
725
  }
@@ -731,6 +801,14 @@ nav {
731
  grid-template-columns: repeat(3, 1fr);
732
  padding: 40px;
733
  }
 
 
 
 
 
 
 
 
734
  }
735
  @media (max-width: 875px) {
736
  section {
@@ -739,6 +817,14 @@ nav {
739
  .home-text h1 {
740
  font-size: 2.5rem;
741
  }
 
 
 
 
 
 
 
 
742
  }
743
  @media (max-width: 770px) {
744
  .home {
@@ -775,32 +861,44 @@ nav {
775
  .footer {
776
  grid-template-columns: repeat(3, auto);
777
  }
 
 
 
 
 
 
 
 
 
 
 
778
  }
779
  @media (max-width: 700px) {
780
- header {
781
- top: 15px;
782
  }
 
783
  nav {
784
- padding: 14px 20px;
785
  }
786
  .logo {
787
- font-size: 1.25rem;
 
788
  }
789
  .menu-icon {
790
  display: flex;
791
  }
792
  .navbar {
793
  position: absolute;
794
- top: 110%;
795
- left: 50%;
796
  transform: translate(-50%);
797
- width: 90vw;
798
- background: var(--text-color);
799
  display: flex;
800
  flex-direction: column;
801
  align-items: center;
802
  padding: 20px;
803
- border-radius: 1rem;
804
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
805
  transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
806
  }
@@ -812,6 +910,22 @@ nav {
812
  display: block;
813
  margin: 1rem 0;
814
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
815
  }
816
  @media (max-width: 500px) {
817
  .heading h2 br {
@@ -827,6 +941,24 @@ nav {
827
  .footer {
828
  grid-template-columns: 1fr;
829
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
830
  }
831
  @media (max-width: 380px) {
832
  .home {
@@ -869,20 +1001,3 @@ nav {
869
  transform: translateX(0px);
870
  }
871
  }
872
-
873
- iframe {
874
- border-radius: 20px;
875
- width: 100%;
876
- height: 600px;
877
- }
878
-
879
- .input-book input {
880
- padding: 2px 10px;
881
- border: none;
882
- background: transparent;
883
- font-weight: 700;
884
- }
885
-
886
- .input-book input:focus {
887
- outline: none;
888
- }
 
39
 
40
  .container {
41
  max-width: 1920px;
 
42
  width: 100%;
43
  display: flex;
44
  justify-content: center;
 
56
  left: 0;
57
  z-index: 1;
58
  }
59
+
60
  .logo {
61
  font-size: 2.5rem;
62
  font-weight: 700;
 
81
  display: flex;
82
  justify-content: end;
83
  align-items: center;
84
+ padding: 10px 0 10px 20px;
85
  border-radius: 2rem;
86
+ width: 60%;
87
  }
88
 
89
  .navbar {
 
124
  }
125
  .menu-icon div {
126
  display: block;
127
+ background: var(--bg-color);
128
  height: 2px;
129
  width: 23px;
130
  transition: 0.3s;
 
138
  .move .line3 {
139
  transform: rotate(45deg) translate(-5px, -5px);
140
  }
141
+
142
  .home {
143
  width: 60%;
144
  min-height: 500px;
 
208
  font-weight: 800;
209
  margin: 1rem 0;
210
  }
211
+
212
+ .services {
213
+ width: 60%;
214
+ margin: 3rem auto;
215
+ display: flex;
216
+ flex-direction: column;
217
+ align-items: center;
218
+ }
219
+
220
  .service-content {
221
+ width: 100%;
222
  display: grid;
223
  grid-template-columns: repeat(auto-fit, minmax(auto, 200px));
224
  justify-content: space-between;
 
257
  margin-top: 1rem;
258
  }
259
 
260
+ .products .heading {
261
+ width: 60%;
262
+ }
263
+
264
  .product-content {
265
  display: grid;
266
  grid-template-columns: repeat(3, 250px);
 
337
  background: var(--main-color);
338
  transition: 0.4s all cubic-bezier(0.075, 0.82, 0.165, 1);
339
  }
340
+
341
+ iframe {
342
+ border-radius: 20px;
343
+ width: 100%;
344
+ height: 600px;
345
+ }
346
+
347
+ .input-book input {
348
+ padding: 2px 10px;
349
+ border: none;
350
+ background: transparent;
351
+ /* font-weight: 700; */
352
+ }
353
+
354
+ .input-book input:focus {
355
+ outline: none;
356
+ }
357
+
358
  .team-content {
359
+ width: 60%;
 
 
360
  }
361
+
362
  .team-box img {
363
  width: 100%;
364
+ max-height: 500px;
365
  object-fit: cover;
366
  border-radius: 10px;
367
  }
 
446
  }
447
 
448
  .book {
449
+ width: 60%;
450
  display: flex;
451
  flex-direction: column;
452
  align-items: center;
 
530
  justify-content: space-between;
531
  gap: 1rem;
532
  margin-top: 3rem !important;
533
+ padding: 0 3rem;
534
  }
535
  .footer .logo {
536
  color: var(--main-color);
 
712
  font-size: 3.5rem;
713
  }
714
 
715
+ .footer-content {
716
+ width: 80%;
717
+ display: flex;
718
+ justify-content: space-between;
719
+ }
720
+
721
+ .footer-boxes {
722
+ width: 60%;
723
+ display: flex;
724
+ justify-content: space-between;
725
+ }
726
+
727
  @media (max-width: 1500px) {
728
  .header-container {
729
  width: 80%;
730
  }
731
 
732
+ .home {
733
+ width: 80%;
734
+ }
735
+
736
+ .services {
737
+ width: 80%;
738
+ }
739
+
740
+ .team-content {
741
+ width: 80%;
742
+ }
743
+
744
+ .products .heading {
745
+ width: 80%;
746
+ }
747
+
748
+ .review {
749
+ width: 80%;
750
+ }
751
+
752
+ .book {
753
+ width: 80%;
754
+ }
755
+
756
  .caption h1 {
757
  font-size: 1.2rem;
758
  }
 
783
  .printer div h1:last-child {
784
  font-size: 2.5rem;
785
  }
786
+
787
+ iframe {
788
+ height: 500px;
789
+ width: 80%;
790
+ }
791
  }
792
  @media (max-width: 1080px) {
 
 
 
 
 
793
  .header-container {
794
  width: 90%;
795
  }
 
801
  grid-template-columns: repeat(3, 1fr);
802
  padding: 40px;
803
  }
804
+ iframe {
805
+ width: 80%;
806
+ height: 350px;
807
+ }
808
+
809
+ .book {
810
+ width: 100%;
811
+ }
812
  }
813
  @media (max-width: 875px) {
814
  section {
 
817
  .home-text h1 {
818
  font-size: 2.5rem;
819
  }
820
+
821
+ iframe {
822
+ width: 100%;
823
+ }
824
+
825
+ .service-content {
826
+ width: 80%;
827
+ }
828
  }
829
  @media (max-width: 770px) {
830
  .home {
 
861
  .footer {
862
  grid-template-columns: repeat(3, auto);
863
  }
864
+
865
+ .footer-content {
866
+ width: 100%;
867
+ padding: 0 20px;
868
+ }
869
+
870
+ .footer-boxes {
871
+ width: 100%;
872
+ display: flex;
873
+ justify-content: space-between;
874
+ }
875
  }
876
  @media (max-width: 700px) {
877
+ .header-container {
878
+ width: 100%;
879
  }
880
+
881
  nav {
882
+ padding: 14px 10px;
883
  }
884
  .logo {
885
+ font-size: 2.25rem;
886
+ padding: 0 10px;
887
  }
888
  .menu-icon {
889
  display: flex;
890
  }
891
  .navbar {
892
  position: absolute;
893
+ top: 100%;
894
+ right: -20%;
895
  transform: translate(-50%);
896
+ width: 40vw;
897
+ background: var(--main-color);
898
  display: flex;
899
  flex-direction: column;
900
  align-items: center;
901
  padding: 20px;
 
902
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
903
  transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
904
  }
 
910
  display: block;
911
  margin: 1rem 0;
912
  }
913
+
914
+ iframe {
915
+ height: 305px;
916
+ }
917
+
918
+ header {
919
+ padding: 12px 20px;
920
+ }
921
+
922
+ .service-content {
923
+ justify-content: center;
924
+ }
925
+
926
+ .team-box p {
927
+ text-align: justify;
928
+ }
929
  }
930
  @media (max-width: 500px) {
931
  .heading h2 br {
 
941
  .footer {
942
  grid-template-columns: 1fr;
943
  }
944
+
945
+ iframe {
946
+ height: 200px;
947
+ }
948
+
949
+ .service-content {
950
+ grid-template-columns: repeat(auto-fit, minmax(auto, 100%));
951
+ padding: 50px 20px;
952
+ }
953
+
954
+ .footer-content {
955
+ display: block;
956
+ }
957
+
958
+ .home-img {
959
+ width: 80%;
960
+ margin: 0 10%;
961
+ }
962
  }
963
  @media (max-width: 380px) {
964
  .home {
 
1001
  transform: translateX(0px);
1002
  }
1003
  }