:root {
  --primary-color: #22ADC2;
  --roundness: 8px;

  --blue: #5595F3;
  --orange: #FF9C14;
  --gaps: 10px;
  --goodColor: #19cc95;
  --badColor: #ff3a31;
  --lightGray: #f1f1f1;
}

.services-content {
  width: 80%;
  margin: auto;
  font-family: sans-serif;
}

.services-content h1,
.services-content {
  color: black;
}

.service.future h1,
.service.future {
  color: gray;
  transition-duration: 0.3s;
}

.service.future:hover h1,
.service.future:hover {
  color: black;
}

.section-title {
  margin-bottom: 20px;
  position: relative;
}

.section-title::before {
  content: " ";
  width: 100%;
  position: absolute;
  top: 21px;
  z-index: -1;
  /* left: 0; */
  border-bottom: 3px solid var(--blue);
}

.section-title > h1 {
  display: inline-block;
  position: relative;
  margin: 0;
  font-size: 25px;
}

.section-title > h1::before {
  content: " ";
  z-index: -1;
  height: 100%;
  width: 100%;
  padding-right: 30px;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  background: white;
}

.section-title i {
  margin-left: 8px;
  cursor: help;
  color: var(--blue);
  font-size: 14pt;
}

.section-title .buttons a {
  display: inline-block;
  padding: 0 8px;
  width: auto;
  border-radius: var(--roundness);
  position: relative;
  font-size: 14pt;
  font-weight: bold;
  background: white;
  color: black;
  box-shadow: rgba(0, 0, 0, .3) 0 2px 5px 0;
  margin: 0;
}

.section-title .buttons a:hover,
.section-title .buttons a:focus {
  box-shadow: rgba(0, 0, 0, .5) 0 4px 7px 0;
}

.section-title .buttons {
  margin-top: 10px;
}

.section-title .buttons a i {
  color: black;
  cursor: pointer;
  margin: 0;
  margin-right: 6px;
}

p {
  text-align: justify;
  font-size: 13pt;
}

.service-buttons-container {
  display: grid;
  place-items: center;
  margin: calc(var(--gaps) * 2) 0;
}

.service-buttons-container .buttons {
  display: flex;
  column-gap: var(--gaps);
  font-family: sans-serif;
}

.reveal-button,
.services-container a,
.service-buttons-container .category-button {
  /* display: inline-block; */
  padding: 15px 20px;
  width: auto;
  border-radius: var(--roundness);
  position: relative;
  font-size: 20px;
  font-weight: bold;
  background: white;
  color: gray;
  box-shadow: rgba(0, 0, 0, .3) 0 2px 5px 0;
  cursor: pointer;
  transition-duration: 0.3s;
}

.service-buttons-container .category-button:hover {
  color: black;
}

.service-buttons-container .category-button.active {
  pointer-events: none;
  background: var(--blue);
  color: white;
}

.services-container {
  display: grid;
  place-items: center;
}

#services-free {
  margin-bottom: calc(var(--gaps) * 2);
}

#services-paid {
  font-size: 18pt;
}


#services-paid ul li::marker {
  color: var(--blue);
  content: "›";
  font-weight: bold;
}

#services-paid ul li {
  padding: 0 0 20px 1ch;
  line-height: 1.1;
}

#services-paid ul {
  text-align: start;
  margin: 0;
  padding-left: var(--gaps);
}

#services-overview {
  font-size: 14pt;
}

#services-overview h1 {
  color: black;
}

#services-overview h3 {
  color: black;
  font-weight: normal;
}

.reveal-button,
.services-container a {
  margin: 0 auto calc(var(--gaps) * 2) auto;
  width: 300px;
  text-align: center;
  display: block;
  border: 4px solid var(--blue);
  color: black;
  text-decoration: none;
}

.services-container a i {
  margin-right: 6px;
}

.services-container a:hover {
  box-shadow: rgba(0, 0, 0, .5) 0 4px 7px 0;
  color: black;
}

hr {
  border: 2px solid var(--lightGray);
}

.step {
  display: grid;
  margin: 40px 0;
  grid-template-columns: 70px 1fr;
  grid-row-gap: 4px;
  grid-template-areas:
    "icon title"
    "icon description";
}

.step .title {
  grid-area: title;
  font-size: 15pt;
}

.step .description {
  grid-area: description;
  color: gray;
}

.step .state {
  display: inline-block;
  padding: 4px 10px;
  margin-left: 10px;
  font-size: 12pt;
  font-weight: bold;
  border: 4px solid var(--lightGray);
  border-radius: 999px;
}
.step .button {
  display: inline-block;
}

.step i {
  grid-area: icon;
  font-size: 26pt;
}

.step.done .state,
.step.done i {
  color: var(--goodColor);
}

.step.pending .state,
.step.pending i {
  color: var(--badColor);
}
.step.available .state,
.step.available i {
  color: var(--blue);
}
.step.notAvailable .state,
.step.notAvailable i {
  color: gray;
}

.step.notAvailable .state {
  visibility: hidden;
}

.step.withButton {
  cursor: pointer;
}

/* .step.available:hover .description { */
  
/* } */

/* Source: https://www.30secondsofcode.org/css/s/hover-underline-animation */
.step.withButton .description {
  display: inline-block;
  position: relative;
}

.step.withButton .description::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 3px;
  bottom: -8px;
  left: 0;
  background-color: var(--blue);
  transform-origin: bottom right;
  transition: transform 0.30s ease-out;
}

.step.withButton:hover .description {
  color: black;
}

.step.withButton:hover .description::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
