@charset "UTF-8";

/* Normalize */

/* # =================================================================
   # Global selectors
   # ================================================================= */

html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Prevent adjustments of font size after orientation changes in iOS */
  word-break: normal;
}

*,
::before,
::after {
  box-sizing: inherit;
  background-repeat: no-repeat;
  /* Set `background-repeat: no-repeat` to all elements and pseudo elements */
}

::before,
::after {
  text-decoration: inherit;
  /* Inherit text-decoration and vertical align to ::before and ::after pseudo elements */
  vertical-align: inherit;
}

* {
  margin: 0;
  padding: 0;
  /* Reset `padding` and `margin` of all elements */
}

/* # =================================================================
     # General elements
     # ================================================================= */

hr {
  height: 0;
  /* Add the correct box sizing in Firefox */
  overflow: visible;
  /* Show the overflow in Edge and IE */
  color: inherit;
  /* Correct border color in Firefox. */
}

details,
main {
  display: block;
  /* Render the `main` element consistently in IE. */
}

summary {
  display: list-item;
  /* Add the correct display in all browsers */
}

small {
  font-size: 80%;
  /* Set font-size to 80% in `small` elements */
}

[hidden] {
  display: none;
  /* Add the correct display in IE */
}

abbr[title] {
  /* Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari */
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  border-bottom: none;
  /* Remove the bottom border in Chrome 57 */
}

a {
  color: inherit;
  background-color: transparent;
  /* Remove the gray background on active links in IE 10 */
}

a:active,
a:hover {
  outline-width: 0;
  /* Remove the outline when hovering in all browsers */
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  /* Specify the font family of code elements */
}

pre {
  font-size: 1em;
  /* Correct the odd `em` font sizing in all browsers */
}

b,
strong {
  font-weight: bolder;
  /* Add the correct font weight in Chrome, Edge, and Safari */
}

/* https://gist.github.com/unruthless/413930 */

sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

table {
  text-indent: 0;
  /* Remove text indentation in Chrome, Edge, and Safari */
  border-color: inherit;
  /* Correct border color in all Chrome, Edge, and Safari. */
}

/* # =================================================================
     # Forms
     # ================================================================= */

input {
  border-radius: 0;
}

a {
  text-decoration: none;
}
/* Replace pointer cursor in disabled elements */

[disabled] {
  cursor: default;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
  /* Correct the cursor style of increment and decrement buttons in Chrome */
}

[type="search"] {
  outline-offset: -2px;
  /* Correct the outline style in Safari */
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
  /* Correct the odd appearance in Chrome and Safari */
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  /* Remove the inner padding in Chrome and Safari on macOS */
}

textarea {
  overflow: auto;
  /* Internet Explorer 11+ */
  resize: vertical;
  /* Specify textarea resizability */
}

button,
input,
optgroup,
select,
textarea {
  font: inherit;
  /* Specify font inheritance of form elements */
}

optgroup {
  font-weight: bold;
  /* Restore the font weight unset by the previous rule */
}

button {
  overflow: visible;
  /* Address `overflow` set to `hidden` in IE 8/9/10/11 */
}

button,
select {
  text-transform: none;
  /* Firefox 40+, Internet Explorer 11- */
}

/* Apply cursor pointer to button elements */

button,
[type="button"],
[type="reset"],
[type="submit"],
[role="button"] {
  color: inherit;
  cursor: pointer;
}

/* Remove inner padding and border in Firefox 4+ */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

/* Replace focus style removed in the border reset above */

button:-moz-focusring,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  outline: 1px dotted ButtonText;
}

button,
html [type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;
  /* Correct the inability to style clickable types in iOS */
}

/* Remove the default button styling in all browsers */

button,
input,
select,
textarea {
  background-color: transparent;
  border-style: none;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline-width: 0;
}

/* Style select like a standard input */

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* Firefox 36+ */
}

select::-ms-expand {
  display: none;
  /* Internet Explorer 11+ */
}

select::-ms-value {
  color: currentcolor;
  /* Internet Explorer 11+ */
}

legend {
  display: table;
  /* Correct the text wrapping in Edge and IE */
  max-width: 100%;
  /* Correct the text wrapping in Edge and IE */
  color: inherit;
  /* Correct the color inheritance from `fieldset` elements in IE */
  white-space: normal;
  /* Correct the text wrapping in Edge and IE */
  border: 0;
  /* Correct `color` not being inherited in IE 8/9/10/11 */
}

::-webkit-file-upload-button {
  color: inherit;
  font: inherit;
  /* Change font properties to `inherit` in Chrome and Safari */
  /* Correct the inability to style clickable types in iOS and Safari */
  -webkit-appearance: button;
  appearance: button;
}

/* # =================================================================
     # Specify media element style
     # ================================================================= */

img {
  border-style: none;
  /* Remove border when inside `a` element in IE 8/9/10 */
}

/* Add the correct vertical alignment in Chrome, Firefox, and Opera */

progress {
  vertical-align: baseline;
}

/* # =================================================================
   # Accessibility
   # ================================================================= */

/* Specify the progress cursor of updating elements */

[aria-busy="true"] {
  cursor: progress;
}

/* Specify the pointer cursor of trigger elements */

[aria-controls] {
  cursor: pointer;
}

/* Specify the unstyled cursor of disabled, not-editable, or otherwise inoperable elements */

[aria-disabled="true"] {
  cursor: default;
}

address {
  font-style: inherit;
}

/* Доступное скрытие элементов */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
}

