@media (max-width: 95em) {
  /*1520px*/
  .vodotisk {
    right: 2rem;
    width: 32rem;
  }
}

@media (max-width: 81em) {
  /*1200px*/
  .vodotisk {
    width: 28rem;
  }
}

@media (max-width: 75em) {
  /*1200px*/
  .container {
    padding: 0 2rem;
    width: 100%;
  }

  .aboutCards {
    width: 100%;
  }

  .charts {
    width: 100%;
  }
  .chart {
    width: 49%;
  }

  .moneyBox {
    width: 100%;
  }

  .moneyCards {
    width: 49%;
  }

  .imgCity {
    width: 49%;
    height: 49%;
  }

  .vodotisk {
    display: none;
  }
}

@media (max-width: 65em) {
  /*1050px*/

  .benefitsCards {
    display: flex;
    width: 180rem;
  }

  .benefitCard {
    width: 33rem;
  }

  .benefitsDots {
    display: flex;
  }

  .referenceCard {
    height: 35rem;
  }

  .vodotisk {
    display: none;
  }

  .charts {
    width: 120rem;
  }

  .chartsDots {
    display: flex;
  }
}

@media (max-width: 50em) {
  /*800px*/

  .header {
    height: 32rem;
  }

  .heroLogo {
    padding-top: 10rem;
  }

  .logo {
    width: 16.8rem;
  }

  .h1 {
    font-size: 4.8rem;
    line-height: 58px;
  }

  .aboutCards {
    grid-template-columns: 1fr;
    margin-bottom: 3.2rem;
  }

  .aboutCard {
    display: grid;
    grid-template-columns: 4.8rem 1fr;
    justify-content: start;
    margin-bottom: 0;
    height: max-content;
  }

  .pAbout {
    grid-column: 1/3;
    text-align: left;
  }

  .logicCards {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  /******** Mobile version benefitsBoxes ********/

  .benefitsBoxes {
    display: none;
  }

  .benefitsBoxesMobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 1.6rem;
  }

  .benefitBox {
    padding: 1.6rem;
  }

  .benefitBox1 {
    border-right: 0.1rem solid #dfdfdf;
    border-bottom: 0.1rem solid #dfdfdf;
  }

  .benefitBox2 {
    border-bottom: 0.1rem solid #dfdfdf;
  }

  .benefitBox3 {
    border-right: 0.1rem solid #dfdfdf;
    border-bottom: 0.1rem solid #dfdfdf;
  }

  .benefitBox4 {
    border-bottom: 0.1rem solid #dfdfdf;
  }

  .benefitBox5 {
    border-right: 0.1rem solid #dfdfdf;
  }

  /******** END ********/

  .chart {
    width: 45rem;
  }

  .pCharts {
    width: 100%;
  }

  .moneyBox {
    flex-direction: column;
  }

  .moneyCards {
    width: 100%;
  }

  .moneyInfo {
    width: 50%;
  }

  .logicCard {
    width: 100%;
  }

  .imgCity {
    width: 100%;
  }

  .investorsCards {
    grid-template-columns: 1fr;
  }

  .referenceCards {
    width: 120rem;
  }

  .referenceCard {
    width: 40rem;
    height: 36rem;
  }

  .referenceDots {
    display: flex;
  }

  .form {
    width: 100%;
  }

  .formInfo {
    flex-direction: column;
    gap: 1.2rem;
  }

  .input {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
  }

  .test {
    /* This will make the container scrollable */
    overflow-x: auto;
    /* This will hide the scrollbar */
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
  }

  .test::-webkit-scrollbar {
    /* For Chrome, Safari, and Opera */
    display: none;
  }

  .referenceCards {
    /* This will arrange the cards in a line */
    display: flex;
    /* This reset width: */
    width: unset;
  }

  .referenceCard {
    /* This will make the browser stop at each card */
    scroll-snap-align: start;
    /* You might need to add some margin to separate the cards */
    margin-right: 20px;
    flex: 0 0 auto;
  }

  .referenceCard:last-child {
    margin-right: 0;
  }

  .charts {
    /* This will make the container scrollable */
    overflow-x: auto;
    /* This will hide the scrollbar */
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
    /* This will arrange the charts in a line */
    display: flex;
    /* This reset width: */
    width: unset;
  }

  .charts::-webkit-scrollbar {
    /* For Chrome, Safari, and Opera */
    display: none;
  }

  .chart {
    /* This will make the browser stop at each chart */
    scroll-snap-align: start;
    /* You might need to add some margin to separate the charts */
    margin-right: 20px;
    flex: 0 0 auto;
  }

  .chart:last-child {
    margin-right: 0;
  }

  .benefitsCards {
    /* This will make the container scrollable */
    overflow-x: auto;
    /* This will hide the scrollbar */
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
    /* This will arrange the benefit cards in a line */
    display: flex;
    /* This reset width: */
    width: unset;
  }

  .benefitsCards::-webkit-scrollbar {
    /* For Chrome, Safari, and Opera */
    display: none;
  }

  .benefitCard {
    /* This will make the browser stop at each benefit card */
    scroll-snap-align: start;
    /* You might need to add some margin to separate the benefit cards */
    margin-right: 20px;
    flex: 0 0 auto;
  }

  .benefitCard:last-child {
    margin-right: 0;
  }
}

@media (max-width: 35em) {
  /*500px*/

  /*** General CSS for Mobile version ***/

  .sec {
    padding: 3.6rem 0;
  }

  .h2 {
    font-size: 3.6rem;
    line-height: 43px;
  }

  .h3 {
    font-size: 2rem;
    line-height: 24px;
  }

  .h4 {
    font-size: 1.4rem;
    line-height: 17px;
  }

  .p {
    font-size: 1.4rem;
    line-height: 21px;
  }

  .pLarge {
    font-size: 1.6rem;
    line-height: 24px;
  }

  .headlineSpecial {
    font-size: 3.2rem;
    line-height: 39px;
  }

  /******** END ********/

  .pAboutHeadline {
    margin-top: 3.6rem;
    margin-bottom: 1.6rem;
  }

  .chart {
    width: 33rem;
  }

  .pCharts {
    text-align: left;
  }

  .moneyCard {
    flex-direction: column;
  }

  .moneyInfo {
    width: 100%;
  }

  .lineWhite {
    height: 0.1rem;
    width: 100%;
    margin: 1.2rem 0;
  }

  .logicCards {
    grid-template-columns: 1fr;
  }

  .referenceCard {
    width: 33rem;
    height: 36rem;
  }
}
