/* 
1. https://stackoverflow.com/questions/23071521/how-to-load-different-css-file-depending-on-window-width-smaller-size-not-recog/23071580 
2. Lighthouse report
3.  320px — 480px: Mobile devices
    481px — 768px: iPads, Tablets
    769px — 1024px: Small screens, laptops
    1025px — 1200px: Desktops, large screens
*/
*,
*:before,
*:after {
  padding: 0;
  margin: 0;
  border: 0;
  outline: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  font-family: Inter, sans-serif;
  scroll-behavior: smooth;
}

body {
  background: rgba(240, 240, 247, 0.75);
}

input,
textarea,
textarea:focus,
input:focus {
  outline-color: transparent;
  outline: none;
}

header {
  padding: 70px 0;
}

p {
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: 0em;
  text-align: left;
}

.team__member-socials svg {
  fill: #1d1c21;
}

.team__member-socials svg:hover {
  fill: #6f61e8;
}

.section__number {
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 26px;
  letter-spacing: 0em;
  color: #6f61e8;
}

.section__header {
  font-style: normal;
  font-weight: normal;
  font-size: 64px;
  line-height: 83px;
  color: #1d1c21;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.column {
  display: flex;
  flex-direction: column;
}

.button {
  display: flex;
  justify-content: center;
  padding: 22px 26px;
  border-radius: 12px;
  color: #ffffff;
  text-decoration: none;
}

.description {
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  line-height: 30px;
  color: #9e9cab;
}

.caption {
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 21px;
  color: #9e9cab;
}

.section__caption {
  color: #1d1c21;
}

.description__container {
  padding: 24px 0 80px;
  width: 352px;
}

.wrapper {
  display: flex;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
}

.container {
  max-width: 1312px;
  margin: 0px auto;
  padding: 0 56px;
}

.small-container {
  max-width: 722px;
  margin: 0px auto;
}

.logo {
  height: 56px;
  width: 164px;
}

