* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

.main-content {
  margin: 0 30px;
}

*:focus {
  outline: none;
}

.shadow {
  -webkit-box-shadow: 0 7px 6px -2px rgba(0, 0, 0, 0.51);
  -moz-box-shadow: 0 7px 6px -2px rgba(0, 0, 0, 0.51);
  box-shadow: 0 7px 6px -2px rgba(0, 0, 0, 0.51);
}

.nav {
  position: fixed;
  display: flex;
  background-color: white;
  width: 100vw;
  z-index: 999;
  transition: 0.2s;
}
.nav__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  font-family: 'Raleway', sans-serif;
}
.nav__wrapper__logo {
  width: 120px;
}
.nav__wrapper__hamburger {
  cursor: pointer;
}
.nav__wrapper__links {
  display: none;
}
.nav__wrapper__links__link a {
  display: block;
  color: black;
  text-decoration: none;
  transition: 0.2s;
  padding: 20px 0;
  text-align: center;
  border-bottom: 1px solid black;
}
.nav__wrapper__links__link a:hover {
  color: #3ca89a;
}
.nav__wrapper__links--hamburger {
  display: flex !important;
  flex-flow: column;
  position: absolute;
  z-index: 999;
  top: 80px;
  left: 0;
  list-style: none;
  width: 100%;
  background-color: white;
}
.nav__wrapper__cta {
  display: none;
}

