/* Base */
html {
  box-sizing: border-box;
  height: 100%;
}

*,
*::after,
*::before {
  box-sizing: inherit;
}

body {
  min-height: 100%;
}

ul,
ol {
  padding: 0;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  border: none;
  outline: transparent;
}

a {
  text-decoration: none;
  color: inherit;
  outline: transparent;
}

button {
  padding: 0;
  background: none;
  cursor: pointer;
  outline: transparent;
}

address,
cite {
  font-style: normal;
}

legend {
  display: table;
  float: left;
  margin: 0;
  padding: 0;
  width: 100%;
}
legend + * {
  clear: both;
}

fieldset {
  border: 0;
  padding: 0.01em 0 0 0;
  margin: 0;
  min-width: 0;
}

body:not(:-moz-handler-blocked) fieldset {
  display: table-cell;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type='number'] {
  -moz-appearance: textfield;
}

@font-face {
  font-family: 'Manrope';
  font-display: swap;
  src: url('../fonts/Manrope-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}
:root {
  --font-main: 'Manrope', sans-serif;
  --page-bg: #f0f0f0;
  --text-color: var(--dark-color);
  --font-size: 16px;
  --line-height: 130%;
  --dark-color: #060301;
  --light-color: #fff;
  --container: 590px;
  --container-padding: 15px;
  --transition: 0.2s;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  border: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  clip-path: inset(100%) !important;
  clip: rect(0 0 0 0) !important;
  overflow: hidden !important;
}

.no-scroll {
  overflow-y: hidden !important;
}

.container {
  margin-inline: auto;
  padding-inline: var(--container-padding);
  max-width: var(--container);
  width: 100%;
}

.container-social {
  overflow-x: auto;
  scrollbar-width: none;
  padding-left: 26px;
}
@media only screen and (min-width: 361px) and (max-width: 534px) {
  .container-social {
    padding-left: calc(26px + (100vw - 360px) * 0.54);
  }
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  display: flex;
  flex-direction: column;
  font-family: var(--font-main);
  background-color: var(--page-bg);
  color: var(--text-color);
  font-size: var(--font-size);
  line-height: var(--line-height);
  font-weight: 600;
  letter-spacing: -0.05em;
}

.main {
  flex-grow: 1;
}

.lock {
  overflow: hidden;
}

.buttons {
  margin-bottom: 50px;
}
@media (max-width: 575.98px) {
  .buttons {
    margin-bottom: 60px;
  }
}

.contasts {
  margin-bottom: 40px;
}

.links {
  max-width: 308px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Components */
.btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 18px;
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 23px 26px 23px 30px;
  transition: background-color var(--transition);
}
.btn .soon {
  color: rgba(255, 255, 255, 0.5);
}
.btn svg {
  stroke: currentColor;
  margin-left: auto;
}
@media (any-hover: hover) {
  .btn:hover {
    background-color: #232323;
  }
}

/* Blocks */
.hero {
  margin-bottom: 54px;
}
@media (max-width: 600px) {
  .hero__container {
    padding-inline: 0;
  }
}
.hero__content {
  max-width: 308px;
  margin-inline: auto;
  padding: 40px 40px 50px;
  box-shadow: 0 24px 34px 0 rgba(0, 0, 0, 0.1);
  background-color: var(--light-color);
  transform: translateY(-146px);
  margin-bottom: -146px;
}
.hero__title {
  font-size: 39px;
  line-height: 110%;
  letter-spacing: -0.08em;
  margin-bottom: 20px;
}
.hero__description {
  display: flex;
  flex-direction: column;
  gap: 23px;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px dashed rgba(6, 3, 1, 0.2);
}
.hero__work {
  font-size: 18px;
}
.hero__work-wrap {
  width: 100%;
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}
.hero__work-title {
  color: rgba(6, 3, 1, 0.4);
}
.hero__work-link {
  transition: color var(--transition);
}
@media (any-hover: hover) {
  .hero__work-link:hover {
    color: #353535;
  }
}

.social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
@media (max-width: 480px) {
  .social {
    justify-content: start;
  }
}
.social__item:last-child {
  padding-right: 26px;
}
@media only screen and (min-width: 361px) and (max-width: 534px) {
  .social__item:last-child {
    padding-right: calc(26px + (100vw - 360px) * 0.54);
  }
}
.social__link {
  width: 75px;
  height: 75px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  background-color: var(--light-color);
  transition: background-color var(--transition);
}
@media (any-hover: hover) {
  .social__link:hover {
    background-color: #f7f8f9;
  }
}

.lang {
  padding-block: 40px;
  padding-inline: 50px;
  border-bottom: 1px dashed rgba(6, 3, 1, 0.1);
}
@media (max-width: 575.98px) {
  .lang {
    padding-inline: 36px;
  }
}
.lang__list {
  display: flex;
  align-items: center;
}
.lang__item {
  position: relative;
}
.lang__item:not(:last-child) {
  padding-right: 25px;
}
.lang__item:not(:last-child)::after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  right: 12px;
  width: 3px;
  height: 3px;
  border-radius: 100%;
  transform: translateY(-50%);
  background-color: #dbdbdb;
}
.lang__btn {
  font-size: 14px;
  line-height: 140%;
  text-align: center;
  color: var(--dark-color);
  opacity: 0.5;
  transition: opacity var(--transition);
}
@media (any-hover: hover) {
  .lang__btn:hover {
    opacity: 0.4;
  }
}
.lang__btn.active {
  color: var(--dark-color);
  opacity: 1;
  cursor: auto;
}

.footer {
  background-color: var(--light-color);
  text-align: center;
}
.footer__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer__copyright {
  font-size: 14px;
  color: rgba(6, 3, 1, 0.4);
  padding: 40px 0 44px;
}