nav {
  display: flex;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav__item:not(:first-child) {
  margin-left: 96px;
}

.footer__icon-row .nav__link {
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 21px;
}

.nav__link {
  display: flex;
  text-decoration: none;
  color: #1d1c21;
  font-size: 16px;
  line-height: 21px;
}

.nav__link:hover {
  color: #6f61e8;
  fill: #6f61e8;
}

.social__list-container {
  display: flex;
}

.social__list-item {
  display: flex;
  height: 48px;
  width: 48px;
  border-radius: 9999px;
  border: 1.5px solid #ffffff;
  align-items: center;
  justify-content: center;
}

/* .social__list-item:hover {
  background-color: #6f61e8;
} */

/* .social__list-item svg {
  fill: #1d1c21;
}

.social__list-item svg:hover {
  fill: #fff;
} */

.features__list {
  display: flex;
  list-style-type: none;
}

.features__list > li {
  display: flex;
}

.features__list > li > img {
  margin-right: 14px;
}

.features__list > li:not(:last-child) {
  margin-right: 34px;
}

.intro__section-wrapper {
  display: flex;
  justify-content: space-between;
  padding-bottom: 153px;
}

.intro__content {
  padding-top: 75px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.intro__header {
  margin-bottom: 40px;
  font-size: 84px;
  line-height: 96px;
}

.intro__content-wrapper {
  width: 90%;
}

.intro__sub-header {
  margin-bottom: 64px;
}
.tech__header-container {
  display: flex;
  justify-content: space-between;
  padding-bottom: 104px;
}

.number-wrapper {
  display: flex;
  align-self: flex-start;
  flex-direction: row;
  align-items: center;
  padding: 30px 0;
}

.line {
  margin: 0 32px;
  width: 172px;
  min-width: 102px;
  height: 2.5px;
  background-color: #ffffff;
  border-radius: 20px;
}

.line__vertical {
  margin: 32px 0px;
  width: 2.5px;
  height: 172px;
  background-color: #ffffff;
  border-radius: 20px;
}

.tech__section {
  display: flex;
  flex-direction: column;
}

.tech__header {
  max-width: 402px;
}

.tech__wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.tech__row {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

.tech__row-item {
  flex-basis: 30%;
  position: relative;
  box-sizing: border-box;
  padding-bottom: 64px;
}

.tech__row-item a,
.tech__row-item a:visited {
  text-decoration: none;
  color: #1d1c21;
}

.tech__git > span {
  visibility: hidden;
}

.tech__item:hover > .tech__git,
.tech__item:hover > .tech__git > span {
  color: #6f61e8;
  visibility: visible;
}

#fourth__tech__item-header {
  margin-bottom: 75px;
}

.tech__item-header-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.tech__item {
  height: 100%;
  padding: 68px 40px 60px;
  border: 2.5px solid #ffffff;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.16);
  -webkit-transition: 0.3s;
  transform: scale(1);
  transition: 0.3s;
}

.tech__item:hover {
  background-color: rgba(255, 255, 255, 0.56);
  -webkit-transition: 0.5s;
  transition: 0.3s;
  transform: scale(1.1);
}

.tech__item-container {
  display: flex;
  align-items: center;
}

.img__x {
  margin: 0 16px;
}

.tech__item .description {
  margin-bottom: 50px;
}

.tech__title {
  font-style: normal;
  font-weight: normal;
  font-size: 24px;
  line-height: 31px;
  margin-bottom: 16px;
}

.tech__git {
  padding: 15px 0;
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  line-height: 30px;
  color: #1d1c21;
  text-decoration: none;
}

.benefits__section-info {
  position: absolute;
  left: 0;
  top: 140px;
}

.benefits__section {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  padding-top: 180px;
}

.benefits__section > .features__list > li:not(:last-child) {
  margin-right: 58px;
}

.benefits__content {
  display: flex;
  flex-direction: column;
}
.benefits__section-header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.benefits__section-header {
  max-width: 514px;
  text-align: center;
  margin-bottom: 56px;
}

.benefits__item-header {
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 30px;
  color: #1d1c21;
}

.benefits__item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 16px;
  background: #6f61e814;
  margin-right: 21px;
  /* backdrop-filter: blur(80px); */
}

.benefits__item-content {
  flex-wrap: 400;
}

.benefits__item-content > a,
.benefits__item-content > a:visited {
  text-decoration: none;
  color: #1d1c21;
}

.benefits__row {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

.benefits__info-item {
  -ms-flex: auto;
  flex-basis: 30%;
  position: relative;
  padding-bottom: 64px;
}

.benefits__header-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-bottom: 21px;
}

.benefits__info-item svg {
  z-index: 2;
}

.coming__soon-button {
  font-style: normal;
  font-weight: normal;
  padding: 15px 20px;
  color: #fdafe3;
  background: #fdafe336;
  font-size: 19.9446px;
  line-height: 26px;
}

.github__button {
  width: 138px;
  background-color: #1d1c21;
  margin-bottom: 104px;
}
.github__button .caption {
  color: #ffffff;
  line-height: 20px;
}

.github__button:hover {
  background-color: #6f61e8;
}

.github__button img {
  width: 20px;
  height: 21px;
  margin-right: 16px;
}

.custom__section {
  margin-top: 200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #6f61e8;
  padding: 73px 96px;
  border-radius: 12px;
}

.custom__section-content {
  width: 640px;
}

.custom__header {
  font-size: 64px;
  line-height: 83px;
  color: #fff;
}

.custom__description {
  text-align: center;
}

.team__section {
  border-radius: 40px;
  padding: 120px;
  padding-bottom: 40px;
  background: rgba(255, 255, 255, 0.56);
  border: 1.5px solid #ffffff;
  /* backdrop-filter: blur(60px); */
}

footer {
  padding-top: 88px;
  padding-bottom: 80px;
}

.footer__column {
  padding-top: 48px;
  align-items: center;
}

.footer__wrapper .social__list-container {
  padding: 0;
}

.footer__icon {
  display: flex;
  text-decoration: none;
  align-items: center;
  color: #000;
}

.no-margin {
  margin: 0;
}

.copyright {
  text-align: center;
  color: #9e9cab;
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  line-height: 30px;
  margin-top: 34px;
}

.contact__button {
  padding: 22px 32px;
  background: #1d1c21;
}
.contact__button:hover {
  background-color: #fdafe3;
}

#contact {
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 22px;
  color: #6f61e8;
}

