@import "./reset.css";

body {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
  color: #424242;
}

.no-scroll {
  overflow: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

.none {
  display: none;
}
/*header*/
.header {
  padding: 17px 0;
  border-bottom: 1px solid #d6d6d6;
}

.header-row {
  display: flex;
  align-items: center;
}

.header-nav {
  margin-left: 172px;
}

.nav-list {
  display: flex;
  column-gap: 72px;
}

.list-item {
  font-family: "Lato";
  font-weight: 500;
  font-size: 20px;
}

.list-item a {
  color: black;
  transition: color 0.2s ease-in;
}
.list-item a:hover {
  color: #01996d;
}
.list-item a:active {
  color: black;
}

.header-buttons {
  margin-left: auto;
  display: flex;
  align-items: center;
  column-gap: 35px;
}

.sign-in-btn {
  color: black;
  font-family: "Lato";
  font-size: 20px;
  transition: color 0.2s ease-in;
}
.sign-in-btn:hover {
  color: #01996d;
}
.sign-in-btn:active {
  color: #000;
}

.start-btn {
  display: inline-block;
  background-color: #01996d;
  font-family: "Lato";
  font-size: 20px;
  border-radius: 4px;
  padding: 13px 50px;
  color: white;
  transition: top 0.3s ease-in, color 0.2s ease-in;
}
.start-btn:active {
  position: relative;
  top: 1px;
  color: white;
}

/*first section*/
.first-section {
  background-image: url("../img/main-back.jpg");
  background-size: cover;
  background-position: center;
  /* min-height: 100vh; */
  padding: 175px 0;
}

.first-section-content {
  max-width: 440px;
}

.fs-heading {
  font-family: "Georgia";
  font-weight: 700;
  font-size: 65px;
  line-height: 1.5;
  color: #01996d;
}

.fs-text {
  font-family: "Lato";
  font-weight: 400;
  font-size: 20px;
  line-height: 31px;
  color: #484848;
  margin-top: 30px;
}

.fs-btn {
  margin-top: 53px;
}

.btn {
  display: inline-block;
  background-color: #01996d;
  font-family: "Lato";
  font-size: 20px;
  color: white;
  border: 1px solid #01996d;
  border-radius: 4px;
  padding: 20px 50px;
}

/*how it works section*/
.how-it-works {
  padding: 169px 0 51px;
}

.hiw-title {
  font-family: "Lato";
  font-weight: 600;
  font-size: 24px;
  line-height: 157%;
  color: #424242;
}

.hiw-descriprion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 52px;
}

.desc-heading {
  max-width: 584px;
  margin-right: 70px;
}

.desc-heading h3 {
  font-family: "Georgia";
  font-weight: 700;
  font-size: 50px;
  line-height: 157%;
  color: #01996d;
}
.desc-text {
  max-width: 671px;
}

.desc-text p {
  font-family: "Lato";
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
}

.hiw-steps {
  display: flex;
  justify-content: space-between;
}
.step {
  max-width: 390px;
}

.step-title {
  position: relative;
  padding-top: 135px;
  padding-left: 88px;
  font-family: "Georgia", serif;
  font-weight: 700;
  font-size: 30px;
  margin-bottom: 55px;
  color: black;
}

.step-title::before {
  position: absolute;
  top: 0;
  left: 0;
  content: attr(data-number);
  font-weight: 400;
  font-size: 150px;
  line-height: 150%;
  color: rgba(1, 153, 109, 0.2);
}

.step:nth-child(2) {
  padding-top: 287px;
  max-width: 392px;
}
.step:nth-child(2) .step-title {
  padding-left: 79px;
}

.step:nth-child(3) {
  padding-top: 54px;
  max-width: 441px;
}
.step:nth-child(3) .step-title {
  padding-left: 124px;
}

.step-text {
  font-family: "Lato";
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
  color: #424242;
  margin-bottom: 60px;
}
.step-img {
  width: 390px;
  height: 492px;
  object-fit: cover;
  border-radius: 8px;
}

