@import url(./header.css);
.title {
  overflow: hidden;
  padding: 8rem 1rem 4.5rem 1rem;
  margin: 0 auto;
  font-size: 4.8rem;
  color: #282828;
  font-weight: bold;
}

.tabs {
  overflow: hidden;
  padding: 0 1rem 1.5rem 1rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  border-bottom: 0.1rem solid #eee;
}

.tabs > a {
  overflow: hidden;
  margin-right: 5rem;
  font-size: 1.6rem;
  color: #999;
  font-weight: bold;
  cursor: pointer;
}

.tabs > a:hover, .tabs > a.active {
  color: #81b745;
}

.tabs > a i {
  display: none;
}

.content {
  overflow: hidden;
  padding: 5rem 0 15rem 0;
  margin: 0 auto;
}

.content .one {
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}

.content .one > a {
  width: calc(50% - 2.1rem);
  overflow: hidden;
  border-radius: 2rem;
}

.content .one > a:nth-child(1), .content .one > a:nth-child(3) {
  margin-right: 4rem;
}

.content .one > a:hover > h2 {
  color: #81b745;
}

.content .one > a > img {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.content .one > a > h2 {
  overflow: hidden;
  padding: 3rem 0 5rem 0;
  font-size: 2.4rem;
  color: #282828;
}

@media screen and (max-width: 980px) {
  .title {
    padding: 3rem 1rem 2rem 1rem;
    font-size: 3rem;
  }
  .tabs {
    display: block;
  }
  .tabs > div {
    padding: 1rem;
    display: flex;
    align-items: center;
  }
  .tabs > div.active i {
    color: #81b745;
  }
  .tabs > div i {
    overflow: hidden;
    padding-left: 1rem;
    display: block;
  }
  .content {
    padding: 3rem 0 5rem 0;
  }
  .content .one {
    flex-wrap: wrap;
  }
  .content .one > a {
    width: 100%;
    padding: 0 1rem 2rem 1rem;
  }
  .content .one > a:nth-child(1), .content .one > a:nth-child(3) {
    margin-right: 0;
  }
  .content .one > a > h2 {
    font-size: 1.6rem;
    padding: 1rem 0 1rem 0;
  }
}
