@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap");
h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 40px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: -1.14px;
}
@media (min-width: 768px) {
  h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 72px;
    line-height: 72px;
    font-weight: 700;
    letter-spacing: -2.05px;
  }
}
@media (min-width: 1024px) {
  h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 88px;
    line-height: 88px;
    font-weight: 700;
    letter-spacing: -2.5px;
  }
}

h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 40px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: -1.14px;
}
@media (min-width: 768px) {
  h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 72px;
    line-height: 72px;
    font-weight: 700;
    letter-spacing: -2.05px;
  }
}
@media (min-width: 1024px) {
  h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 88px;
    line-height: 88px;
    font-weight: 700;
    letter-spacing: -2.5px;
  }
}

h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

a {
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
  letter-spacing: 2.29px;
  text-transform: uppercase;
  text-decoration: none;
}

body {
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  letter-spacing: 0;
}
@media (min-width: 768px) {
  body {
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    letter-spacing: 0;
  }
}

.logo {
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: 0;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.site-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
}

body {
  background-color: #151515;
  color: #ffffff;
}

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

input[type=number] {
  -moz-appearance: textfield; /* Firefox */
  -webkit-appearance: none; /* Safari/Chrome */
  appearance: textfield; /* Standard */
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.hero-img {
  display: block;
  width: 174px;
  height: auto;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}
@media (min-width: 768px) {
  .hero-img {
    width: 322px;
    left: unset;
    transform: unset;
    right: 0;
  }
}
@media (min-width: 1024px) {
  .hero-img {
    width: 445px;
    height: 720px;
  }
}

.project-img {
  display: block;
  width: 100%;
  height: auto;
  grid-area: image;
}
@media (min-width: 1280px) {
  .project-img {
    grid-area: unset;
  }
}

.rings-header {
  position: absolute;
  top: 124px;
  left: -343px;
  z-index: 1;
  pointer-events: none;
}
@media (min-width: 768px) {
  .rings-header {
    top: 86px;
    left: -265px;
  }
}
@media (min-width: 1024px) {
  .rings-header {
    top: 133px;
    left: -100px;
  }
}

.rings-skills {
  position: absolute;
  pointer-events: none;
  top: 540px;
  right: -343px;
  z-index: 1;
}
@media (min-width: 768px) {
  .rings-skills {
    top: unset;
    bottom: 32.5px;
  }
}
@media (min-width: 1024px) {
  .rings-skills {
    bottom: 85px;
    right: -343px;
  }
}

.rings-form {
  position: absolute;
  pointer-events: none;
  top: 436px;
  left: -343px;
  z-index: 1;
}
@media (min-width: 1024px) {
  .rings-form {
    top: unset;
    bottom: 47px;
    left: -205px;
  }
}

.pattern-circle {
  position: absolute;
  top: 254px;
  right: -64.5px;
  pointer-events: none;
}
@media (min-width: 768px) {
  .pattern-circle {
    top: unset;
    bottom: 0;
    z-index: 10;
  }
}
@media (min-width: 1024px) {
  .pattern-circle {
    bottom: 70px;
    right: 380px;
  }
}

.social-link {
  color: #ffffff;
}

.social-link:hover {
  color: #4ee1a0;
}

.primary-btn {
  display: inline-block;
  color: #ffffff;
  position: relative;
  padding-bottom: 10px;
  transition: color 0.2s ease;
}

.primary-btn::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #4ee1a0;
  left: 0;
  bottom: 0;
}

.primary-btn:hover {
  color: #4ee1a0;
}

.separator {
  display: block;
  width: 100%;
  height: 1px;
  background-color: #ffffff;
}

button {
  border: none;
  outline: none;
  background: none;
  color: #ffffff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
  letter-spacing: 2.29px;
  text-transform: uppercase;
  padding-bottom: 10px;
  width: max-content;
  border-bottom: 2px solid #4ee1a0;
  justify-self: end;
  cursor: pointer;
  transition: color 0.2s ease;
}

button:hover {
  color: #4ee1a0;
}

button:focus-visible {
  outline-offset: 4px;
  outline: 1px solid #4ee1a0;
}

