:root {
  --font-family: 'General Sans', sans-serif;

  --color-black: #000;
  --color-gray: #999;
  --color-dark-grey: #777;
  --color-white: #fff;
  --color-blue: #017FE4;
  --color-blue-light: #cee9ff;

  --border-radius-img-overview: 55px;

  --fs-xl: 5rem;
  --fs-md: 1.8rem;
  --fs-sm: 1.5rem;
  --fs-base: 1rem;

  --fw-number: 400;
  --fw-litle-titles: 600;
  --fw-section-title: 700;

  --spacing-section: 100px;
  --spacing-gap: 30px;
}

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

svg {
    shape-rendering: crispEdges;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-family);
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-width: none;
  /* Firefox */
}

body::-webkit-scrollbar {
  display: none;
  /* Chrome, Edge, Safari */
}

main {
  flex: 1;
}


/* --- Header + Menu --- */
header {
  position: fixed;
  z-index: 1000;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);

  width: 55%;

  text-align: center;
  font-weight: 400;

  border-radius: 35px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.menu-container-uxui {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.menu-item {
  color: var(--color-black);
  text-decoration: none;
  font-size: 18px;
  padding: 10px 20px;
  transition: color 0.3s ease;
}

.menu-item:is(:hover, .active) {
  text-decoration: underline 1.5px;
  text-underline-offset: 4px;
}


/* --- SECTIONS --- */

/* --- Section 1: Fullscreen Hero --- */
#home.project-section {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
}


/* --- Section 2: Overview + Disclaimer --- */
.disclaimer-overview-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 50px;
  padding: 60px 5%;
}

.column-left,
.column-right {
  flex: 1;
  margin-top: 5%;
}

.column-left {
  display: flex;
  justify-content: center;
}

.discliamer-overview-image {
  width: 80%;
  height: 660px;
  object-fit: cover;
  object-position: center top;
  border-top-left-radius: var(--border-radius-img-overview);
  border-top-right-radius: var(--border-radius-img-overview);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: block;
}

.column-right {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.text-block {
  background: var(--color-white);
  padding: 20px 0;
  line-height: 1.6;
}

.disclaimer-title,
.overview-title {
  font-size: var(--fs-md);
  font-weight: var(--fw-litle-titles);
  display: inline-block;
}

.text-block.disclaimer {
  margin-top: 2%;
}

.disclaimer-text,
.overview-text {
  display: block;
  line-height: 1.6;
}


/* --- Section 3: Process --- */
.process {
  padding: var(--spacing-section) 5%;
  background-color: var(--color-white);
  text-align: center;
}

.section3-title {
  font-weight: var(--fw-section-title);
  margin: 3% 0 60px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-gap) 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.grid-item {
  padding: 20px;
  text-align: left;
}


.item-title,
.number {
  font-size: var(--fs-sm);
  margin-bottom: 5px;
}

.item-title {
  font-weight: var(--fw-litle-titles);
}

.number {
  font-weight: var(--fw-number);
  color: var(--color-dark-grey);
  margin-bottom: 10px;
}

.item-text {
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--color-black);
}


/* --- Section 4: University Samples --- */
.section4 {
  background-color: var(--color-blue);
  padding: 5%;
}

.section4-title {
  font-weight: var(--fw-section-title);
  text-align: center;
  margin: 3% 0 60px;
}

.uni-samples-img {
  width: 80%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  padding: 0 3% 3%;
}


/* --- Section 5: Visuals --- */
.visuals {
  padding: var(--spacing-section) 5%;
  background-color: var(--color-white);
}

.section5-title {
  margin: -5% -3%;
}

.visuals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-gap) 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.font-example {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 5% 0 5px;
  padding: 5px;
  background-color: var(--color-blue);
  color: var(--color-white);
  width: 100%;
}

.logo {
  width: 80%;
  display: block;
  margin: 0 auto;
}

/* --- Section 6 + 7 + 8 + 9 + 10 + 11: Redesigns --- */
.section6,
.section7,
.section8,
.section9,
.section10,
.section11 {
  background-color: var(--color-blue-light);
  padding-bottom: 3%;
}