.container {
  --container-width: 1550px;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

@font-face {
  font-weight: 400;
  font-family: "Tenor Sans";
  font-style: normal;
  src: url("../fonts/TenorSans-Regular.woff2") format("woff2"),
    url("../fonts/TenorSans-Regular.woff") format("woff"),
    url("../fonts/TenorSans-Regular.ttf") format("ttf");
  font-display: swap;
}

:root {
  --color-light: rgba(255, 255, 255, 100%);
  --color-dark: rgba(0, 0, 0, 100%);
  --color-primary: #1677ff;
  --color-main-bg: linear-gradient(90deg, #fff1eb 0%, #ace0f9 100%);
  --color-main-text: #000;
  --radius: 4px;
  --button-radius: 100px;
  --input-radius: 100px;
  --outline: 2px solid #fecc06;
  --outline-offset: 3px;
  --transition: 0.3s ease-in-out;
  --font-family-primary: "Tenor Sans", arial, helvetica, sans-serif;
  --font-heading-1: normal 700 50px/1.15 var(--font-family-primary);
  --font-heading-2: normal 700 44px/1.15 var(--font-family-primary);
  --font-heading-3: normal 700 36px/1.15 var(--font-family-primary);
  --font-heading-4: normal 700 28px/1.15 var(--font-family-primary);
  --font-heading-5: normal 700 24px/1.15 var(--font-family-primary);
  --font-heading-6: normal 700 20px/1.15 var(--font-family-primary);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: var(--outline, 2px solid #fecc06);
  outline-offset: var(--outline-offset, 3px);
}

[data-js-focus-visible] :focus:not([data-focus-visible-added]) {
  outline: 0 !important;
}

[data-js-focus-visible] [data-focus-visible-added] {
  outline: var(--outline, 2px solid #fecc06);
  outline-offset: var(--outline-offset, 3px);
}

.page {
  min-width: 320px;
  height: 100%;
}

.page__body {
  min-width: 320px;
  height: 100%;
  min-height: 100%;
  color: var(--color-main-text);
  background: var(--color-main-bg);
  font-weight: 400;
  font-size: 25px;
  font-family: var(--font-family-primary);
  line-height: 1.1815;
}

.page__body--user-page {
  background: #fff;
}

.page__wrapper {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-height: 100%;
  overflow: hidden;
}

.page__main {
  flex-grow: 1;
}

.main {
  display: flex;
  flex-direction: column;
}

/* TYPOGRAPHY */

.title--sz-80 {
  font-size: 80px;
}

.title--sz-65 {
  font-size: 65px;
}

.title--sz-60 {
  font-size: 60px;
}

.title--sz-55 {
  font-size: 55px;
}

.title--sz-50 {
  font-size: 50px;
}

.title--sz-40 {
  font-size: 1.6em;
}

.title--shadow {
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.title--sz-lg {
  font-size: 36px;
}

.title--sz-md {
  font-size: 24px;
}

.content > *:not(:first-child) {
  margin-top: 20px;
}

.content > *:not(:last-child) {
  margin-bottom: 20px;
}

.content img {
  display: block;
  width: 100%;
  height: auto;
}

.content figure {
  display: block;
}

.content figure figcaption {
  display: block;
  margin-top: 10px;
}

.content ul {
  list-style: disc;
}

.content ul,
.content ol {
  -webkit-padding-start: 25px;
  padding-inline-start: 25px;
  list-style-position: outside;
}

.content ul li,
.content ol li {
  margin: 10px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}

/* COMPONENTS */

.icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.icon svg,
.icon img {
  width: 100%;
  height: 100%;
}

.icon img {
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 195px;
  padding: 12px 20px;
  color: var(--color-light);
  font-weight: 400;
  font-size: 20px;
  text-align: center;
  text-transform: capitalize;
  text-decoration: none;
  background: linear-gradient(90deg, #a6c0fe 0%, #f68084 100%);
  border-radius: var(--button-radius);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: color var(--transition), background-color var(--transition),
    border-color var(--transition);
}

.button--primary {
  background: #e56f7d;
}

.button:disabled,
.button[disabled] {
  cursor: default;
  opacity: 0.5;
}

.input {
  display: block;
}

.input__label {
  display: block;
  width: 100%;
  margin-bottom: 5px;
  font-size: 15px;
}

.input__box {
  position: relative;
  width: 100%;
}

.input__control {
  width: 100%;
  min-height: 28px;
  padding: 5px 15px;
  color: var(--color-dark);
  font-size: 15px;
  background-color: var(--color-light);
  border: 1px solid var(--color-dark);
  border-radius: var(--input-radius);
  resize: none;
}

.input__control:disabled {
  opacity: 0.5;
}

.input__control::placeholder {
  color: var(--color-gray);
}

.input--textarea .input__control {
  min-height: 130px;
}

.input--error .input__control {
  border-color: red;
}

.input--success .input__control {
  border-color: green;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 154px;
  text-decoration: none;
}

.logo img,
.logo svg {
  width: 100%;
  height: auto;
}

.logo img {
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: center;
  object-position: center;
}

.header {
  padding: 35px 0;
  background: linear-gradient(90deg, #fad0c4 0%, #fad0c4 1%, #ffd1ff 100%);
}

.header__inner {
  display: flex;
  align-content: center;
  justify-content: space-between;
}

.header__left {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.header__search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-right: 76px;
  margin-left: 76px;
}

.header__search-btn .icon {
  width: 100%;
  height: 100%;
}

.header__link {
  text-decoration: none;
}

.header__user-nav {
  display: flex;
  align-items: center;
}

.header__user-nav .button {
  min-height: 50px;
  margin-right: 83px;
  padding-right: 48px;
  padding-left: 48px;
  font-size: 15px;
  line-height: 100%;
  text-transform: uppercase;
}

.header__user-nav-profile {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  overflow: hidden;
  text-decoration: none;
  background-color: #b3b3b3;
  border-radius: 50%;
}

.header__user-nav-profile .icon {
  width: 100%;
  height: 100%;
}

.auth {
  padding: 80px 0;
}

.auth__title {
  margin-bottom: 42px;
  text-align: center;
}

.auth__text {
  text-align: center;
}

.auth__form-inputs {
  width: 100%;
  max-width: 476px;
  margin-right: auto;
  margin-left: auto;
}

.auth__form-inputs .input:not(:last-child) {
  margin-bottom: 17px;
}

.auth__form-button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}

.auth__form-bottom {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.auth__form-link {
  font-size: 20px;
  text-align: center;
}

.auth__form-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 690px;
  margin-top: 60px;
  margin-right: auto;
  margin-left: auto;
}

.auth__form-buttons .button:not(:last-child) {
  margin-right: 12px;
}

.achievement {
  padding: 50px 0;
  text-align: center;
}

.achievement__title {
  margin-bottom: 50px;
}

.achievement__text {
  font-size: 1.12em;
}

.achievement__image {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 400px;
  margin-top: 30px;
  margin-right: auto;
  margin-bottom: 42px;
  margin-left: auto;
}

.achievement__image img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
}

.achievement__image--big {
  width: 100%;
  max-width: 547px;
}

.achievement__button {
  margin-top: 50px;
}

.team {
  display: flex;
  flex-grow: 1;
  padding: 20px 0;
}

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

.team__title {
  color: #ef858f;
  text-align: center;
}

.team__content {
  margin-top: 20px;
  text-align: center;
}

.team__list {
  display: flex;
  flex-grow: 1;
  flex-wrap: wrap;
  justify-content: space-between;
  width: calc(100% + 50px);
  max-height: 610px;
  margin-top: 70px;
  margin-right: -25px;
  margin-bottom: -40px;
  margin-left: -25px;
  list-style: none;
}

.team__item {
  width: calc(25% - 50px);
  margin-right: 25px;
  margin-bottom: 40px;
  margin-left: 25px;
}

.team__item:nth-child(2n + 2) {
  align-self: flex-end;
}

.team__button {
  margin-top: 60px;
  margin-right: auto;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card__avatar {
  position: relative;
  width: 100%;
  max-width: 300px;
  border: 1px solid #000;
  border-radius: 50%;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
}

.team-card__avatar::before {
  display: block;
  width: 100%;
  padding-bottom: 100%;
  content: "";
}

.team-card__avatar .icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.team-card__name {
  margin-top: 20px;
  font-size: 1.2em;
  text-align: center;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.team-card__position {
  margin-top: 15px;
  color: #f68084;
  font-size: 1.2em;
  white-space: nowrap;
  text-align: center;
}

.profile {
  padding: 80px 0;
}

.profile__title {
  text-transform: uppercase;
}

.profile__text {
  margin-top: 40px;
}

.profile__form {
  margin-top: 100px;
}

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

.profile__add-image {
  display: block;
  margin-right: 180px;
  margin-left: 150px;
  font-size: 30px;
}

.profile__add-image input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
}

.profile__add-image span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 381px;
  height: 381px;
  overflow: hidden;
  color: rgba(0, 0, 0, 0.7);
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
}

.profile__add-image span img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}

.profile__textarea {
  position: relative;
  display: block;
  width: 100%;
  max-width: 500px;
  height: 333px;
  font-size: 30px;
}

.profile__textarea textarea {
  width: 100%;
  height: 100%;
  padding: 15px;
  color: rgba(0, 0, 0, 0.7);
  border: 1px solid #000;
  border-radius: 10px;
}

.profile__textarea textarea::placeholder {
  color: transparent;
}

.profile__textarea textarea:focus + span {
  display: none;
}

.profile__textarea textarea:not(:placeholder-shown) + span {
  display: none;
}

.profile__textarea span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 100%;
  max-width: calc(100% - 30px);
  color: rgba(0, 0, 0, 0.7);
  text-align: center;
  text-transform: capitalize;
  transform: translate(-50%, -50%);
}

.profile__form-button {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  max-width: 1260px;
  margin-top: 70px;
}

.join {
  padding-top: 70px;
  padding-bottom: 140px;
}

.join__title {
  margin-bottom: 54px;
}

.join__inner {
  display: flex;
  flex-wrap: wrap;
  margin-right: -20px;
  margin-bottom: -30px;
  margin-left: -20px;
}

.join__info {
  width: calc(41.6666666667% - 40px);
  margin-right: 20px;
  margin-bottom: 30px;
  margin-left: 20px;
}

.join__content {
  font-size: 35px;
}

.join__button {
  margin-top: 110px;
  padding: 23px 44px;
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 6px 8px 31px 3px rgba(255, 117, 154, 0.52);
}

.join__image {
  width: calc(58.3333333333% - 40px);
  margin-right: 20px;
  margin-bottom: 40px;
  margin-left: 20px;
}

.join__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
}

.features {
  padding-top: 35px;
  padding-bottom: 80px;
}

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

.features__title {
  margin-bottom: 56px;
  text-align: center;
}

.features__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1320px;
  margin-right: -20px;
  margin-bottom: -95px;
  margin-left: -20px;
  list-style: none;
}

.features__item {
  width: 100%;
  max-width: 550px;
  margin-right: 20px;
  margin-bottom: 95px;
  margin-left: 20px;
  text-align: center;
}

.features__item-title {
  margin-bottom: 17px;
  font-size: 1.4em;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.features__item-text {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  padding: 22px;
  color: #fff;
  font-size: 1.08em;
  background: #ef858f;
  border-radius: 115px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.directions {
  padding-top: 25px;
  padding-bottom: 40px;
}

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

.directions__title {
  text-align: center;
}

.directions__text {
  width: 100%;
  max-width: 700px;
  margin-top: 18px;
  margin-right: auto;
  margin-left: auto;
  font-size: 1.08em;
  text-align: center;
}

.directions__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: calc(100% + 40px);
  max-width: 1220px;
  margin-top: 42px;
  margin-right: -20px;
  margin-bottom: -60px;
  margin-left: -20px;
  list-style: none;
}

.directions__item {
  width: 100%;
  max-width: 300px;
  margin-right: 20px;
  margin-bottom: 60px;
  margin-left: 20px;
}

.directions-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  border-radius: 50%;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
  transition: transform var(--transition);
}

.directions-card::before {
  display: block;
  width: 100%;
  padding-bottom: 100%;
  content: "";
}

.directions-card:hover {
  transform: translateY(-10px);
}

.directions-card:hover .directions-card__image {
  opacity: 0.8;
}

.directions-card__image {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.directions-card span {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.4em;
  text-align: center;
}

.footer {
  padding: 36px 0;
  background: linear-gradient(90deg, #fad0c4 0%, #fad0c4 1%, #ffd1ff 100%);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: -20px;
}

.footer__group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}

.footer__copyright {
  margin-top: 12px;
  color: rgba(0, 0, 0, 0.5);
  font-size: 0.8em;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-bottom: 20px;
  font-size: 0.8em;
  list-style: none;
}

.footer__nav li:not(:last-child) {
  margin-bottom: 6px;
}

.footer__nav a {
  text-decoration: none;
}

.hero {
  padding-top: 72px;
  padding-bottom: 110px;
}

.hero__inner {
  display: flex;
  align-items: flex-start;
}

.hero__info {
  width: 100%;
  max-width: 665px;
  margin-right: 21px;
  padding-top: 50px;
  padding-bottom: 50px;
}

.hero__title {
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
}

.hero__title > span {
  margin-left: 140px;
}

.hero__button {
  margin-top: 87px;
  padding: 23px 44px;
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 6px 8px 31px 3px rgba(255, 117, 154, 0.52);
}

.hero__images {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 750px;
}

.hero__images::before {
  display: block;
  width: 100%;
  padding-bottom: 93.4%;
  content: "";
}

.hero__images img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero__images-item {
  position: absolute;
  display: none;
  width: 215px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 20px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transition: box-shadow var(--transition), transform var(--transition);
}

.hero__images-item:hover {
  box-shadow: 0 4px 100px rgba(0, 0, 0, 0.25);
  transform: translateY(-15px);
}

.hero__images-item:nth-child(1) {
  top: 5%;
  left: 18%;
  display: block;
  width: 28.6667%;
  height: 38.857%;
}

.hero__images-item:nth-child(2) {
  top: 0%;
  left: 57%;
  display: block;
  width: 38.6667%;
  height: 55.857%;
}

.hero__images-item:nth-child(3) {
  bottom: 7%;
  left: 0%;
  display: block;
  width: 46.6667%;
  height: 41.857%;
}

.hero__images-item:nth-child(4) {
  right: 0%;
  bottom: 0%;
  display: block;
  width: 46.6667%;
  height: 37.857%;
}

.portfolio {
  padding: 40px 0;
}

.portfolio__top {
  margin-bottom: 35px;
}

.portfolio__subtext {
  max-width: 1145px;
  margin-top: 20px;
  font-size: 1.08em;
}

.portfolio__list {
  display: flex;
  flex-wrap: wrap;
  margin-right: -47px;
  margin-bottom: -67px;
  margin-left: -47px;
  list-style: none;
}

.portfolio__item {
  width: calc(33.3333333333% - 94px);
  margin-right: 47px;
  margin-bottom: 67px;
  margin-left: 47px;
  transition: 0.35s;
}

.portfolio__item:hover {
  transform: translateY(-15px);
}

.portfolio__item-link {
  display: block;
  width: 100%;
  text-decoration: none;
}

.portfolio__item-link img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
}

.portfolio__buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 52px;
}

