@font-face {
  font-family: "Graviola";
  src: url("https://hudsouza.github.io/fonts/Graviola-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Graviola";
  src: url("https://hudsouza.github.io/fonts/Graviola-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  font-family: "Graviola", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 500;

  color: #6e6e6e;
  background-color: #FFE8E9;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
}

#app {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

a {
  color: #FF6F72;
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: #ff5558;
}

h1 {
  font-size: 5rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  font-weight: 500;
  color: #FF6F72;
}

h2 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 900;
  color: #FF6F72;
}

h3 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 0.8rem;
  font-weight: 900;
  color: #FF6F72;
}

p {
  font-size: 1.8rem;
  line-height: 1.6;
  color: #6e6e6e;
}

/* Portfolio Page */
.portfolio {
  max-width: 900px;
  margin: 0 auto;
}

.portfolio-header {
  text-align: center;
  margin-bottom: 6rem;
  max-width: 100%;
}

.portfolio-header h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.title-small {
  font-size: 2rem;
  font-weight: 500;
}

.title-large {
  font-size: 6rem;
  font-weight: 500;
}

.intro-box {
  margin-top: 3rem;
  background: #ffffff;
  border-radius: 24px;
  padding: 4rem;
  box-shadow: 0 8px 32px rgba(255, 111, 114, 0.15);
  border: 1px solid rgba(255, 111, 114, 0.1);
  width: 100%;
  text-align: left;
}

.intro {
  font-size: 2rem;
  line-height: 1.8;
  color: #6e6e6e;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.company-logos {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 111, 114, 0.15);
}

.companies-label {
  font-size: 1.4rem;
  color: #999;
  margin-bottom: 2rem;
  font-weight: 400;
}

.logos-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
}

.company-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
  filter: grayscale(100%);
}

.company-logo:hover {
  opacity: 1;
  transform: scale(1.05);
  filter: grayscale(0%);
}

.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 5rem;
}

.project-card {
  background-color: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 16px rgba(255, 111, 114, 0.12);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255, 111, 114, 0.2);
}

.project-thumbnail {
  width: 45%;
  height: auto;
  overflow: hidden;
  background-color: #FFE8E9;
  flex-shrink: 0;
}

.project-thumbnail img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-thumbnail img {
  transform: scale(1.05);
}

.project-info {
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.project-info h3 {
  margin-bottom: 1.2rem;
}

.project-company {
  font-size: 1.6rem;
  color: #FF6F72;
  margin-bottom: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-description {
  font-size: 1.8rem;
  line-height: 1.7;
  color: #6e6e6e;
  margin-bottom: 2rem;
  flex: 1;
}

.view-more-link {
  font-size: 1.7rem;
  color: #FF6F72;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s ease;
}

.view-more-link:hover {
  gap: 1rem;
}

/* Project Detail Page */
.project-detail {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.back-link {
  display: inline-block;
  margin-bottom: 3rem;
  font-weight: 500;
  font-size: 1.8rem;
  transition: transform 0.2s ease;
}

.back-link:hover {
  transform: translateX(-4px);
}

.project-header {
  margin-bottom: 6rem;
}

.project-header h1 {
  margin-bottom: 2rem;
}

.project-intro-box {
  background-color: #FFF5F5;
  border-radius: 20px;
  padding: 4rem;
}

.project-label {
  font-size: 1.8rem;
  color: #6e6e6e;
  margin-bottom: 0.8rem;
  font-weight: 400;
}

.project-value {
  color: #333;
  font-weight: 600;
}

.project-intro {
  font-size: 2rem;
  line-height: 1.6;
  color: #6e6e6e;
  margin-top: 1.5rem;
}

.project-sections {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.project-section {
  width: 100%;
}

.project-section:last-child {
  margin-bottom: 3rem;
}

.project-section h2 {
  margin-bottom: 3rem;
  color: #333;
}

.section-content {
  font-size: 1.8rem;
  line-height: 1.7;
  color: #6e6e6e;
  margin-bottom: 3rem;
}

.section-content strong {
  color: #333;
  font-weight: 600;
}

.section-image {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 4px 16px rgba(255, 111, 114, 0.1);
  margin-bottom: 4rem;
}

.section-image img {
  width: 100%;
  height: auto;
  display: block;
}

.section-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, rgba(255, 111, 114, 0.3), rgba(255, 111, 114, 0.1), rgba(255, 111, 114, 0.3));
  margin-top: 6rem;
}

/* UI Screenshots Section */
.ui-screenshots {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 3rem;
}

.screenshot-item {
  width: 100%;
}

.screenshot-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 4px 16px rgba(255, 111, 114, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 1.5rem;
}

.screenshot-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 111, 114, 0.2);
}

