/**
* Reset
**/

*,
*:before,
*:after {
  box-sizing: border-box;
}

/**
* Variables
**/

:root {
  --metric-rhythm: 2rem;
  --metric-interaction-padding: 0.6rem 0.6rem;
}

/**
* Base
**/

body {
  height: 100vh;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 45% 50%;
  grid-template-areas:
    "header side-image"
    "main side-image"
    "main side-image";
  background-image: url("/assets/img/bg-pattern-desktop_ohtovt.svg");
  background-size: 100% 100%;
}

/**
* Utilities
**/

.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: auto;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}



/**
* Header
**/

header {
  grid-area: header;
  height: 100px;
  padding-top: 3rem;
  padding-left: 10rem;
}

/**
* Side
**/

.side-image {
  grid-area: side-image;
  background-image: url("/assets/img/20251008150.03.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/**
* Main
**/

.main {
  grid-area: main;
  max-width: 800px;
  padding-left: 10rem;
}

h2 {
  font-size: 4rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  word-spacing: 100vw;
  line-height: 1.1em;
}

h2 .heading--pink {
  font-weight: 300;
  color: hsl(0, 36%, 70%);
  letter-spacing: 0.33em;
}

.main p {
  font-size:20px;    
  color: hsl(0, 36%, 70%);
  line-height: 1.5em;
  width: 49ch;
}

/**
 * ANIMATIONS
 */
@keyframes slide-up {
  0% {
    opacity: 0;
    transform: translateY(0.4rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/**
* Media Query
**/

@media (max-width: 1000px) {
  body {
    grid-template-columns: 100%;
    grid-template-areas:
      "header"
      "side-image"
      "main"
      "footer";
  }

  .side-image {
    min-height: 25rem;
    background-image: url("/assets/img/120251008150.03.jpg");
  }

  .main,
  header {
    padding: 2rem;
    width: 100vw;
    margin: 0 auto;
  }

  .main h2,
  .main p {
    text-align: center;
  }

  .main h2 {
    font-size: 3rem;
  }

  .main p {
    width: 98%;
    margin: 0 auto;
  }
}
