.services {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.services-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.services-looking-for-paper {
  padding-top: 50px;
}

.services-looking-for-paper-title {
  padding-bottom: 55px;
  text-align: center;
}

.services-title {
  width: 100%;
  text-transform: uppercase;
  padding-bottom: 30px;
  font-size: 33px;
  margin-top: 50px;
  line-height: 100%;
}

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  max-width: 31.33333%;
  padding: 30px 0;
  margin-bottom: 5%;
  width: 100%;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
  position: relative;
  border-radius: 8px;
}

.service:hover {
  transition: box-shadow 0.3s ease-in-out;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.service > * {
  max-width: 270px;
}

.services-assist-tools .service:after {
  display: none;
}

@media (max-width: 920px) {
  .service > * {
    max-width: 215px;
  }
}

@media (max-width: 768px) {
  .service {
    max-width: 47.5%;
    border-left: none !important;
  }

  .service > * {
    max-width: 215px;
  }
}

@media (max-width: 700px) {
  .service {
    width: 100%;
    padding-bottom: 40px;
    margin-bottom: 5%;
  }

  .services-assist-tools .services-container {
    flex-direction: row !important;
    align-items: inherit;
  }
}

@media (max-width: 520px) {
  .service {
    max-width: 100%;
    border-right: none !important;
    padding-bottom: 20px !important;
  }

  .service > * {
    max-width: 100%;
  }

  .services-assist-tools .service-action-button {
    margin-top: 15px;
  }
}

.service-title {
  color: #0076a3;
  font-size: 18px;
  padding-bottom: 6px;
  text-align: center;
}

.service-title::before {
  content: " ";
  display: block;
  height: 100px;
  margin: 0 auto 18px;
  background-repeat: no-repeat;
  transform: scale(0.8);
}

.service-bold-title {
  font-weight: bold;
}

.service-title-plag-checker::before {
  width: 115px;
  background-image: url(/essaytools/images/plag-checker.svg);
}

.service-title-bib-generator::before {
  width: 89px;
  background-image: url(/essaytools/images/bibliography-generator.svg);
}

.service-title-words-converter::before {
  width: 157px;
  background-image: url(/essaytools/images/words-to-minutes.svg);
  background-size: 100% 100%;
  background-position: center;
}

.service-title-words-to-pages-converter::before {
  width: 171px;
  background-image: url(/essaytools/images/words-to-pages-converter.svg);
}

.service-gpa-calculator::before {
  width: 70px;
  background-image: url(/essaytools/images/gpa.png);
}

.service-title-plag-free-papers::before {
  width: 95px;
  background-image: url(/essaytools/images/plag-free-papers.png);
}

.service-title-thesis-generator::before {
  width: 105px;
  background-image: url(/essaytools/images/thesis-generator.svg);
}

.service-title-prof-format-citation::before {
  width: 105px;
  background-image: url(/essaytools/images/prof-format-citation.png);
}

.service-title-page-prices::before {
  width: 113px;
  background-image: url(/essaytools/images/page-prices.png);
}

.service-title-back-guarantee::before {
  width: 135px;
  background-image: url(/essaytools/images/back-guarantee.png);
}

.service-title-experience::before {
  width: 88px;
  background-image: url(/essaytools/images/experience.png);
}

.service-title-confidentiality::before {
  width: 112px;
  background-image: url(/essaytools/images/confidentiality.png);
}

.service-title-quality::before {
  width: 87px;
  background-image: url(/essaytools/images/quality.png);
}

.service-title-versatility::before {
  width: 93px;
  background-image: url(/essaytools/images/versatility.png);
}

.service-text {
  margin-top: 10px;
  text-align: center;
  font-size: 15px;
  max-width: 220px;
  color: #666;
  line-height: 147%;
}

a.service-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  width: 100%;
  max-width: 100%;
  z-index: 1;
}

.service-action-button {
  display: block;
  width: 100%;
  margin-top: 33px;
  padding: 15px 10px;
  background: #0076a3;
  font-family: "Larsseit", Arial, sans-serif;
  font-size: 13px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  border-radius: 5px;
}

.service-action-button:hover {
  background-color: #0076a3;
  color: #fff;
  opacity: 0.7;
  text-decoration: none;
}

.service-looking-for-paper {
  max-width: 214px;
  justify-content: flex-start;
  box-shadow: none !important;
}

.service-looking-for-paper-text {
  max-width: 214px;
}

.service-looking-for-paper-free-papers {
  max-width: 160px;
}
