@font-face {
  font-family: "Objective";
  src: url("./assets/font/Objective-Regular.otf");
  font-weight: 400; /* Normal - Regular */
}
@font-face {
  font-family: "Objective";
  src: url("./assets/font/Objective-Medium.otf");
  font-weight: 500; /* Medium */
}
@font-face {
  font-family: "Objective";
  src: url("./assets/font/Objective-Bold.otf");
  font-weight: 700; /* Bold */
}
:root {
  --main-text-color: rgba(38, 0, 65, 1);
  --main-blue-color: rgba(74, 153, 211, 1);
  --secondary-text-color: rgba(15, 0, 26, 1);
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  cursor: pointer;
}
ul {
  list-style: none;
}
html {
  font-size: 10px;
}
body {
  font-family: "Objective";
  font-weight: 400;
  line-height: 2.2rem;
  color: var(--main-text-color);
}
.header_bg {
  background: linear-gradient(180deg, rgba(74, 153, 211, 0.2), rgba(74, 153, 211, 0)),
    rgb(255, 255, 255);
  box-shadow: 0px 4px 16px rgba(75, 0, 129, 0.1);
}
.header {
  position: relative;
}
.header__container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 15px;
}
.header__top {
  display: flex;
  justify-content: space-between;
  padding-top: 4.5rem;
  line-height: 4.2rem;
  max-width: 950px;
}
.header .logo {
  margin-right: 2rem;
  font-weight: 700;
  font-size: 4rem;
  line-height: 4.2rem;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--main-blue-color);
}
#burger {
  display: none;
}
.menu__list {
  width: 312px;
  display: flex;
  justify-content: space-between;
  line-height: 1.9rem;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--secondary-text-color);
}
.menu__link {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 34px;
}
.menu__link__active {
  color: var(--main-blue-color);
  font-weight: 500;
}

