.explanation,
.autors {
  padding-block: 9rem;
  color: #1a1a1a;
}

.info-donate {
  padding-block: 1rem;
  background-color: var(--color-litle-gray);
  color: #1a1a1a;
}

.calculate-inner {
  row-gap: 3.6rem;
}

.calculate-body {
  background-color: #fbfbfe;
  border-radius: 35px;
  padding: 2rem;
  max-width: 83%;
  display: flex;
  align-items: center;
  color: #333;
}

.autor {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 38rem;
  padding: 2rem;
  background-color: #fbfbfe;
  border-radius: 35px;
  margin-top: 4rem;
}

.description {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4.2rem;
}

.calculate-form-input {
  margin: 0 auto;
}

.calculate-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.calculate-title:not(:last-child) {
  margin-bottom: 1.6rem;
}

.calculate-description:not(:last-child) {
  margin-bottom: 2rem;
  max-width: 100%;
  display: flex;
  justify-content: center;
}

.calculate-form-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.calculate-form-body:not(:last-child) {
  margin-bottom: 2.6rem;
}

.input {
  width: 100%;
  height: 5.4rem;
  padding-inline: 2.5rem;
  color: var(--color-dark);
  background-color: transparent;
  border: 2px solid var(--primary-color);
  border-radius: 30px;
}

.input::placeholder,
select.input:invalid {
  color: #8973c8;
}

.input:hover {
  box-shadow: 0 0 12px var(--primary-color);
}

.calculate-inner input:not(:last-child) {
  margin-bottom: 10px;
}

.calculate-body input:not(:last-child) {
  margin-bottom: 10px;
}

.radio-tile-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.5rem;
  margin-top: 1rem;
}

.input-container {
  position: relative;
  height: 4rem;
  aspect-ratio: 1;
}

.input-container input {
  position: absolute;
  height: 100%;
  width: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 2;
  opacity: 0;
}

.input-container .radio-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  border: 2px solid var(--primary-color);
  border-radius: 15px;
  transition: all 300ms ease;
}

.input-container label {
  color: var(--primary-color);
  font-size: 2.5rem;
}

input:checked + .radio-tile {
  background-color: var(--primary-color);
  box-shadow: 0 0 12px var(--primary-color);
}

input:hover + .radio-tile {
  box-shadow: 0 0 12px var(--primary-color);
}

input:checked + .radio-tile label {
  color: white;
}

input:disabled + .radio-tile {
  box-shadow: none;
  background-color: #ebebeb;
}

.input-container input:disabled {
  cursor: default;
}

.calculate-button {
  width: 70%;
}

.button {
  display: inline-flex;
  height: 5rem;
  align-items: center;
  justify-content: center;
  padding-inline: 2.6rem;
  font-weight: 700;
  line-height: 2;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border-radius: 30px;
  border: 2px solid var(--primary-color);
}

.button:hover {
  box-shadow: 0 0 12px var(--primary-color);
}

.image-info {
  max-width: 50%;
}

.info-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 14rem;
}

.img-info {
  display: flex;
  align-items: center;
  justify-content: center;
}

.h2-autor {
  margin-top: 3.2rem;
  color: #8973c8;
  font-size: 2.8rem;
  line-height: 5rem;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.color-donate {
  font-family: var(--font-family-nobase);
  color: var(--color-donate);
}

.button-donate {
  margin-top: 1.6rem;
  display: flex;
  column-gap: 1.6rem;
}

.section-link-donate {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.5rem;
  padding-inline: 0.7rem;
  font-size: 1.8rem;
  height: 6rem;
  width: 16rem;
  color: #e64980;
  background: transparent;
  border: 1px solid #e64980;
  border-radius: 50px;
}

.section-link-donate:hover {
  box-shadow: 0 0 6px #e64980;
  text-shadow: rgb(230, 73, 128, 0.4) 1px 0 10px;
}

.add-class-button {
  margin: 0 auto;
  margin-top: 4.8rem;
  width: 30rem;
  height: 7rem;
  font-size: 2.4rem;
}

.news-container {
  min-height: 80rem;
  max-width: 90rem;
  margin: 3.2rem auto;
  background-color: #fbfbfe;
  padding: 1% 3.57143%;
  border: 2px solid #5637b0;
  position: relative;
}

.news-container::after {
  top: 0px;
  right: 0px;
  height: 60px;
  transform: rotate(45deg) translate(0px, -120%);
  content: "";
  position: absolute;
  width: 100px;
  background-color: #ebedf9;
  transform-origin: 0px center 0px;
  border-bottom: 2px solid #5637b0;
}

.grid-news {
  display: grid;
  grid-template-columns: 30fr 65fr;
  gap: 5%;
  padding: 5rem 0 5rem 0;
}

.img-div-news {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: inset 0 0 0 3px #5637b0;
  transition: all 0.3s;
}

.img-news {
  transition: all 0.3s;
  width: 100%;
  aspect-ratio: 1;
  display: block;
}

.img-news:hover {
  transform: scale(1.1);
}

.text-news {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
}

.header-news {
  color: #8973c8;
  font-size: 3.2rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.p-news {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #555;
}

.data-news {
  text-align: end;
  color: #8973c8;
  font-weight: 600;

  padding-right: 1rem;
}

.grid-news:not(:last-child) {
  border-bottom: 2px solid #5637b0;
}

strong {
  color: #8973c8;
}

.news-link:link,
.news-link:visited {
  color: #8973c8;
  display: inline-block;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: all 0.3s;
}

.news-link:hover,
.news-link:active {
  color: #5637b0;
  border-bottom: 1px solid transparent;
}

/* Slow appearance of sections */

.element-animation {
  /* Скроем элемент в начальном состоянии */
  opacity: 0;
  transform: translateY(20px);
}

.element-animation.element-show {
  opacity: 1;
  transition: all 1s;
  transform: translateY(0%);
}
