/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/* General settings / Variables */
:root {
  --max-width: 1280px;
  --max-content-width: 800px;
  --background: #53585c;
  --color-main: black;
  --grey: #c5c6c6;
  --light-grey: #f2f2f2;
  --padding-lr: 2rem;
}

.max-width {
  max-width: var(--max-width);
}
html {
  background-color: var(--background);
  color: var(--color-main);
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 16px;
  -webkit-hyphens: auto;
      -ms-hyphens: auto;
          hyphens: auto;
}

/* Font */
h1, h2, h3 {
  font-weight: 900;
  text-transform: uppercase;
  line-height: 2rem;
}
h1 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}
h2 {
  font-size: 1.3rem;
  margin-top: 1.2rem;
}
h3 {
  font-size: 1.2rem;
  margin-top: 1.1rem;
}
p, a {
  font-size: 1rem;
  line-height: 1.2rem;
}
p {
  margin-top: 1rem;
}

/* Main tags */
body {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
header,
main,
footer {
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  width: 100%;
}
header, footer {
  background-color: var(--grey);
  padding: 1rem var(--padding-lr);
}
main {
  background-color: var(--light-grey);
  padding: 1rem var(--padding-lr) 5rem;
  height: 100%;
}
footer {
  margin-top: auto;
  margin-bottom: 5rem;
}
.wrapper {
  max-width: var(--max-content-width);
  margin: 0 auto;
}
.logo {
  max-height: 5rem;
}
.featured {
  width: 100%;
  background-color: var(--light-grey);
}
.featured img{
  width: 100%;
  height: auto;
}

@media screen and (min-width: 600px) {
  :root {
    --padding-lr: 4rem;
  }
    
  /* Font */
  h1, h2, h3 {
    line-height: 2rem;
  }
  h1 {
    font-size: 2rem;
    margin: 5rem 0 2rem;
  }
  h2 {
    font-size: 1.7rem;
    margin-top: 1.5rem;
  }
  h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
  }
  p, a {
    font-size: 1.1rem;
    line-height: 1.3rem;
  }
  p {
    margin-top: 1rem;
  }
  
  /* Main tags */
  header, footer {
    padding: 1rem var(--padding-lr);
  }
  main {
    padding: 1rem var(--padding-lr) 5rem;
    height: 100%;
  }
  footer {
    margin-top: auto;
    margin-bottom: 5rem;
  }
  .logo {
    max-height: 5rem;
  }
  .featured {
    width: 100%;
  }
  .featured img{
    width: 100%;
    height: auto;
  }
  
}