.section6-title,
.section-subtitle {
  font-weight: var(--fw-section-title);
  text-align: center;
  margin-bottom: 3%;
  padding-top: 3%;
}

.redesign-img {
  display: block;
  margin: 0 auto;
  width: 80%;
  padding: 0 3% 3%;
}

.redesign-img.login {
  width: 70%;
}

.redesign-img.profile {
  width: 50%;
}

.redesign-img.search-bar {
  width: 50%;
}

.redesign-img.results {
  width: 90%;
  margin-top: -5%;
}


/* --- Reflection --- */
.reflection {
  padding: var(--spacing-section) 5%;
  background-color: var(--color-white);
  margin-top: -3%;
}

.reflection-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-litle-titles);
  margin-bottom: 5px;
}

.reflection-text {
  font-size: var(--fs-base);
  line-height: 1.6;
  color: #333;
  width: 40%;
}

/* --- Footer --- */
.footer {
  width: 90%;
  margin: 0 5%;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-gray);
  text-align: left;
  border-top: 1px solid #eee;
  padding: 20px 0 32px;
}


/* --- RESPONSIVIDADE -  titulos --- */
.section3-title,
.section4-title,
.section5-title,
.section6-title,
.section-subtitle {
  font-size: clamp(2rem, 5vw, 5rem);
}

/* --- RESPONSIVIDADE --- */

/* Small desktops */
@media (min-width: 1025px) and (max-width: 1280px) {
  header {
    width: 70%;
    padding: 4px 0;
  }

  /* --- section 2 --- */
  .disclaimer-overview-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .text-block,
  .disclaimer-title,
  .overview-title,
  .disclaimer-text,
  .overview-text {
    text-align: left;
  }

  .text-block {
    max-width: 80%;
    margin: 0 0;
  }

  .overview-image,
  .discliamer-overview-image {
    display: none;
  }

  .column-left,
  .column-right {
    margin-top: 0%;
  }

  /* --- section 3 --- */
  .process-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 90%;
  }

  /* --- section 4 --- */
  .uni-samples-img {
    width: 95%;
  }

  /* --- section 4 + 5 --- */
  .visuals-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 90%;
  }

  .logo {
    width: 60%;
    margin-top: 2%;
  }

  /* --- sections 6 + 7 + 8 + 9 + 10 + 11 --- */
  .redesign-img.search-bar {
    margin-bottom: 3%;
  }

  .redesign-img.results {
    margin-bottom: 2%;
  }

  /* --- section 12 --- */
  .reflection-text {
    width: 80%;
  }
}


@media (min-width: 768px) and (max-width: 1024px) {
  header {
    width: 90%;
    padding: 0 5px;
  }

  .menu-container-uxui {
    gap: 10px;
    flex-wrap: wrap;
  }

  /* --- section 2 --- */
  .disclaimer-overview-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .column-left,
  .column-right {
    width: 90%;
    text-align: left;
    margin: 0 auto;
  }

  .discliamer-overview-image {
    display: none;
  }

  .text-block {
    text-align: left;
    max-width: 90%;
  }

  /* --- section 3 --- */
  .section3-title {
    margin: 0;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 90%;
  }

  /* --- section 4 --- */
  .uni-samples-img {
    width: 100%;
  }

  /* --- section 5 --- */
  .section5-title {
    margin: -7% 0;
  }

  .visuals-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 90%;
  }

  .logo {
    width: 50%;
  }

  /* --- section 6 + 7+ + 8 + 9 + 10 + 11 --- */

  .redesign-img {
    width: 95%;
  }

  .redesign-img.profile {
    width: 55%;
    margin: 0 auto;
  }

  .redesign-img.search-bar {
    margin-bottom: 5%;
  }

  .redesign-img.results {
    margin-bottom: 2%;
  }

  /* --- section 12 --- */
  .reflection-text {
    width: 85%;
  }
}