/* CONTENT */
.header__content {
  max-width: 1110px;
  max-height: 610px;
  margin-left: max(15px, calc((100% - 950px) / 2));
  display: grid;
  grid-auto-columns: 1fr;
  grid-template-columns: 1.2fr minmax(342px, 0.8fr);
  grid-template-rows: 1fr 1fr;
  gap: 0px 32px;
  grid-template-areas:
    "text img"
    "buttons img";
}
.left__content {
  grid-area: text;
}
.left__content h1 {
  margin-top: 146px;
  font-weight: 500;
  font-size: calc(30px + 20 * (100vw / 1440));
  line-height: 7rem;
  letter-spacing: 0.02em;
}
.header__text {
  margin-top: 1.4rem;
  font-weight: 400;
  font-size: calc(14px + 6 * (100vw / 1440));
  line-height: 3.6rem;
  color: var(--main-text-color);
}
.header__buttons {
  grid-area: buttons;
  width: 380px;
  height: 60px;
  margin: 6rem 0;
  display: flex;
  justify-content: space-between;
}
.right__content {
  grid-area: img;
  width: 100%;
  max-height: 440px;
  min-height: 100%;
  background-image: url(./assets/mockup.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.header__buttons button {
  width: 180px;
  height: 60px;
  border: 0;
  border-radius: 5px;
  background: var(--main-blue-color);
}
.header__buttons .google {
  background-image: url("./assets/playstore.svg");
  background-position: center;
  background-repeat: no-repeat;
}
.header__buttons .apple {
  background-image: url("./assets/appstore.svg");
  background-position: center;
  background-repeat: no-repeat;
}

/******************** WE DO *******************/
/******************** WE DO *******************/
/******************** WE DO *******************/
.what_we_do {
  max-width: 950px;
  padding: 0 15px;
  margin: 15rem auto 15rem;
  position: relative;
}
.what_we_do::after {
  content: "";
  position: absolute;
  left: -270px;
  bottom: -150px;
  z-index: -1;
  width: 255px;
  height: 200px;
  background-image: url(./assets/download/right-orange.svg);
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(180deg);
}
.what_we_do::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -230px;
  z-index: -1;
  width: 200px;
  height: 200px;
  background-image: url(./assets/wedo/right-blue.png);
  background-repeat: no-repeat;
  background-position: center;
}

.group__grid {
  position: relative;
  display: grid;
  grid-template-columns: 465px auto;
  grid-template-areas:
    "text group1"
    "group2 group1"
    "group2 group3"
    ". group3";
  grid-template-rows: 295px 290px 290px 295px;
}
.group__grid > h2 {
  grid-area: text;
  align-self: start;
  justify-self: left;
  max-width: 400px;
  font-style: normal;
  font-weight: 500;
  font-size: 3.6rem;
  line-height: 4.6rem;
  letter-spacing: 0.05em;
  color: var(--main-text-color);
}
.group {
  max-width: 380px;
  background: #ffffff;
  box-shadow: 5px 20px 50px rgba(74, 153, 211, 0.2);
  border-radius: 10px;
  padding: 4.8rem;
  min-height: 535px;
  min-width: 380px;
  position: relative;
}
.group__logo {
  display: block;
  margin: 0 auto;
  height: 132px;
}
.group1 .group__logo:first-child {
  margin-top: -75px;
  height: 197px;
}
.group__content {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 48px;
}
.group h5 {
  font-style: normal;
  font-weight: 500;
  font-size: 2rem;
  line-height: 3rem;
  letter-spacing: 0.02em;
  color: var(--secondary-text-color);
  margin-bottom: 1.6rem;
}
.group__content > p {
  font-size: 1.6rem;
  line-height: 2.6rem;
  opacity: 0.6;
  margin-bottom: 6.2rem;
}
.group button {
  display: flex;
  width: 127px;
  height: 30px;
  border: 0;
  background-color: transparent;
  text-align: left;
}
.group button > span {
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 3rem;
  color: var(--main-blue-color);
  margin-right: 21px;
}
.group button > img {
  padding-right: 0.4rem;
}
.group1 {
  align-self: start;
  justify-self: end;
  grid-area: group1;
}
.group1::after {
  content: "";
  background-image: url(./assets/wedo/dots.png);
  width: 155px;
  height: 155px;
  position: absolute;
  top: -75px;
  right: -80px;
  z-index: -1;
}
.group2 {
  align-self: start;
  justify-self: right;
  grid-area: group2;
}
.group2::after {
  content: "";
  background-image: url(./assets/wedo/dots.png);
  width: 155px;
  height: 155px;
  position: absolute;
  top: 235px;
  left: -110px;
  z-index: -1;
}
.group3 {
  align-self: end;
  justify-self: end;
  grid-area: group3;
}
.group3::after {
  content: "";
  background-image: url(./assets/wedo/dots.png);
  width: 155px;
  height: 155px;
  position: absolute;
  bottom: -75px;
  right: -80px;
  z-index: -1;
}

/******************** HOW *******************/
/******************** HOW *******************/
/******************** HOW *******************/
.how_it_works {
  background: rgba(74, 153, 211, 0.1);
  padding: 7rem 0;
}

.how__container {
  margin: 0 auto;
}
.how__title {
  color: var(--main-blue-color);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 2.7rem;
  text-align: center;
  margin-bottom: 3rem;
}
.steps {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
}
.step {
  color: var(--secondary-text-color);
  max-width: 224px;
  text-align: center;
  justify-self: center;
}
.step__logo {
  margin: 30px 0;
}
.step__title {
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1.9rem;
  margin-bottom: 10px;
}
.step__text {
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 2.6rem;
}
/******************** reviews *******************/
/******************** reviews *******************/
/******************** reviews *******************/
.reviews {
  position: relative;
}
.reviews__title {
  margin: 150px 0 10px;
  font-weight: 700;
  font-size: calc(16px + 10 * (100vw / 1440));
  line-height: 2.7rem;
  text-align: center;
  color: var(--secondary-text-color);
}
.reviews__container {
  position: relative;
  max-width: 1195px;
  margin: 0 0 80px;
}
.reviews__content {
  display: flex;
  gap: 0 100px;
  justify-content: space-between;
}
.reviews__content::after {
  content: "";
  position: absolute;
  bottom: 230px;
  right: -230px;
  z-index: -1;
  width: 153px;
  height: 155px;
  background-image: url(./assets/wedo/dots.png);
}
.avatar__wrapper {
  position: relative;
  width: 60%;
  min-height: 400px;
}
.avatar__wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  max-width: 677px;
  width: 100%;
  height: 400px;
  background: rgba(74, 153, 211, 0.1);
  border-radius: 0px 6px 6px 0px;
  z-index: -1;
}
.avatar__wrapper img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.review__wrapper {
  width: 40%;
  align-self: center;
}
.review_quote {
  margin-bottom: 40px;
}
.review__text {
  min-height: 186px;
  margin: 110px 0 40px;
  padding-right: 10px;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 2.4rem;
  color: var(--secondary-text-color);
  opacity: 0.5;
}
.review__text::before {
  content: "";
  background-image: url(./assets/reviews/quote.svg);
  display: block;
  background-repeat: no-repeat;
  width: 50px;
  height: 90px;
  opacity: 1;
}
.review__author {
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 1.9rem;
  color: var(--secondary-text-color);
}