.story {
  padding: 229px 0 177px;
  background-color: #245852;
}

.container-story {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 15px;
}

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

.story-content {
  max-width: 580px;
}

.story-heading {
  font-family: "Georgia";
  font-weight: 700;
  font-size: 50px;
  line-height: 157%;
  color: white;
  margin-bottom: 33px;
}

.story-text {
  font-family: "Lato";
  font-weight: 600;
  font-size: 25px;
  line-height: 157%;
  color: white;
  margin-bottom: 57px;
}

.story-video {
  position: relative;
  max-width: 895px;
}

.story-video-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.story-video-object {
  border-radius: 16px;
}

/*our product*/
.our-product {
  padding: 112px 0 168px;
}

.op-row {
  display: flex;
  justify-content: space-between;
}

.img-wrapper {
  position: relative;
  padding-left: 60px;
  padding-bottom: 74px;
}

.card-img {
  position: absolute;
  left: 0;
  bottom: 0;
}
.card-avatar {
  border-radius: 18px;
}

.op-content {
  max-width: 584px;
}
.op-content-heading {
  font-family: "Lato";
  font-weight: 600;
  font-size: 25px;
  line-height: 157%;
  margin-bottom: 10px;
}
.op-content-title {
  font-family: "Georgia";
  font-weight: 700;
  font-size: 50px;
  line-height: 157%;
  color: #01996d;
  margin-bottom: 20px;
}

.op-content-text {
  margin-bottom: 40px;
  max-width: 530px;
}

.op-content-text p {
  font-family: "Lato";
  font-weight: 400;
  font-size: 20px;
  line-height: 31px;
}

/*footer*/

.footer {
  background-color: #245852;
  padding: 104px 0 172px;
  color: white;
}

.footer-logo {
  padding-bottom: 74px;
}

.footer-nav li + li {
  margin-top: 60px;
}

.footer-nav a {
  font-family: "Lato";
  font-weight: 600;
  font-size: 25px;
  line-height: 30px;
  transition: opacity 0.2s ease;
  color: white;
}

.footer-nav a:hover {
  opacity: 0.8;
}

/* mobile nav button */
.mobile-nav-button {
  /* Reset for button */
  cursor: pointer;
  padding: 0;
  border: none;
  background: transparent;

  /* Nav icon styles*/
  position: relative;
  z-index: 999;
  width: 40px;
  height: 30px;
  /* display: flex; */
  justify-content: center;
  align-items: center;

  display: none;
}

.mobile-nav-button__icon {
  display: block;
  position: relative;
  width: 40px;
  height: 5px;
  background-color: #000;
}

.mobile-nav-button__icon::after,
.mobile-nav-button__icon::before {
  position: absolute;
  content: "";
  width: 40px;
  height: 5px;
  background-color: #000;
  /* Трансформация при закрывании */
  transition: transform 0.15s ease-in, top 0.15s ease-in 0.15s;
}

.mobile-nav-button__icon::before {
  left: 0;
  top: -10px;
}

.mobile-nav-button__icon::after {
  left: 0;
  top: 10px;
}

.mobile-nav-button__icon.active {
  background-color: transparent;
}

.mobile-nav-button__icon.active::before {
  transform: rotate(45deg);
  top: 0;
  /* Трансформация при открывании */
  transition: top 0.15s linear, transform 0.15s ease-in 0.15s;
}

.mobile-nav-button__icon.active::after {
  transform: rotate(-45deg);
  top: 0;
  /* Трансформация при открывании */
  transition: top 0.15s linear, transform 0.15s ease-in 0.15s;
}

/* mobile nav */
.mobile-nav {
  display: none;

  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 1);

  /* display: flex; */
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 40px 15px;

  text-align: center;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav-list {
  font-size: 22px;
}
.mobile-nav a {
  color: #424242;
}

.btn.btn-big {
  color: white;
}

.mobile-nav-list li + li {
  margin-top: 20px;
}

.mobile-login {
  display: flex;
  align-items: center;
  font-size: 22px;
}

.mobile-login > * + * {
  margin-left: 30px;
}