@media (min-width: 610px) and (max-width: 767px) {
  header {
    width: 90%;
    padding: 2px 0;
  }

  .menu-container-uxui {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
  }

  .menu-item {
    font-size: 14px;
    flex: 1;
    text-align: center;
    padding: 6px 2px;
  }

  /* --- section 2 --- */
  .disclaimer-overview-container {
    flex-direction: column;
    gap: 20px;
    padding: 30px 5%;
  }

  .discliamer-overview-image {
    display: none;
  }

  .text-block {
    max-width: 85%;
  }

  /* --- section 3 --- */
  .section3-title {
    font-size: 3rem;
    margin-top: 10%;
    text-align: center;
  }

  .process {
    padding: 50px 5%;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* --- section 4 --- */
  .section4-title {
    font-size: 3rem;
  }

  .uni-samples-img {
    width: 100%;
    margin-top: -5%;
  }

  /* --- section 5 --- */
  .section5-title {
    margin-top: 5%;
    font-size: 3rem;
  }

  .visuals {
    padding: 40px 5%;
  }

  .visuals-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .logo {
    width: 60%;
  }

  /* --- section 6 + 7+ 8 + 9 + 10 + 11 --- */
  .redesign-img {
    width: 90%;
  }

  .redesign-img.profile {
    width: 52%;
  }

  .redesign-img.random-hack {
    width: 85%;
  }

  /* --- section 12 --- */
  .reflection-text {
    width: 85%;
    text-align: left;
  }
}


/* Tablets */
@media (min-width: 481px) and (max-width: 609px) {
  .menu-container-uxui a[href="#visuals"] {
    display: none;
  }

  header {
    width: 90%;
    padding: 2px 0;
  }

  .menu-container-uxui {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
  }

  .menu-item {
    font-size: 14px;
    flex: 1;
    text-align: center;
    padding: 6px 2px;
  }

  .project-image {
    content: url("imgs/hero-320-479.svg");
  }

  /* --- section 2 --- */
  .disclaimer-overview-container {
    flex-direction: column;
    gap: 20px;
    padding: 30px 5%;
  }

  .discliamer-overview-image {
    display: none;
  }

  /* --- section 3 --- */
  .section3-title {
    font-size: 3rem;
    margin: 10% auto;
  }

  .process {
    padding: 50px 5%;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* --- section 4 --- */
  .section4-title {
    font-size: 2.2rem;
  }

  .uni-samples-img {
    width: 100%;
    margin-top: -5%;
  }

  /* --- section 5 --- */
  .section5-title {
    font-size: 3rem;
    margin: 0 auto;
  }

  .visuals {
    padding: 40px 5%;
  }

  .visuals-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .logo {
    width: 65%;
  }

  /* --- section 6 + 7 + 8 + 9 + 10 + 11 --- */
  .redesign-img {
    width: 90%;
  }

  /* --- section 12 --- */
  .reflection-text {
    width: 80%;
  }
}


/* Mobile */
@media (max-width: 480px) {

  .menu-container-uxui a[href="#visuals"],
  .menu-container-uxui a[href="#disclaimer_overview"] {
    display: none;
  }

  header {
    width: 90%;
    padding: 2px 0;
  }

  .menu-container-uxui {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
  }

  .menu-item {
    font-size: 14px;
    flex: 1;
    text-align: center;
    padding: 6px 2px;
  }

  .project-image {
    content: url("imgs/hero-smallest-one.svg");
  }

  /* --- section 2 --- */
  .disclaimer-overview-container {
    flex-direction: column;
    gap: 20px;
    padding: 30px 5%;
  }

  .discliamer-overview-image {
    display: none;
  }

  /* --- section 3 --- */
  .section3-title {
    font-size: 2.5rem;
    margin: 10% auto;
  }

  .process {
    padding: 50px 7%;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* --- section 4 --- */
  .uni-samples-img {
    width: 100%;
    margin-top: -10%;
  }

  /* --- section 5 --- */
  .section5-title {
    text-align: center;
    font-size: 2.5rem;
  }

  .visuals {
    padding: 40px 5%;
  }

  .visuals-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .logo {
    width: 85%;
  }

  /* --- section 6 + 7 + 8 + 9 + 10 + 11 --- */
  .section6-title {
    font-size: 2;
    margin-top: 3%;
  }

  .section-subtitle {
    font-size: 1.8rem;
  }

  .redesign-img { width: 90%; }

  /* --- section 12 --- */
  .reflection-text {
    width: 90%;
  }

  /* --- section 13 --- */
  .redesign-img.results {
    margin-top: -15%;
  }
}