/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

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

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

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

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

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

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

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

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

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

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

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

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

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

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

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

body {
  background-color: #1b1a17;
  color: #f0e3ca;
  font-family: "Inconsolata", monospace;
}

*, * > * {
  margin: 0;
  padding: 0;
}

ul, ol, li {
  list-style: none;
}

.container {
  max-width: 1245px;
  padding: 0 15px;
  margin: 0 auto;
}

a {
  text-decoration: none;
}
a:visited {
  color: #f0e3ca;
}

.context-title {
  font-size: 32px;
  font-weight: 700;
  color: #7a4cc6;
  text-transform: capitalize;
}

.burger {
  width: 48px;
  height: 48px;
  background-color: transparent;
  border: none;
  outline: none;
  z-index: 1;
  display: none;
  cursor: pointer;
}
.burger__line {
  position: relative;
  display: block;
  width: 36px;
  height: 4px;
  background-color: #f0e3ca;
}
.burger__line::before, .burger__line::after {
  content: "";
  position: absolute;
  display: block;
  width: 36px;
  height: 4px;
  background-color: #f0e3ca;
}
.burger__line::before {
  top: -10px;
  transition: transform 0.3s, top 0.3s 0.3s;
}
.burger__line::after {
  bottom: -10px;
  transition: transform 0.3s, bottom 0.3s 0.3s;
}
@media (max-width: 570px) {
  .burger {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.burger.active .burger__line {
  background-color: transparent;
}
.burger.active .burger__line::before {
  top: 0;
  transition: top 0.3s, transform 0.3s 0.3s;
  transform: rotate(45deg);
}
.burger.active .burger__line::after {
  bottom: 0;
  transition: bottom 0.3s, transform 0.3s 0.3s;
  transform: rotate(-45deg);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  background-color: rgba(255, 253, 253, 0);
  backdrop-filter: blur(5px);
}
.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20.5px 0;
}
@media (max-width: 768px) {
  .header__content {
    flex-direction: column;
    padding: 16px 0;
    row-gap: 16px;
  }
}
@media (max-width: 570px) {
  .header__content {
    flex-direction: row;
  }
}
.header .logo {
  z-index: 1;
}

@media (max-width: 570px) {
  .menu {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: -100vh;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #1b1a17;
    transition: top 0.3s;
  }
  .menu.open {
    top: 0;
  }
}

.menu__list {
  display: flex;
  gap: 64px;
}
@media (max-width: 570px) {
  .menu__list {
    flex-direction: column;
    align-items: center;
  }
}

.anchor-link {
  font-weight: 700;
  font-size: 20px;
  color: #f0e3ca;
  text-transform: capitalize;
}
.anchor-link:hover {
  color: #7a4cc6;
}

.welcome__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 72.5px 0;
}
@media (max-width: 1024px) {
  .welcome__content {
    flex-direction: column;
    row-gap: 64px;
    padding: 128px 0;
  }
}
@media (max-width: 425px) {
  .welcome__content {
    padding: 141.5px 0;
  }
}

.hero {
  max-width: 448px;
}
@media (max-width: 660px) {
  .hero {
    max-width: 314px;
  }
}
.hero__main-title {
  font-size: 64px;
  font-weight: 700;
  color: #7a4cc6;
  margin: 0 0 15px;
}
@media (max-width: 1024px) {
  .hero__main-title {
    margin: 0 0 4px;
  }
}
@media (max-width: 660px) {
  .hero__main-title {
    font-size: 40px;
  }
}
.hero__sub-title {
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 15px;
}
@media (max-width: 660px) {
  .hero__sub-title {
    font-size: 32px;
  }
}
.hero__discription {
  font-size: 20px;
  font-weight: 400;
}
@media (max-width: 660px) {
  .hero__discription {
    font-size: 24px;
  }
}

.avatar {
  width: 629px;
  height: 575px;
  position: relative;
  background-image: url(../img/welcome/avatar-background-desctop.png);
  background-repeat: no-repeat;
  background-size: contain;
}
@media (max-width: 660px) {
  .avatar {
    width: 413px;
    height: 430px;
    background-image: url(../img/welcome/mobile-background.png);
  }
}
.avatar__item {
  justify-content: center;
  width: 373px;
  height: 371px;
  border-radius: 53% 79% 100% 44%/52% 28% 100% 44%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media (max-width: 660px) {
  .avatar__item {
    width: 278px;
    height: 276px;
  }
}
.avatar__item--wraper-picture {
  overflow: hidden;
  z-index: 2;
}
.avatar__picture {
  width: 100%;
  object-fit: cover;
}
.avatar__item--under-first {
  background-color: rgba(240, 227, 202, 0.8);
  transform: translate(-50%, -50%) rotate(-24deg);
}
.avatar__item--under-second {
  background-color: rgba(123, 76, 198, 0.5019607843);
  transform: translate(-50%, -50%) rotate(30deg);
  z-index: 1;
}

.about-me__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 64px 0;
}
@media (max-width: 660px) {
  .about-me__content {
    flex-direction: column;
    align-items: center;
    text-align: justify;
  }
}
.about-me__discription {
  font-weight: 400;
  font-size: 24px;
  max-width: 904px;
}