.portfolio__buttons--grid {
  margin-top: 30px;
}

.portfolio__buttons--form {
  margin-top: 90px;
}

.portfolio__buttons-group {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.portfolio__buttons-group .button:not(:last-child) {
  margin-right: 80px;
}

.portfolio__inner {
  display: flex;
  align-items: flex-start;
}

.portfolio__fields {
  width: 100%;
  max-width: 476px;
  margin-right: 43px;
}

.portfolio__fields .input:not(:last-child) {
  margin-bottom: 40px;
}

.portfolio__fields .input__control {
  min-height: 46px;
  padding: 12px;
  font-size: 14px;
  text-align: center;
  background: rgba(166, 192, 254, 0.5);
  border: none;
}

.portfolio__fields .input--textarea .input__control {
  min-height: 93px;
  padding: 38px 12px;
}

.portfolio__grid {
  position: relative;
  flex-grow: 1;
  max-width: 1445px;
}

.portfolio__grid::before {
  display: block;
  width: 100%;
  padding-bottom: 51.513%;
  content: "";
}

.portfolio__grid img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.portfolio__grid--1 .portfolio__grid-item:nth-child(1) {
  top: 0;
  left: 0;
  display: block;
  width: 43%;
  height: 100%;
}

.portfolio__grid--1 .portfolio__grid-item:nth-child(2) {
  top: 0;
  left: 50%;
  display: block;
  width: 24%;
  height: 44%;
}

.portfolio__grid--1 .portfolio__grid-item:nth-child(3) {
  bottom: 0;
  left: 50%;
  display: block;
  width: 24%;
  height: 47%;
}

.portfolio__grid--1 .portfolio__grid-item:nth-child(4) {
  top: 0;
  right: 0%;
  display: block;
  width: 21%;
  height: 100%;
}

.portfolio__grid--2 .portfolio__grid-item:nth-child(1) {
  top: 0;
  left: 0;
  display: block;
  width: 32%;
  height: 44%;
}

.portfolio__grid--2 .portfolio__grid-item:nth-child(2) {
  bottom: 0;
  left: 0;
  display: block;
  width: 32%;
  height: 44%;
}

.portfolio__grid--2 .portfolio__grid-item:nth-child(3) {
  bottom: 0;
  left: 34%;
  display: block;
  width: 32%;
  height: 100%;
}

.portfolio__grid--2 .portfolio__grid-item:nth-child(4) {
  top: 0;
  right: 0%;
  display: block;
  width: 32%;
  height: 44%;
}

.portfolio__grid--2 .portfolio__grid-item:nth-child(5) {
  right: 0%;
  bottom: 0;
  display: block;
  width: 32%;
  height: 44%;
}

.portfolio__grid--3 .portfolio__grid-item:nth-child(1) {
  top: 0;
  left: 0;
  display: block;
  width: 27%;
  height: 47%;
}

.portfolio__grid--3 .portfolio__grid-item:nth-child(2) {
  bottom: 0;
  left: 0;
  display: block;
  width: 27%;
  height: 47%;
}

.portfolio__grid--3 .portfolio__grid-item:nth-child(3) {
  top: 0;
  left: 31%;
  display: block;
  width: 27%;
  height: 47%;
}

.portfolio__grid--3 .portfolio__grid-item:nth-child(4) {
  bottom: 0;
  left: 31%;
  display: block;
  width: 27%;
  height: 47%;
}

.portfolio__grid--3 .portfolio__grid-item:nth-child(5) {
  right: 0%;
  bottom: 0;
  display: block;
  width: 39%;
  height: 100%;
}

.portfolio__fields + .portfolio__grid--rounded .portfolio__grid-item span {
  font-size: 0.8em;
}

.portfolio__grid--rounded .portfolio__grid-item span {
  border-radius: min(3vw, 60px);
}

.portfolio__grid-item {
  position: absolute;
  display: none;
}

.portfolio__grid-item input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
}

