* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Inter", sans-serif;
}

a {
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

.body {
  background-color: #ffffff;
}

.wrapper {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 10px;
}

.red {
  font-weight: 700;
  color: #e60505;
}

.header .row:nth-child(1) .content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 14px 0;
}

.header .menu img {
  height: 20px;
  width: 20px;
}

.header .logo {
  display: flex;
  justify-content: center;
}

.header .logo img {
  display: block;
}

.header .search img,
.header .signin img {
  height: 20px;
  width: 20px;
}

.header .menu,
.header .search,
.header .signin {
  display: flex;
  align-items: center;
  grid-column-gap: 10px;
}

.header .rside {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  grid-column-gap: 36px;
}

.header .row:nth-child(1) span {
  font-weight: 500;
  font-size: 14px;
  color: #545454;
}

.header a {
  transition: 0.3s;
}

.header a:hover {
  opacity: 0.6;
}

.header .row:nth-child(2) {
  background-color: #e60505;
  padding: 10px 0;
}

.header .row:nth-child(2) .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .row:nth-child(2) a {
  font-size: 16px;
  color: #ffffff;
  white-space: nowrap;
}

.header .row:nth-child(2) a:last-child {
  border: 1px solid #ffffff;
  padding: 5px;
}

.header .row:nth-child(2) svg {
  fill: #ffffff;
}

.main {
  padding-top: 32px;
  padding-bottom: 20px;
}

.main .content {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
}

.main .title {
  font-size: 25px;
  line-height: 34px;
  color: #1d1d1d;
  margin-bottom: 12px;
}

.main .subtitle {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #1d1d1d;
  letter-spacing: 0.5px;
}

.main .author {
  display: flex;
  align-items: center;
  grid-column-gap: 8px;
  margin: 16px 0;
}

.main .author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.main .author p {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25rem;
  color: #787878;
}

.main .author a {
  color: #1d1d1d;
  font-weight: 800;
}

.main .image {
  margin-bottom: 16px;
}

.main .social img {
  height: 100%;
}

.main .social {
  margin-bottom: 20px;
}

.main .article {
  margin-top: 16px;
}

.main .article .secondtitle {
  font-weight: 600;
  font-size: 22px;
  margin: 15px 0;
  color: #1d1d1d;
}

.main .article .text {
  margin-bottom: 15px;
  color: #222;
  font-size: 1rem;
  color: #1d1d1d;
}

.main .income {
  display: flex;
  flex-direction: column;
  grid-row-gap: 5px;
  margin: 30px 0;
}

.main .income .item {
  display: flex;
  align-items: center;
}

.main .income .item .lside {
  display: flex;
  align-items: center;
  flex: 1;
}

.main .income .item .rside {
  display: flex;
  align-items: center;
  flex: 2;
}

.main .income .item .number {
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: #1d1d1d;
  width: 40px;
}

.main .income .item .photo img {
  width: 50px;
  min-width: 50px;
}

.main .income .item .name {
  font-size: 16px;
  line-height: 24px;
  color: #1d1d1d;
  margin-left: 10px;
}

.main .income .item .loader {
  margin-left: 20px;
  margin-right: 20px;
  height: 25px;
  width: 0;
  background-color: green;
  background-image: linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.1) 25%,
    transparent 25%,
    transparent 50%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.1) 75%,
    transparent 75%,
    transparent
  );
  background-size: 40px 40px;
  border-radius: 3px;
  animation: 2s linear infinite progress-bar-stripes;
  transition: 0.8s ease-out;
  background-repeat: repeat;
}

@keyframes progress-bar-stripes {
  from {
    background-position: 40px 0;
  }

  to {
    background-position: 0 0;
  }
}

.main .formWrapper {
  padding: 56px 32px 47px;
  background: linear-gradient(45deg, #069933, #024a4c);
  margin: 0 0 1.5em;
  border-radius: 10px;
}

.main .formWrapper h4 {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}

.main .formWrapper h3 {
  color: #fff;
  font-size: 26px;
  line-height: 35.75px;
  margin-top: 25px;
  margin-bottom: 15px;
  text-align: center;
}

.main .formWrapper h2 {
  font-weight: 700;
  font-size: 30px;
  text-align: center;
  background: #dd2a30;
  text-transform: uppercase;
  color: #fff;
  padding: 30px 10px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.main .formWrapper .green {
  color: #20c200;
}

.main .form {
  padding: 20px 20px 40px;
  border: 2px solid #ccc;
  background-color: #ffffff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.main .comments {
  margin-top: 2rem;
}

.main .comments h2 {
  font-weight: 400;
  font-size: 1.5em;
  color: #404040;
  padding-bottom: 20px;
}

.main .comments .count {
  font-weight: 700;
  color: #404040;
  padding: 8px 0;
  border-bottom: 1px solid #e9ebee;
  margin-bottom: 20px;
}

.main .comments .content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  grid-row-gap: 10px;
}

.main .comments .element {
  display: flex;
  grid-column-gap: 16px;
  padding-bottom: 10px;
}

.main .comments .element:first-child {
  width: 100%;
}

.main .comments .element.space {
  margin-left: 68px;
  border-left: 1px dotted #d3d6db;
  padding-left: 8px;
}

.main .comments .element .image img {
  height: 52px;
  width: 52px;
  min-width: 52px;
}

.main .comments .element .text {
  width: 100%;
}

.main .comments .element textarea {
  width: 100%;
  padding: 0.5rem 1rem 2rem 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.21);
  resize: none;
}

