@font-face {
  font-family: "Graphik";
  src: url("../fonts/Graphik-Regular.otf");
}

:root {
  --font-family: "Graphik", sans-serif;
}

:root {
  --primary: #4452fe;
  --secondary: #02e4c0;
  --secondary: #112d57;
  --first-text: #000;
  --light-text: #fff;
  --second-text: #5c5c5c;
  --dark-background: #181818;
  --light-background: #fff;
}

body {
  background-color: var(--dark-background);
}

.container {
  max-width: 1220px;
  margin-right: auto;
  margin-left: auto;
}

button{
  cursor: pointer;
}

@media screen and (max-width: 550px) {
  .container {
    max-width: 541px;
  }
}

/* -----HEADER----- */
.header .container {
  max-width: 1100px;
  margin-right: auto;
  margin-left: auto;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 56px;
}

.logo_link {
  padding: 10px;
  width: 206px;
  height: 78px;
}

.logo_img {
  width: 186px;
  height: 58px;
}

.nav {
}

.nav_list {
  display: flex;
  gap: 32px;
  padding: 10px;
}

.nav_item {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--light-text);
  cursor: pointer;
}

.nav_item:hover,
.nav_item:focus {
  color: var(--primary);
}

.auth {
}

.login {
  border: 1px solid var(--light-text);
  padding: 14px 36px;
  /* width: 139px; */
  /* height: 52px; */
  box-shadow: 0 4px 31px 0 rgba(0, 0, 0, 0.15);
  background-color: transparent;

  font-family: var(--font-family);
  font-weight: 500;
  font-size: 17px;
  line-height: 147%;
  letter-spacing: 0.01em;
  color: var(--light-text);
  cursor: pointer;
}

button:hover,
button:focus {
  background-color: var(--primary);
}

.header_burger {
  width: 66px;
  height: 53px;
  display: none;
}

@media screen and (max-width: 550px) {
  .header .container {
    width: 510px;

    padding: 15px 0px;

    margin-bottom: 56px;
  }

  .nav {
    display: none;
  }

  .auth {
    display: flex;
    gap: 27px;
    align-items: center;
  }

  .header_burger {
    padding: 13.25px 11px;
    display: block;
  }

  .header_burger svg {
    width: 44px;
    height: 27px;
  }
}

/* -----HERO----- */

.hero .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* justify-content: center;/ */
  align-items: center;
  margin-bottom: 36px;
}

.hero_title {
  padding: 10px;
  width: 729px;
  height: 196px;

  font-family: var(--font-family);
  font-weight: 500;
  font-size: 80px;
  line-height: 110%;
  letter-spacing: 0em;
  text-align: center;
  color: var(--light-text);
}

.hero_text {
  padding: 10px;
  width: 602px;
  height: 80px;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--light-text);
}

.button_box {
  display: flex;
  gap: 36px;
}

.btn {
  border: 1px solid var(--light-text);
  padding: 20px 40px;
  /* width: 174px; */
  height: 65px;
  box-shadow: 0 4px 31px 0 rgba(0, 0, 0, 0.15);
  background-color: transparent;

  font-family: var(--font-family);
  font-weight: 500;
  font-size: 17px;
  line-height: 147%;
  letter-spacing: 0.01em;
  color: var(--light-text);
}

@media screen and (max-width: 550px) {
  .hero .container {
    gap: 7px;
    margin-bottom: 57px;
    margin-top: 57px;
  }

  .hero_title {
    width: 314px;
    height: 206px;

    font-weight: 400;
    font-size: 52px;
    line-height: 119%;
  }

  .hero_text {
    width: 402px;
    height: 140px;
  }

  .button_box {
    flex-direction: column;
    gap: 21px;
  }
}

/* -----BIG IMAGE----- */

.big_img {
  position: relative;
  text-align: center;
  padding-bottom: 152px;
  margin-bottom: 100px;
}

.black_gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 551px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #0e0e0e 66.15%);
}

@media screen and (max-width: 550px) {
  .big_img {
    padding-bottom: 18px;
    margin-bottom: 101px;
  }

  .black_gradient {
    height: 328px;
    background: linear-gradient(180deg, rgba(30, 30, 30, 0) 0%, #0e0e0e 100%);
  }
}

/* -----FEATURES----- */

.features .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 27px;

  padding-top: 62px;
  padding-bottom: 62px;
  margin-bottom: 100px;
}

.features_title {
  width: 251px;
  height: 62px;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 52px;
  line-height: 119%;
  letter-spacing: 0em;
  color: var(--light-text);
  text-transform: uppercase;
}

