* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', 'Source Han Sans SC', 'Noto Sans CJK SC', 'WenQuanYi Micro Hei', sans-serif;
  color: #4a4a4a;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 1200px;
  background: #ffcfcf;
}

@font-face {
  font-family: 'Abril Fatface';
  src: url('./img/AbrilFatface-Regular.ttf');
}

a {
  color: #4a4a4a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.top {
  width: 1200px;
  padding: 40px 0 0;
  display: flex;
}

.top h1 {
  width: 216px;
  height: 42px;
  border-radius: 21px;
  position: relative;
  top: 5px;
}

.top h1 img {
  position: absolute;
  top: 0;
  left: 5px;
  width: 54px;
  height: 42px;
}

.top nav {
  margin-left: auto;
  height: 42px;
  display: flex;
  align-items: center;
}

.top nav a {
  text-transform: uppercase;
  font-size: 14px;
}

.paint {
  margin-top: 40px;
  padding-bottom: 70px;
}

.paint .bg {
  padding: 15px;
  background: #fff;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.paint .img {
}

.paint .img img {
  display: block;
  width: 371px;
  height: 742px;
}

.paint .description {
  font-size: 16px;
  font-family: 'Abril Fatface', serif;
  text-align: center;
  margin-top: 30px;
}

.products {
  padding-top: 40px;
  background: #fafafa;
  width: 100%;
}

.products .inner {
  width: 748px;
  margin: 0 auto;
}

.products .info {
  width: 748px;
  height: 747px;
  position: relative;
}

.products .hula-link {
  position: absolute;
  width: 212px;
  height: 135px;
  right: 81px;
  bottom: 86px;
}

.products .title {
  padding-left: 24px;
  line-height: 42px;
  font-size: 30px;
  font-weight: 600;
  color: #333;
}

.products .description {
  padding-left: 24px;
  color: #333;
  font-size: 16px;
  margin-top: 10px;
}

.products .info img {
  width: 100%;
  height: 100%;
}

.foot {
  padding: 50px 0;
  background: #fafafa;
  width: 100%;
}

.foot .inner {
  width: 700px;
  margin: 0 auto;
}

.foot h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 50px;
}

.foot p {
  font-size: 14px;
  margin-bottom: 20px;
}

.foot .copyright {
  font-size: 11px;
  color: #b2a9a1;
}

.foot .copyright a {
  color: inherit;
  text-decoration: underline;
}

@media only screen and (max-width: 600px) {
  body {
    width:  100%;
    min-width: 0;
  }

  .top {
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
  }

  .paint {
    margin-left: 60px;
    margin-right: 60px;
  }

  .paint .img {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 200%;
  }

  .paint .img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .products {
    padding-left: 30px;
    padding-right: 30px;
  }

  .products .inner {
    width: 100%;
    margin: 0 auto;
  }
  
  .products .info {
    width: 100%;
    height: auto;
    position: relative;
  }

  .products .info img {
    height: auto;
  }

  .products .hula-link {
    width: 30vw;
    height: 15vw;
    right: 6vw;
    bottom: 10vw;
  }

  .products .title {
    font-size: 20px;
    padding-left: 0;
  }

  .products .description {
    padding-left: 0;
  }
  
  .foot {
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
  }

  .foot .inner {
    width: 100%;
  }
}