.portfolio__grid-item span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-size: 1.2em;
  text-align: center;
  background: #d9d9d9;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.portfolio__grid-item span img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}

.user-page {
  flex-grow: 1;
  padding-bottom: 25px;
  background: #ffff;
}

.user-page__inner {
  display: flex;
  align-items: flex-start;
}

.user-page__aside {
  width: 100%;
  max-width: 310px;
  margin-right: 40px;
}

.user-page__info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.user-page__name {
  margin-bottom: 25px;
  font-size: 45px;
  text-align: center;
}

.user-page__avatar {
  position: relative;
  width: 100%;
  max-width: 150px;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 50%;
}

.user-page__avatar::before {
  display: block;
  width: 100%;
  padding-bottom: 100%;
  content: "";
}

.user-page__avatar input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
}

.user-page__avatar span {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(0, 0, 0, 0.5);
  text-align: center;
  background-color: #d9d9d9;
  cursor: pointer;
}

.user-page__avatar span img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}

.user-page__about {
  height: 324px;
  margin-top: 25px;
}

.user-page__about textarea {
  width: 100%;
  height: 100%;
  padding: 15px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  resize: none;
}

.user-page__nav {
  margin-top: 47px;
  padding: 36px 10px;
  text-align: center;
  text-transform: uppercase;
  list-style: none;
  background: rgba(248, 165, 162, 0.8);
  border-radius: 20px;
}