.reviews__buttons {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 80px;
  margin-right: 15px;
}
.review__btn {
  width: 80px;
  height: 80px;
  border: 0;
  padding: 20px;
}

.btn-back,
.btn-forward:active {
  background: var(--main-blue-color);
  border-radius: 4px 0px 0px 4px;
  background-image: url("./assets/reviews/arrow-left-white.svg");
  background-repeat: no-repeat;
  background-position: center;
}
.btn-forward,
.btn-back:active {
  background-color: #ffffff;
  background-image: url("./assets/reviews/arrow-right-blue.svg");
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}
.btn-back:active {
  transform: rotate(180deg);
}
.btn-forward:active {
  transform: rotate(180deg);
}

/******************** download *******************/
/******************** download *******************/
/******************** download *******************/
.download {
  max-width: 1028px;
  margin: 0 auto;
}
.download__container {
  display: flex;
  gap: 68px;
  margin: 100px 0 120px;
}
.download__logo {
  width: 50%;
}
.download__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  align-items: center;
}
.download_content {
  width: 50%;
  align-self: center;
  text-align: center;
  color: var(--secondary-text-color);
}
.download__title {
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 2.6rem;
}
.download__text {
  margin-bottom: 56px;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 2.4rem;
  opacity: 0.5;
}
.download__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
  max-width: 380px;
  height: 60px;
}
.download__buttons button {
  width: 180px;
  height: 60px;
  border: 0;
  border-radius: 5px;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
}
.download__buttons .google {
  background-image: url("./assets/download/google.svg");
}
.download__buttons .apple {
  background-image: url("./assets/download/apple.svg");
}
/******************** footer *******************/
/******************** footer *******************/
/******************** footer *******************/
.footer {
  position: relative;
  max-width: 100%;
  padding: 55px 0 1px 0;
  color: white;
  background-color: var(--main-blue-color);
}
.footer::before {
  content: "";
  position: absolute;
  top: -150px;
  right: 0;
  z-index: -1;
  width: 255px;
  height: 200px;
  background-image: url(./assets/download/right-orange.svg);
  background-repeat: no-repeat;
  background-position: center;
}
.footer::after {
  content: "";
  position: absolute;
  top: -150px;
  left: 0;
  z-index: -1;
  width: 255px;
  height: 200px;
  background-image: url(./assets/download/left-blue.png);
  background-repeat: no-repeat;
  background-position: center;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  width: 100%;
  max-width: 1192px;
  margin: 0 auto;
  margin-bottom: 20px;
  border-bottom: 1px solid #ffffff;
}
.footer__logo {
  display: block;
  height: 35px;
  margin-right: 75px;
  font-weight: 700;
  font-size: 3.4rem;
  line-height: 3.5rem;
  text-transform: uppercase;
}
.links__title {
  padding-bottom: 2px;
  margin-bottom: 3.4rem;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 1.9rem;
}
.links__title > h4 {
  display: inline;
  border-bottom: 1px solid white;
}
.list__item {
  margin-bottom: 1.8rem;
  font-size: 1.4rem;
  line-height: 1.4rem;
}
.newsletter {
  max-width: 394px;
}
.newsletter > p {
  margin-bottom: 20px;
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 2.6rem;
}
.newsletter__form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1%;
}
.newsletter__form input {
  width: 69%;
  height: 50px;
  padding: 1.8rem;
  margin-bottom: 10px;
  font-size: 1.4rem;
  line-height: 1.4rem;
  background: #ffffff;
  border-radius: 3px;
  border: 0;
}
.newsletter__form button {
  width: 29%;
  min-width: 115px;
  height: 50px;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.7rem;
  color: var(--main-blue-color);
  background: #ffffff;
  border: 0;
  border-radius: 3px;
}
.newsletter__form button:active {
  color: #ffffff;
  background: var(--main-blue-color);
  border: 3px solid #ffffff;
  transition: all 0.1s ease-out;
}
.footer__bottom {
  max-width: 1192px;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 20px;
  font-size: 1.6rem;
}
.bottom__container {
  display: flex;
  justify-content: space-between;
  max-height: 16px;
  align-items: center;
}
.footer__socials {
  margin-right: 10px;
  max-width: 134px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__socials li > a {
  display: block;
  height: 17px;
}
.youtube {
  width: 23px;
  background-image: url("./assets/footer/youtube.svg");
}
.instagram {
  width: 16px;
  background-image: url("./assets/footer/instagram.svg");
}
.facebook {
  width: 8px;
  background-image: url("./assets/footer/facebook.svg");
}
.twitter {
  width: 20px;
  background-image: url("./assets/footer/twitter.svg");
}
