html {
  font-size: 62.5%;
}

:root {
  --clr-pri: hsl(233, 47%, 7%);
  --clr-sec: hsl(244, 38%, 16%);
  --clr-txt: hsla(0, 0%, 100%, 0.6);
  --clr-txt-sec: hsl(0, 0%, 100%);
  --clr-stat: hsla(0, 0%, 100%, 0.6);
  --clr-accent: hsl(277, 64%, 61%);
}

/*

.inter-<uniquifier> {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
*/

/*

.lexend-deca-<uniquifier> {
  font-family: "Lexend Deca", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
*/

body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-size: 1.5rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  background-color: var(--clr-pri);
  color: var(--clr-txt-sec);

  width: 100%;
  min-height: 100vh;
  padding: 2rem;
}

/*-----------CONTAINER AND CO-----------*/
main.container {
  background-color: var(--clr-sec);
  border-radius: .5rem;
  overflow: hidden;
  max-width: 35rem;
}

section.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;

  padding: 2.5rem 2rem;
  text-align: center;
}

section.content h1 {
  font-size: 1.65em;
  color: var(--clr-txt-sec);
}

section.content h1 span {
  color: var(--clr-accent);
}

section.content p {
  line-height: 1.6;
  margin: .5rem 0;
  font-size: 1.35rem;
  color: var(--clr-txt);
}

/*Metrics Wrappers and Articles*/
div.metrics-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1rem;
}

div.metrics-wrapper article {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

div.metrics-wrapper > :last-child {
  text-transform: uppercase;
}

div.data {
  font-size: 2.1rem;
  letter-spacing: .1rem;
  font-weight: 700;
  color: var(--clr-txt-sec);
}

div.descript {
  font-family: "Lexend Deca", sans-serif;
  text-transform: uppercase;
  letter-spacing: .1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--clr-stat);
}


/*-----------COMPONENTS---------*/
.hero-mobile img {
  width: 100%;
  position: relative;
  z-index: 1;
}

div.hero {
  position: relative;
  width: 100%;
  height: auto;
}

div.hero::after {
  content: "";
  background-color: var(--clr-accent);
  width: 100%;
  height: 98.8%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  opacity: .35;
}

.hero-desktop {
  display: none;
}

/*----------RESPONSIVE DESGIN---------*/
@media (min-width: 950px) {
  main.container {
    display: flex;
    max-width: 100rem;
    max-height: 40rem;
  }

  div.hero-desktop {
    display: block;
    width: 50%;
    height: 100%;
  }

  div.hero-mobile {
    display: none;
  }

  section.content, .hero-desktop {
    width: 100;
    text-align: left;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: 100%;
  }

  section.content {
    padding: 6rem 10rem 6rem 6rem;
    gap: 2rem;
    align-items: flex-start;
  }

  section.content h1 {
    font-size: 2em;
    color: var(--clr-txt-sec);
  }

  div.metrics-wrapper {
    margin-top: 5rem;
    width: 90%;
    flex-direction: row;
    justify-content: space-between;
  }
}

.attribution { 
  font-size: 11px; 
  text-align: center; 
}

.attribution a { 
  color: var(--clr-accent); 
}