.user-page__nav li:not(:last-child) {
  margin-bottom: 40px;
}

.user-page__nav a {
  text-decoration: underline;
}

.user-page__main {
  flex-grow: 1;
  align-self: flex-end;
}

.user-page__main .user-page__name {
  width: 100%;
  max-width: 310px;
  color: transparent;
  pointer-events: none;
}

.user-page__body {
  flex-grow: 1;
  padding: 52px 87px;
  background: rgba(248, 165, 162, 0.8);
  border-radius: 20px;
}

.user-page__projects {
  display: flex;
  flex-wrap: wrap;
  max-width: 980px;
  margin-right: -40px;
  margin-bottom: -31px;
  margin-left: -40px;
  list-style: none;
}

.user-page__project {
  position: relative;
  /* width: calc(50% - 80px);
  margin-right: 40px;
  margin-bottom: 31px;
  margin-left: 40px; */
}

.user-page__project::before {
  display: block;
  width: 100%;
  padding-bottom: 61%;
  content: "";
}

.user-page__project img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}

.user-page__card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  text-decoration: none;
}

.user-page__project-edit {
  position: absolute;
  top: 18px;
  right: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #fad0c4;
  border-radius: 50%;
}

.user-page__project-edit .icon {
  width: 20px;
  height: 20px;
}

.user-page__navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
}

.user-page__navigation-btn {
  display: flex;
  align-items: center;
}

.user-page__navigation-btn .icon {
  width: 67px;
  height: 8px;
}

.user-page__navigation-btn .icon:last-child {
  margin-left: 11px;
}

.user-page__navigation-btn .icon:first-child {
  margin-right: 11px;
}

.user-page__navigation-btn:disabled,
.user-page__navigation-btn[disabled],
.user-page__navigation-btn.disabled {
  display: flex;
}

.user-page__navigation-btn--next {
  margin-left: auto;
}

.user-achievements {
  padding-bottom: 25px;
}

.user-achievements__title {
  margin-bottom: 25px;
  font-size: 1.4em;
  text-transform: uppercase;
}

.user-achievements__inner {
  padding: 40px 150px;
  background: rgba(248, 165, 162, 0.8);
  border-radius: 20px;
}

.user-achievements__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-right: -100px;
  margin-bottom: -17px;
  margin-left: -100px;
  list-style: none;
}

.user-achievements__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(33.3333333333% - 200px);
  margin-right: 100px;
  margin-bottom: 17px;
  margin-left: 100px;
  white-space: nowrap;
  text-align: center;
  text-transform: capitalize;
}

.user-achievements__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 250px;
  height: auto;
  padding: 10px;
  background: rgba(172, 224, 249, 0.77);
  border-radius: 20px;
}

.user-achievements__icon img {
  display: block;
  width: 100%;
  height: auto;
}

.user-achievements__button {
  margin-top: 18px;
}

@media only screen and (max-width: 1599.98px) {
  .container {
    --container-width: 1320px;
  }

  .page__body {
    font-size: 23px;
  }

  .title--sz-80 {
    font-size: 74px;
  }

  .title--sz-65 {
    font-size: 60px;
  }

  .title--sz-60 {
    font-size: 57px;
  }

  .auth__title {
    margin-bottom: 38px;
  }

  .auth__form-buttons {
    margin-top: 60px;
  }

  .achievement__title {
    margin-bottom: 38px;
  }

  .achievement__image {
    max-width: 350px;
    margin-top: 28px;
    margin-bottom: 38px;
  }

  .achievement__image--big {
    max-width: 450px;
  }

  .achievement__button {
    margin-top: 38px;
  }

  .team__list {
    max-height: 580px;
    margin-top: 60px;
    margin-right: -15px;
    margin-bottom: -30px;
    margin-left: -15px;
  }

  .team__item {
    width: calc(25% - 30px);
    margin-right: 15px;
    margin-bottom: 30px;
    margin-left: 15px;
  }

  .team__button {
    margin-top: 50px;
  }

  .profile__text {
    margin-top: 35px;
  }

  .profile__form {
    margin-top: 85px;
  }

  .profile__add-image {
    margin-right: 160px;
    margin-left: 130px;
    font-size: 28px;
  }

  .profile__add-image span {
    width: 350px;
    height: 350px;
  }

  .profile__textarea {
    height: 300px;
  }

  .profile__textarea {
    font-size: 28px;
  }

  .profile__form-button {
    max-width: 1160px;
    margin-top: 63px;
  }

  .join {
    padding-top: 60px;
    padding-bottom: 120px;
  }

  .join__title {
    margin-bottom: 48px;
  }

  .join__content {
    font-size: 32px;
  }

  .join__button {
    margin-top: 95px;
  }

  .features {
    padding-top: 30px;
    padding-bottom: 65px;
  }

  .features__title {
    margin-bottom: 48px;
  }

  .features__list {
    margin-bottom: -80px;
  }

  .features__item {
    margin-bottom: 80px;
  }

  .hero__title > span {
    margin-left: 100px;
  }

  .hero__button {
    margin-top: 80px;
  }

  .portfolio__buttons {
    margin-top: 48px;
  }

  .portfolio__buttons--grid {
    margin-top: 28px;
  }

  .portfolio__buttons--form {
    margin-top: 75px;
  }

  .user-page__body {
    padding: 40px;
  }

  .user-page__projects {
    margin-right: -20px;
    margin-left: -20px;
  }

  /* .user-page__project {
    width: calc(50% - 40px);
    margin-right: 20px;
    margin-left: 20px;
  } */

  .user-achievements__list {
    margin-right: -50px;
    margin-left: -50px;
  }

  .user-achievements__item {
    width: calc(33.3333333333% - 100px);
    margin-right: 50px;
    margin-left: 50px;
  }
}