.main .comments .element .textareaButton {
  display: flex;
  justify-content: flex-end;
  background-color: #f6f7f9;
  padding: 8px;
}

.main .comments .element .textareaButton a {
  margin-left: auto;
  font-weight: 700;
  padding: 0 8px;
  font-size: 14px;
  color: #ffffff;
  border-radius: 2px;
  background-color: #9cb4d8;
}

.main .comments .element h4 {
  font-weight: 700;
  font-size: 1rem;
  color: #3b5998;
}

.main .comments .element p {
  font-weight: 300;
  color: #404040;
  font-size: 16px;
  line-height: 1.358;
  margin-top: 5px;
}

.main .comments .element .bottom {
  display: flex;
  grid-column-gap: 5px;
  align-items: center;
  margin-top: 10px;
}

.main .comments .element a {
  font-weight: 300;
  font-size: 14px;
  color: #4267b2;
  border-bottom: 1px solid transparent;
  transition: 0.25s linear;
}

.main .comments .element a:hover {
  border-bottom: 1px solid #4267b2;
}

.main .comments .element span {
  font-size: 14px;
  line-height: 150%;
  color: rgba(0, 0, 0, 0.44);
}

.plugin {
  border-top: 1px solid #e9ebee;
  margin-top: 12px;
  padding-bottom: 8px;
  padding-top: 8px;
}

.plugin a {
  font-size: 11px;
  color: #365899;
}

.footer {
  padding: 24px 0;
}

.footer .content {
  display: flex;
  justify-content: center;
}

.footer .content img {
  height: 40px;
}

.slider {
  margin: 40px auto 0;
  max-width: 90%;
}

.slider .advise {
  font-weight: 700;
  color: #1d1d1d;
  text-align: center;
  margin-bottom: 15px;
}

.profit {
  margin-top: 80px;
}

.profit p {
  font-size: 16px;
  line-height: 24px;
  color: #1d1d1d;
  text-align: center;
  margin-bottom: 7px;
  width: 100%;
}

@media (max-width: 1024px) {
  .header .row:nth-child(2) a:nth-child(10),
  .header .row:nth-child(2) a:nth-child(9) {
    display: none;
  }
}

@media (max-width: 768px) {
  .header .row:nth-child(1) span {
    display: none;
  }

  .header .row:nth-child(2) a:nth-child(8),
  .header .row:nth-child(2) a:nth-child(7) {
    display: none;
  }
}

@media (max-width: 625px) {
  .main .income .item {
    flex-direction: column;
    align-items: flex-start;
    grid-row-gap: 6px;
  }

  .main .income {
    grid-row-gap: 16px;
  }

  .main .income .item .rside {
    width: 100%;
  }

  .main .income .item .loader {
    margin-left: 0;
  }

  .main .formWrapper {
    padding: 30px 10px 10px;
  }

  .main .formWrapper h4 {
    font-size: 21px;
    line-height: 24px;
  }

  .main .formWrapper h3 {
    font-size: 21px;
    line-height: 26px;
    margin-top: 16px;
  }

  .main .formWrapper h2 {
    font-size: 21px;
    padding: 20px 10px;
  }

  .main .content {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
  }

  .main .social img {
    width: 100%;
  }
}

@media (max-width: 525px) {
  .header .row:nth-child(2) a:nth-child(6),
  .header .row:nth-child(2) a:nth-child(5) {
    display: none;
  }

  .main {
    padding-top: 10px;
  }

  .main .title {
    font-size: 21px;
  }
}

@media (max-width: 425px) {
  .header .row:nth-child(2) a:nth-child(4),
  .header .row:nth-child(2) a:nth-child(3),
  .header .row:nth-child(2) a:nth-child(2) {
    display: none;
  }

  .main .article .secondtitle {
    font-size: 20px;
  }

  .footer .content img {
    height: 30px;
  }
}

@media (max-width: 375px) {
  .main .form {
    padding: 10px 15px 30px;
  }
}