#main_image {
  width: 55%;
  height: 100%;
}

#mobile {
  padding-top: 120px;
  width: 100%;
  height: auto;
}

#mobile-phone {
  display: none;
}

.vertical {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
  writing-mode: vertical-lr;
  text-orientation: mixed;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 64px;
  height: 32px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #6f61e8;
  border: 1.5px solid #ffffff;
  /* backdrop-filter: blur(6px); */
  border-radius: 40px;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 6px;
  bottom: 6px;
  background: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border: 1.5px solid #ffffff;
}

input:checked + .slider:before {
  background: rgba(111, 97, 232, 0.16);
  border: 1.5px solid #6f61e8;
  -webkit-transform: translateX(32px);
  -ms-transform: translateX(32px);
  transform: translateX(32px);
}

input:checked + .slider {
  background-color: transparent;
}

input:focus + .slider {
  box-shadow: 0 0 1px transparent;
}

/* Rounded sliders */
.slider.round {
  border-radius: 40px;
}

.slider.round:before {
  border-radius: 50%;
}

.sun {
  z-index: 2;
  position: absolute;
  left: 9px;
  bottom: 9px;
  width: 15px;
  height: 15px;
}

input:not(:checked) {
  visibility: hidden;
}

@media (min-width: 834px) and (max-width: 1199px) {
  header {
    padding: 56px 0;
  }
  .container {
    padding: 0 56px;
  }

  #fourth__tech__item-header {
    margin-bottom: 41px;
  }
  /* Intro section */
  .intro__content-wrapper {
    width: 290px;
  }
  .intro__content {
    padding-top: 56px;
  }

  /* Benefits section */
  .benefits__row {
    justify-content: space-around;
  }
  .benefits__info-item {
    flex-basis: 44%;
  }

  /* Tech section */
  .tech__row {
    justify-content: space-around;
  }
  .tech__row-item {
    flex-basis: 30%;
    padding-bottom: 32px;
  }
  .tech__item {
    padding: 42px 24px 36px;
  }
  .tech__item-header-wrapper {
    margin-bottom: 32px;
  }
  .tech__item-img {
    height: 24px;
    width: 24px;
  }
  .tech__item .img__x {
    height: 8px;
    width: 8px;
  }

  .custom__section {
    flex-direction: column;
    padding: 55px;
    margin-top: 100px;
  }

  .custom__section-content {
    width: 520px;
  }

  .custom__section-content .custom__header {
    text-align: center;
    margin-bottom: 48px;
    font-size: 50px;
    line-height: 56px;
  }

  footer {
    padding-top: 64px;
  }

  /* Buttons */
  .github__button {
    margin-bottom: 24px;
  }

  .coming__soon-button {
    padding: 9px 12px;
    color: #fdafe3;
    background: #fdafe336;
    font-size: 12px;
    line-height: 15px;
    border-radius: 8px;
  }

  /* Texts */
  .caption {
    font-size: 12px;
    line-height: 15px;
  }
  .description {
    font-size: 12px;
    line-height: 20px;
  }
  .nav__link {
    font-size: 12px;
    line-height: 15px;
  }
  .section__header {
    font-size: 40px;
    line-height: 52px;
  }
  .intro__header {
    font-size: 52px;
    line-height: 58px;
    margin-bottom: 24px;
  }
  .intro__sub-header {
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 20px;
    margin-bottom: 74px;
  }
  .benefits__section-header {
    width: 322px;
  }
  .benefits__section-header-container .features__list {
    display: flex;
  }
  .tech__title {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 21px;
    margin-bottom: 8px;
  }
  .tech__item .description {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 24px;
  }
  .tech__git {
    padding: 9px 0;
    font-size: 12px;
    line-height: 18px;
  }

  /* Hidden */
  .features__list {
    display: none;
  }
}

