@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin-inline: auto;
  margin-bottom: 0.6rem;

  &:not(:nth-of-type(1)) {
    margin-top: 3rem;
  }
}

a {
  color: black;
  margin-right: 0.2rem;
  font-size: 0.8rem;
}

ol {
  list-style-type: disc;
  padding-left: 1rem;
  margin-bottom: 3rem;
}

li {
  line-height: 1.6;
  margin-bottom: 0.6rem;

    span {
      padding-inline: 0.6rem;
      padding-block: 0.2rem;
      border-radius: 50px;
      color: white;
      display: inline-block;
      font-size: 0.5rem;
      text-transform: uppercase;
    }
}

@media screen and (min-width: 800px) {
  a {
    font-size:0.9rem;
    margin-right: 1rem;
  }

  li {
    line-height: 1.8;

    span {
      font-size: 0.6rem;
      letter-spacing: 0.6px;
    }
  }
}

.main-container {
  margin: 2rem auto 0;
  padding: 1rem;
  max-width: 800px;

  h1 {
    margin-bottom: 4rem;
  }
}

.container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding-inline: 1.8rem;
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  padding: 1.2rem 0.4rem;
  background-color: white;
  text-transform: uppercase;

  a {
    text-decoration: none;
    letter-spacing: 1px;
  }
}

.nav {
  background-color: white;
  position: sticky;
  padding: 1rem 0.8rem;
  bottom: 0;
  left: 0;
  width: 100%;
  gap: 2rem;
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  align-items: center;
      margin-top: 1rem;
    margin-bottom: 1rem;

  a:first-child,
  s:first-child {
    text-align: right;
  }

  a:last-child,
  s:last-child {
  text-align: left;
  }

  a,s {
    font-size: 0.7rem;
    letter-spacing: 0.6px;
  }
}

@media screen and (min-width: 600px) {
  .nav {
    justify-content: space-around;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}


.year {
  display: block;
  border-bottom: 1px solid rgb(197, 197, 197);
  padding-bottom: 0.4rem;
  margin-bottom: 1.4rem;
  font-size: 1.6rem;
}

h1 {
  font-size: 1.4em;
  margin-top: 3rem;
  margin-bottom: 0.4rem;
  font-weight: 300;
  padding-inline: 1rem;
  text-align: center;
}

h2 {
  text-align: center;
  text-transform: uppercase;
  font-weight: 900;
  background-color: rgb(34, 133, 247);
  color: white;
  padding: 1rem 1rem;
}

h3 {
  margin-top: 3rem;
}

.data {
  display: block;
  font-size: 0.8rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

p {
  font-size: 0.8rem;
  margin-top: 0.4rem;
  padding-inline: 1rem;
  font-weight: 300;
  letter-spacing: 0.4px;
  line-height: 1.6;
}

.lead {
  display: inline-block;
  font-size: 1rem;
  max-width: 850px;
  padding-inline: 1rem;
  line-height: 1.4;
  /* margin-top: 2rem; */

   &:first-of-type{
    margin-bottom: 4rem;
  }
}

@media screen and (min-width: 600px) {
  h1 {
    font-size: 2rem;
    margin-top: 6rem;
    margin-bottom: 1rem;
  }
  h2 {
    font-size: 3rem;
  }
  .data {
    font-size: 0.9rem;
  }
  p {
    font-size: 1rem;
    margin-bottom: 1.4rem;
    line-height: 1.8;
  }
  .lead {
    font-size: 1.2rem;
    line-height: 1.6;

    &:first-of-type{
      margin-bottom: 6rem;
    }
  }
}

/* Colors */
.green {
  background-color: rgb(36, 158, 67);
}
.dark-green {
  background-color: rgb(16, 119, 42);
}
.blue {
  background-color: rgb(34, 133, 247);
}
.red  {
  background-color: rgb(255, 94, 20);
}
.black {
  background-color: #333;
}