@import url("https://fonts.googleapis.com/css2?family=Jost:wght@600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Quicksand&display=swap");

:root {
  --green: #0e723a;
  --green-lg: #569c75;
  --dark-green: #0e4b2a;
  --mate-green: #4c8268;
  --light-green: #21a366;
  --light-green-lg: #63be94;
  --white: #ffffff;
  --strong-gray: #242038;
  --strong-gray-lg: #615e6e;
  --medium-gray: #8d8d9f;
  --black: #000000;

  /* Measures for all figures */
  --border-radius: 0.5rem;
  --circle-radius: 6px;
  --square-measure: 12px;
  --button-circle-measure: 25px;
  --button-circle-color: #ffffff33;

  /* Colors for table rows */
  --table-green-gray: #a2beaf;
  --table-gray: #a7a5af;
  --table-cream-green: #a5d9c1;

  /* Time for transition */
  --time-chevron: 200ms;
}

body {
  background-color: #fff;
  overflow-x: hidden;
}

.title {
  font-family: "Jost", sans-serif;
}

.text {
  font-family: "Quicksand", sans-serif;
}

.title-container,
.title-container2 {
  max-width: 1600px;
  width: 100%;
  display: flex;
}

.title-container {
  margin: calc(90px + 3rem) auto 2rem auto;
}

.title-container2 {
  margin: 2rem auto;
}