@media only screen and (max-width: 1399.98px) {
  .container {
    --container-width: 1140px;
  }

  .page__body {
    font-size: 21px;
  }

  .title--sz-80 {
    font-size: 68px;
  }

  .title--sz-55 {
    font-size: 50px;
  }

  .title--sz-50 {
    font-size: 47px;
  }

  .auth {
    padding: 70px 0;
  }

  .auth__form-buttons {
    margin-top: 60px;
  }

  .achievement__image {
    max-width: 300px;
    margin-top: 28px;
    margin-bottom: 38px;
  }

  .achievement__image--big {
    max-width: 400px;
  }

  .profile {
    padding: 70px 0;
  }

  .profile__text {
    margin-top: 30px;
  }

  .profile__form {
    margin-top: 65px;
  }

  .profile__add-image {
    margin-right: 130px;
    margin-left: 100px;
    font-size: 26px;
  }

  .profile__textarea {
    font-size: 26px;
  }

  .profile__form-button {
    margin-top: 55px;
  }

  .join__title {
    margin-bottom: 42px;
  }

  .join__content {
    font-size: 29px;
  }

  .join__button {
    margin-top: 80px;
  }

  .features__title {
    margin-bottom: 42px;
  }

  .features__list {
    margin-bottom: -65px;
  }

  .features__item {
    max-width: 420px;
    margin-bottom: 65px;
  }

  .features__item-text {
    min-height: 200px;
  }

  .features__item-text br {
    display: none;
  }

  .hero__title > span {
    margin-left: 40px;
  }

  .portfolio__list {
    margin-right: -20px;
    margin-bottom: -40px;
    margin-left: -20px;
  }

  .portfolio__item {
    width: calc(33.3333333333% - 40px);
    margin-right: 20px;
    margin-bottom: 40px;
    margin-left: 20px;
  }

  .portfolio__buttons {
    margin-top: 42px;
  }

  .portfolio__buttons--grid {
    margin-top: 26px;
  }

  .portfolio__buttons--form {
    margin-top: 60px;
  }

  .portfolio__fields {
    max-width: 375px;
    margin-right: 35px;
  }

  .portfolio__fields .input:not(:last-child) {
    margin-bottom: 35px;
  }

  .user-page__about {
    height: 280px;
  }

  .user-page__nav {
    margin-top: 40px;
    padding: 25px 10px;
  }

  .user-page__nav li:not(:last-child) {
    margin-bottom: 25px;
  }

  .user-achievements__inner {
    padding: 40px 100px;
  }
}

@media only screen and (max-width: 1199.98px) {
  .container {
    --container-width: 960px;
  }

  .title--sz-80 {
    font-size: 60px;
  }

  .title--sz-65 {
    font-size: 55px;
  }

  .title--sz-60 {
    font-size: 52px;
  }

  .title--sz-55 {
    font-size: 44px;
  }

  .title--sz-50 {
    font-size: 44px;
  }

  .header {
    padding: 30px 0;
  }

  .header__search-btn {
    margin-right: 40px;
    margin-left: 40px;
  }

  .header__right {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
  }

  .header__user-nav .button {
    margin-right: 20px;
  }

  .auth {
    padding: 60px 0;
  }

  .auth__title {
    margin-bottom: 32px;
  }

  .auth__form-button {
    margin-top: 40px;
  }

  .auth__form-bottom {
    margin-top: 23px;
  }

  .achievement__title {
    margin-bottom: 32px;
  }

  .achievement__image {
    max-width: 250px;
    margin-top: 22px;
    margin-bottom: 22px;
  }

  .achievement__image--big {
    max-width: 350px;
  }

  .achievement__button {
    margin-top: 32px;
  }

  .team__list {
    flex-grow: unset;
    margin-top: 50px;
  }

  .team__item:nth-child(2n + 2) {
    align-self: auto;
    margin-top: 60px;
  }

  .team__button {
    margin-top: 40px;
  }

  .team-card__position {
    font-size: 1.2em !important;
    white-space: normal;
  }

  .profile {
    padding: 60px 0;
  }

  .profile__add-image {
    margin-right: 30px;
    margin-left: 0;
  }

  .join {
    padding-top: 50px;
    padding-bottom: 100px;
  }

  .join__title {
    margin-bottom: 35px;
  }

  .join__button {
    margin-top: 60px;
  }

  .features {
    padding-top: 25px;
    padding-bottom: 50px;
  }

  .features__title {
    margin-bottom: 35px;
  }

  .directions {
    padding-top: 22px;
    padding-bottom: 35px;
  }

  .directions__list {
    margin-top: 30px;
    margin-bottom: -40px;
  }

  .directions__item {
    max-width: 250px;
    margin-bottom: 40px;
  }

  .footer {
    padding: 30px 0;
  }

  .hero {
    padding: 60px 0 95px;
  }

  .hero__title > span {
    margin-left: 0;
  }

  .hero__button {
    margin-top: 60px;
  }

  .portfolio__top {
    margin-bottom: 30px;
  }

  .portfolio__buttons {
    margin-top: 35px;
  }

  .portfolio__buttons--grid {
    margin-top: 24px;
  }

  .portfolio__buttons--form {
    margin-top: 50px;
  }

  .portfolio__buttons-group .button:not(:last-child) {
    margin-right: 20px;
  }

  .portfolio__fields {
    max-width: 300px;
    margin-right: 30px;
  }

  .portfolio__fields .input:not(:last-child) {
    margin-bottom: 30px;
  }

  .user-page__name {
    font-size: 44px;
  }

  .user-page__body {
    padding: 40px 80px;
  }

  .user-page__project {
    width: calc(100% - 40px);
  }

  .user-achievements__inner {
    padding: 40px;
  }
}

