:root {
  --main-color: #000000;
  --main-text-color: #ffffff;
  --second-color: #d4fc5b;
  --bg-modal: rgba(46, 47, 66, 0.4);
}

a {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p,
span {
  margin-top: 0;
  margin-bottom: 0;
}
ul,
ol {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

body {
  line-height: 1.5;
  background-color: var(--main-color);
  font-family: 'Unbounded', sans-serif;
  color: var(--main-text-color);
}

button {
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/*  =====================================        HEADER        ================================== */

.header {
  border-bottom: 1px solid var(--second-color);
}

.header-container {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

@media only screen and (max-width: 767px) {
  .header-container {
    padding: 20px;
    width: 375px;
  }
}

@media only screen and (max-width: 374px) {
  .header-container {
    width: 300px;
  }
}

@media only screen and (min-width: 768px) {
  .header-container {
    padding: 36px 12px;
  }

  .header__photo-brain {
    width: 65px;
    height: 54px;
  }
}

@media only screen and (min-width: 1024px) {
  .header-container {
    padding: 44px 140px;
  }
}

.header__list {
  display: none;
}

@media only screen and (min-width: 768px) {
  .header__list {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.header__link:hover,
.header__link:focus {
  color: var(--second-color);
}

@media only screen and (min-width: 1441px) {
  .header-container {
    width: 1440px;
  }
}

.header__link {
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  padding: 12px 24px;
  background: transparent;
  color: var(--main-text-color);
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

@media only screen and (max-width: 1024px) {
  .header__link {
    font-size: 14px;
  }
}

.button-contact {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  padding: 12px 24px;
  background-color: var(--second-color);
  color: var(--main-color);
  text-transform: uppercase;
  transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.button-contact:hover {
  background: var(--main-text-color);
  color: var(--second-color);
}

@media only screen and (min-width: 1024px) {
  .button-contact {
    font-size: 24px;
  }
}

/*===========================           mobile menu             ==================== */

@media only screen and (max-width: 767px) {
  .menu-burger-open {
    display: block;
    background: transparent;
    border: none;
  }
}

.mobile-menu.is-open {
  transform: translateX(0);
  display: block;
}

.mobile-menu {
  display: none;
  transform: translateX(100%);
  position: absolute;
  width: 100%;
  scrollbar-width: 1px;
  left: 0;
  z-index: 1000;
  background: var(--main-color);
  overflow-y: auto;
}

.mobile-menu__link {
  padding: 12px 24px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  background: transparent;
  color: var(--main-text-color);
  border: none;
  text-transform: uppercase;
}

.mobile-menu__item:not(:last-child) {
  margin-bottom: 16px;
}

.container {
  width: 375px;
  padding: 0 20px;
  margin: 0 auto;
}

.section {
  padding: 0 0 52px;
}

@media only screen and (min-width: 768px) {
  .container {
    width: auto;
    padding: 0 12px;
    margin: 0 auto;
  }

  .section {
    padding: 0 0 120px;
  }
}

@media only screen and (max-width: 374px) {
  .container {
    width: 300px;
  }
}
@media only screen and (min-width: 1440px) {
  .container {
    padding: 0 140px;
    margin: 0 auto;
    width: 1440px;
  }
}

/*   =============================   HERO   ============================ */

.hero {
  padding: 0 0 52px;
}

@media only screen and (max-width: 767px) {
  .hero__photo {
    width: 335px;
    height: 460px;
  }
}

@media only screen and (min-width: 768px) {
  .hero__photo {
    width: 503px;
    max-height: 650px;
  }

  .hero {
    padding-bottom: 120px;
  }

  .hero__container {
    display: flex;
    justify-content: space-between;
    gap: 60px;
  }
}

@media only screen and (min-width: 1440px) {
  .hero__photo {
    width: 503px;
    height: 748px;
    max-height: 748px;
  }
}

.hero-content {
  width: 100%;
  padding-top: 81px;
  position: relative;
}

@media only screen and (min-width: 768px) {
  .hero-content {
    padding-top: 182px;
    width: 597px;
  }
}

.hero__title {
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  text-align: right;
  margin-bottom: 24px;
  position: relative;
}

@media only screen and (max-width: 374px) {
  .hero__title {
    font-weight: 600;
    font-size: 25px;
    line-height: 1.2;
  }
}

.hero__title::before {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  content: '';
  display: block;
  width: 16px;
  height: 8px;
  position: absolute;
  top: 12px;
  left: 37%;
  margin-left: auto;
}

@media only screen and (min-width: 768px) {
  .hero__title::before {
    top: 20px;
    left: 30%;
  }
}

@media only screen and (min-width: 1024px) {
  .hero__title::before {
    width: 20px;
    top: 28px;
    left: 30%;
  }
}

@media only screen and (min-width: 1440px) {
  .hero__title::before {
    left: 34%;
  }
}

.hero__text {
  line-height: 1.2;
  margin-bottom: 32px;
}

@media screen and (min-width: 768px) {
  .hero__title {
    font-size: 44px;
  }
}

@media only screen and (min-width: 1024px) {
  .hero__title {
    font-size: 56px;
  }
}

@media only screen and (min-width: 768px) {
  .hero__text {
    font-size: 20px;
    line-height: 1.2;
  }
}

.hero__text span {
  font-weight: 600;
}

.hero__brain-photo {
  position: absolute;
  top: 36px;
  left: 20px;
}

@media only screen and (max-width: 374px) {
  .hero__brain-photo {
    width: 90px;
    top: 49px;
    left: 11px;
  }
}

@media only screen and (min-width: 768px) {
  .hero__brain-photo {
    width: 125px;
    height: 116px;
    top: 138px;
    left: 6px;
  }
}

@media only screen and (min-width: 1024px) {
  .hero__brain-photo {
    width: 155px;
    height: 139px;
    top: 136px;
    left: 5px;
  }
}

@media only screen and (min-width: 1440px) {
  .hero__brain-photo {
    width: 184px;
    height: 154px;
    top: 120px;
    left: 20px;
  }
}

/* =============================  SOLUTION   ===================================== */

.solution__block {
  background-color: var(--second-color);
  width: 80%;
  padding: 24px 32px 24px 20px;
  margin-bottom: 32px;
}
@media only screen and (max-width: 375px) {
  .solution__block {
    width: 300px;
  }
}

@media only screen and (min-width: 768px) {
  .solution__block {
    padding: 40px 59px 52px 140px;
    margin-bottom: 60px;
  }
}

.title {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.5;
  color: var(--main-color);
}

@media only screen and (min-width: 768px) {
  .title {
    font-size: 56px;
  }
  .solution__title {
    font-size: 32px;
  }
}

.solution-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 19px;
  justify-content: center;
}

@media only screen and (min-width: 768px) {
  .solution-list {
    gap: 84px;
  }
}

.solution-list__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.2;
}

.solution-list__text span {
  font-weight: 700;
  color: var(--second-color);
}

.solution__item {
  width: 158px;
  display: flex;
  align-items: center;
  gap: 24px;
}

@media only screen and (min-width: 768px) {
  .solution__item {
    width: 315px;
  }

  .solution-list__text {
    font-size: 20px;
  }

  .solution-photo {
    width: 48px;
    height: 48px;
  }
}

/*   ============================   INQUIREES   ================================== */

.inquirees-container {
  background-color: var(--second-color);
  width: 80%;
  margin-bottom: 32px;
  margin-left: auto;

  padding: 24px 20px 24px 32px;
}

@media only screen and (min-width: 768px) {
  .inquirees-container {
    margin-bottom: 60px;
    margin-left: auto;
    padding: 40px 140px 52px 60px;
  }
}

.inquirees__item:not(:last-child) {
  margin-bottom: 24px;
}

.inquirees__item:hover {
  .inquirees__number {
    color: rgba(255, 255, 255, 0.2);
    text-shadow: none;
  }

  .inquirees__title {
    color: var(--second-color);
  }
}

.inquirees__title {
  transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

@media only screen and (min-width: 768px) {
  .inquiries__list {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
  }

  .inquirees__item {
    width: calc((100% - 120px) / 3);
  }
}

.inquirees__number {
  font-weight: 800;
  font-size: 40px;
  color: var(--main-color);
  text-shadow: 1px 1px 0 var(--second-color), -1px -1px 0 var(--second-color),
    1px -1px 0 var(--second-color), -1px 1px 0 var(--second-color);
  margin-bottom: 16px;
  transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

@media only screen and (min-width: 768px) {
  .inquirees__number {
    font-size: 80px;
  }
}

.subtitle {
  font-weight: 600;
  font-size: 16px;
}

.inquirees__text {
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
  margin-top: 8px;
}

@media only screen and (min-width: 768px) {
  .subtitle {
    font-size: 24px;
  }

  .inquirees__text {
    font-size: 20px;
    margin-top: 16px;
  }
}

/*   ===========================================      BRIEF   ========================================= */

.brief-section {
  padding: 0 0px 52px;
}

.brief-container {
  position: relative;
}

.brief__photo {
  width: 335px;
  height: 431px;
  border-radius: 24px;
}
@media only screen and (min-width: 768px) {
  .brief-section {
    padding: 0 0px 120px;
  }

  .brief-container {
    position: relative;
    display: flex;
    gap: 30px;
    flex-direction: row-reverse;
  }

  .brief__photo {
    max-width: 370px;
    width: 370px;
    height: auto;
  }
}

@media only screen and (min-width: 1024px) {
  .brief-container {
    gap: 60px;
  }
}

@media only screen and (min-width: 1024px) {
  .brief__photo {
    max-width: 503px;
    width: 503px;
    height: 648px;
  }
}

.brief__list {
  margin-top: 32px;
}

.brief__item {
  position: relative;
  padding-left: 32px;
  margin-bottom: 20px;
  padding-top: 32px;
}

@media only screen and (min-width: 768px) {
  .brief__item {
    padding-top: 57px;
    padding-left: 60px;
    margin-bottom: 60px;
  }
}

.brief__number {
  position: absolute;
  font-weight: 600;
  font-size: 64px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.2);
  left: 0;
  top: -24px;
}

@media only screen and (min-width: 768px) {
  .brief__number {
    font-size: 160px;
    top: -57px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .subtitle-green {
    font-size: 20px;
  }
}

.subtitle-green {
  color: var(--second-color);
}

.brief__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  margin-top: 8px;
}

@media only screen and (min-width: 768px) {
  .brief__text {
    font-size: 20px;
  }
}

.brief__button {
  font-family: 'Montserrat', sans-serif;

  display: block;
  margin: auto;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  padding: 12px 24px;
  background-color: var(--second-color);
  color: var(--main-color);
  text-transform: uppercase;
  transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.brief__button:hover {
  background: var(--main-text-color);
  color: var(--second-color);
}

@media only screen and (min-width: 768px) {
  .brief__button {
    font-size: 24px;
  }
}

.container-big-photo {
  position: relative;
}

.brief__list-photo {
  position: absolute;
  top: 248px;
  background: var(--main-color);
  padding: 14px;
  border-top-right-radius: 42px;
  padding-bottom: 0;
  left: -14px;
}
@media only screen and (max-width: 374px) {
  .brief__list-photo {
    left: -15px;
  }
}

@media only screen and (min-width: 768px) {
  .brief__list-photo {
    top: 280px;
  }
}

@media only screen and (min-width: 1024px) {
  .brief__list-photo {
    top: 382px;
  }
}

.brief__photo__item:not(:first-child) {
  margin-top: 13px;
}

.brief__photo__item img {
  border-radius: 100%;
  width: 48px;
  height: 48px;
}

@media only screen and (min-width: 768px) {
  .brief__photo__item img {
    width: 54px;
    height: 54px;
  }

  .brief__photo__item:not(:first-child) {
    margin-top: 20px;
  }
}

@media only screen and (min-width: 1024px) {
  .brief__photo__item img {
    width: 72px;
    height: 72px;
  }
}

.wrraper-icon-instagram {
  background: var(--main-color);
  border-bottom-left-radius: 28px;
  padding: 10px;
  position: absolute;
  right: 10px;
  z-index: 100;
  top: -2px;
}

@media only screen and (max-width: 374px) {
  .wrraper-icon-instagram {
    right: 20px;
    border-bottom-left-radius: 20px;
    padding: 6px;
    top: 0;
  }
}

@media only screen and (min-width: 768px) {
  .wrraper-icon-instagram {
    border-bottom-left-radius: 42px;
    right: 5px;
  }
}

@media only screen and (min-width: 1440px) {
  .wrraper-icon-instagram {
    right: 132px;
  }
}

.instagram-icon-container {
  background-color: #d4fc5b;
  width: 48px;
  height: 48px;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.instagram-icon-container a {
  width: 24px;
  height: 24px;
}
@media only screen and (max-width: 374px) {
  .instagram-icon-container {
    width: 44px;
    height: 44px;
  }
}

@media only screen and (min-width: 768px) {
  .instagram-icon-container {
    width: 54px;
    height: 54px;
  }
}

@media only screen and (min-width: 1024px) {
  .instagram-icon-container {
    width: 72px;
    height: 72px;
  }
  .instagram-icon {
    width: 37px;
    height: 37px;
  }

  .instagram-icon-container a {
    width: 37px;
    height: 37px;
  }
}
@media only screen and (min-width: 1440px) {
  .instagram-icon-container {
    right: 140px;
  }
}

/*   =================================================   EXPERIENS  ================================ */

.experiens-section {
  padding-bottom: 52px;
  position: relative;
}

@media only screen and (min-width: 768px) {
  .experiens-section {
    display: flex;
    gap: 32px;
    padding: 0 0 120px;
    position: relative;
  }
}

.block-desc {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 20px;
}

.desc {
  font-family: 'Montserrat', sans-serif;

  font-size: 14px;
  line-height: 1.21;
}

@media only screen and (min-width: 768px) {
  .desc {
    font-size: 20px;
  }
}

.experiens__title {
  color: var(--main-text-color);
}

.experiens__photo_wrraper {
  position: relative;
}
@media only screen and (max-width: 374px) {
  .experiens__photo {
    width: 150px;
    top: 345px;
  }
}

@media only screen and (max-width: 767px) {
  .experiens__photo {
    left: -48px;
    position: absolute;
  }
}

@media only screen and (max-width: 767px) and (min-width: 375px) {
  .experiens-text-wrrapper {
    gap: 15px;
    display: flex;
  }
  .experiens__photo {
    top: 236px;
    left: -48px;
  }
}

@media only screen and (min-width: 768px) {
  .experiens__photo {
    max-width: 320px;
    width: 320px;
    height: auto;
  }
}

@media only screen and (min-width: 1024px) {
  .experiens__photo {
    max-width: 432px;
    width: 432px;
    height: 702px;
  }
}

.experiens__name {
  display: none;
}

@media only screen and (min-width: 768px) {
  .experiens__name {
    font-size: 16px;
    line-height: 1.25;
    color: var(--second-color);
  }

  .experiens-block {
    display: flex;
    gap: 32px;
  }
}

@media only screen and (min-width: 1024px) {
  .experiens-block {
    padding-left: 95px;
  }
}

.experiens__list {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px;
}

@media only screen and (max-width: 767px) {
  .item {
    margin-left: 176px;
  }
}

@media only screen and (min-width: 768px) {
  .experiens__list {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
  }
}

.experiens__item {
  width: 157px;
}

.experiens__item:hover {
  .experiens__number {
    color: var(--main-color);
    text-shadow: 1px 1px 0 var(--second-color), -1px -1px 0 var(--second-color),
      1px -1px 0 var(--second-color), -1px 1px 0 var(--second-color);
  }
  .experiens__number span {
    color: var(--main-text-color);
    text-shadow: none;
  }
}

@media only screen and (min-width: 768px) {
  .experiens__item {
    width: 340px;
    display: flex;
    flex-direction: column;
  }
}

.experiens__number {
  font-weight: 800;
  font-size: 20px;
  color: var(--second-color);
  margin-bottom: 12px;
  transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.experiens__number span {
  font-weight: 600;
  font-size: 20px;
  color: var(--main-text-color);
  margin-left: 12px;
}

@media only screen and (min-width: 768px) {
  .experiens__number {
    font-size: 56px;
  }
}

.experiens__text {
  font-family: 'Montserrat', sans-serif;

  margin-left: auto;
  width: 114px;
}

@media only screen and (min-width: 768px) {
  .experiens__text {
    margin-left: auto;
    width: 240px;
  }
}

/* ==============================================   CLIENTS  ====================================== */

.clients-section {
  padding: 32px 0;
  background: var(--main-text-color);
}

@media only screen and (min-width: 768px) {
  .clients-section {
    padding: 60px 0;
  }
}

.clients__title {
  color: var(--main-color);
  text-align: center;
}

.clients__list {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  overflow-x: scroll;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: 0;
}

@media only screen and (min-width: 768px) {
  .clients__list {
    gap: 36px;
  }
}

.clients__list::-webkit-scrollbar {
  display: none;
}

.clients__list.no-transition {
  scroll-behavior: auto;
}

.clients__item {
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media only screen and (max-width: 767px) {
  .clients__item {
    min-width: calc((100% - 20px) / 2);
  }
}

@media only screen and (min-width: 768px) {
  .clients__item {
    min-width: calc((100% - 108px) / 4);
  }
}
.svg__button {
  background: transparent;
  border: none;
}

.svg-wrraper {
  display: flex;
  gap: 60px;
  justify-content: center;
}
@media only screen and (max-width: 767px) {
  .svg-arrow {
    width: 32px;
    height: 28px;
  }
  .svg-wrraper {
    gap: 30px;
  }
}

/* ========================================  ARTICLES  ======================================= */

.articles-section {
  padding-top: 52px;
}

@media only screen and (min-width: 768px) {
  .articles-section {
    padding-top: 120px;
  }
}

.articles__heading {
  color: var(--second-color);
  margin-bottom: 24px;
}

@media only screen and (min-width: 768px) {
  .articles__heading {
    margin-bottom: 60px;
  }
}

.articles-block {
  display: flex;
  gap: 12px;
}

@media only screen and (min-width: 768px) {
  .articles-block {
    gap: 36px;
  }
}

.articles__list {
  display: flex;
  gap: 36px;
  overflow-x: scroll;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: 0;
}

.articles__list::-webkit-scrollbar {
  display: none;
}

.articles__list.no-transition {
  scroll-behavior: auto;
}

@media only screen and (min-width: 768px) {
  .articles__list {
    padding: 32px 0;
  }
}

.articles__item {
  scroll-snap-align: start;
}

@media only screen and (max-width: 767px) {
  .articles__item {
    min-width: 100%;
  }
}

@media only screen and (min-width: 768px) {
  .articles__item {
    min-width: calc((100% - 36px) / 2);
  }
}

@media only screen and (min-width: 1441px) {
  .container {
    width: 1440px;
  }
}

.articles__subtitle {
  margin-top: 12px;
}

.articles__list-wrraper {
  overflow: hidden;
}

@media only screen and (min-width: 768px) {
  .articles__subtitle {
    margin-top: 20px;
  }
}

.tag-wrraper {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

@media only screen and (min-width: 768px) {
  .tag-wrraper {
    margin-top: 20px;
  }
}

.tag {
  font-family: 'Montserrat', sans-serif;
  color: var(--second-color);
  font-size: 12px;
  line-height: 1.12;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--second-color);
}

@media only screen and (min-width: 768px) {
  .tag {
    font-size: 14px;
    line-height: 1.2;
  }
}

/*   =========================================   QUESTION  ================================== */

.section-question {
  padding: 52px 0;
}

@media only screen and (min-width: 768px) {
  .section-question {
    padding: 120px 0;
  }
}

.question__heading {
  color: var(--main-text-color);
  text-align: center;
}

.question__list {
  width: 355px;
  margin-left: auto;
  margin-top: 32px;
}

@media only screen and (max-width: 374px) {
  .question__list {
    width: 300px;
  }
}
@media only screen and (min-width: 480px) {
  .question__list {
    width: 80%;
  }
}

@media only screen and (min-width: 768px) {
  .question__list {
    margin-top: 60px;
  }
}

.question__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.2;
  padding-top: 16px;
  width: 249px;
}

.question__text.hidden {
  display: none;
}

@media only screen and (min-width: 768px) {
  .question__text {
    font-size: 20px;
    width: 69.6%;
  }
}

.question__item {
  border: 1px solid var(--second-color);
  padding: 20px 20px 20px 54px;
  border-right: none;
}

@media only screen and (min-width: 768px) {
  .question__item {
    padding: 20px 160px 20px 40px;
  }
}
.question__item:not(:first-child) {
  margin-top: 20px;
}

@media only screen and (max-width: 767px) {
  .svg {
    width: 32px;
    height: 28px;
  }
}

.svg {
  transform: rotate(45deg);
}

.svg.open {
  transform: rotate(90deg);
}

.wrraper-question {
  display: flex;
  justify-content: space-between;
}

/*  ==========================================  CONTACT-ME ========================== */

.section-contact-me {
  padding: 32px 0;
  background: var(--second-color);
}

@media only screen and (min-width: 678px) {
  .section-contact-me {
    padding: 60px 0;
  }
}

@media only screen and (min-width: 1024px) {
  .contact-me__container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
  }
}

@media only screen and (max-width: 767px) {
  .form-wrraper {
    padding-top: 32px;
  }
}

.contact-me__title {
  text-align: center;
}

.contact-me__form {
  margin-left: auto;
  margin-right: auto;
  margin-top: 32px;
}

@media only screen and (min-width: 768px) {
  .contact-me__form {
    width: 420px;
  }
}

.contact-me__input {
  border: none;
  border-bottom: 1px solid var(--main-color);
  background: transparent;
  width: 100%;
  padding: 19.5px 20px;
}

.contact-me__input::placeholder {
  font-size: 20px;
  line-height: 1.1;
  font-family: 'Montserrat', sans-serif;
  color: var(--main-color);
}

.contact-me__input:focus-visible {
  outline: none;
  border-bottom: 2px white solid;
}

.contact-me__input-name {
  margin-bottom: 12px;
}

@media only screen and (min-width: 768px) {
  .contact-me__input-name {
    margin-bottom: 20px;
  }
}

.button-contact-me {
  font-family: 'Montserrat', sans-serif;
  width: 100%;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  padding: 12px 0;
  background-color: var(--main-color);
  color: var(--second-color);
  margin-top: 20px;
  text-align: center;
  transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.button-contact-me:hover {
  background: var(--main-text-color);
  color: var(--main-color);
}

@media only screen and (min-width: 768px) {
  .button-contact-me {
    margin-top: 44px;
    font-size: 24px;
  }
}

.wrapper-create-yourself {
  position: relative;
}

@media only screen and (min-width: 768px) {
  .wrapper-create-yourself {
    padding-top: 34px;
    width: 604px;
  }
}

.create-yourself__text {
  color: var(--main-color);
  font-weight: 600;
  font-size: 15px;
}

@media only screen and (min-width: 768px) {
  .create-yourself__text {
    font-size: 28px;
  }
}

.wrraper-text {
  display: flex;
  /* margin-top: 34px; */
  justify-content: center;
}

.text-yourself {
  margin-left: 14px;
  margin-top: 17px;
}

@media only screen and (min-width: 768px) {
  .text-yourself {
    margin-left: 34px;
    margin-top: 32px;
  }
}

.create-yourself__photo {
  position: absolute;
  top: 2px;
  left: 100px;
}

@media only screen and (min-width: 768px) {
  .create-yourself__photo {
    top: 40px;
    left: 184px;
    width: 223px;
    height: 186px;
  }
}

.text {
  margin-top: 52px;
  margin-left: 166px;
}

@media only screen and (min-width: 768px) {
  .text {
    margin-top: 74px;

    margin-left: 304px;
  }
}

.ribbon {
  padding: 36px 0;
  margin: 0 auto;
  overflow: hidden;
  /* width: 100%; */
}

.container-ribbon {
  padding: 28px 0;
  width: 200%;
  display: flex;
  /* gap: 40px; */
  align-items: center;

  animation: ribbon__transform 5s linear infinite;
}

.wrraper-ribbon-content {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

@media only screen and (min-width: 768px) {
  .container-ribbon {
    animation: ribbon__transform 10s linear infinite;
  }

  .wrraper-ribbon-content {
    gap: 30px;
  }
}

@media only screen and (min-width: 1024px) {
  .wrraper-ribbon-content {
    gap: 40px;
  }
}

@media only screen and (max-width: 768px) {
  .wrraper-ribbon-mobile {
    display: none;
  }
}

@media only screen and (min-width: 768px) {
  .wrraper-ribbon-mobile {
    display: flex;
    align-items: center;
    gap: 30px;
  }
}

@media only screen and (min-width: 1024px) {
  .wrraper-ribbon-mobile {
    gap: 30px;
  }
}

@keyframes ribbon__transform {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ribbon__text {
  font-family: 'Montserrat', sans-serif;

  font-size: 14px;
  line-height: 1.2;
  color: var(--second-color);
}

@media only screen and (min-width: 768px) {
  .ribbon__text {
    font-size: 16px;
  }
}
@media only screen and (min-width: 1024px) {
  .ribbon__text {
    font-size: 20px;
  }
}

/* ================================== MY-CONTACT =============================== */

.my-contacts__wrraper {
  width: 375px;
  margin: auto;
}

.my-contacts__block {
  width: 80%;

  background-color: var(--second-color);
  margin-left: auto;
  padding: 32px 20px 40px 60px;
}

@media only screen and (min-width: 768px) {
  .my-contacts__block {
    width: 66.7%;
    padding: 60px 147px 121px 60px;
  }
}

.nav-item a {
  color: var(--main-color);
}

.my-contacts__title {
  font-weight: 600;
  font-size: 20px;
  color: var(--main-color);
  margin-bottom: 24px;
}

@media only screen and (min-width: 768px) {
  .my-contacts__title {
    font-size: 56px;
  }
}

.nav-item {
  font-family: 'Montserrat', sans-serif;
  color: var(--main-color);
  font-size: 14px;
  line-height: 1.2;
}

.nav-item a {
  font-style: normal;
}

.nav-item:not(:last-child) {
  margin-bottom: 16px;
}

@media only screen and (min-width: 768px) {
  .nav-item {
    font-size: 24px;
  }
}

.footer__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  line-height: 1.2;
}

.name-decoration {
  color: var(--second-color);
}

.footer-container {
  padding: 24px 20px 40px;
  text-align: center;
}

@media only screen and (min-width: 768px) {
  .footer-container {
    padding-bottom: 120px;
    padding-left: 140px;
  }

  .footer {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
  }
  .wrraper__text-mobile {
    display: none;
  }
}

.address {
  font-family: 'Montserrat', sans-serif;
}

.backdrop {
  position: fixed;
  left: 0;
  top: 0;
  /* background-color: transparent; */
  width: 100%;
  height: 100%;
  z-index: 1000;
  overflow: hidden;
}

.backdrop.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body.modal {
  overflow: hidden;
}

.modal {
  background: var(--second-color);
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%) scale(1);
  width: 375px;
}

@media only screen and (min-width: 768px) {
  .modal {
    width: 776px;
  }
}

/* .modal-input{
  width: 80%;
} */

/* .modal-form{
  margin: 0 auto;

} */
@media only screen and (max-width: 767px) {
  .modal-form-wrraper {
    width: 335px;
    padding: 30px 20px;
  }
}

.modal-form-wrraper {
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media only screen and (min-width: 768px) {
  .modal-form-wrraper {
    padding: 118px 140px 60px;
  }
}

.modal-close-button {
  position: absolute;
  right: 10px;
  top: 10px;
  background: transparent;
  border: none;
  transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

@media only screen and (max-width: 374px) {
  .modal-close-button {
    right: 40px;
    top: 20px;
  }
}

@media only screen and (min-width: 768px) {
  .modal-close-button {
    right: 60px;
    top: 60px;
  }
}

@media only screen and (min-width: 768px) {
  .modal-close-button svg {
    width: 24px;
    height: 24px;
  }
}

.modal-close-button:hover {
  scale: 1.2;
}
