* {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  text-transform: uppercase;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

html {
  font-size: 16px;
}

body {
  background-color: #967878;
}

title {
  text-transform: uppercase;
}

.nav {
  background-color: #000;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .nav {
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
}

.logo {
  float: left;
  width: 200px;
}

.nav a {
  color: #fff;
  font-weight: 600;
}

.nav ul {
  text-align: right;
}

.nav li {
  margin-left: 2em;
  display: inline-block;
}

.header {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-end;
  padding: 0 1em;
}
@media (max-width: 768px) {
  .header {
    align-items: center;
  }
}

.header .menu {
  display: flex;
}

.cont {
  width: 97.5%;
  margin: 0 auto;
}

.p1 {
  padding-top: 60px;
  font-size: 0;
}

.p1 .left {
  width: 40%;
  display: inline-block;
  vertical-align: middle;
  font-size: 0.8rem;
}

.pa .left {
  margin-right: 10%;
}

.pb .left {
  margin-left: 10%;
}

.p1 h2 {
  line-height: 5rem;
  font-size: 2rem;
}

.p1 p {
  line-height: 1.5;
  margin: 10px 0;
}

.p1 a {
  background-color: orange;
  color: white;
  padding: 5px 30px;
  display: inline-block;
  margin-top: 30px;
  border-radius: 10px;
  transition: 0.5s;
}

.p1 a:hover {
  transform: scale(1.2);
}

.p1 .right {
  width: 50%;
  display: inline-block;
  vertical-align: middle;
}

.right img {
  width: 100%;
}

.right img:hover {
  animation: 0.4s imgh ease-in-out;
}

@keyframes imgh {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0px);
  }
}
.shang {
  background-color: #4c4246;
  text-align: center;
  padding: 50px 10%;
  line-height: 2;
  position: relative;
  margin-top: 50px;
  text-transform: uppercase;
}

.shang ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.shang ul li {
  margin: 0 1em;
}

@media screen and (max-width: 800px) {
  .shang ul li {
    width: 100%;
  }
}
.xia {
  background-color: #3d3b42;
  padding: 20px 10%;
  text-align: right;
}

.xia a {
  margin-left: 20px;
}

.shang a {
  color: white;
  font-size: 1rem;
  font-weight: 600;
}

.top {
  position: absolute;
  right: 10%;
}

/* about */
.p2 h2 {
  line-height: 160px;
  padding-top: 40px;
  font-size: 40px;
  text-align: center;
}

.p2 img {
  width: 100%;
}

.p3 {
  padding: 30px 0;
  font-size: 0;
}

.p3 .left {
  width: 50%;
  display: inline-block;
  vertical-align: middle;
}

.p3 .right {
  width: 40%;
  display: inline-block;
  vertical-align: middle;
  margin-left: 10%;
  font-size: 1rem;
}

.p3 img {
  width: 100%;
}

.p3 p {
  margin: 20px 0;
  line-height: 1.4;
}

.p4 {
  text-align: center;
}

.card {
  float: left;
  text-align: center;
  width: 30%;
  line-height: 50px;
  font-size: 25px;
}

.desc {
  line-height: 1.2rem;
  font-size: 1rem;
  height: 2.4rem;
  overflow: hidden;
}

.card img {
  width: 100%;
  transition: 0.4s;
}

.card img:hover {
  transform: rotate(360deg);
}

.card:nth-child(2) {
  margin: 0 5%;
}

.card h5 {
  font-weight: 500;
  font-size: 1rem;
}

.p5 {
  position: relative;
  margin-bottom: 90px;
  margin-top: 80px;
}

.p5-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 1.4rem;
  width: 60%;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.btn {
  color: #000000;
  background-color: orange;
  padding: 10px 20px;
  border-radius: 10px;
  display: inline-block;
  margin: 40px 0;
}

.img {
  width: 100%;
  margin: 80px 0;
  clear: both;
}

.search a {
  margin: 0 10px;
}