@media (min-width: 501px) and (max-width: 833px) {
  header {
    padding: 32px 0;
  }
  .container {
    padding: 0 32px;
  }

  .social__list-item {
    height: 32px;
    width: 32px;
  }

  #fourth__tech__item-header {
    margin-bottom: 32px;
  }

  /* Images */
  #main_image {
    width: 85%;
  }

  /* Intro section */
  .intro__content {
    padding: 0;
    width: 100%;
  }
  .intro__section-wrapper {
    flex-direction: column;
    align-items: center;
    padding-bottom: 88px;
  }
  .intro__content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Tech section */
  .tech__row {
    justify-content: space-around;
  }
  .tech__row-item {
    flex-basis: 45%;
    padding-bottom: 32px;
  }
  .tech__item {
    padding: 42px 24px 36px;
  }
  .tech__item-header-wrapper {
    margin-bottom: 32px;
  }
  .tech__item-img {
    height: 32px;
    width: 32px;
  }
  .tech__item .img__x {
    height: 12px;
    width: 12px;
  }
  .tech__header-container {
    flex-direction: column-reverse;
    padding-bottom: 40px;
  }

  /* Custom section */
  .custom__section-content {
    width: 400px;
  }

  .custom__section-content .custom__header {
    font-size: 40px;
    line-height: 48px;
    text-align: center;
    margin-bottom: 32px;
    width: 100%;
  }

  .custom__section {
    margin-top: 0px;
    flex-direction: column;
    padding: 48px 28px 56px;
  }

  .nav__item:not(:first-child) {
    margin-left: 40px;
  }

  /* Texts */
  .caption {
    font-size: 12px;
    line-height: 15px;
  }
  .description {
    font-size: 12px;
    line-height: 20px;
  }
  .nav__link {
    font-size: 12px;
    line-height: 15px;
  }
  .section__header {
    font-size: 48px;
    line-height: 56px;
  }
  .intro__header {
    margin-top: 64px;
    margin-bottom: 32px;
    text-align: center;
    font-size: 52px;
    line-height: 60px;
  }
  .intro__sub-header {
    width: 50%;
    text-align: center;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 54px;
  }
  .benefits__section-header {
    width: 80%;
  }
  .benefits__section-header-container .features__list {
    display: flex;
  }
  .tech__title {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 21px;
    margin-bottom: 8px;
  }
  .tech__item .description {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 24px;
  }
  .tech__git {
    padding: 9px 0;
    font-size: 12px;
    line-height: 18px;
  }

  /* Feature section */
  .features__list {
    width: 60%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
  }
  .features__list > li {
    flex-basis: 50%;
    margin: 0 0 24px 0;
  }
  .features__list > li:not(:last-child) {
    margin: 0 0 24px 0;
  }

  /* Benefits section */
  .benefits__section {
    padding-top: 50px;
  }
  .benefits__row {
    justify-content: space-around;
  }
  .benefits__info-item {
    flex-basis: 44%;
  }
  .benefits__item-header {
    font-size: 16px;
    line-height: 22px;
  }

  /* Buttons */
  .coming__soon-button {
    padding: 9px 12px;
    color: #fdafe3;
    background: #fdafe336;
    font-size: 12px;
    line-height: 15px;
    border-radius: 8px;
  }

  .logo {
    width: 123px;
    height: 42px;
  }

  /* Hide */
  .intro__content > .features__list {
    display: none;
  }
}

