html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  font-family: "Google Sans Code", sans-serif;
  color: #302E2B;
}

* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

.page {
  width: 100%;
  height: 100svh;
  background: #FBF7EB;

  display: flex;
  flex-direction: column;
}




header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  height: 4rem;
  padding: 1.5rem;
  padding-bottom: 2rem;

  border-bottom: 1px solid #E6E4DF;
}

.header-logo {
  width: 4.8rem;
  height: auto;
}

.header-buttons-wrapper {
  display: flex;
  gap: 1rem;
}

.socials-button {
  background: transparent;
  border: none;
  font-size: 0.9rem;
  padding: 0.6rem 1rem;

  color: inherit;
  text-decoration: none;

  display: flex;
  gap: 0.5rem;
  align-items: center;
  transition: all 200ms ease-in-out;
}

.socials-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.socials-button:hover {
  color: #6B6863;
  cursor: pointer;
}

.resume-button {
  color: #ffffff;
  background: #CE5739;

  padding: 0.6rem 1rem;

  border-radius: 0.5rem;
  border: none;

  font-size: 0.9rem;
  transition: all 200ms ease-in-out;

  text-decoration: none;
}

.resume-button:hover {
  background: #E06242;
  cursor: pointer;
}





main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8rem;
}

.left-block,
.right-block {
  width: 540px;
  flex: 0 0 540px;
}

.left-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
}

.right-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-block {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;


}

.profile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profile-title {
  font-size: 2.6rem;
  color: #302E2B;

  margin: 0;
}

.profile-subtitle {
  font-size: 1.1rem;
  margin: 0;
}

.circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #435A43;
}

.stat-wrapper {
  font-size: 0.9rem;

}

.stat-title {
  color: #ADAAA0;
  margin: 0;
}

.stat-subtitle {
  margin: 0;
}

.stats {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  width: 240px;
}

.stats-row {
  display: flex;
}

.stats-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.story-button {
  width: fit-content;
  background: transparent;
  padding: 0.6rem 1rem;
  margin: 0;
  font-size: 1.1rem;
  border-radius: 0.6rem;
  border: 1px solid #B2B8A8;

  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #435A43;
  transition: all 200ms ease-in-out;

  color: inherit;
  text-decoration: none;

}

.story-button svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

.story-button:hover {
  border: 1px solid #435A43;
  color: #557055;
  cursor: pointer;
}




.project-card-wrapper {
  border-radius: 20px;

  width: 520px;
  height: 300px;

  display: flex;
  flex-direction: column;

  background: #EBE6D9;
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 1.3rem;

  width: 100%;
  height: 100%;

  border-radius: 16px;
  border: 1px solid #D9D6CD;

  color: inherit;
  text-decoration: none;

  background: #FBF7EB;
  transition: all 200ms ease-in-out;
}

.project-card:hover {
  border: 1px solid #C0BDB4;
  cursor: pointer;
}

.project-card-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.project-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.project-title {
  font-size: 1.5rem;
  margin: 0;
}

.project-subtitle {
  font-size: 0.9rem;
  color: #837F79;
  margin: 0;
}

.project-image {

  height: 160px;
  width: auto;

}

.project-tag-wrapper {
  display: flex;
  gap: 0.5rem;
}

.project-tag {
  margin: 0;
  display: flex;
  gap: 0.25rem;
  align-items: center;

  padding: 0.2rem 0.4rem;
  border-radius: 0.4rem;
  width: fit-content;
  font-size: 0.9rem;
  font-weight: 300;

  border: 1px solid #D9D6CD;
}

.tech-logo {
  width: 22px;
  height: 22px;
}

.site-link {
  margin: 0;
  padding: 0.6rem 1rem;
  font-size: 0.75rem;
  color: #837F79;

  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
  transition: all 200ms ease-in-out;

  color: inherit;
  text-decoration: none;
}

.site-link svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

.site-link:hover {
  color: #6B6863;
  cursor: pointer;
}

.socials-dropdown {
  position: relative;
}

.socials-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  background: transparent;
  border: none;
  font-size: 0.9rem;

  cursor: pointer;
}

.socials-menu {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  right: 0;

  display: none;
  flex-direction: column;
  gap: 1rem;

  min-width: 150px;
  padding: 0.75rem;

  background: #FBF7EB;
  border: 1px solid #E6E4DF;
  border-radius: 0.8rem;
}

.socials-menu a {
  color: inherit;
  text-decoration: none;
}

.socials-menu a:hover {
  opacity: 0.8;
}

.socials-dropdown.open .socials-menu {
  display: flex;
}

.social {
  display: flex;
  gap: 0.5rem;
}

.social-logo {
  width: 18px;
  height: 18px;

}







.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  height: 2rem;
  padding: 1.5rem 1rem;

  font-size: 0.9rem;
  color: #ADAAA0;
}

.footer p {
  margin: 0;
}

.footer-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.designer-link {
  display: flex;
  align-items: center;
  gap: 4px;

  font-style: italic;
  color: #302E2B;
}

.designer-link:hover {
  cursor: pointer;
  color: rgb(48 46 43 / 0.8)
}

.ansir-app {
  width: 1rem;
  height: 1rem;
}

.designer-link:hover .ansir-app {
  opacity: 0.8;
}



@media (max-width: 700px) {

  .page {
    min-height: 100svh;
    height: auto;
  }



  header {
    height: auto;
    padding: 1rem;
  }

  .header-logo {
    width: 5.5rem;
  }

  .header-buttons-wrapper {
    gap: 0.5rem;
  }

  .socials-button,
  .resume-button {
    font-size: 0.9rem;
    padding: 0.5rem 0.7rem;
  }



  main {
    flex-direction: column;
    align-items: stretch;
    gap: 4rem;

    padding: 3rem 1rem;
  }



  .left-block,
  .right-block {
    width: 100%;
    flex: none;
  }


  .profile-block {
    gap: 2.5rem;
  }

  .profile {
    gap: 0.8rem;
  }

  .profile-title {
    font-size: 2.4rem;
  }

  .profile-subtitle {
    font-size: 1.1rem;
    line-height: 1.5;
    max-width: 340px;
  }



  .stats-block {
    gap: 1.5rem;
  }

  .stats-row {
    gap: 1rem;
  }

  .stats {
    width: 50%;
  }

  .circle {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }




  .project-card-wrapper {
    width: 100%;
    height: auto;
  }

  .project-card {
    min-height: 320px;
    height: auto;
    padding: 1rem;
    color: inherit;
    text-decoration: none;
  }

  .project-tag-wrapper {
    flex-wrap: wrap;
  }

  .project-card-footer {
    align-items: flex-end;
  }

  .project-title {
    font-size: 1.5rem;
  }

  .project-subtitle {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .project-image {
    height: 160px;
    flex-shrink: 0;
  }


  .footer {
    height: auto;
    min-height: 3rem;
    padding: 1rem;
    margin-bottom: 5rem;

    font-size: 0.8rem;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
  }

  .footer-center {
    position: static;
    transform: none;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  header {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;

    width: 100%;
    height: auto;

    background: #FBF7EB;
    border-top: 1px solid #E6E4DF;
    border-bottom: none;
  }

}