@font-face {
  font-family: "Made Tommy";
  src: url("../assets/fonts/made-tommy-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Made Tommy";
  src: url("../assets/fonts/made-tommy-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Made Tommy";
  src: url("../assets/fonts/made-tommy-black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: #fdfbf7;
  color: #231f20;
  font-family: "Made Tommy", Arial, sans-serif;
  font-weight: 400;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 4rem);
}

button,
input,
textarea,
select {
  font: inherit;
}

h1 {
  font-weight: 900;
}

h2,
h3 {
  font-weight: 700;
}

p {
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.5;
}

/* HEADER */

.header {
  background-color: #fdfbf7;
}

.header__top {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.header__logo {
  color: #231f20;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.header__quote {
  position: absolute;
  right: clamp(1rem, 4vw, 4rem);
  padding: 0.75rem 1.75rem;
  border-radius: 100vw;
  background-color: #fb6a76;
  color: #fdfbf7;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.header__nav {
  border-top: 1px solid #d7d3ce;
}

.header__menu {
  min-height: 4.5rem;
  margin-block: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 6rem);
  list-style: none;
}

.header__menu a {
  color: #231f20;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.header__menu a:hover,
.header__menu a.active {
  color: #fb6a76;
}

.header__menu-button {
  display: none;
}

/* HERO */

.hero {
  min-height: calc(100svh - 9.5rem);
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fdfbf7;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../assets/images/hero-home.avif");
  background-position: center;
  background-size: cover;
  filter: grayscale(100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: rgb(0 0 0 / 40%);
}

.hero__content {
  display: grid;
  justify-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.hero h1 {
  max-width: 75rem;
  margin: 0;
  font-size: clamp(3rem, 6vw, 7rem);
  line-height: 0.95;
}

.hero__highlight {
  display: inline-block;
  padding: 0.05em 0.16em 0.08em;
  background-color: #fb6a76;
  transform: rotate(-1.5deg);
}

.hero p {
  margin: 0;
  font-size: clamp(0.9rem, 1.2vw, 1.25rem);
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.button {
  min-width: 17rem;
  padding: 1rem 2rem;
  border-radius: 100vw;
  background-color: #fb6a76;
  color: #fdfbf7;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.button--secondary {
  background-color: #fdfbf7;
  color: #231f20;
}

/* ABOUT */

.about {
  padding-block: clamp(7rem, 13vw, 13rem) clamp(5rem, 9vw, 9rem);
  text-align: center;
}

.about__content {
  display: grid;
  justify-items: center;
  gap: clamp(3rem, 6vw, 6rem);
}

.about h2 {
  max-width: 70rem;
  margin: 0;
  font-size: clamp(3rem, 6vw, 7rem);
  line-height: 0.95;
}

.about h2 span {
  width: fit-content;
  margin-inline: auto;
  padding: 0.08em 0.22em 0.12em;
  display: block;
  background-color: #ff6572;
  color: #fdfbf7;
  transform: rotate(-1deg);
}

.about p {
  max-width: 43rem;
  margin: 0;
  font-size: clamp(0.8rem, 0.7rem + 0.25vw, 1rem);
}

/* EXPERIENCES */

.experiences {
  padding-block: clamp(3rem, 6vw, 6rem) clamp(7rem, 12vw, 12rem);
}

.experiences__heading {
  margin-bottom: clamp(5rem, 9vw, 9rem);
  text-align: center;
}

.experiences__heading h2 {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  text-transform: uppercase;
}

.experiences__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.experience-card {
  padding-inline: clamp(2rem, 6vw, 7rem);
  display: grid;
  align-content: start;
  justify-items: center;
  text-align: center;
}

.experience-card + .experience-card {
  border-left: 1px solid #807d79;
}

.experience-card__image {
  width: 100%;
  max-width: 31rem;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
}

.experience-card__content {
  width: 100%;
  margin-top: clamp(2rem, 4vw, 4rem);
  display: grid;
  justify-items: center;
}

.experience-card h3 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  text-transform: lowercase;
}

.experience-card__type {
  width: fit-content;
  margin: 1.5rem 0 2.5rem;
  padding: 0.55rem 1.5rem;
  background-color: #ff6572;
  color: #fdfbf7;
  font-size: clamp(0.8rem, 1vw, 1rem);
  font-weight: 700;
  line-height: 1;
  transform: rotate(0.5deg);
}

.experience-card__description {
  min-height: 9rem;
  max-width: 31rem;
  display: grid;
  align-content: start;
  gap: 1rem;
}

.experience-card__description p {
  margin: 0;
}

.button--outline {
  min-width: unset;
  margin-top: 2.5rem;
  padding-inline: 2.5rem;
  border: 1px solid #231f20;
  background-color: transparent;
  color: #231f20;
  white-space: nowrap;
}

@media (max-width: 48rem) {
  .about h2 span {
    padding-inline: 0.15em;
  }

  .experiences__list {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .experience-card {
    padding-inline: 0;
  }

  .experience-card + .experience-card {
  padding-top: 5rem;
  border: 0;
}

  .experience-card__description {
    min-height: auto;
  }

  .button--outline {
    max-width: 100%;
  }
}