@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;600&display=swap');

:root {
  --page_width: 45rem;
  --bg-color: #161514;
  --fg-color: #ffffff;
  --accent-color: #c595f5;
  --alphablock: rgba(255, 255, 255, 0.02);
}

* {
  font-family: 'Lexend', sans-serif;
  color: var(--fg-color);
}


body {
  position: relative;
  background: var(--bg-color);
  margin: 2rem 1rem 0 1rem;
  min-height: calc(100vh - 4rem); /* to keep footer at the bottom*/
  padding-bottom: 2rem;
}

p {
  color: white;
  text-align: justify;
  margin: 0;
  font-size: 1rem;
  font-weight: 300;
  hyphens: auto;
}

main {
  max-width: calc(var(--page_width)) ;
  margin: auto;
  margin-bottom: 5rem;
}

main > p {
  margin: 0 0.5rem;
}

main a {
  color: var(--accent-color);
  text-decoration: underline;
  font-weight: normal;
}

footer {
  position: absolute;
  width: 100%;
  bottom: 0;
}

footer p {
  margin-bottom: 1rem;
  text-align: center;
  font-size: 0.8rem;
}

#error {
  background:var(--accent-color);
  padding: 2rem;
  border-radius: 5px;
}

@media screen and (max-width: 645px) {
  #education section img {
    display: none;
  }
}