.features_text {
  padding: 0px 10px;
  width: 602px;
  height: 60px;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--light-text);
}

.wrap {
  margin-top: 80px;
  display: flex;
  align-items: center;
  gap: 27px;
}

.wrap1 {
  padding: 1px 28px 99px 28px;
  position: relative;
}

.features_image1 {
}

.features_image2 {
  position: absolute;
  right: 0;
  bottom: 0;
}

.wrap2 {
  padding: 20px;
}

.wrap2_list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.wrap2_list_item {
}

.wrap2_list_item:first-child {
  svg {
    width: 42px;
    height: 38px;
    padding-top: 19px;
  }
}

.wrap2_list_item:nth-child(2) {
  svg {
    width: 34px;
    height: 35px;
    padding-top: 15px;
  }
}

.wrap2_list_item:last-child {
  svg {
    width: 41px;
    height: 19px;
    padding-top: 17px;
  }
}

.title_box {
  display: flex;
  align-items: start;
  width: 195px;
}

.wrap2_item_title {
  padding: 10px;

  font-family: var(--font-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0.01em;
  color: var(--light-text);
}

.wrap2_item_text {
  padding: 10px;
  height: 116px;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.01em;
  color: var(--light-text);
}

@media screen and (max-width: 550px) {
  .features_text {
    width: 420px;
    height: 90px;
  }

  .wrap {
    margin-top: 0px;
    flex-direction: column;
  }

  .wrap1 {
    padding: 1px 28px 86px 28px;
  }

  .features_image1 {
  }

  .features_image2 {
    left: 72px;
    bottom: 16px;
  }

  .wrap2 {
    width: 309px;
  }

  .wrap2_list_item {
    width: 269px;
  }
}

/* -----CONTENTS -----*/

.contents .container {
  display: flex;
  flex-direction: column;
  align-items: center;

  padding-top: 50px;
  padding-bottom: 50px;
  margin-bottom: 100px;
}

.contents_title {
  padding: 10px;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 52px;
  line-height: 119%;
  letter-spacing: 0em;
  color: var(--light-text);
}

.contents_text {
  padding: 10px;
  width: 590px;
  margin-bottom: 44px;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--light-text);
}

.contents_list {
  display: flex;
  gap: 33px;
}

.contents_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;

  border: 1px solid #d3d3d3;
  border-radius: 10px;
  padding: 40px 0px 9px 0px;
  width: 476px;
  height: 624px;

  box-shadow: 0 4px 31px 0 rgba(0, 0, 0, 0.15);
  background: var(--light-text);
}

.contents_item_info {
}

.contents_item_title {
  padding: 10px;
  margin-bottom: 10px;

  font-family: var(--font-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--first-text);
}

.content_item_text {
  padding: 10px;
  width: 288px;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--second-text);
}

.contents_btn {
  padding: 20px 36px;
  /* width: 157px; */
  /* height: 52px; */

  box-shadow: 0 4px 31px 0 rgba(0, 0, 0, 0.15);
  background: var(--primary);

  font-family: var(--font-family);
  font-weight: 500;
  font-size: 17px;
  line-height: 147%;
  letter-spacing: 0.01em;
  color: var(--light-text);
  cursor: pointer;
}

.contents_image1 {
  /* border: 1px solid #d3d3d3;
border-radius: 10px;
padding: 40px 0px;
width: 476px;
height: 624px;

box-shadow: 0 4px 31px 0 rgba(0, 0, 0, 0.15);
background: var(--light-text); */

  position: absolute;
  left: 9px;
  top: 9px;

  /* left: calc(100% / 2 - 330px / 2); */
}

.contents_image2 {
  padding: 0;
}

.contents_work {
  position: relative;
}

.bg_img {
  position: relative;
  border: 1.52px solid #9fa2a5;
  border-radius: 5px 5px 0 0;
  width: 330px;
  height: 222px;

  margin-bottom: 31px;

  background: var(--first-text);
}

.contents_base {
  position: absolute;
  left: 35.5px;
  bottom: 45px;

  width: 406px;
  height: 9px;
  background-color: #d8d8d8;
}

.contents_base_bottom {
  position: absolute;
  left: 35.5;
  bottom: 40px;

  width: 406px;
  height: 5px;
  background-color: #9fa2a5;
  border-radius: 0 0 5px 5px;
}

.contents_grip {
  position: absolute;
  left: 210.5px;
  bottom: 48px;

  width: 55px;
  height: 6px;
  border-radius: 0 0 5px 5px;
  background-color: #9fa2a5;
}