.skills__content {
  padding: 64px 0;
}
.skills__content .context-title {
  text-align: center;
  margin-bottom: 32px;
}

.list-skills {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.card-skill {
  position: relative;
  border: none;
  width: 200px;
  height: 300px;
  background-color: transparent;
  cursor: pointer;
}
.card-skill__front, .card-skill__back {
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  transition: 0.5s;
  border-radius: 10px;
}
.card-skill__front {
  background-color: #1f1e1b;
  transform: perspective(600px) rotateY(0deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.card-skill__back {
  transform: perspective(600px) rotateY(180deg);
  background-color: rgba(123, 76, 198, 0.445);
  backdrop-filter: blur(5px);
}
.card-skill__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  color: #f0e3ca;
  font-size: 20px;
}
.card-skill__wrapper-icon {
  display: inline-block;
}
.card-skill__wrapper-icon--html, .card-skill__wrapper-icon--css {
  width: 114px;
  height: 128px;
}
.card-skill__wrapper-icon--js, .card-skill__wrapper-icon--git, .card-skill__wrapper-icon--scss {
  width: 128px;
  height: 128px;
}
.card-skill__wrapper-icon svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-skill__wrapper-title {
  font-size: 32px;
  color: #f0e3ca;
  font-family: Arial, Helvetica, sans-serif;
}
.card-skill__cross {
  width: 25px;
  height: 25px;
  display: inline-block;
  position: absolute;
  right: 7px;
  top: 7px;
  background-image: url(../img/icons/cross.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: 0.7s;
}
.card-skill__cross:hover {
  transform: rotate(360deg);
  cursor: pointer;
}
@media (max-width: 662px) {
  .card-skill {
    width: 285px;
    height: 60px;
  }
  .card-skill__front {
    flex-direction: row;
    padding: 0px 36px;
    justify-content: flex-start;
  }
  .card-skill__wrapper-icon--html, .card-skill__wrapper-icon--css {
    width: 28px;
    height: 32px;
  }
  .card-skill__wrapper-icon--js, .card-skill__wrapper-icon--git, .card-skill__wrapper-icon--scss {
    width: 32px;
    height: 32px;
  }
  .card-skill__wrapper-title {
    font-size: 24px;
  }
}

.card-skill.open {
  max-width: 400px;
  height: 300px;
  width: 95%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) !important;
  z-index: 6;
}
.card-skill.open .card-skill__front {
  transform: perspective(600px) rotateY(-180deg);
}
.card-skill.open .card-skill__back {
  transform: perspective(600px) rotateY(0deg);
}

.fade {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: transparent;
  z-index: -1;
  transition: background-color 0.7s, z-index 0.75s 0s;
}
.fade.open {
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 5;
  backdrop-filter: blur(5px);
}

.my-works__content {
  padding: 64px 0;
}
.my-works .context-title {
  text-align: center;
  margin-bottom: 32px;
}

.list-works {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.card-project {
  position: relative;
  overflow: hidden;
}
.card-project__about-project {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(33, 32, 29, 0.98);
  transition: 0.7s;
}
.card-project__title {
  width: 200px;
  border-bottom: 1px solid #7a4cc6;
  padding-top: 40.5px;
  padding-bottom: 16px;
  margin: 0 auto;
  text-align: center;
}
@media (max-width: 425px) {
  .card-project__title {
    padding-top: 29.5px;
  }
}
.card-project__title .context-title {
  margin-bottom: 16px;
}
.card-project__stack {
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px;
  line-height: 0.9;
}
.card-project__discription {
  width: 219px;
  margin: 0 auto;
  padding-top: 16px;
  padding-bottom: 40.5px;
}
.card-project__text {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}
.card-project__wrapper-link {
  text-align: center;
}
.card-project:hover .card-project__about-project {
  top: 0;
}

.link-project {
  font-size: 14px;
  font-weight: 500;
  background-color: #32312E;
  padding: 12px 20px;
  display: inline-block;
  border-radius: 4px;
}
@media (max-width: 425px) {
  .link-project {
    padding: 16px 24px;
    font-size: 18px;
  }
}

.footer__content {
  padding: 64px 0;
  display: flex;
  gap: 64px;
  justify-content: center;
  overflow: hidden;
}
@media (max-width: 768px) {
  .footer__content {
    flex-direction: column;
    align-items: center;
  }
}
.footer .logo {
  margin-bottom: 16px;
  width: 165px;
  display: inline-block;
}
@media (max-width: 768px) {
  .footer .logo {
    margin: 0 auto 16px;
    display: block;
  }
}
.footer .logo__image {
  width: 100%;
}

.invite__text {
  max-width: 213px;
  line-height: 1.1;
  font-size: 20px;
}
@media (max-width: 768px) {
  .invite__text {
    max-width: 339px;
  }
}

.contacts {
  max-width: 384px;
  margin-top: -10px;
}
.contacts .context-title {
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .contacts .context-title {
    text-align: center;
    font-family: Impact;
  }
}

.list-contacts-link {
  display: flex;
  gap: 32px;
  justify-content: space-between;
  flex-wrap: wrap;
}
@media (max-width: 425px) {
  .list-contacts-link {
    flex-direction: column;
  }
}
.link-social {
  display: flex;
  gap: 16px;
  align-items: center;
}
.link-social__icon {
  width: 32px;
  height: 32px;
}
.link-social__wrapper-text {
  font-size: 24px;
  color: #7a4cc6;
}

.application__content .context-title {
  text-align: center;
  margin-bottom: 32px;
}

.form {
  background-color: #1f1e1b;
  max-width: 500px;
  margin: 0 auto;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.form__item {
  width: 100%;
  margin: 0 auto 15px;
  position: relative;
}

.form__input {
  width: 100%;
  height: 40px;
  outline: none;
  background-color: inherit;
  border: none;
  border-bottom: 2px solid #7a4cc6;
  font-size: 24px;
  color: #f0e3ca;
}
.form__input:required:invalid:not(:focus):not(:placeholder-shown) {
  border-color: #7a4cc6;
}
.form__input:required:invalid:focus, .form__input:required:invalid:not(:placeholder-shown) {
  border-color: red;
}
.form__input:required:valid {
  border-color: green;
}

.form__placeholder {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  text-transform: capitalize;
  pointer-events: none;
  transition: 0.7s;
}
.form__placeholder--message {
  top: 10px;
  transform: translateY(0);
}
.form__placeholder.open {
  transform: translateY(-35px);
  opacity: 0.8;
}

.form__input--message {
  min-height: 40px;
  max-height: 300px;
  resize: vertical;
  margin-bottom: 25px;
}

.form__rules {
  margin-bottom: 30px;
  display: flex;
  gap: 8px;
}

.form__agree {
  font-size: 14px;
  line-height: 1.6;
}

.form__link-gw {
  background-color: rgba(123, 76, 198, 0.5019607843);
}

.form__submit {
  border-radius: 5px;
  padding: 10px 40px;
  margin: 0 auto;
  color: #f0e3ca;
  background-color: rgba(123, 76, 198, 0.5019607843);
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.3s;
}
.form__submit:hover {
  border-color: rgba(123, 76, 198, 0.5019607843);
  background-color: transparent;
}

.real-checkbox {
  width: 0;
  height: 0;
  opacity: 0;
  position: absolute;
  z-index: -1;
}

.custom-checkbox {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  border: 2px solid #7a4cc6;
  border-radius: 4px;
  margin-right: 5px;
  cursor: pointer;
}

.custom-checkbox::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 16px;
  height: 16px;
  background-image: url(../img/icons/accept.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.real-checkbox:checked + .custom-checkbox::before {
  transform: translate(-50%, -50%) scale(1);
}

.form__input::-webkit-scrollbar {
  width: 14px;
}

.form__input::-webkit-scrollbar-track {
  background: #32312E;
}

.form__input::-webkit-scrollbar-thumb {
  background-color: rgba(123, 76, 198, 0.5019607843);
  border-radius: 15px;
  border: 3px solid #32312E;
}

textarea::-webkit-resizer {
  width: 20px;
  height: 20px;
  display: block;
  background: url(../img/icons/ugol.svg) no-repeat center;
  background-size: 90%;
}

.reviews__content {
  padding: 64px 0;
}
.reviews__content .context-title {
  text-align: center;
  margin-bottom: 32px;
}

.slider {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}
@media (max-width: 768px) {
  .slider .context-title {
    font-size: 26px;
  }
}

.slider-hidden {
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: 0.4s;
}

.arrow {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
}
@media (max-width: 768px) {
  .arrow {
    display: none;
  }
}
.arrow svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.arrow .arrow-icon {
  fill: #f0e3ca;
  transition: fill 0.3s;
}
.arrow:hover .arrow-icon {
  fill: #7a4cc6;
}

.arrow-left {
  left: -50px;
}

.arrow-right {
  right: -50px;
}

.slider__slide {
  display: flex;
  gap: 12px;
  background-color: #1f1e1b;
  padding: 10px 0;
  border-radius: 10px;
  align-items: center;
  min-width: 100%;
  user-select: none;
  cursor: grab;
}
.slider__slide .context-title {
  margin-bottom: 5px;
}
@media (max-width: 768px) {
  .slider__slide {
    flex-direction: column;
  }
}

.slider__wrapper-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #7a4cc6;
  flex-shrink: 0;
}

.slider__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider__job {
  margin-bottom: 25px;
  font-size: 22px;
}
@media (max-width: 768px) {
  .slider__job {
    font-size: 18px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .slider__review {
    padding: 0px 10px;
    text-align: center;
  }
}

.button-pagination {
  width: 10px;
  height: 10px;
  background-color: #f0e3ca;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}
.button-pagination:hover {
  background-color: #7a4cc6;
}
.button-pagination.active {
  background-color: #7a4cc6;
  transform: scale(1.4);
}

.pagination {
  display: flex;
  align-items: center;
  gap: 7px;
  position: absolute;
  left: 50%;
  bottom: -25px;
  transform: translateX(-50%);
}/*# sourceMappingURL=main.css.map */