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


* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

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

  display: flex;
  flex-direction: column;
}


main {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.project-index {
  display: flex;
  flex-direction: column;
}

.code-line {
  font-size: 2rem;
}

.code-line-prop {
  font-size: 1.5rem;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  transition: all 100ms ease-in-out;
}

.code-line-prop.active {
  color: #CE5739;
}

.code-line-prop:hover {
  color: #CE5739;
}

.right-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 600px;
  flex: 1;
  overflow: hidden;
}

.right-block-wrapper {
  display: flex;
  flex-direction: column;
}

.left-block {
  min-width: 0;
  min-height: 0;
  flex: 1;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  padding: 8rem 0 8rem 0;
  background: #F5F0E3;

  overflow-y: auto;
  scroll-behavior: smooth;
}

.build-wrapper,
.stack-wrapper,
.features-wrapper,
.underTheHood-wrapper,
.shipped-wrapper,
.context-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 600px;
}

.build-wrapper,
.features-wrapper,
.stack-wrapper,
.shipped-wrapper,
.underTheHood-wrapper {
  margin-top: 8rem;
}

.build-title,
.stack-title,
.features-title,
.underTheHood-title,
.shipped-title,
.context-title {
  font-size: 1.8rem;
  margin: 0;
}

.build-message,
.stack-message,
.features-message,
.underTheHood-message,
.shipped-message,
.context-message {
  margin: 0;
  font-size: 0.9rem;
}

.features-wrapper img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.context-solution-wrapper,
.context-problem-wrapper {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
  gap: 0.5rem;
}

.context-solution-title,
.context-problem-title {
  margin: 0;
  text-transform: uppercase;
  font-size: 0.8rem;

  padding: 0.3rem 0.5rem;
  background: rgb(206 87 57 / 0.12);
  border-radius: 0.25rem;
  width: fit-content;

  color: #CE5739;
}

.context-solution-message,
.context-problem-message {
  margin: 0;
  font-size: 0.9rem;
}

.context-message-wrapper,
.context-solution-message-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.highlight {
  font-style: italic;
  font-weight: 500;
  color: #CE5739;
}

.techs-wrapper {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tech-tag {
  margin: 0;
  display: flex;
  gap: 0.5rem;
  align-items: center;

  padding: 0.5rem;
  border-radius: 0.7rem;
  width: fit-content;
  font-size: 0.9rem;
  font-weight: 300;
  border: 1px solid #D9D6CD;
}

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

.techcard-wrapper {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 1rem;

  background: #EFEADC;

  border: 1px solid #D9D6CD;
  border-radius: 1rem;
}

.techcard-title,
.techcard-app,
.techcard-subtitle {
  margin: 0;
  font-size: 0.9rem;
}

.techcard-app-wrapper {
  display: flex;
  flex-direction: column;

  gap: 0.5rem;
}

.techcard-subtitle {
  color: #837F79;
}

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

.link {
  font-size: 0.9rem;
  width: fit-content;
  display: flex;
  gap: 0.5rem;
  text-decoration: underline;
  color: inherit;
}

.link-logo {
  width: 20px;
  height: 20px;
}

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

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

.app-logo {
  width: 52px;
  height: 52px;
}





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

  width: 100%;
  height: 4rem;
  padding: 1.5rem;

  border-top: 1px solid #E6E4DF;
}

.back-button {
  background: transparent;
  border: none;

  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;

  color: inherit;
  text-decoration: none;
}

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



@media (max-width: 700px) {

  html,
  body {
    height: auto;
    overflow: auto;
  }

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

  main {
    flex-direction: column;
    min-height: auto;
  }

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

    width: 100%;
    height: auto;

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

  .right-block {
    order: -1;

    width: 100%;
    max-width: none;
    flex: none;

    padding: 2rem 1.5rem;
  }

  .left-block {
    width: 100%;
    min-height: auto;
    flex: none;

    padding: 4rem 1.5rem 6rem;

    overflow: visible;
  }
}