/*! 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;
}

@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scale-reveal {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  50% {
    transform: scale(1) translate(-50%, -50%);
  }
}
* {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
@media (max-width: 900px) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: "Poppins", Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgb(10, 10, 10);
  background-color: rgb(250, 250, 250);
}

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

.loader {
  position: fixed;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  background: rgb(250, 250, 250);
  z-index: 1000;
}
.loader.animate {
  animation-name: fade-out;
  animation-duration: 0.3s;
  animation-timing-function: ease-in-out;
}
.loader .spinner {
  width: 48px;
  height: 48px;
  display: block;
  margin: 15px auto;
  position: relative;
  color: rgb(10, 10, 10);
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
.loader .spinner::after,
.loader .spinner::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  width: 24px;
  height: 24px;
  top: 50%;
  left: 50%;
  transform: scale(0.5) translate(0, 0);
  background-color: rgb(10, 10, 10);
  border-radius: 50%;
  animation: spinner 1s infinite ease-in-out;
}
.loader .spinner::before {
  background-color: rgb(110, 48, 123);
  transform: scale(0.5) translate(-48px, -48px);
}

.navbar {
  position: fixed;
  top: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  height: 60px;
  background-color: rgba(250, 250, 250, 0.8);
  backdrop-filter: blur(25px);
  border-bottom: 1px solid rgb(211.75, 211.75, 211.75);
  z-index: 999;
}
.navbar__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 80%;
}
@media (max-width: 900px) {
  .navbar__container {
    width: 90%;
  }
}
.navbar__brand {
  width: 30px;
  height: 30px;
}
.navbar__brand__image {
  height: 30px;
}
.navbar__content {
  display: flex;
  flex-direction: row;
  list-style: none;
}
@media (max-width: 900px) {
  .navbar__content {
    display: none;
  }
}
.navbar__item {
  position: relative;
  height: 60px;
}
.navbar__item::after {
  content: "";
  position: absolute;
  display: block;
  bottom: -1px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: rgb(110, 48, 123);
  transform: translateX(-50%);
  transition: width 0.3s ease-out;
}
.navbar__item:hover::after {
  width: 100%;
}
.navbar__link {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 400;
  height: 100%;
  padding: 0 20px;
}
.navbar__menu {
  visibility: hidden;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  gap: 45px;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  list-style: none;
  z-index: 1;
  transition: visibility 0.3s linear;
}
.navbar__menu::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: rgb(110, 48, 123);
  z-index: -1;
  transition: height 0.3s ease-out;
}
.navbar.open .navbar__menu::before {
  height: 100%;
}
@media (max-width: 900px) {
  .navbar__menu {
    display: inherit;
  }
  .navbar.open .navbar__menu {
    visibility: visible;
  }
}
.navbar__menu__item {
  font-size: 24px;
  font-weight: 500;
  color: rgb(250, 250, 250);
  text-transform: uppercase;
}
.navbar__menu__item:nth-child(1) {
  animation-delay: 0.15s;
}
.navbar__menu__item:nth-child(2) {
  animation-delay: 0.2s;
}
.navbar__menu__item:nth-child(3) {
  animation-delay: 0.25s;
}
.navbar__menu__item:nth-child(4) {
  animation-delay: 0.3s;
}
.navbar.open .navbar__menu__item {
  animation-name: fade-down;
  animation-duration: 0.3s;
  animation-timing-function: ease-out;
  animation-fill-mode: backwards;
}
.navbar__toggle {
  display: none;
  position: relative;
  top: 0;
  width: 30px;
  height: 20px;
  background-color: transparent;
  cursor: pointer;
  z-index: 2;
}
@media (max-width: 900px) {
  .navbar__toggle {
    display: inherit;
  }
}
.navbar__toggle__line {
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: rgb(10, 10, 10);
  transform: rotate(0);
  transition: transform 0.3s ease-out, top 0.3s ease-out, background-color 0.3s ease-out, opacity 0.3s ease-out;
}
.navbar__toggle__line:nth-child(1) {
  top: 0;
}
.navbar.open .navbar__toggle__line:nth-child(1) {
  top: 9px;
  background-color: rgb(250, 250, 250);
  transform: rotate(135deg);
}
.navbar__toggle__line:nth-child(2) {
  top: 9px;
}
.navbar.open .navbar__toggle__line:nth-child(2) {
  transform: scaleX(0);
  opacity: 0;
}
.navbar__toggle__line:nth-child(3) {
  top: 18px;
}
.navbar.open .navbar__toggle__line:nth-child(3) {
  top: 9px;
  background-color: rgb(250, 250, 250);
  transform: rotate(-135deg);
}

.page {
  display: flex;
  justify-content: center;
}
.page__container {
  width: 80%;
}
@media (max-width: 900px) {
  .page__container {
    width: 90%;
  }
}

.section {
  padding-top: 60px;
  margin: 40px 0;
}
@media (max-width: 900px) {
  .section {
    margin: 0;
  }
}
.section__title {
  padding: 10px 0;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .section__title {
    padding: 7px 0;
    font-size: 1.5rem;
  }
}
.section:last-child {
  padding-bottom: 100px;
}
@media (max-width: 900px) {
  .section:last-child {
    padding-bottom: 60px;
  }
}
@media (max-width: 600px) {
  .section:last-child {
    padding-bottom: 40px;
  }
}
.section--works .works__container {
  column-count: 3;
  gap: 1rem;
  line-height: 0;
}
@media (max-width: 900px) {
  .section--works .works__container {
    column-count: 2;
  }
}
@media (max-width: 600px) {
  .section--works .works__container {
    column-count: 1;
  }
}
.section--works .works__image {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}
@media (max-width: 600px) {
  .section--works .works__image {
    margin-bottom: 5vw;
  }
}
.section--works .works__image.animate {
  animation-name: scale-reveal;
  animation-duration: 0.3s;
  animation-delay: 0.3s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: backwards;
}

.footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: rgb(110, 48, 123);
  font-size: 14px;
  color: rgb(250, 250, 250);
}
.footer__container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr min-content;
  grid-template-rows: auto;
  grid-template-areas: "form form form form" ". . . contact";
  gap: 100px;
  width: 80%;
}
@media (max-width: 900px) {
  .footer__container {
    grid-template-columns: auto;
    grid-template-areas: "form" "contact";
    gap: 75px;
    width: 90%;
  }
}
.footer__section {
  display: block;
}
.footer__section--form {
  grid-area: form;
}
.footer__section--contact {
  grid-area: contact;
}
.footer__section--contact .contact__list {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 40px;
}
@media (max-width: 900px) {
  .footer__section--contact .contact__list {
    flex-direction: column;
  }
}
.footer__section--contact .contact__list__item {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
@media (max-width: 900px) {
  .footer__section--contact .contact__list__item {
    align-items: end;
  }
}
.footer__section--contact .contact__list__item--name {
  font-weight: bold;
}
.footer__section--contact .contact__list__item--email:hover {
  text-decoration: underline;
}
.footer__section--contact, .footer__section--pages {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
@media (max-width: 900px) {
  .footer__section--contact, .footer__section--pages {
    justify-self: flex-end;
  }
}
.footer__section:first-child {
  padding-top: 100px;
}
.footer__section:last-child {
  padding-bottom: 100px;
}
.footer__section__title {
  text-transform: uppercase;
  align-self: end;
}

.input,
.textarea {
  position: relative;
  display: block;
  width: 100%;
  max-width: 600px;
}
.input__field,
.textarea__field {
  width: 100%;
  color: rgb(250, 250, 250);
  background-color: transparent;
  padding: 15px;
  border: 2px solid rgb(250, 250, 250);
  transition: color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}
.input__field:-webkit-autofill, .input__field:-webkit-autofill:hover, .input__field:-webkit-autofill:focus,
.textarea__field:-webkit-autofill,
.textarea__field:-webkit-autofill:hover,
.textarea__field:-webkit-autofill:focus {
  -webkit-text-fill-color: rgb(250, 250, 250);
  -webkit-box-shadow: 0 0 0 40rem rgb(110, 48, 123) inset;
}
.input__field:focus,
.textarea__field:focus {
  outline: none;
  border: 2px solid rgb(250, 250, 250);
}
.input__field::placeholder,
.textarea__field::placeholder {
  visibility: hidden;
}
.input__field.error,
.textarea__field.error {
  color: rgb(250, 114, 114);
  border-color: rgb(250, 114, 114);
}
.input__label,
.textarea__label {
  position: absolute;
  top: calc(25px - 0.5rem - 1px);
  left: 15px;
  font-weight: 500;
  text-transform: uppercase;
  background: rgb(110, 48, 123);
  padding: 0 3px;
  cursor: text;
  transition: top 0.15s ease-out, font-size 0.15s ease-out;
}
.input__field:not(:placeholder-shown) + .input__label, .input__field:focus + .input__label, .textarea__field:not(:placeholder-shown) + .input__label, .textarea__field:focus + .input__label,
.input__field:not(:placeholder-shown) + .textarea__label,
.input__field:focus + .textarea__label,
.textarea__field:not(:placeholder-shown) + .textarea__label,
.textarea__field:focus + .textarea__label {
  top: -6px;
  font-size: 12px;
}
.input__field.error + .input__label, .textarea__field.error + .input__label,
.input__field.error + .textarea__label,
.textarea__field.error + .textarea__label {
  color: rgb(250, 114, 114);
}

.input__field {
  height: 50px;
}

.textarea__field {
  resize: none;
}

.button {
  align-self: flex-end;
  display: block;
  height: 50px;
  width: 100%;
  max-width: 200px;
  font-weight: 600;
  color: rgb(110, 48, 123);
  text-transform: uppercase;
  background-color: rgb(250, 250, 250);
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
  overflow: hidden;
}
.button span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  transition: transform 0.25s ease-in-out;
}
.button[status=submit] span {
  transform: translateY(-50px);
}
.button[status=sent] span {
  transform: translateY(-100px);
}
.button[status=error] {
  background-color: rgb(250, 114, 114);
}
.button[status=error] span {
  transform: translateY(-150px);
}

.form {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  width: 100%;
}
.form__title {
  text-transform: uppercase;
}

/*# sourceMappingURL=styles.css.map */
