|
@@ -14,13 +14,22 @@
|
|
/* fonts */
|
|
/* fonts */
|
|
|
|
|
|
body{
|
|
body{
|
|
- font-family: Helvetica;
|
|
|
|
|
|
+ font-family: "Helvetica Neue", Arial, sans-serif;
|
|
margin: 0;
|
|
margin: 0;
|
|
overflow-x: hidden;
|
|
overflow-x: hidden;
|
|
}
|
|
}
|
|
|
|
|
|
h1,h2,h3,p{
|
|
h1,h2,h3,p{
|
|
margin: 0;
|
|
margin: 0;
|
|
|
|
+ font-weight: bold;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+h1 {
|
|
|
|
+ font-size: 40px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+h2 {
|
|
|
|
+ font-size: 22px;
|
|
}
|
|
}
|
|
|
|
|
|
ul,li {
|
|
ul,li {
|
|
@@ -33,7 +42,7 @@ body * {
|
|
}
|
|
}
|
|
|
|
|
|
.overlay {
|
|
.overlay {
|
|
- position: fixed;
|
|
|
|
|
|
+ position: absolute;
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 100vh;
|
|
height: 100vh;
|
|
background-color: rgba(29,29,31,.6);
|
|
background-color: rgba(29,29,31,.6);
|
|
@@ -52,7 +61,7 @@ body * {
|
|
/* header-line */
|
|
/* header-line */
|
|
.header-line {
|
|
.header-line {
|
|
z-index: 2;
|
|
z-index: 2;
|
|
- position: fixed;
|
|
|
|
|
|
+ position: -webkit-sticky;position: sticky;
|
|
top: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 50px;
|
|
height: 50px;
|
|
@@ -90,7 +99,7 @@ body * {
|
|
|
|
|
|
/* navmenu */
|
|
/* navmenu */
|
|
.nav-menu {
|
|
.nav-menu {
|
|
- position: fixed;
|
|
|
|
|
|
+ position: absolute;
|
|
top: 0;
|
|
top: 0;
|
|
left: 0;
|
|
left: 0;
|
|
height: 100vh;
|
|
height: 100vh;
|
|
@@ -189,15 +198,6 @@ body * {
|
|
}
|
|
}
|
|
/* navmenu */
|
|
/* navmenu */
|
|
|
|
|
|
-/* main-page */
|
|
|
|
-.main-page {
|
|
|
|
- background: rgb(244, 244, 246);
|
|
|
|
-}
|
|
|
|
-.main-page .about {
|
|
|
|
- height: 500px;
|
|
|
|
-}
|
|
|
|
-/* main-page */
|
|
|
|
-
|
|
|
|
/* main-slider */
|
|
/* main-slider */
|
|
.main-slider {
|
|
.main-slider {
|
|
height: 100vh;
|
|
height: 100vh;
|
|
@@ -321,3 +321,126 @@ body * {
|
|
opacity: 0.7;
|
|
opacity: 0.7;
|
|
}
|
|
}
|
|
/* main-slider */
|
|
/* main-slider */
|
|
|
|
+
|
|
|
|
+/* main-page */
|
|
|
|
+.main-page {
|
|
|
|
+ margin-top: -50px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.main-page .about h1,h2 {
|
|
|
|
+ font-weight: bolder;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.main-page .about {
|
|
|
|
+ font-family: "Helvetica Neue", Arial, sans-serif;
|
|
|
|
+ letter-spacing: 1.75px;
|
|
|
|
+ padding: 60px 0;
|
|
|
|
+ /* background: linear-gradient(to bottom,rgb(244, 244, 246), rgb(260, 260, 260)); */
|
|
|
|
+ background: rgb(244, 244, 246);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.main-page .about-wrapper {
|
|
|
|
+ margin: 0 auto;
|
|
|
|
+ width: 1180px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.main-page .about h1 {
|
|
|
|
+ text-align: center;
|
|
|
|
+ font-size: 30px;
|
|
|
|
+ color: #2A2627;
|
|
|
|
+ margin-bottom: 80px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.main-page .about h1::after {
|
|
|
|
+ content: '';
|
|
|
|
+ display: block;
|
|
|
|
+ position: relative;
|
|
|
|
+ top: 35px;
|
|
|
|
+ left: 0;
|
|
|
|
+ right: 0;
|
|
|
|
+ margin: 0 auto;
|
|
|
|
+ height: 2px;
|
|
|
|
+ width: 100px;
|
|
|
|
+ background-color: #000;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.main-page .about-description {
|
|
|
|
+ text-align: center;
|
|
|
|
+ margin-bottom: 35px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.main-page .about-item-wrapper {
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.main-page .about-item {
|
|
|
|
+ width: 30%;
|
|
|
|
+ height: 283px;
|
|
|
|
+ position: relative;
|
|
|
|
+ z-index: 1;
|
|
|
|
+ perspective: 600px;
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.main-page .about-item-first-side {
|
|
|
|
+ text-align: center;
|
|
|
|
+ background-color: #fff;
|
|
|
|
+ padding: 40px 30px;
|
|
|
|
+ box-shadow: 0 0 22px #cacaca;
|
|
|
|
+ /* border: 1px solid rgba(29, 29, 31,.1); */
|
|
|
|
+ position: absolute;
|
|
|
|
+ transform: rotateY(0deg);
|
|
|
|
+ background: linear-gradient(to top,rgb(247, 247, 247), rgb(260, 260, 260));
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.main-page .about-item-second-side {
|
|
|
|
+ display: block;
|
|
|
|
+ position: absolute;
|
|
|
|
+ background-color: #1D1D1F;
|
|
|
|
+ padding: 40px 30px;
|
|
|
|
+ box-shadow: 0 0 22px #cacaca;
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 283px;
|
|
|
|
+ transform: rotateY(90deg);
|
|
|
|
+ text-align: center;
|
|
|
|
+ cursor: pointer
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.main-page .about-item-second-side span {
|
|
|
|
+ display: inline-block;
|
|
|
|
+ color: #fff;
|
|
|
|
+ font-size: 29px;
|
|
|
|
+ margin-top: 85px;
|
|
|
|
+ transform: scale(-1, 1);
|
|
|
|
+ opacity: 0;
|
|
|
|
+ transition: all 1.6s ease;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.main-page .about-item:hover .about-item-first-side{
|
|
|
|
+ transform: rotateY(90deg);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.main-page .about-item:hover .about-item-second-side{
|
|
|
|
+ transform: rotateY(180deg);
|
|
|
|
+ opacity: 1;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.main-page .about-item:hover .about-item-second-side span {
|
|
|
|
+ opacity: 1;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.main-page .about-item-img {
|
|
|
|
+ margin-bottom: 35px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.main-page .about-item-img i {
|
|
|
|
+ font-size: 50px;
|
|
|
|
+ color: #1D1D1F;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.main-page .about-item h2 {
|
|
|
|
+ color: #2A2627;
|
|
|
|
+ margin-bottom: 25px;
|
|
|
|
+}
|
|
|
|
+/* main-page */
|