@media screen and (max-width: 1200px) {
  html {
    font-size: 14px;
  }
}
@media screen and (max-width: 1000px) {
  html {
    font-size: 12px;
  }
}
@media screen and (max-width: 800px) {
  .logo {
    width: 40%;
  }
  .nav ul {
    text-align: center;
    padding: 20px 0 0;
  }
  .cont {
    width: 100%;
  }
  body {
    background-color: white;
  }
  .p2 h2 {
    padding-top: 0;
  }
  .p3 .left {
    display: block;
    margin: 0 auto;
  }
  .p3 .right {
    width: 90%;
    display: block;
    margin: 0 auto;
  }
  .p3 p {
    line-height: 2;
  }
  .p4.p4a .card {
    width: 60%;
    margin: 0 auto;
    float: none;
  }
  .p5 {
    margin: 0;
  }
  .p5-text {
    color: #000000;
  }
  .p4.p4b .card {
    width: 98%;
    clear: both;
    margin: 30px 1%;
  }
  .p4.p4b img {
    width: 40%;
    float: left;
  }
  .desc {
    height: 8rem;
    line-height: 2rem;
    margin: 0 auto;
    font-size: 14px;
  }
  .card .text {
    float: left;
    width: 50%;
    padding: 0 5%;
  }
  .center {
    text-align: right;
    padding-right: 5%;
  }
  .p5 img {
    filter: blur(5px);
  }
  .p1 {
    position: relative;
    padding-top: 0;
    padding-bottom: 30px;
  }
  .p1 .right {
    width: 100%;
    filter: blur(5px);
  }
  .p1 .left {
    position: absolute;
    left: 10%;
    color: white;
    width: 70%;
    z-index: 100;
  }
  .pa .left {
    top: 50%;
    transform: translateY(-50%);
  }
  .pb {
    text-align: right;
    margin-bottom: 50%;
  }
  .pb .left {
    height: 50%;
    margin-top: 50%;
  }
  .pb1 {
    height: 100%;
  }
  .pb2 {
    color: #000000;
  }
}
@media screen and (max-width: 500px) {
  html {
    font-size: 12px;
  }
  .logo {
    width: 60%;
  }
  .nav {
    padding: 10px 0;
  }
  .nav a {
    font-weight: 500;
    font-size: 10px;
  }
  .p1 {
    margin-top: 1rem;
    margin-bottom: 150%;
  }
  .p1 .left {
    color: black;
    top: 100%;
    width: 80%;
    /* font-size: 12px; */
    text-align: center;
  }
  .pa .left {
    transform: none;
  }
  .p1 p {
    line-height: 2;
  }
  .p1 h2 {
    /* font-size: 20px; */
  }
  .p1 .right {
    filter: none;
  }
  .pb .left {
    margin: 0;
  }
  .pb1 {
    height: auto;
  }
  .p2 h2 {
    font-size: 20px;
    line-height: 40px;
  }
  .p3 .right {
    /* font-size: 10px; */
  }
  .card {
    font-size: 12px;
    line-height: 30px;
  }
  .p5-text {
    /* font-size: 12px; */
    width: 80%;
  }
  .p4.p4b img {
    width: 70%;
    float: none;
  }
  .card .text {
    float: none;
    margin: 0 auto;
    font-size: 12px;
    width: 80%;
    line-height: 2;
  }
  .desc {
    font-size: 12px;
    line-height: 15px;
    height: 45px;
  }
  .center {
    text-align: center;
  }
}
@media screen and (max-width: 500px) and (max-width: 400px) {
  html {
    font-size: 10px;
  }
}
@media screen and (max-width: 500px) and (max-width: 300px) {
  html {
    font-size: 8px;
  }
}
.footer {
  box-sizing: border-box;
}
.footer * {
  box-sizing: border-box;
}

.privacy {
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 30px 15px;
  background-color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  box-shadow: 0 0.5rem 1rem rgba(33, 37, 41, 0.15);
}

.privacy h1, .privacy h2, .privacy h3, .privacy h4, .privacy h5, .privacy h6 {
  margin: 1em 0;
}

.privacy ul {
  margin: 1em 0;
  padding-left: 40px;
}

.privacy ul li {
  list-style: disc;
  font-size: 14px;
}

.card .desc {
  padding: 0 15px;
}

.about .p2 img {
  width: 100%;
}

.about p {
  font-size: 14px;
}

.about .card img {
  background-color: #fff;
}

.about .card p {
  font-size: 1.15em;
  font-weight: 700;
}

.shop .card {
  background-color: rgba(255, 255, 255, 0.4);
  padding-bottom: 2em;
}

.shop .card p {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 0 15px;
}

.shop .card img {
  background-color: #fff;
}

.shop .card a {
  font-size: 12px;
  color: #fff;
}

.banner2 {
  height: 200px;
  overflow: hidden;
  margin-bottom: 100px;
  width: 100%;
}

.banner2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail .right img {
  background-color: #fff;
}

.cart {
  margin-top: 100px;
}
.cart .media input {
  width: 3em;
  text-align: right;
}
.cart .media .btn {
  position: absolute;
  right: 1em;
  bottom: 1em;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(33, 37, 41, 0.15);
}

.media {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  background-color: #ffffff;
}
.media-object {
  width: 120px;
  margin-right: 20px;
}
.media-object img {
  width: 100%;
  vertical-align: middle;
}
.media h3 {
  margin: 5px 0 10px;
}
.media p {
  color: #999;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 5px;
}

.btn {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  color: #fff;
  text-transform: uppercase;
}

.login {
  width: 100%;
  max-width: 400px;
  margin: 100px auto;
  background-color: rgba(255, 255, 255, 0.4);
  padding: 2em;
  box-sizing: border-box;
}
.login * {
  box-sizing: border-box;
}
.login h1 {
  text-align: center;
  margin-bottom: 1em;
}
.login .form-item {
  margin-bottom: 1em;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.login .form-item label {
  width: 100%;
}
.login .form-item input {
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.login .form-item button {
  width: 48%;
  padding: 10px;
  background-color: #ffa500;
  color: #fff;
  border: transparent;
  border-radius: 5px;
}

.profile, .profile * {
  box-sizing: border-box;
}
.profile .avatar {
  width: 100px;
  border-radius: 50%;
}
.profile .pb {
  display: flex;
}
.profile .right {
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.profile .left {
  flex: 1;
  margin: 0;
  padding: 15px;
}
