/* Global */

:root {
  /* Font variables */
  --base-font-family: "Manrope", system-ui, sans-serif;
  --base-font-size: 18px;
  --base-line-height: 30px;

  /* Color variables */
  --main-color: #3A4455;
  --main-bg-color: #ffffff;
  --secondary-bg-color: #F8FAFF;
}

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

ul[class],
ol[class] {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page {
  margin: 0;
  padding: 0;
  min-width: 320px;
  min-height: 100vh;
  font-family: var(--base-font-family);
  font-size: var(--base-font-size);
  line-height: var(--base-line-height);
  font-weight: 400;
  overflow-wrap: break-word;
  color: var(--main-color);
  text-rendering: optimizeSpeed;
  background-color: var(--main-bg-color);
}

/* Shared */
.container {
  max-width: 1200px;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-weight: 600;
  font-size: 24px;
  line-height: 44px;
}

.section-group {
  padding-top: 25px;
  padding-bottom: 40px;
  color: var(--main-color);
  background-color: var(--secondary-bg-color);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 600;
  text-align: center;
  padding: 10px 20px;
  max-width: 100%;
  border: 0;
  background-color: transparent;
  cursor: pointer;
  border-radius: 5px;
}

.btn_primary {
  color: white;
  background-color: #00A1B3;
}

.btn_secondary {
  color: #00A1B3;
  box-shadow: inset 0 0 0 2px #00A1B3;
}

/* Page */
.hero {
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero__logo {
  margin-bottom: 30px;
}

.hero .hero__advantages {
  margin-bottom: 30px;
}

.hero-advantages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.hero-advantages__item {
  display: flex;
  align-items: center;
}

.hero-advantages__item:not(:last-child) {
  margin-right: 15px;
}

.hero-advantages__icon {
  margin-right: 10px;
}

.hero__img {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

.hero__text {
  margin: 0;
}

.hero__text:not(:last-child) {
  margin-bottom: 15px;
}

.hero__content {
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  align-items: center;
}

.hero-actions__start {
  width: 190px;
  margin-right: 15px;
}

.hero-actions__sign-in {
  width: 140px;
}

.section-group .captcha-advantages {
  margin-bottom: 40px;
}

.captcha-advantages__title {
  margin: 0;
  margin-bottom: 30px;
}

.captcha-advantages .captcha-advantages__list {
  margin-bottom: 20px;
}

.captcha-advantages__item {
  padding: 30px 15px 20px;
  color: var(--main-color);
  background-color: white;
  border-radius: 5px;
}

.captcha-advantages__item:not(:last-child) {
  margin-bottom: 20px;
}

.captcha-advantages__icon {
  display: block;
  margin-bottom: 20px;
}

.captcha-advantages__name {
  display: block;
  font-weight: 600;
  font-size: 20px;
  line-height: 30px;
  margin: 0;
  margin-bottom: 15px;
}

.captcha-advantages__text {
  margin: 0;
}

.captcha-dashboard {
  padding: 20px 15px 0;
  color: var(--main-color);
  background-color: white;
  border-radius: 5px;
}

.captcha-dashboard__title {
  font-weight: 600;
  font-size: 20px;
  line-height: 30px;
  margin: 0;
  margin-bottom: 15px;
}

.captcha-dashboard__text {
  margin: 0;
  margin-bottom: 20px;
}

.captcha-dashboard__img {
  margin-left: auto;
  margin-right: auto;
}

.captcha-use-cases {
  padding: 30px 15px;
  color: var(--main-color);
  background-color: white;
  box-shadow: 0 0 15px 0 rgba(0, 40, 140, 0.15);
  border-radius: 5px;
}

.captcha-use-cases__title {
  margin: 0;
  margin-bottom: 10px;
}

.captcha-use-cases__info {
  margin: 0;
  margin-bottom: 30px;
}

.captcha-use-cases__item:not(:last-child) {
  margin-bottom: 20px;
}

.captcha-use-cases__name {
  display: flex;
  align-items: center;
  margin: 0;
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 30px;
}

.captcha-use-cases__icon {
  margin-right: 15px;
}

.captcha-use-cases__text {
  margin: 0;
}

.captcha-demo {
  padding-top: 25px;
  padding-bottom: 40px;
}

.captcha-demo__title {
  margin: 0;
  margin-bottom: 20px;
  text-align: center;
}

.captcha-demo__widget {
  width: 300px;
  min-height: 75px;
  margin-left: auto;
  margin-right: auto;
}

.section-group .partners {
  margin-bottom: 40px;
}

.partners__title {
  margin: 0;
  margin-bottom: 25px;
}

.partners__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.partners__link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  height: 85px;
  color: var(--main-color);
  background-color: white;
  border-radius: 5px;
}

.about-captcha {
  padding: 25px 15px 40px;
  color: var(--main-color);
  background-color: white;
  box-shadow: 0 0 15px 0 rgba(0, 40, 140, 0.15);
  border-radius: 5px;
}

.about-captcha__title {
  margin: 0;
  margin-bottom: 30px;
}

.about-captcha__img {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

.about-captcha__text {
  margin: 0;
}

.about-captcha__text:not(:last-child) {
  margin-bottom: 15px;
}

.about-captcha__content {
  margin-bottom: 20px;
}

.about-captcha-actions {
  display: flex;
  align-items: center;
}

.about-captcha-actions__start {
  width: 180px;
  margin-right: 15px;
}

.about-captcha-actions__sign-in {
  width: 120px;
}

.page-footer {
  padding-top: 20px;
  padding-bottom: 10px;
  color: var(--main-color);
  background-color: #DCE3F5;
}

.page-footer__logo {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5px;
}

.page-footer__copyright {
  margin: 0;
  font-size: 14px;
  text-align: center;
}

@media (min-width: 1200px) {
  /* Shared */
  .section-title {
    font-size: 36px;
    line-height: 56px;
  }

  .section-group {
    padding-top: 65px;
    padding-bottom: 80px;
  }

  /* Page */
  .hero {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .hero__inner {
    display: grid;
    grid-template-columns: 1fr 440px;
    grid-template-areas:
      "hero-logo hero-img"
      "hero-advantages hero-img"
      "hero-content hero-img"
      "hero-actions hero-img";
    column-gap: 90px;
  }

  .hero__logo {
    grid-area: hero-logo;
    width: 185px;
    margin-bottom: 70px;
  }

  .hero__img {
    grid-area: hero-img;
    width: 440px;
    margin-bottom: auto;
    margin-top: auto;
  }

  .hero .hero__advantages {
    grid-area: hero-advantages;
    margin-bottom: 20px;
  }

  .hero-advantages__item:not(:last-child) {
    margin-right: 20px;
  }

  .hero-advantages__icon {
    margin-right: 15px;
  }

  .hero__content {
    grid-area: hero-content;
    margin-bottom: 30px;
  }

  .hero-actions {
    grid-area: hero-actions;
  }

  .hero-actions__start {
    width: 300px;
    margin-right: 20px;
  }

  .section-group .captcha-advantages {
    margin-bottom: 80px;
  }

  .captcha-advantages .captcha-advantages__list {
    margin-bottom: 30px;
  }

  .captcha-advantages__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .captcha-advantages__title {
    margin-bottom: 65px;
  }

  .captcha-advantages__item {
    padding: 40px 40px 30px;
  }

  .captcha-advantages__item:not(:last-child) {
    margin-bottom: 0;
  }

  .captcha-advantages__icon {
    width: 40px;
    margin-bottom: 15px;
  }

  .captcha-advantages__name {
    font-size: 24px;
    line-height: 44px;
    margin-bottom: 20px;
  }

  .captcha-dashboard {
    padding: 35px 40px 0 40px;
    display: grid;
    grid-template-columns: 400px 1fr;
    column-gap: 50px;
    grid-template-areas:
      "dashboard-img dashboard-title"
      "dashboard-img dashboard-text"
      "dashboard-img .";
  }

  .captcha-dashboard__title {
    grid-area: dashboard-title;
    font-size: 24px;
    line-height: 44px;
    margin-bottom: 20px;
  }

  .captcha-dashboard__text {
    grid-area: dashboard-text;
    margin-bottom: 0;
  }

  .captcha-dashboard__img {
    grid-area: dashboard-img;
    width: 400px;
    margin: 0;
  }

  .captcha-use-cases {
    padding: 65px 60px 70px;
  }

  .captcha-use-cases__info {
    margin-bottom: 60px;
  }

  .captcha-use-cases__list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 30px;
    row-gap: 45px;
  }

  .captcha-use-cases__item:not(:last-child) {
    margin-bottom: 0;
  }

  .captcha-use-cases__name {
    font-size: 24px;
    line-height: 44px;
  }

  .captcha-demo {
    padding-top: 65px;
    padding-bottom: 80px;
  }

  .captcha-demo__title {
    margin-bottom: 25px;
  }

  .section-group .partners {
    margin-bottom: 80px;
  }

  .partners__title {
    margin-bottom: 45px;
    max-width: 640px;
  }

  .partners__list {
    grid-template-columns: repeat(6, 170px);
    gap: 30px;
  }

  .about-captcha {
    padding: 65px 80px 80px 60px;
    display: grid;
    grid-template-columns: 1fr 430px;
    column-gap: 80px;
    grid-template-areas:
      "about-captcha-title about-captcha-img"
      "about-captcha-content about-captcha-img"
      "about-captcha-actions about-captcha-img";
  }

  .about-captcha__title {
    grid-area: about-captcha-title;
    margin-bottom: 15px;
  }

  .about-captcha__content {
    grid-area: about-captcha-content;
    margin-bottom: 30px;
  }

  .about-captcha__img {
    grid-area: about-captcha-img;
    width: 430px;
    margin: 0;
    margin-top: 20px;
  }

  .about-captcha-actions {
    grid-area: about-captcha-actions;
  }

  .about-captcha-actions__start {
    width: 300px;
    margin-right: 20px;
  }

  .about-captcha-actions__sign-in {
    width: 140px;
  }

  .page-header__logo { 
    width: 166px;
  }

  .page-footer__logo {
    width: 166px;
    margin-left: 0;
    margin-right: 0;
  }

  .page-footer__info {
    width: 185px;
  }
}

@media (min-width: 1320px) {
  .captcha-use-cases,
  .about-captcha {
    margin-left: -60px;
    margin-right: -60px;
  }
}

.dropbtn {
  background-color: #4CAF50;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  width: 300px;
  left:0;
  z-index: 1;
  padding-top: 33px;
}

.dropdown-links {
  background-color: #fff;
  box-shadow: 0px 0px 15px 0px #00288C26;
  border-radius: 5px;
  padding-top:15px;
  padding-bottom:15px;
}

.dropdown-content a, .menu-links a {
  color: black;
  padding: 5px 10px;
  margin-left: 10px;
  margin-right: 10px;
  text-decoration: none;
  display: block;
  border-radius: 5px;
}
.menu-links a {
  margin-left: 0px;
  margin-right: 0px;
  padding-left: 0px;
  padding-right: 0px;
}


.dropdown-links .point {
  float:left;
  width:24px;
  margin-top: 3px;
}

.dropdown-links .text {
  float:left;
  width: 220px;
  padding-left: 8px;
}

.dropdown-content a:hover {background-color: #F8FAFF;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: #3e8e41;}

.m-l {margin-left:10px;}

.header-menu {
  float:right; padding-left:20px; padding-top:3px
}
.header-menu a, .auth a {
  color: var(--main-color);
}
.btn-header {
  padding:10px 15px 10px 15px;
  border: 1px solid transparent;
  border-radius: 5px;
}
.btn-header.border {
  border: 1px solid #DCE3F5;
}
.btn-header:hover {
  background:#DCE3F5;
}

.m-bar {
  float:right; padding-left:20px; padding-top:3px;
  display:none;
}
.m-menu {
  display:none;
  position:fixed;
  background:#FFF;
  z-index: 99999;
  width:100%;
  height:100%;
  top:0;
  left:0;
  padding:15px;
}
.m-menu .header {
  padding-bottom: 10px;
}
.m-menu .left {
  float:left;
}
.m-menu .right {
  float: right;
}
.m-menu .auth {
  background: #F8FAFF;
  margin-top:10px;
  margin-bottom: 10px;
  padding: 15px;
  text-align:center;
  border-radius: 5px;
}
@media (max-width: 600px) {
  .m-bar {
    display: inline;
  }
  .dropdown, .header-menu, .h-line {
    display: none;
  }
}