.screenshot-image img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-caption {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #666;
  text-align: center;
  font-style: italic;
}

/* UI Screenshots Two Column Layout */
.ui-screenshots-two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.ui-screenshots-two-col .screenshot-image {
  background-color: #000000;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .ui-screenshots-two-col {
    grid-template-columns: 1fr;
  }
}

/* Other Projects Section */
.other-projects {
  /*margin-top: 6rem;*/
  padding-top: 6rem;
  border-top: 2px solid rgba(255, 111, 114, 0.2);
}

.other-projects h2 {
  margin-bottom: 3rem;
  text-align: center;
}

.other-projects-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.other-project-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 16px rgba(255, 111, 114, 0.12);
  display: flex;
  flex-direction: row;
  height: 260px;
}

.other-project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255, 111, 114, 0.2);
}

.other-project-card .project-thumbnail {
  width: 45%;
  height: auto;
  flex-shrink: 0;
}

.other-project-card .project-thumbnail img {
  min-height: 250px;
}

.other-project-card .project-info {
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.other-project-card h3 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.other-project-card .project-company {
  color: #FF6F72;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.other-project-card .project-description {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1.5rem;
}

.other-project-card .view-more-link {
  color: #FF6F72;
  font-weight: 600;
  font-size: 1.6rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  #app {
    padding: 3rem 2rem;
  }

  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.4rem;
  }

  h3 {
    font-size: 2rem;
  }

  .portfolio-header {
    margin-bottom: 4rem;
  }

  .title-small {
    font-size: 1.6rem;
  }

  .title-large {
    font-size: 4.2rem;
  }

  .intro-box {
    margin-top: 2rem;
    padding: 3rem 2.5rem;
  }

  .intro {
    font-size: 1.8rem;
  }

  .companies-label {
    font-size: 1.3rem;
    text-align: center;
  }

  .logos-container {
    gap: 2rem;
    justify-content: center;
  }

  .company-logo {
    height: 40px;
  }

  .projects-grid {
    gap: 3rem;
    margin-top: 4rem;
  }

  .project-card {
    flex-direction: column;
  }

  .project-thumbnail {
    width: 100%;
    height: 220px;
  }

  .project-info {
    padding: 2rem;
  }

  .project-info h3 {
    margin-bottom: 1rem;
  }

  .project-company {
    margin-bottom: 1rem;
  }

  .project-sections {
    gap: 4rem;
  }

  .project-description,
  .section-content {
    font-size: 1.6rem;
  }


  .project-intro-box {
    padding: 3rem 2.5rem;
  }

  .other-projects {
    margin-top: 2rem;
    padding-top: 3rem;
  }

  .other-projects h2 {
    margin-bottom: 2rem;
  }

  .other-projects-grid {
    gap: 2rem;
  }

  .other-project-card {
    flex-direction: column;
  }

  .other-project-card .project-thumbnail {
    width: 100%;
    height: 180px;
  }

  .other-project-card .project-thumbnail img {
    min-height: 180px;
  }

  .other-project-card .project-info {
    padding: 2rem;
  }

  .other-project-card h3 {
    font-size: 1.8rem;
  }

  .other-project-card .project-company {
    font-size: 1.2rem;
  }

  .other-project-card .project-description {
    font-size: 1.4rem;
  }

  .other-project-card .view-more-link {
    font-size: 1.4rem;
  }
}