
.banner {
  height: 408px;
  background: linear-gradient(185deg, #FFDCDC 6.62%, #FFE9E9 50.22%, rgba(255, 243, 243, 0) 80.96%);
  margin-bottom: 60px;
}
.banner__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  height: 100%;
  width: 94%;
  max-width: 1100px;
  background: url("https://www.pdfgear.com/img/de-how-to-banner.png") no-repeat 384px bottom;
  background-size: 733px 372px;
}
.banner__text {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.banner__text-desc {
  font-size: 32px;
  line-height: 1.5;
  margin-bottom: 37px;
}
.banner__text-desc span {
  color: #000;
}
.banner__text-desc strong {
  background-color: #FFF400;
  padding: 5px 2px;
}
.banner__text-button {
  width: fit-content;
  padding: 18px 36.99px 17px 36px;
  background: linear-gradient(90.29deg,#ED6948 18.05%,#FF404F 102.89%);
  border-radius: 30px;
  margin-bottom: 25px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  transition: all 0.3s linear;
  opacity: 1;
}
.banner__text-button.active {
  opacity: 1;
}
.banner__text-button p {
  font-size: 18px;
}
.banner__text-button p span {
  display: block;
}
.banner__text-button p span:last-child {
  font-size: 14px;
}
.banner__text-button:hover {
  transform: translateY(-5px);
}
.banner__text-download {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 4px;
}
.banner__text-download span {
  margin-right: 15px;
  font-size: 14px;
}
.banner__text-download a {
  margin-right: 10px;
}
.banner__img {
  height: 408px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.banner__img img {
  width: 733px;
  height: 372px;
}

.main {
  max-width: 1030px;
  width: 92%;
  margin: 0 auto 72px;
}
.main-warp {
  display: flex;
  justify-content: space-between;
}
.main-sidebar {
  width: 270px;
  background: #FFFFFF;

  box-sizing: border-box;
}

.main-categories {
  border: 1px solid #D7D7D7;
  border-radius: 10px;
  padding: 28px;
  margin-bottom: 25px;
}

.main-categories li {
  height: 47px;
  line-height: 47px;
  padding-left: 28px;
  box-sizing: border-box;
  border: 1px solid #fff;
  cursor: pointer;
  font-size: 16px;
}

.main-categories li.active{
  color: #FF6363;
  background: #FFD8D8;
  border: 1px solid #FFA5A5;
  border-radius: 30px;
}

.main-search {

}

.main-search p {
  width: 270px;
  height: 49px;
  background: #fff;
  border: 1px solid #D7D7D7;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  padding: 0 10px 0 28px;
}

.main-search p.active {
  border: 1px solid #000;
}

.main-search p input {
  border: 0 none;
  background: none;
  flex: 1;
  font-size: 16px;
}

.main-search p button {
  border: 0 none;
  background: none;
}
.main-search p button img {
  width: 17px;
  height: 17px;
  cursor: pointer;
}

.main-list {
  width: 702px;
}
.main-list ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.main-list li {
  width: 330px;
  height: 308px;
  box-sizing: border-box;
  border: 1px solid #D7D7D7;
  border-radius: 10px;
  padding: 10px;
  overflow: hidden;
  transition: all .3s ease;
  margin-bottom: 40px;
}

.main-list li.hide {
  display: none;
}

.main-list li:hover {
  border: 1px solid #fff;
  box-shadow: 0px 4px 10px rgba(180, 201, 255, 0.2);
}

.main-list li:hover .main-list-img {
  height: 144px;
}

.main-list li .main-list-img {
  height: 196px;
  transition: all .3s ease;
  margin-bottom: 12px;
  overflow: hidden;
}
.main-list li img {
  width: 100%;
  display: block;
}

.main-list li:hover .main-list-desc {
  opacity: 1;
}

.main-list .main-list-label {
  margin-bottom: 5px;
}
.main-list .main-list-label span {
  display: inline-block;
  color: rgba(255, 39, 39, 0.6);
  background: #FFE4E4;
  border-radius: 2px;
  line-height: 1;
  padding: 7.5px 10px;
  font-size: 12px;
}

.main-list h3 {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 5px;
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.main-list li .main-list-desc {
  color: #606060;
  font-size: 12px;
  line-height: 1.6;
  opacity: 0;
  transition: all .3s ease;
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.main-more {
  text-align: center;
}
.main-more span {
  display: inline-block;
  width: 259px;
  height: 60px;
  line-height: 60px;
  background: linear-gradient(90.29deg, #ED6948 18.05%, #FF404F 102.89%);
  border-radius: 30px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: all .3s ease;
}
.main-more span:hover {
  transform: translateY(-5px);
}

.tools {
  margin-bottom: 35px;
}
.tools h2 {
  font-size: 32px;
  font-weight: 500;
  color: #000;
  text-align: center;
  margin: 0 0 50px;
}
.tools ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  width: 94%;
  max-width: 1060px;
}
.tools li {
  width: 196px;
  height: 133px;
  list-style-type: none;
  background-color: var(--color);
  border-radius: 5px;
  margin-bottom: 12px;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}
.tools li:hover {
  box-shadow: 0 2px 5px rgba(160, 160, 160, 0.1);
}
.tools li a {
  display: flex;
  height: 133px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  color: #000;
}
.tools li img {
  margin-bottom: 22px;
}
.tools li p {
  font-size: 16px;
}
.tools__placeholder {
  visibility: hidden;
}

@media screen and (max-width: 1280px) {


}

@media screen and (max-width: 1060px) {
  .banner {
    height: 300px;
  }
  .banner__inner {
    background: url("https://www.pdfgear.com/img/de-how-to-banner.png") no-repeat right bottom;
    background-size: 366.5px 186px;
  }
  .tools li {
    width: 24%;
  }
  .tools__placeholder {
    display: none !important;
  }
  .main-warp {
    flex-direction: column;
  }
  .main-sidebar {
    width: 100%;
    margin-bottom: 20px;
    display: none;
  }
  .main-list {
    width: 100%;
  }
  .main-list li {
    width: 31%;
    height: 268px;
  }
  .main-list li .main-list-img {
    height: 144px;
  }
  .main-list li:hover .main-list-desc {
    opacity: 0;
  }
}

@media screen and (max-width: 768px) {
  .main-more span {
    width: 180px;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
  }
  .main {
    margin: 0 auto 36px;
  }
  .banner__inner {
    background: none;
  }
  .tools h2 {
    font-size: 24px;
    margin-bottom: 25px;
  }
  .tools li {
    width: 32%;
  }
  .tools__placeholder {
    display: none !important;
  }
  .banner {
    height: auto;
    padding: 30px 0;
    margin-bottom: 0;
  }
  .banner__text-desc {
    font-size: 20px;
  }
  .banner__text-button {
    font-size: 14px;
    padding: 9px 18px 8px 18px;
  }
  .main-list li {
    width: 48%;
    height: 268px;
  }
  .main-list li .main-list-img {
  }
}

@media screen and (max-width: 640px) {
  .tools li {
    width: 48%;
  }
  .tools__placeholder {
    display: none !important;
  }

  .main-list li {
    width: 100%;
    height: 308px;
  }
  .main-list li .main-list-img {
    height: 196px;
  }
  .main-list li:hover .main-list-desc {
    opacity: 1;
  }
}