.title-container::before {
  content: "";
  flex-grow: 2;
  background: url(../images/capability_matrix/assets_mobile/lines1_left_mobile.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 10vw;
}

.title-container::after {
  content: "";
  flex-grow: 2;
  background: url(../images/capability_matrix/assets_mobile/lines1_right_mobile.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 10vw;
}

.title-container2::before {
  content: "";
  flex-grow: 2;
  background: url(../images/capability_matrix/assets_mobile/lines2_left_mobile.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 10vw;
}

.title-container2::after {
  content: "";
  flex-grow: 2;
  background: url(../images/capability_matrix/assets_mobile/lines2_right_mobile.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 10vw;
}

.block-title {
  display: flex;
  font-size: 4vw;
  color: var(--black);
  text-align: center;
  padding: 0 0.8em;
  width: max-content;
}

.--block-title-1 {
  align-items: start;
  transform: translateY(-20%);
  -webkit-transform: translateY(-20%);
  -moz-transform: translateY(-20%);
  -ms-transform: translateY(-20%);
  -o-transform: translateY(-20%);
}

.--block-title-2 {
  align-items: end;
  transform: translateY(10%);
  -webkit-transform: translateY(10%);
  -moz-transform: translateY(10%);
  -ms-transform: translateY(10%);
  -o-transform: translateY(10%);
}

.block {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 15px;
  padding: 0 2%;
}

.block-card {
  min-width: 220px;
  width: 20%;
  padding: 2em;
  color: var(--white);
  border-radius: 1em;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.block-card:first-child {
  border-top: 1.5em solid var(--light-green);
  background-color: var(--light-green-lg);
}

.block-card:nth-child(2) {
  border-top: 1.5em solid var(--dark-green);
  background-color: var(--mate-green);
}

.block-card:nth-child(3) {
  border-top: 1.5em solid var(--strong-gray);
  background-color: var(--strong-gray-lg);
}

.block-card:nth-child(4) {
  border-top: 1.5em solid var(--green);
  background-color: var(--green-lg);
}

.block-card-title {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.9rem;
}

.--exception {
  margin-bottom: 0;
}

.block-card-info {
  font-size: 1.2rem;
  margin-bottom: 0.2em;
}

.pricing-numbers {
  font-size: 1.3rem;
  margin-bottom: 0.2em;
  font-family: 'Jost';
  font-weight: bold;
  
}

.block-card-pricing {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: center;
  line-height: 24px;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.block-card-button {
  width: 100%;
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  border: none;
  background: var(--light-green);
  margin: 0 auto;
  color: #fff;
  padding: 0.7rem 2.5rem;
  text-decoration: none;
  z-index: 1;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  font-size: 1.1rem;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

/* Button */
/* Background black hovered */
.backgroundBlack::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  background-color: var(--strong-gray);
  transform: scale(0, 0);
  -webkit-transform: scale(0, 0);
  -moz-transform: scale(0, 0);
  -ms-transform: scale(0, 0);
  -o-transform: scale(0, 0);
  transition: transform 0.3s linear;
  -webkit-transition: transform 0.3s linear;
  -moz-transition: transform 0.3s linear;
  -ms-transition: transform 0.3s linear;
  -o-transition: transform 0.3s linear;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
}

.backgroundBlack:hover::after {
  transform: scale(1, 1);
  -webkit-transform: scale(1, 1);
  -moz-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  -o-transform: scale(1, 1);
}

.table-scroll {
  overflow: auto;
  padding: 0;
}

.table {
  max-width: 1600px;
  min-width: 500px;
  width: 90%;
  margin: 1rem auto 3rem auto;
  padding: 2em;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  grid-template-areas:
    "header1 header2 header3 header4 header5"
    "deploy1 setting11 setting12 setting13 setting14"
    "deploy2 setting21 setting22 setting23 setting24"
    "deploy3 setting31 setting32 setting33 setting34"
    "deploy4 setting41 setting42 setting43 setting44"
    "deploy5 setting51 setting52 setting53 setting54"
    "deploy6 setting61 setting62 setting63 setting64"
    "deploy7 setting71 setting72 setting73 setting74";
  gap: 0;
  overflow: hidden;
  pointer-events: none;
}

.table-box {
  font-family: "Quicksand", sans-serif;
  transition: height var(--time-chevron) ease-in-out;
  -webkit-transition: height var(--time-chevron) ease-in-out;
  -moz-transition: height var(--time-chevron) ease-in-out;
  -ms-transition: height var(--time-chevron) ease-in-out;
  -o-transition: height var(--time-chevron) ease-in-out;
}

.table-box:nth-child(n + 5):not(:nth-child(n + 10)),
.table-box:nth-child(n + 25):not(:nth-child(n + 30)) {
  background-color: #99cfb1;
}

.table-box:nth-child(n + 10):not(:nth-child(n + 15)) {
  background-color: #c8d4cc;
}

.table-box:nth-child(n + 15):not(:nth-child(n + 20)),
.table-box:nth-child(n + 30):not(:nth-child(n + 35)) {
  background-color: #9eb6a9;
}

.table-box:nth-child(n + 20):not(:nth-child(n + 25)),
.table-box:nth-child(n + 35):not(:nth-child(n + 40)) {
  background-color: var(--table-gray);
}

.table-box:nth-child(5n + 5),
.table-box:nth-child(5n + 6),
.table-box:nth-child(5n + 7),
.table-box:nth-child(5n + 8) {
  border-right: 1px solid var(--white);
}

.table-header {
  text-align: center;
  color: var(--white);
  background-color: var(--light-green);
  padding: 1em;
  font-size: 1.2rem;
}

.table-header:first-child {
  border-top-left-radius: var(--border-radius);
}

.table-header:nth-child(4) {
  border-top-right-radius: var(--border-radius);
}

/* Headers */
.header1 {
  grid-area: header2;
}

.header2 {
  grid-area: header3;
}

.header3 {
  grid-area: header4;
}

.header4 {
  grid-area: header5;
}

/* Deploy 1 */

.deploy1 {
  grid-area: deploy1;
}

.table-box.deploy1 {
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
}

.setting11 {
  grid-area: setting11;
}

.setting12 {
  grid-area: setting12;
}

.setting13 {
  grid-area: setting13;
}

.setting14 {
  grid-area: setting14;
}

/* Deploy 2 */
.deploy2 {
  grid-area: deploy2;
}

.setting21 {
  grid-area: setting21;
}

.setting22 {
  grid-area: setting22;
}

.setting23 {
  grid-area: setting23;
}

.setting24 {
  grid-area: setting24;
}

/* Deploy 3 */
.deploy3 {
  grid-area: deploy3;
}

.setting31 {
  grid-area: setting31;
}

.setting32 {
  grid-area: setting32;
}

.setting33 {
  grid-area: setting33;
}

.setting34 {
  grid-area: setting34;
}

/* Deploy 4 */
.deploy4 {
  grid-area: deploy4;
}

.setting41 {
  grid-area: setting41;
}

.setting42 {
  grid-area: setting42;
}

.setting43 {
  grid-area: setting43;
}

.setting44 {
  grid-area: setting44;
}

/* Deploy 5 */
.deploy5 {
  grid-area: deploy5;
}

.setting51 {
  grid-area: setting51;
}

.setting52 {
  grid-area: setting52;
}

.setting53 {
  grid-area: setting53;
}

.setting54 {
  grid-area: setting54;
}

/* Deploy 6 */
.deploy6 {
  grid-area: deploy6;
}

.setting61 {
  grid-area: setting61;
}

.setting62 {
  grid-area: setting62;
}

.setting63 {
  grid-area: setting63;
}

.setting64 {
  grid-area: setting64;
}

/* Deploy 7 */
.deploy7 {
  grid-area: deploy7;
}

.setting71 {
  grid-area: setting71;
}

.setting72 {
  grid-area: setting72;
}

.setting73 {
  grid-area: setting73;
}

.setting74 {
  grid-area: setting74;
}

.table-title {
  position: relative;
  display: flex;
  pointer-events: all;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  padding: 0.5em 1.5em;
  border-radius: var(--border-radius);
  -webkit-border-radius: var(--border-radius);
  -moz-border-radius: var(--border-radius);
  -ms-border-radius: var(--border-radius);
  -o-border-radius: var(--border-radius);
}

.title-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  padding: 10px;
  background-color: var(--button-circle-color);
  width: var(--button-circle-measure);
  height: var(--button-circle-measure);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  transition: transform var(--time-chevron) ease-in-out;
  -webkit-transition: transform var(--time-chevron) ease-in-out;
  -moz-transition: transform var(--time-chevron) ease-in-out;
  -ms-transition: transform var(--time-chevron) ease-in-out;
  -o-transition: transform var(--time-chevron) ease-in-out;
}

.--rotate {
  transform: rotateZ(180deg);
  -webkit-transform: rotateZ(180deg);
  -moz-transform: rotateZ(180deg);
  -ms-transform: rotateZ(180deg);
  -o-transform: rotateZ(180deg);
}

.title-icon i {
  /* pointer-events: none; */
  transform: rotateZ(180deg);
  -webkit-transform: rotateZ(180deg);
  -moz-transform: rotateZ(180deg);
  -ms-transform: rotateZ(180deg);
  -o-transform: rotateZ(180deg);
}

.deploy1 .table-title {
  background-color: #00873d;

}

.deploy2 .table-title {
  background-color: #28a464;
}

.deploy3 .table-title {
  background-color: #0e4b2a;
}

.deploy4 .table-title {
  background-color: var(--strong-gray);
}

.deploy5 .table-title {
  background-color: var(--light-green);
}

.deploy6 .table-title {
  background-color: var(--green);
}

.deploy7 .table-title {
  background-color: var(--medium-gray);
}

.description-text {
 font-size: 0.9rem;
}

.title-text {
  font-size: 1.2rem;
  max-width: 275px;
  padding-right: 0.6em;
}

.table-content-container {
  margin: 1rem 0;
  padding: 0.3rem 1.5em;
}

.table-content {
  overflow: hidden;
  padding: 0.3em 0.5em;
  height: auto;
  transition: height var(--time-chevron) ease-in-out;
  -webkit-transition: height var(--time-chevron) ease-in-out;
  -moz-transition: height var(--time-chevron) ease-in-out;
  -ms-transition: height var(--time-chevron) ease-in-out;
  -o-transition: height var(--time-chevron) ease-in-out;
}

.rotate {
  height: 0;
}

.table-content-title {
  font-weight: 600;
  font-size: 1.1rem;
}

.table-content-list-item {
  position: relative;
  list-style: none;
  padding: 0.2rem 0.2rem 0.2rem 1rem;
  font-weight: 600;
  font-size: 1rem;
}

.table-content-list-item::before {
  content: "";
  position: absolute;
  width: var(--circle-radius);
  height: var(--circle-radius);
  top: 35%;
  left: 0;
  background-color: #000000;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.square {
  position: relative;
}

.square::after {
  content: "";
  position: absolute;
  width: var(--square-measure);
  height: var(--square-measure);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  background-color: var(--white);
  transform: rotateZ(45deg);
  -webkit-transform: rotateZ(45deg);
  -moz-transform: rotateZ(45deg);
  -ms-transform: rotateZ(45deg);
  -o-transform: rotateZ(45deg);
}

@media screen and (min-width: 1400px) {
  .block {
    padding: 0 calc(calc(1400 / 100) * 2px);
  }

  .block-title {
    font-size: calc(calc(1400 / 100) * 4px);
  }

  .title-container::before,
  .title-container::after,
  .title-container2::before,
  .title-container2::after {
    height: calc(calc(1400 / 100) * 10px);
  }
}

@media screen and (max-width: 768px) {
  /* .block{
    padding: 0 4%;
  } */
  .title-container {
    margin: calc(75px + 2rem) auto 2rem auto;
  }
  .block-title {
    font-size: 6vw;
  }
  .block-card-button {
    font-size: 0.9rem;
  }
  .table-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5em 1.5em;
    font-size: 1rem;
  }
  .title-text {
    font-size: 1rem;
  }
  .table-content-title {
    font-size: 0.9rem;
  }
  .table-content-list-item {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 480px) {
  /* .block{
    padding: 0 2%;
  } */
  .title-container {
    margin: calc(60px + 2rem) auto 2rem auto;
  }
  .block-title {
    font-size: 7vw;
  }
  .block-card-title {
    font-size: 1.3rem;
  }
  .block-card-info {
    font-size: 1rem;
  }
  
  .table {
    overflow-x: auto;
    margin: 0.5rem 1rem;
  }
  .table-scroll {
    margin-bottom: 4em;
  }
  .title-text {
    font-size: 0.9rem;
  }
  .table-content-title {
    font-size: 0.8rem;
  }
  
  
}
