@font-face { font-family: Gilroy-Medium; src: url('../font/Gilroy-Medium-2.otf'); font-weight: normal; font-style: normal; font-display: swap; } @font-face { font-family: Gilroy-Regular; src: url('../font/gilroy-regular-3.otf'); font-weight: normal; font-style: normal; font-display: swap; } @font-face { font-family: Gilroy-Bold; src: url('../font/gilroy-bold-4.otf'); font-weight: normal; font-style: normal; font-display: swap; } html{ max-width:1920px; margin: 0 auto; } html, p, h3, h1, h2, h4, h5, body{ font-family: OPPOSans-M; } img{ display: block; } ul{ list-style: none; padding: 0; margin: 0; } input, textarea, button, textarea:hover, textarea:focus input:hover, input:focus button:hover, button:focus{ background-color: unset; border: unset; outline: unset; cursor: pointer; } button:hover{ opacity: 0.8; } a{ text-decoration: unset; color: #000000; } a:hover,a:focus{ color:#f08200 } .center{ display: flex; align-items: center; justify-content: center; } .bg{ background-repeat: no-repeat; background-size: 100% 100%; background-position: center; } header{ width: 100%; position: fixed; left: 0; top: 0; z-index: 10; background-color: transparent; transition:background .5s ease; padding-top: 1.5rem; background-color: #fff; &.is-stuck .outer{ box-shadow: 0 0 10px 0 #0000003a; } .outer{ max-width:calc(1920px - 3rem); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 1rem; background-color: #f08200; border-radius: 1.667rem; .logo{ display: flex; align-items: center; img{ height: 2.6rem; } } ul{ display: flex; align-items: center; gap: 3rem; color: #fff; li{ font-size: 0.833rem; padding: 0.2rem 1rem; border-radius: .6rem; font-size:1rem; font-weight: normal; font-family: Gilroy-Medium; a{ background-color: unset; } &.active{ color: #f08200; background: #fff; } } } /* The switch - the box around the slider */ .search { font-size: 0.75rem; display: flex; font-size: 1.083rem; align-items: center; justify-content: flex-end;; padding: .5rem; height: 2rem; border-radius: 1rem; transition: background .2s ease; color: #fff; input{ width: 0; transition: width .4s ease; } &:hover{ background-color: #fff; color: #f08200; } &:hover input{ width: 14rem; flex: 1; } } } } .line-container { width: 32px; height: 24px; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; .line { width: 100%; height: 2px; background-color: #fff; border-radius: 20px; transition: transform 1s ease, opacity 0.5s ease; transform-origin: left; } &.active .line-1 { transform: rotate(45deg); } &.active .line-2 { opacity: 0; } &.active .line-3 { transform: rotate(-45deg); } } .outer{ margin: 0 1.667rem; } section{ padding: 3rem 0; } footer{ margin: 1.667rem; background-color: #818286; border-radius: 1.538rem; padding: 3rem 4.5rem; .outer-link{ display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ffffff63; padding-bottom: 1.6rem; img{ height: 2.6rem; } ul{ display: flex; align-items: center; gap: 1rem; } .iconfont{ display: inline-block; width: 1.962rem; height: 1.962rem; text-align: center; line-height: 1.962rem; border-radius: 50%; color: #7d7d7d; font-size: 1rem; background-color: #ffffff; border: solid 0.038rem #ffffff; &:hover{ background-color: #f08200; color: #fff; } } } .descript{ display: flex; align-items: center; justify-content: space-between; padding-top: 1.6rem; gap: 1rem; p{ white-space: pre-line; font-family: Gilroy-Regular; font-size: 0.615rem; font-weight: normal; font-stretch: normal; line-height: 0.923rem; letter-spacing: 0rem; color: #ffffff; } } } .path{ display: flex; align-items: center; justify-content: space-between; height: 5.385rem; background-color: #f4f4f6; border-radius: 1.538rem; padding: 0 2.4rem; font-family: Gilroy-Medium; font-size: 0.692rem; color: #313131; .link{ display: flex; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .iconfont{ font-size: 1rem; padding: 0 .5rem; } h3{ font-family: Gilroy-Bold; font-size: 2.308rem; color: #313131; } } .pagination{ padding: 1rem 0; display: flex; align-items: center; justify-content: center; gap: 1rem; li{ width: 1.538rem; height: 1.538rem; text-align: center; line-height: 1.538rem; border-radius: 50%; font-family: Gilroy-Regular; font-size: 0.692rem; background-color: #f5f5f5; &:hover, &.active{ background-color: #f08200; a{color: #fff;} } } } @media (max-width: 1024px) { :root{ font-size: 16px !important; } header{ width: 100%; position: fixed; left: 0; top: 0; background-color: #fff; padding-top: 0; .outer{ margin: 0; border-radius: unset; padding:0.5rem 1rem; gap: 4rem; ul{ width: 0; position: fixed; top: 3.4rem; left: -8rem; flex-direction: column; transition: width 0.3s ease; background-color: #f08200; padding: 1rem; align-items: start; white-space: nowrap; gap: 1rem; overflow: hidden; height: 100vh; li{ font-size: 1rem; } &.show{ left:0; width: 40%; } } .search{ flex: 1; background-color: #fff; color: #f08200; padding: 0 1rem; &:hover input, input{ width: 100%; } } } } footer{ margin: 0; border-radius: unset; padding: 3rem 2rem; .descript{ flex-direction: column; align-items: flex-start; } } } @media (max-width: 640px) { :root{ font-size: 16px !important; } .path{ height: 2.5rem; padding: 0 1rem; } .path h3{ font-size: 1rem; } .outer{ margin: 0 1rem; } .banner{ margin-top: 3.6rem; } .bg{ background-size: cover; } .about_desc .about_img{ display: none; } header .outer .logo img { height: 2rem; } header .outer{ gap: 1rem; } header .outer ul{ top:48px } footer{ margin: 0; border-radius: unset; padding: 1rem; .descript{ flex-direction: column; align-items: flex-start; } } }