@media (min-width: 800px) {
  .nav__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    width: 100vw;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 50px;
    font-family: 'Raleway', sans-serif;
  }
  .nav__wrapper__logo {
    width: 180px;
  }
  .nav__wrapper__hamburger {
    display: none;
  }
  .nav__wrapper__links {
    list-style: none;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;
    width: 350px;
    font-size: 18px;
    font-weight: bold;
  }
  .nav__wrapper__cta {
    height: 40px;
    width: 180px;
    border-radius: 90px;
    background-color: #3ca89a;
    border: none;
    color: white;
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
  }
  .nav__wrapper__cta:hover {
    opacity: 0.7;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

.main-content {
  margin: 0 30px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

.main-content {
  margin: 0 30px;
}

.header {
  margin-top: 200px;
  display: flex;
  flex-flow: column;
}
.header__title {
  font-family: 'Raleway', sans-serif;
  font-size: 25px;
  font-weight: bold;
}
.header__desc {
  font-family: 'Raleway', sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 13px;
  line-height: 149.9%;
  margin: 20px 0;
  color: #989898;
}
.header__buttons {
  display: flex;
  flex-flow: column;
  width: 100%;
}
.header__buttons__explore {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  border: none;
  height: 40px;
  border-radius: 90px;
  background-color: #3ca89a;
  color: white;
}
.header__buttons__additional {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  border: none;
  height: 40px;
  border-radius: 90px;
  margin-top: 10px;
  background-color: white;
  color: black;
  -webkit-box-shadow: 0 0 7px 3px rgba(145, 145, 145, 0.37);
  -moz-box-shadow: 0 0 7px 3px rgba(145, 145, 145, 0.37);
  box-shadow: 0 0 7px 3px rgba(145, 145, 145, 0.37);
}

@media (min-width: 600px) {
  .header {
    align-items: center;
  }
  .header__title {
    font-size: 60px;
    width: 550px;
    text-align: center;
  }
  .header__desc {
    display: none;
  }
  .header__buttons {
    margin-top: 40px;
    flex-flow: row;
    justify-content: space-between;
    width: 600px;
  }
  .header__buttons__explore {
    height: 50px;
    font-size: 18px;
    width: 100%;
    max-width: 280px;
  }
  .header__buttons__explore:hover {
    opacity: 0.7;
    cursor: pointer;
  }
  .header__buttons__additional {
    height: 50px;
    font-size: 18px;
    width: 100%;
    max-width: 280px;
    margin-top: 0;
  }
}
.content {
  display: flex;
  justify-content: center;
  flex-flow: row wrap;
  color: black;
  margin-bottom: 50px;
}
.content .advantages {
  margin-top: 50px;
  display: flex;
  flex-flow: column nowrap;
}
.content .advantages__post {
  display: flex;
  padding: 20px 0;
  justify-content: space-between;
  max-width: 400px;
}
.content .advantages__post__image {
  align-self: center;
  height: 80px;
  width: 60px;
  padding: 10px;
}
.content .advantages__post__wrapper {
  display: flex;
  flex-flow: column nowrap;
  margin-left: 20px;
}
.content .advantages__post__wrapper__title {
  font-family: Raleway;
  font-style: normal;
  font-weight: bold;
  font-size: 20px;
  line-height: 140%;
}
.content .advantages__post__wrapper__desc {
  font-family: Raleway;
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  line-height: 140%;
  text-align: justify;
  margin-top: 10px;
}
.content .video {
  height: 200px;
  max-width: 500px;
  border-radius: 15px;
  margin-top: 50px;
}

@media (min-width: 800px) {
  .content {
    align-items: center;
    margin: 50px auto;
    width: 100%;
    max-width: 1300px;
  }
  .content .advantages {
    margin: 50px;
  }
  .content .advantages__post__wrapper__title {
    font-size: 25px;
  }
  .content .advantages__post__wrapper__desc {
    font-size: 14px;
  }
  .content .video {
    height: 100%;
    width: 100%;
    max-width: 600px;
    margin: 0 50px;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

.main-content {
  margin: 0 30px;
}

.feedback {
  display: flex;
  flex-flow: row wrap;
  background-color: #3ca89a;
  justify-content: center;
  align-items: center;
  padding: 50px 30px;
}
.feedback__image {
  width: 100%;
  max-width: 360px;
}
.feedback__wrapper {
  display: flex;
  flex-flow: column nowrap;
  max-width: 350px;
}
.feedback__wrapper__name {
  font-family: 'Raleway', sans-serif;
  font-style: normal;
  font-size: 17px;
  font-weight: normal;
  line-height: 149.9%;
  color: #ffffff;
  margin: 20px 0;
}
.feedback__wrapper__quote {
  font-family: 'Raleway', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 180%;
  text-align: justify;
  color: #ffffff;
}

@media (min-width: 800px) {
  .feedback__wrapper {
    display: flex;
    flex-flow: column nowrap;
    max-width: 350px;
    margin: 0 50px;
  }
  .feedback__wrapper__name {
    font-size: 20px;
  }
  .feedback__wrapper__quote {
    font-size: 18px;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

.main-content {
  margin: 0 30px;
}

.footer {
  display: flex;
  flex-flow: column;
  align-items: center;
  margin: 30px 0;
}
.footer__logo {
  width: 60px;
}
.footer__links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0;
}
.footer__link {
  font-family: Raleway;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 16px;
  display: flex;
  margin: 0 10px;
}
.footer__link a {
  color: black;
  text-decoration: none;
}
.footer__copyright {
  font-family: Raleway;
  font-style: normal;
  font-weight: 800;
  font-size: 14px;
  line-height: 50px;
  text-align: center;
  letter-spacing: 0.1em;
  color: #000000;
}

@media (min-width: 800px) {
  .footer {
    flex-flow: row;
    margin: auto;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    padding: 15px 50px;
  }
  .footer__link {
    font-size: 18px;
    line-height: 16px;
  }
  .footer__link a {
    transition: 0.2s;
  }
  .footer__link a:hover {
    color: #3ca89a;
  }
  .footer__copyright {
    font-size: 18px;
    letter-spacing: normal;
  }
}
.about {
  margin: 140px 30px 60px;
  display: flex;
  flex-flow: row wrap;
  color: black;
  font-family: Raleway;
  justify-content: center;
}
.about__wrapper {
  display: flex;
  flex-flow: column;
  max-width: 700px;
}
.about__wrapper__title {
  font-weight: bold;
  font-size: 25px;
  line-height: 29px;
}
.about__wrapper__desc {
  font-weight: 500;
  font-size: 16px;
  line-height: 161.4%;
  text-align: justify;
  margin: 30px 0;
  max-width: 600px;
}
.about__photo {
  max-width: 400px;
}

@media (min-width: 800px) {
  .about {
    margin-top: 200px;
  }
  .about__wrapper {
    padding: 20px;
  }
  .about__wrapper__title {
    font-size: 30px;
  }
  .about__wrapper__desc {
    font-size: 20px;
  }
  .about__photo {
    margin: 0 40px;
  }
}
.news {
  display: flex;
  flex-flow: column;
  margin: 150px 30px 30px 30px;
  align-items: center;
}
.news__post {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  color: black;
  font-family: Raleway;
  margin: 30px 0;
}
.news__post__image {
  width: 100%;
  max-width: 400px;
  margin: 0 30px;
}
.news__post__wrapper {
  margin-top: 30px;
  max-width: 400px;
  font-weight: bold;
  margin: 30px 30px 0 30px;
}
.news__post__wrapper__title {
  font-size: 25px;
  line-height: 29px;
}
.news__post__wrapper__date {
  font-size: 14px;
  line-height: 40px;
}
.news__post__wrapper__desc {
  font-weight: 500;
  font-size: 16px;
  line-height: 160%;
  text-align: justify;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

.main-content {
  margin: 0 30px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.algorithms {
  display: flex;
  flex-flow: column;
  justify-content: center;
  margin-top: 80px;
}
.algorithms__sort {
  margin: 30px;
  font-family: Raleway;
}
.algorithms__sort__title {
  font-weight: bold;
  font-size: 25px;
  line-height: 29px;
}
.algorithms__sort__desc {
  font-weight: 500;
  font-size: 16px;
  line-height: 160%;
  text-align: justify;
  margin: 20px 0;
}
.algorithms__sort__placeholder {
  height: 100%;
  width: 100%;
  margin-bottom: 30px;
}
.algorithms__sort__placeholder__error {
  display: none;
  /*flex when on */
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-family: 'Raleway', sans-serif;
  grid-column-start: 2;
  grid-column-end: 5;
  height: 50px;
  background-color: #ff6565;
  border: 2px solid #920000;
  color: #920000;
  margin-top: 30px;
}
.algorithms__sort__placeholder__sorting {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  width: 100%;
}
.algorithms__sort__placeholder__sorting__controls {
  margin-top: 20px;
  display: flex;
  width: 100%;
  flex-flow: row nowrap;
  justify-content: space-between;
}
.algorithms__sort__placeholder__sorting__canvas {
  border-radius: 20px;
  position: relative;
  height: 300px;
  width: 100%;
  max-width: 800px;
  background-color: #d4fffa;
  border: 6px black solid;
}
.algorithms__sort__subtitle {
  font-weight: bold;
  font-size: 25px;
  line-height: 29px;
}
.algorithms__sort__wrapper {
  display: flex;
  flex-flow: row wrap;
}
.algorithms__sort__wrapper__h1 {
  margin-top: 50px;
}
.algorithms__sort__wrapper__code-desc {
  font-weight: 500;
  font-size: 16px;
  line-height: 160%;
  text-align: justify;
  margin: 30px 0;
  max-width: 610px;
}
.algorithms__sort__wrapper__code {
  height: 350px;
  margin-top: 20px;
  font-size: 15px;
  font-weight: bold;
  white-space: pre-wrap;
  border-radius: 20px;
  background-color: #d4fffa;
  border: 5px solid black;
  padding: 20px 40px;
}

/* BUTTONS */
.start-btn {
  width: 200px;
  height: 45px;
  border-radius: 90px;
  font-family: Raleway;
  text-align: center;
  font-weight: bold;
  font-size: 22px;
  line-height: 25px;
  transition: 0.2s;
  cursor: pointer;
  border: 6px solid #43b9aa;
  background-color: transparent;
  transition: 0.2s;
}
.start-btn:disabled {
  cursor: unset;
}
.start-btn:hover:enabled {
  background-color: #43b9aa;
}
.start-btn:disabled {
  border: 6px solid gray;
}

.reload-btn {
  width: 200px;
  height: 45px;
  border-radius: 90px;
  font-family: Raleway;
  text-align: center;
  font-weight: bold;
  font-size: 22px;
  line-height: 25px;
  transition: 0.2s;
  cursor: pointer;
  border: 6px solid #43b9aa;
  background-color: transparent;
}
.reload-btn:disabled {
  cursor: unset;
}
.reload-btn:hover {
  background-color: #43b9aa;
}

@media (min-width: 600px) {
  .algorithms {
    display: flex;
    flex-flow: column;
    justify-content: center;
    max-width: 1200px;
    margin: 170px auto 100px auto;
  }
  .algorithms__sort {
    margin: 30px;
    font-family: Raleway;
  }
  .algorithms__sort__title {
    font-weight: bold;
    font-size: 25px;
    line-height: 29px;
  }
  .algorithms__sort__desc {
    font-weight: 500;
    font-size: 16px;
    line-height: 160%;
    text-align: justify;
    margin: 20px 0;
  }
  .algorithms__sort__placeholder {
    height: 100%;
    width: 100%;
    margin-bottom: 30px;
  }
  .algorithms__sort__placeholder__error {
    display: none;
    /*flex when on */
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-family: 'Raleway', sans-serif;
    grid-column-start: 2;
    grid-column-end: 5;
    height: 50px;
    background-color: #ff6565;
    border: 2px solid #920000;
    color: #920000;
    margin-top: 30px;
  }
  .algorithms__sort__placeholder__sorting {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    width: 100%;
  }
  .algorithms__sort__placeholder__sorting__controls {
    margin-top: 20px;
    display: flex;
    width: 500px;
    flex-flow: row nowrap;
    justify-content: space-between;
  }
  .algorithms__sort__placeholder__sorting__canvas {
    border-radius: 20px;
    width: 42vw;
    max-width: 800px;
    background-color: #d4fffa;
    border: 6px black solid;
  }
  .algorithms__sort__subtitle {
    font-weight: bold;
    font-size: 25px;
    line-height: 29px;
  }
  .algorithms__sort__wrapper {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    justify-content: space-between;
  }
  .algorithms__sort__wrapper__code-desc {
    font-weight: 500;
    font-size: 18px;
    line-height: 160%;
    text-align: justify;
    margin: 30px 0;
    max-width: 610px;
  }
  .algorithms__sort__wrapper__code {
    margin-top: 20px;
    font-size: 15px;
    font-weight: bold;
    white-space: pre-wrap;
    border-radius: 20px;
    background-color: #d4fffa;
    border: 5px solid black;
    padding: 20px 40px;
  }
}
.header-sort {
  margin-top: 20px;
  text-align: center;
  font-size: 20px;
}

.data-container {
  width: 600px;
  height: 384px;
  position: relative;
  margin: 0 auto;
}

.block {
  width: 4%;
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: #58b7ff;
  transition: 0.2s all ease;
}

.block__id {
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
  position: absolute;
  top: -24px;
  width: 100%;
  text-align: center;
}

@media (max-width: 600px) {
  .block__id {
    font-size: 13px;
  }
}
.error {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  font-family: Raleway;
  margin: 170px auto 100px auto;
  text-align: center;
}
.error__header {
  background-color: #3ca89a;
  color: white;
  padding: 30px;
}
.error__desc {
  margin-top: 50px;
}