@media (min-width: 320px) and (max-width: 500px) {
  /* Images */
  #mobile {
    display: none;
  }
  #mobile-phone {
    display: block;
    width: 120%;
    height: auto;
    padding-top: 56px;
    /* box-shadow: 7.8px 39px 39px rgba(96, 84, 201, 0.06);
    backdrop-filter: blur(5.55px); */
  }
  #main_image {
    width: 90%;
    height: 100%;
  }
  .logo {
    width: 123px;
    height: 42px;
  }

  header {
    padding: 40px 0;
  }
  header .row {
    justify-content: center;
  }
  .container {
    padding: 0;
  }
  .wrapper {
    padding: 0 32px;
  }
  .intro__content {
    padding: 0;
    width: 100%;
  }
  .intro__section-wrapper {
    flex-direction: column;
    align-items: center;
    padding-bottom: 88px;
  }
  .intro__content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Benefits section */
  .benefits__section {
    padding-top: 114px;
  }
  .benefits__section-info {
    top: 80px;
  }
  .benefits__section-header-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  .benefits__section-header {
    margin-bottom: 48px;
    width: 178px;
    text-align: right;
  }
  .features__list {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
  }
  .features__list > li {
    flex-basis: 50%;
    margin: 0 0 24px 0;
  }
  .features__list > li:not(:last-child) {
    margin: 0 0 24px 0;
  }
  .benefits__row {
    justify-content: space-around;
  }
  .benefits__item-header {
    font-size: 16px;
    line-height: 22px;
  }
  .benefits__info-item {
    flex-basis: 85%;
  }

  /* Tech section */
  .tech__header-container {
    flex-direction: column-reverse;
    padding-bottom: 40px;
  }
  .tech__header {
    margin-top: 40px;
    width: 200px;
  }
  .tech__row {
    justify-content: space-around;
  }
  .tech__row-item {
    flex-basis: 100%;
    padding-bottom: 24px;
  }
  .tech__item-header-wrapper {
    margin-bottom: 32px;
  }
  .tech__item {
    padding: 32px 24px;
    border: 1.5px solid #ffffff;
    /* backdrop-filter: blur(60px); */
    border-radius: 12px;
  }
  .tech__item-img {
    height: 24px;
    width: 24px;
  }
  .tech__item .img__x {
    height: 8px;
    width: 8px;
  }
  .tech__title {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 21px;
    margin-bottom: 8px;
  }
  .tech__item .description {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 24px;
  }
  .tech__git,
  .tech__git > span {
    visibility: visible;
    color: #6f61e8;
    font-size: 14px;
    font-style: normal;
    font-weight: normal;
    line-height: 20px;
    padding: 9px 0;
  }

  .custom__header {
    font-size: 32px;
    line-height: 41px;
    text-align: center;
    margin-bottom: 32px;
  }

  .custom__section {
    margin-top: 0px;
    flex-direction: column;
    padding: 48px 28px 56px;
  }

  .nav__item:not(:first-child) {
    margin-left: 40px;
  }

  .custom__section-content {
    width: auto;
  }

  footer {
    flex-direction: column;
  }

  .footer__icon-row > * {
    margin-bottom: 40px;
  }

  .footer__icon-row {
    flex-direction: column;
  }

  .footer__column {
    padding-top: 0;
  }

  /* Texts */
  .section__number {
    font-size: 14px;
    line-height: 18px;
  }
  .section__caption {
    font-size: 12px;
    line-height: 15px;
  }
  .section__header {
    font-size: 32px;
    line-height: 41px;
  }
  .intro__header {
    text-align: center;
    width: 272px;
    font-size: 48px;
    line-height: 56px;
    margin-bottom: 24px;
  }
  .intro__sub-header {
    width: 312px;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    margin-bottom: 40px;
  }
  .description {
    font-size: 12px;
    line-height: 20px;
  }
  .caption {
    font-size: 12px;
    line-height: 15px;
  }

  /* Buttons */
  .github__button {
    margin-bottom: 40px;
  }
  .contact__button {
    font-size: 14px;
    line-height: 18px;
    padding: 20px 30px;
    background: #1d1c21;
  }
  .coming__soon-button {
    padding: 9px 12px;
    color: #fdafe3;
    background: #fdafe336;
    width: 104px;
    font-size: 12px;
    line-height: 15px;
    border-radius: 8px;
  }

  .number-wrapper {
    padding: 0;
  }
  .line {
    margin: 0 24px;
    width: 104px;
    height: 1.5px;
  }
  .line__vertical {
    margin: 24px 0;
    height: 104px;
    width: 1.5px;
  }

  /* Hide */
  #header__nav,
  #header__social__list-container,
  .intro__content > .features__list {
    display: none;
  }
}