@media screen and (max-width: 550px) {
  .contents_text {
    width: 308px;
  }

  .contents_list {
    flex-direction: column;
  }

  .contents_item {
    padding: 40px 0px;
    width: 348px;
    height: 520px;
    justify-content: start;
    gap: 57px;
  }

  .content_item_text {
    width: 275px;
  }

  .contents_image1 {
    position: absolute;
    left: 7px;
    top: 9px;

    /* left: calc(100% / 2 - 330px / 2); */
  }

  .contents_image2 {
    padding: 0;
    margin-top: -40px;
  }

  .contents_work {
  }

  .bg_img {
    width: 242px;
    height: 171px;
    margin-bottom: 0;
  }

  .contents_base {
    left: 25.5px;
    bottom: 44px;

    width: 298px;
    height: 7px;
  }

  .contents_base_bottom {
    left: 25.5;
    bottom: 40px;

    width: 298px;
    height: 4px;
    border-radius: 0 0 4px 4px;
  }

  .contents_grip {
    left: 150.5px;
    bottom: 48px;

    width: 40px;
    height: 4px;
    border-radius: 0 0 4px 4px;
  }
}

/* -----GALLERY----- */

.gallery .container {
  padding-top: 50px;
  padding-bottom: 50px;
  margin-bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery_title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 52px;
  line-height: 119%;
  letter-spacing: 0em;
  color: var(--light-text);

  margin-top: 50px;
  padding: 10px;
}

.gallery_text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--light-text);

  padding: 10px;
  width: 591px;
  margin-bottom: 44px;
}

.gallery_list {
  display: flex;
  gap: 33px;
  justify-content: center;
  margin-bottom: 44px;
}

.gallery_image {
  border-radius: 16px;
}

.gallery_item {
}

.gallery_btn {
  border: 1px solid var(--light-text);
  background-color: transparent;
  padding: 10px 30px;
  width: 159px;
  height: 52px;

  box-shadow: 0 4px 31px 0 rgba(0, 0, 0, 0.15);

  font-family: var(--font-family);
  font-weight: 500;
  font-size: 17px;
  line-height: 147%;
  letter-spacing: 0.01em;
  color: var(--light-text);
}

@media screen and (max-width: 550px) {
  .gallery_title {
    margin-top: 0px;
  }

  .gallery_text {
    width: 383px;
  }

  .gallery_list {
    flex-direction: column;
    align-items: center;
  }

  .gallery_resp_550 {
    display: none;
  }
}

/* -----PARTNERS----- */

.partners .container {
  padding-top: 50px;
  padding-bottom: 50px;
  margin-bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partners_title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 52px;
  line-height: 119%;
  letter-spacing: 0em;
  color: var(--light-text);

  margin-top: 50px;
  padding: 10px;
}

.partners_text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--light-text);

  padding: 10px;
  width: 591px;
  margin-bottom: 44px;
}

.partners_list {
  display: flex;
  gap: 74px;
  align-items: center;
  justify-content: center;
  width: 832px;
  margin-bottom: 44px;
}

.partners_item {
  width: 60px;
  height: 72px;
}

.partners_item:last-child {
  width: 150px;
}

.partners_link svg {
  height: 72px;
  width: 100%;
}

.ibm {
  width: 150px;
}

.partners_btn {
  border: 1px solid var(--light-text);
  background-color: transparent;
  padding: 10px 30px;
  width: 159px;
  height: 52px;

  box-shadow: 0 4px 31px 0 rgba(0, 0, 0, 0.15);

  font-family: var(--font-family);
  font-weight: 500;
  font-size: 17px;
  line-height: 147%;
  letter-spacing: 0.01em;
  color: var(--light-text);
}

@media screen and (max-width: 550px) {
  .partners_title {
    margin-top: 0px;
  }

  .partners_text {
    width: 300px;
    margin-bottom: 50px;
  }

  .partners_list {
    flex-wrap: wrap;
    gap: 50px;
    width: 310px;
  }

  .partners_item:last-child {
    width: 83px;
  }

  .ibm {
    width: 83px;
  }
}

/* -----TESTIMONIALS----- */

.testimonials .container {
  padding-top: 50px;
  padding-bottom: 50px;
  margin-bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonials_title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 52px;
  line-height: 119%;
  letter-spacing: 0em;
  color: var(--light-text);

  margin-top: 50px;
  padding: 10px;
  margin-bottom: 50px;
}

