

html {
    font-family: 'Inter', sans-serif;
}

body {
    font-size: 15px;
    background-color: hsl(233, 47%, 7%);
}

aside {
    text-align: left;
    margin: 0 5% 0 0;
}

h1 {
    color: hsl(0, 0%, 100%);
    font-weight: 700;
    font-size: 30px;
}

h2 {
    color: hsla(0, 0%, 100%, 0.6);
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 400;
    font-size: 12px;
}

p {
    color: hsla(0, 0%, 100%, 0.75);
    font-weight: 400;
    line-height: 1.7 ;
}

span {
    color: hsl(277, 64%, 61%);
}

section {
    margin: 10% auto 10% auto;
    text-align: left;
    display: flex;
    flex-direction: row-reverse;
    border-radius: 20px;
}

.cover {
    background-size: contain;
    height: auto;
    border-radius: 0px 10px 10px 0;
    content:url("./img/image-header-desktop.jpg");
    filter: opacity(0.5) drop-shadow(0 0 0 hsl(277, 64%, 61%)) saturate(230%);
}

.description {
    border-radius: 10px 0px 0px 10px;
    padding: 40px 120px 20px 100px;
    background-color: hsl(244, 38%, 16%);
}

.stats {
    display: flex;
}

.attribution { color:hsl(0, 0%, 100%);  font-size: 11px; text-align: center; }

.attribution a { color: hsl(228, 45%, 44%); }


/* For desktop: */
@media only screen and (min-width: 600px) {
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}
}

@media only screen and (max-width: 600px) {
  /* For mobile phones: */
  [class*="col-"] {
    width: 100%;
  }

  .col-10 {
    width: 91.66%;
  }

  aside {
      text-align: center;
  }

  section {
      display: flex;
      flex-direction: column;
      text-align: center;
      box-sizing: border-box;
  }

  section .cover {
      content:url("./img/image-header-mobile.jpg");
      border-radius: 10px 10px 0px 0;
  }

  section .description {
    border-radius: 0px 0px 10px 10px;
    padding: 0px;
  }

  .stats {
    display: block;
  }
}