.social {
  list-style: none;
  display: flex;
  gap: 24px;
  align-items: center;
}

.social svg {
  display: block;
}

.tags {
  list-style: none;
  display: flex;
  gap: 18px;
  text-transform: uppercase;
  margin-top: 7px;
  margin-bottom: 20px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  letter-spacing: 0;
  color: #d9d9d9;
}

.project-preview {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas: "image" "details" "links";
  gap: 20px;
}
@media (min-width: 1280px) {
  .project-preview {
    grid-template-areas: unset;
    grid-template-rows: auto auto;
  }
}

.project-details {
  display: grid;
  gap: 7px;
  grid-area: details;
}
@media (min-width: 1280px) {
  .project-details {
    grid-area: unset;
  }
}

.project-links {
  display: flex;
  gap: 30px;
  grid-area: links;
}
@media (min-width: 1280px) {
  .project-links {
    grid-area: unset;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 48px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    visibility: hidden;
    transition: visibility 0.1s ease;
    pointer-events: auto;
  }
}

.preview-wrapper {
  display: contents;
}
@media (min-width: 1280px) {
  .preview-wrapper {
    display: block;
    position: relative;
    z-index: 100;
  }
}

.overlay {
  display: none;
}
@media (min-width: 1280px) {
  .overlay {
    display: block;
    width: 100%;
    height: 100%;
    inset: 0;
    position: absolute;
    transition: background-color 0.2s ease-in-out;
  }
}

@media (min-width: 1280px) {
  .preview-wrapper:hover .overlay {
    cursor: pointer;
    background-color: hsla(0, 0%, 0%, 0.75);
  }
}

@media (min-width: 1280px) {
  .preview-wrapper:hover .project-links {
    cursor: pointer;
    visibility: visible;
  }
}

#form {
  display: grid;
  gap: 32px;
}
@media (min-width: 1024px) {
  #form {
    max-width: 445px;
    width: 100%;
  }
}

input {
  width: 100%;
  padding: 0 24px 16px 24px;
  background-color: transparent;
  border: none;
  outline: none;
  border-bottom: 1px solid #ffffff;
  color: #ffffff;
  text-transform: uppercase;
  font-family: inherit;
}

input::placeholder {
  color: hsla(0, 0%, 100%, 0.5);
}

input:focus {
  border-bottom: 1px solid #4ee1a0;
}

textarea {
  width: 100%;
  height: 106px;
  resize: none;
  background-color: transparent;
  border: none;
  outline: none;
  padding: 0 24px 16px 24px;
  border-bottom: 1px solid #ffffff;
  color: #ffffff;
  font-family: inherit;
}

textarea::placeholder {
  color: hsla(0, 0%, 100%, 0.5);
  text-transform: uppercase;
}

textarea:focus {
  border-bottom: 1px solid #4ee1a0;
}

.input-group {
  display: grid;
  gap: 5px;
  position: relative;
}

.input-error {
  border-color: #ff6f5b;
}

.error-message {
  color: #ff6f5b;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: -0.17px;
  text-align: right;
}

.error-icon {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
}

header {
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  header {
    margin-bottom: 60px;
  }
}
@media (min-width: 1024px) {
  header {
    margin-bottom: 104px;
    height: 720px;
  }
}

.top-bar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 20px;
  position: relative;
  z-index: 3;
}
@media (min-width: 768px) {
  .top-bar {
    flex-direction: row;
    justify-content: space-between;
    padding: 29px 30px 0 30px;
  }
}
@media (min-width: 1024px) {
  .top-bar {
    max-width: 1174px;
    margin: 0 auto;
    padding: 39px 32px 0 32px;
  }
}

.highlight {
  display: inline-block;
  position: relative;
}

.highlight::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  background-color: #4ee1a0;
  bottom: -4px;
  left: 0;
  pointer-events: none;
}
@media (min-width: 768px) {
  .highlight::after {
    height: 6px;
    bottom: -6px;
  }
}

@media (min-width: 768px) {
  .break {
    display: block;
  }
}
@media (min-width: 1024px) {
  .break {
    display: unset;
  }
}

@media (min-width: 1024px) {
  h1 {
    max-width: 710px;
  }
}

