:root {
  --table-wrapper-border: linear-gradient(-45deg, rgba(108, 40, 172, 0.6), rgba(139, 43, 168, 0.6));
}

.main {
  flex:  1 0 fit-content;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(34, 32, 34, 0.7);
  
}

h3, h4 {
  margin: 0;
}

.page-info {
  height: fit-content;
  min-height: 200px;
  width: 100%;
  background-color: rgb(44, 44, 44, 0.6);

  border-bottom: 2px var(--border-basic-color) solid;
  align-content: center;
}
.text-container {
  width: 86%;
  justify-self: center;
  padding-bottom: 8px;
}
.text-container h1 {
  margin-bottom: 8px;
}


.border-wrapper {
  width: 80%;
  height: fit-content;
  margin-top: 20px;
  margin-bottom: 20px;

  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  
  background: var(--table-wrapper-border);
}

.page-navigation {
  
  max-width: 440px;
  min-height: 280px;
  margin: 0 22px;
  border: 2px var(--border-basic-color) solid;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 18px;
  margin-bottom: 22px;

}

.cont-header {
  font-size: 20px;
  font-weight: 500;
  height: 34px;
  width: 100%;
  font-size: 22px;
  font-weight: 500;
  background: linear-gradient(to left, rgb(112, 38, 250, 0.7), rgb(131, 0, 131, 0.7));
  border-bottom: 2px var(--border-basic-color) solid;
}

.cont-content {
  font-size: 20px;
  box-sizing: border-box;
  width: 100%;
  height: calc(100% - 34px);
  row-gap: 6px;
  padding: 8px;
  padding-top: 4px;
  background-color: rgba(27, 27, 27, 0.7);
}
.cont-content p {

  text-align: center;
  transition: color 0.08s;
  cursor: pointer;
  padding: 0 16px;
}
.cont-content p:hover {
  color: rgb(170, 75, 214);
}
.cont-content p:active {
  color: rgb(131, 26, 180);
}

.main-content {
  box-shadow: none;
  height: fit-content;
  width: 90%;

  border: 2px var(--border-basic-color) solid;
  border-radius: 10px;
  max-width: 1400px;
  background-color: rgba(19, 19, 19, 0.6);

  margin-bottom: 26px;


  /*box-shadow: 3px 3px 5px rgb(14, 14, 14);*/

  overflow: hidden;
}

.cell-header-first {
  font-size: 30px;
  font-weight: 500;
  height: 46px;
  width: 100%;
  background: linear-gradient(to left, rgb(112, 38, 250, 0.7), rgb(131, 0, 131, 0.7));
  border-bottom: 2px var(--border-basic-color) solid;

}
.cell-header {
  font-size: 30px;
  font-weight: 500;
  height: 46px;
  width: 100%;
  background: linear-gradient(to left, rgb(112, 38, 250, 0.7), rgb(131, 0, 131, 0.7));
  border-bottom: 2px var(--border-basic-color) solid;
  border-top: 2px var(--border-basic-color) solid;
}

.cell-content {
  padding: 32px 80px;
  align-items: flex-start;
}
.cell-content p {
  font-size: 20px;
  margin-bottom: 20px;
  line-height: 1.35;
  color: rgb(207, 207, 207);
  text-indent: 2em;
}

.cell-images {
  margin-top: 20px;
  margin-bottom: 30px;
  align-self: center;
}
.equ-img {
  
}
.equ-text {
  margin: 0 14px;
  font-size: 54px !important;
  text-indent: 0 !important;
}


.equation-box {
  margin: 24px 0;
  padding: 22px 16px;
  background: #161b22;
  border: 1px solid #30363d;
  border-left: 4px solid #aa21cc;
  /*border-left: 4px solid #58a6ff;*/
  border-radius: 10px;
  text-align: center;
  overflow-x: auto;
  align-self: center;
}

.equation-box .equation-title {
  display: block;
  margin-bottom: 12px;
  color: #8b949e;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.equation-box .equation {
  color: #f0f6fc;
  font-size: 1.1rem;
}
.egz-text {
  font-size: 32px !important;
  font-weight: 500;
  text-indent: 0 !important;
}
.egz-img {
  margin-bottom: 14px;
}





@media (max-width: 768px) {
  .page-info .text-container h1 {
    font-size: 36px;
    line-height: 1;
    margin-top: 10px;
  }
  .cell-content {
    padding: 32px 50px;
  }
}

@media (max-width: 710px) {

  .card-equ-img {
    flex-wrap: wrap;
    width: 224px;
  }
  .card-equ-img .equ-text {
    margin-bottom: 4px;
    font-size: 40px !important;
  }
}


@media (max-width: 620px) {

  .header-long {
    display: none;
  }
}

@media (max-width: 600px) {
  .equation-box {
    padding: 18px 10px;
  }

  .equation-box .equation {
    font-size: 0.95rem;
  }

}
@media (max-width: 480px) {

  .equation-box .equation {
    font-size: 0.80rem;
  }

}

@media (max-width: 500px) {

  .cell-content {
    padding: 32px 34px;
  }
  .main-cell .cell-header {
    font-size: 24px;
  }
  
}