.testimonials_list {
  display: flex;
  gap: 23px;
  row-gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.testimonials_item {
  border: 1px solid #dedede;
  border-radius: 10px;
  padding: 40px;
  width: 430px;
  height: 328px;
}

.testimonials_resp {
}

.testimonials_item_wrap {
  margin-bottom: 30px;
  display: flex;
  gap: 13px;
  align-items: center;
}

.user_foto {
  width: 50px;
  height: 50px;
}

.testimonials_item_wrap_info {
  padding-left: 10px;
  padding-right: 10px;
}

.testimonials_item_name {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.01em;
  color: var(--light-text);
}

.testimonials_item_work {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.01em;
  color: var(--light-text);
}

.testimonials_item_text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 200%;
  /* letter-spacing: 0.01em; */
  color: var(--light-text);
  width: 320px;
}

.testimonials_resp_550 {
  display: none;
}

@media screen and (max-width: 550px) {
  .testimonials_title {
    margin-top: 0px;
  }

  .testimonials_list {
    row-gap: 23px;
  }

  .testimonials_item {
    border: 1px solid #565656;
    width: 352px;
    height: 376px;
  }

  .testimonials_resp {
    display: none;
  }

  .testimonials_item_text {
    width: 244px;
  }

  .testimonials_resp_550 {
    display: block;
  }
}

/* -----OPENTYPE----- */

.openType .container {
  padding-bottom: 80px;
  padding-top: 80px;
  margin-bottom: 100px;
}

.openType_wraper {
  display: flex;
  align-items: center;

  border-radius: 33px;
  width: 1219px;
  height: 370px;

  box-shadow: 0 4px 31px 0 rgba(0, 0, 0, 0.15);
  background: #343434;
}

.openType_info {
  padding: 17px 0px 17px 94px;
  width: 544px;
}

.openType_title {
  padding: 0px 10px;
  width: 499px;
  margin-bottom: 37px;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 52px;
  line-height: 119%;
  letter-spacing: 0em;
  color: var(--light-text);
}

.openType_btn {
  padding: 20px 36px;
  width: 232px;
  /* height: 52px; */

  box-shadow: 0 4px 31px 0 rgba(0, 0, 0, 0.15);
  background: var(--primary);

  font-family: var(--font-family);
  font-weight: 500;
  font-size: 17px;
  line-height: 147%;
  letter-spacing: 0.01em;
  color: var(--light-text);
}

.opentype_img {
  border-bottom-right-radius: 33px;
}

@media screen and (max-width: 550px) {
  .openType_wraper {
    display: flex;
    align-items: center;
    flex-direction: column;

    border-radius: 33px;
    width: auto;
    height: auto;

    background-color: transparent;
  }

  .openType_info {
    padding: 17px 0px 0px 0px;
    width: 407px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .openType_title {
    width: 356px;
    text-align: center;
  }

  .openType_btn {
    /* margin-left:auto ;
    margin-right: auto; */
    margin-bottom: 106px;
  }

  .opentype_img {
    border-bottom-right-radius: 33px;
  }
}

/* -----FOOTER----- */

.footer .container {
  padding-top: 107px;
  padding-bottom: 107px;

  display: flex;
  gap: 199px;
  justify-content: center;
  align-items: start;
}

.footer_nuv {
}

.footer_list {
  display: flex;
  gap: 75px;
}

.footer_nuv_item {
  width: 121px;
}

.footer_nuv_item_title {
  margin-bottom: 40px;
}

.footer_nuv_item_title_link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0.01em;
  color: var(--light-text);
}

.footer_nuv_item_list {
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.footer_nuv_item_list_item {
}

.footer_nuv_item_list_item_link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.01em;
  color: var(--light-text);
}

.footer_use_me {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.footer_map,
.footer_tell {
  display: flex;
  align-items: center;
}

.footer_map_img svg {
  width: 46px;
  height: 46px;
}

.footer_map_text {
  padding: 0px 8px;
  width: 273px;
  height: 24px;

  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.01em;
  color: var(--light-text);
}

.footer_tell {
}

.footer_tell_img svg {
  width: 36px;
  height: 36px;
}

.footer_tell_text {
  padding: 0px 8px;
  width: 273px;
  height: 24px;

  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.01em;
  color: var(--light-text);
}

.footer_media {
}

.footer_media_list {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  align-items: center;
}

.footer_media_item {
}

.footer_media_item_link svg {
  width: 41px;
  height: 41px;
}

@media screen and (max-width: 550px) {
  .footer .container {
    flex-direction: column;
    gap: 75px;
    justify-content: center;
    align-items: start;
    width: 320px;
  }

  .footer_list {
    flex-direction: column;
    gap: 75px;
  }
}