.hero-content {
  padding: 0 16px;
  text-align: center;
  display: grid;
  gap: 24px;
  margin-top: 331px;
}
@media (min-width: 768px) {
  .hero-content {
    padding: 0 0 0 30px;
    text-align: left;
    gap: 60px;
    margin-top: 90px;
    position: relative;
    z-index: 4;
  }
}
@media (min-width: 1024px) {
  .hero-content {
    max-width: 1174px;
    margin: 0 auto;
    padding: 0 32px;
    gap: 43px;
    margin-top: 127px;
  }
}

.hero-text {
  display: grid;
  gap: 24px;
  justify-items: center;
}
@media (min-width: 768px) {
  .hero-text {
    justify-items: start;
    gap: 34px;
    width: 445px;
  }
}
@media (min-width: 1024px) {
  .hero-text {
    gap: 66px;
  }
}

#skills {
  padding: 0 16px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  z-index: 2;
}
@media (min-width: 768px) {
  #skills {
    padding: 0 30px;
    padding-bottom: 100px;
  }
}
@media (min-width: 1024px) {
  #skills {
    max-width: 1174px;
    margin: 0 auto;
    padding: 0 32px;
    padding-bottom: 140px;
    overflow: visible;
  }
}

.skills-container {
  display: grid;
  gap: 24px;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .skills-container {
    margin-top: 52px;
    margin-bottom: 0;
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
}
@media (min-width: 1024px) {
  .skills-container {
    margin-top: 72px;
    grid-template-columns: repeat(3, 1fr);
  }
}

.skills-container span {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: -1px;
}
@media (min-width: 768px) {
  .skills-container span {
    font-family: "Space Grotesk", sans-serif;
    font-size: 48px;
    line-height: 56px;
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 14px;
  }
}

@media (min-width: 768px) {
  .hide {
    display: none;
  }
}

#projects {
  padding: 0 16px;
  margin-bottom: 80px;
}
@media (min-width: 768px) {
  #projects {
    padding: 0 30px;
    margin-bottom: 100px;
  }
}
@media (min-width: 1024px) {
  #projects {
    max-width: 1174px;
    margin: 0 auto;
    padding: 0 32px;
    margin-bottom: 139px;
  }
}

.projects-container {
  display: grid;
  gap: 40px;
}
@media (min-width: 768px) {
  .projects-container {
    grid-template-columns: 1fr 1fr;
    row-gap: 60px;
    column-gap: 24px;
  }
}
@media (min-width: 1024px) {
  .projects-container {
    row-gap: 69px;
    column-gap: 30px;
  }
}

.projects-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
@media (min-width: 1024px) {
  .projects-heading {
    margin-bottom: 80px;
  }
}

#contact {
  background-color: #242424;
  position: relative;
  z-index: 2;
  overflow-x: hidden;
}

.contact-container {
  max-width: 445px;
  margin: 0 auto;
  padding: 60px 16px 87px 16px;
}
@media (min-width: 1024px) {
  .contact-container {
    max-width: 1174px;
    padding: 84px 32px 92px 32px;
    display: flex;
    justify-content: space-between;
  }
}

.contact-text {
  text-align: center;
  display: grid;
  gap: 20px;
  margin-bottom: 50px;
}
@media (min-width: 1024px) {
  .contact-text {
    width: 445px;
    text-align: left;
    gap: 36px;
    margin-bottom: 0;
    align-content: start;
  }
}

footer {
  background-color: #242424;
}

.footer-container {
  padding: 0 16px;
}
@media (min-width: 768px) {
  .footer-container {
    padding: 0 20px;
  }
}
@media (min-width: 1024px) {
  .footer-container {
    max-width: 1174px;
    margin: 0 auto;
    padding: 0 32px;
  }
}

.footer-row {
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: center;
  align-items: center;
  padding: 39px 0 60px 0;
}
@media (min-width: 768px) {
  .footer-row {
    flex-direction: row;
    justify-content: space-between;
    padding: 30px 0 40px 0;
  }
}
@media (min-width: 1024px) {
  .footer-row {
    padding: 47px 0 92px 0;
  }
}

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