@media only screen and (max-width: 991.98px) {
  .container {
    --container-width: 720px;
  }

  .page__body {
    font-size: 20px;
  }

  .title--sz-80 {
    font-size: 50px;
  }

  .title--sz-65 {
    font-size: 45px;
  }

  .title--sz-60 {
    font-size: 42px;
  }

  .title--sz-55 {
    font-size: 38px;
  }

  .title--sz-50 {
    font-size: 38px;
  }

  .header--user-page .header__inner {
    flex-direction: column;
  }

  .header {
    padding: 25px 0;
  }

  .header__user-nav {
    justify-content: center;
    margin-top: 20px;
  }

  .auth {
    padding: 50px 0;
  }

  .auth__form-buttons {
    margin-top: 60px;
  }

  .achievement {
    padding: 45px 0;
  }

  .team__list {
    flex-grow: unset;
    max-height: unset;
  }

  .team__item {
    width: calc(50% - 30px);
  }

  .team__item:nth-child(2n + 2) {
    margin-top: 20px;
  }

  .profile {
    padding: 50px 0;
  }

  .profile__text {
    margin-top: 25px;
  }

  .profile__form {
    margin-top: 55px;
  }

  .profile__add-image {
    font-size: 25px;
  }

  .profile__add-image span {
    width: 280px;
    height: 280px;
  }

  .profile__textarea {
    height: 230px;
  }

  .profile__textarea {
    font-size: 25px;
  }

  .profile__form-button {
    margin-top: 45px;
  }

  .join {
    padding-top: 40px;
    padding-bottom: 80px;
  }

  .join__title {
    margin-bottom: 30px;
  }

  .join__info {
    width: calc(100% - 40px);
  }

  .join__content {
    font-size: 27px;
  }

  .join__button {
    margin-top: 45px;
  }

  .join__image {
    order: -1;
    width: calc(100% - 40px);
  }

  .features {
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .features__title {
    margin-bottom: 30px;
  }

  .features__list {
    margin-bottom: -40px;
  }

  .features__item {
    max-width: 320px;
    margin-bottom: 40px;
  }

  .directions {
    padding-top: 20px;
    padding-bottom: 30px;
  }

  .directions__item {
    max-width: 200px;
  }

  .hero {
    padding: 50px 0 80px;
  }

  .hero__inner {
    flex-direction: column;
  }

  .hero__info {
    margin-right: 0;
    margin-bottom: 30px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero__button {
    margin-top: 50px;
  }

  .portfolio {
    padding: 30px 0;
  }

  .portfolio__top {
    margin-bottom: 25px;
  }

  .portfolio__item {
    width: calc(50% - 40px);
  }

  .portfolio__buttons {
    margin-top: 30px;
  }

  .portfolio__buttons--grid {
    margin-top: 22px;
  }

  .portfolio__buttons--form {
    margin-top: 40px;
  }

  .portfolio__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .portfolio__fields {
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 25px;
  }

  .portfolio__fields .input:not(:last-child) {
    margin-bottom: 25px;
  }

  .portfolio__grid-item span {
    font-size: 0.8em;
  }

  .user-page__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .user-page__aside {
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 30px;
  }

  .user-page__name {
    margin-bottom: 20px;
    font-size: 38px;
  }

  .user-page__about {
    height: 250px;
  }

  .user-page__nav {
    margin-top: 30px;
  }

  .user-page__main {
    align-self: auto;
  }

  .user-page__main .user-page__name {
    display: none;
  }

  .user-page__body {
    padding: 30px;
  }

  .user-page__project {
    width: calc(50% - 40px);
  }

  .user-achievements__list {
    margin-right: -20px;
    margin-left: -20px;
  }

  .user-achievements__item {
    width: calc(33.3333333333% - 40px);
    margin-right: 20px;
    margin-left: 20px;
  }
}

@media only screen and (max-width: 767.98px) {
  .container {
    --container-width: 540px;
  }

  .page__body {
    font-size: 18px;
  }

  .title--sz-80 {
    font-size: 40px;
  }

  .title--sz-65 {
    font-size: 35px;
  }

  .title--sz-60 {
    font-size: 33px;
  }

  .title--sz-55 {
    font-size: 32px;
  }

  .title--sz-50 {
    font-size: 32px;
  }

  .header {
    padding: 20px 0;
  }

  .header__search-btn {
    width: 22px;
    height: 22px;
    margin-right: 20px;
    margin-left: 20px;
  }

  .auth {
    padding: 40px 0;
  }

  .auth__title {
    margin-bottom: 24px;
  }

  .auth__form-button {
    margin-top: 30px;
  }

  .auth__form-bottom {
    margin-top: 20px;
  }

  .auth__form-link {
    font-size: 18px;
  }

  .auth__form-buttons {
    flex-direction: column;
    margin-top: 40px;
  }

  .auth__form-buttons .button:not(:last-child) {
    margin-right: 0;
    margin-bottom: 12px;
  }

  .achievement {
    padding: 40px 0;
  }

  .achievement__title {
    margin-bottom: 24px;
  }

  .achievement__image {
    max-width: 200px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .achievement__image--big {
    max-width: 250px;
  }

  .achievement__button {
    margin-top: 24px;
  }

  .team__list {
    margin-top: 40px;
  }

  .team__button {
    margin-top: 30px;
  }

  .team-card__name {
    margin-top: 15px;
  }

  .team-card__position {
    margin-top: 10px;
  }

  .profile {
    padding: 40px 0;
  }

  .profile__text {
    margin-top: 20px;
  }

  .profile__form {
    margin-top: 40px;
  }

  .profile__form-row {
    flex-direction: column;
  }

  .profile__add-image {
    margin-right: 0;
    margin-bottom: 30px;
    font-size: 23px;
  }

  .profile__textarea {
    font-size: 23px;
  }

  .profile__form-button {
    margin-top: 35px;
  }

  .join {
    padding-top: 30px;
    padding-bottom: 60px;
  }

  .join__title {
    margin-bottom: 25px;
    font-size: 32px;
  }

  .join__content {
    font-size: 25px;
  }

  .join__button {
    margin-top: 30px;
  }

  .features {
    padding-top: 15px;
    padding-bottom: 30px;
  }

  .features__title {
    margin-bottom: 25px;
  }

  .features__list {
    margin-bottom: -30px;
  }

  .features__item {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .features__item-text {
    min-height: 130px;
  }

  .directions {
    padding-bottom: 25px;
  }

  .hero {
    padding: 40px 0 70px;
  }

  .hero__button {
    margin-top: 40px;
  }

  .portfolio {
    padding: 35px 0;
  }

  .portfolio {
    padding: 25px 0;
  }

  .portfolio__top {
    margin-bottom: 20px;
  }

  .portfolio__subtext {
    margin-top: 15px;
  }

  .portfolio__list {
    margin-right: -10px;
    margin-bottom: -20px;
    margin-left: -10px;
  }

  .portfolio__item {
    width: calc(50% - 20px);
    margin-right: 10px;
    margin-bottom: 20px;
    margin-left: 10px;
  }

  .portfolio__buttons {
    flex-direction: column-reverse;
    margin-top: 25px;
  }

  .portfolio__buttons--grid {
    margin-top: 20px;
  }

  .portfolio__buttons--form {
    margin-top: 30px;
  }

  .portfolio__buttons-group {
    margin-bottom: 20px;
    margin-left: 0;
  }

  .portfolio__fields .input:not(:last-child) {
    margin-bottom: 20px;
  }

  .user-page__name {
    font-size: 32px;
  }

  .user-page__body {
    padding: 25px 10px;
  }

  .user-page__projects {
    margin-bottom: -20px;
  }

  .user-page__project {
    width: calc(100% - 40px);
    margin-bottom: 20px;
  }

  .user-achievements__inner {
    padding: 30px 15px;
  }

  .user-achievements__list {
    margin-right: -10px;
    margin-left: -10px;
  }

  .user-achievements__item {
    width: calc(50% - 20px);
    margin-right: 10px;
    margin-left: 10px;
    white-space: normal;
  }
}

@media only screen and (max-width: 575.98px) {
  .logo {
    max-width: 120px;
  }

  .header__inner {
    flex-direction: column;
  }

  .header__left {
    margin-right: 0;
  }

  .header__user-nav .button {
    padding-right: 20px;
    padding-left: 20px;
  }

  .team__item {
    width: calc(100% - 30px);
  }

  .team__item:nth-child(2n + 2) {
    margin-top: 0;
  }

  .team__button {
    margin-left: auto;
  }

  .directions__list {
    width: calc(100% + 20px);
    margin-right: -10px;
    margin-bottom: -20px;
    margin-left: -10px;
  }

  .directions__item {
    width: calc(50% - 20px);
    max-width: unset;
    margin-right: 10px;
    margin-bottom: 20px;
    margin-left: 10px;
  }

  .footer__nav {
    align-items: flex-start;
    width: 100%;
  }

  .portfolio__item {
    width: calc(100% - 20px);
  }

  .portfolio__buttons-group {
    flex-direction: column;
  }

  .portfolio__buttons-group .button:not(:last-child) {
    margin-right: 0;
    margin-bottom: 20px;
  }
}

/* azizdev */
.header.header--user-page {
  background: #fff;
}
.header__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
}
.header__right a {
  font-size: 24px;
}

.auth__form-register {
  margin: 20px auto 0;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.auth__form-register a {
  text-decoration: underline;
}

.search {
  padding: 60px 0;
}
@media screen and (max-width: 768px) {
  .search {
    padding: 40px 0;
  }
}
.search .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.search .text-4xl {
  font-size: 40px;
}
@media screen and (max-width: 768px) {
  .search .text-4xl {
    font-size: 24px;
  }
}
.search label {
  padding: 0 15px;
  margin-top: 30px;
  width: 680px;
  height: 45px;
  background: #ffffff;
  border: 1px solid #000000;
  border-radius: 78px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
@media screen and (max-width: 768px) {
  .search label {
    width: 100%;
  }
}
.search label input {
  margin-left: 10px;
  flex: 1 0 auto;
  outline: none !important;
  border: none !important;
}
.search__list {
  margin: 40px 0 60px;
  width: 100%;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 20px;
}
@media screen and (max-width: 640px) {
  .search__list {
    gap: 10px;
  }
}
.search__list a {
  width: 580px;
  height: 400px;
  overflow: hidden;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  border-radius: 20px;
}
@media screen and (max-width: 1440px) {
  .search__list a {
    width: calc(50% - 20px);
  }
}
@media screen and (max-width: 1024px) {
  .search__list a {
    width: 100%;
  }
}
@media screen and (max-width: 640px) {
  .search__list a {
    height: 260px;
  }
}
.search__list a img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.project .text-xl {
  padding: 10px;
  max-width: 740px;
  height: 52px;
  font-size: 20px;
  background: rgba(166, 192, 254, 0.5);
  border: 2px solid #5391ff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.project .text-lg {
  padding: 10px;
  max-width: 480px;
  height: 372px;
  font-size: 20px;
  background: rgba(166, 192, 254, 0.5);
  border: 2px solid #5391ff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.project .like {
  cursor: pointer;
  margin-top: 90px;
  padding: 0 25px;
  width: 280px;
  height: 50px;
  background: rgba(229, 111, 125, 0.28);
  border: 1px solid #e56f7d;
  border-radius: 132px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}
.project .like img:nth-child(2) {
  display: none;
}
.project .like.active img {
  display: none;
}
.project .like.active img:nth-child(2) {
  display: block;
}
.project .like .text-sm {
  font-size: 14px;
  text-transform: uppercase;
  margin-left: 20px;
}
@media screen and (max-width: 1024px) {
  .project .like {
    margin-top: 40px;
  }
  .project .text-lg {
    border-radius: 20px;
    min-height: 300px;
    height: auto;
    max-height: auto;
  }
}

.user-page__project-name {
  position: absolute;
  width: 290px;
  max-width: 95%;
  height: 28px;
  left: 50%;
  transform: translate(-50%, -50%);
  bottom: 0;
  font-size: 16px;
  background: #fad0c4;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.user-page__body {
  overflow: hidden;
}

.swiper-container {
  max-width: 1000px;
  height: 550px;
}
@media screen and (max-width: 540px) {
  .swiper-container {
    width: 100%;
    height: 560px;
  }
}
.swiper-container .swiper-slide {
  position: relative;
  height: 255px;
  max-width: 410px;
}
@media screen and (max-width: 540px) {
  .swiper-container .swiper-slide {
    width: 100%;
    max-width: 100%;
  }
}
