html {
  height: 100%;
}

body {
  margin: 0px;
  background-color: #f2f5f8;
  min-height: 100%;

  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  background-color: white;
  height: 50px;
  box-shadow: 0 4px 10px #0002041C, 0 0 1px #0002040F;

  .logo {
    display: inline-flex;
    align-items: center;
    height: 100%;
    position: relative;
    left: 0;
    user-select: none;
    color: black;
    text-decoration: none;
    cursor: pointer;
    margin-left: 20px;
    font-weight: bold;
  }

  .rightBox {
    display: inline-flex;
    align-items: center;
    height: 100%;
    position: relative;
    right: 0;
    margin: auto 20px auto auto;
    box-sizing: border-box;
  }

  .component {
    display: inline-flex;
    align-items: center;
    height: 100%;
    position: relative;
    box-sizing: border-box;
    /*padding: 1em;*/
    border-radius: 0.5em;
    height: 60%;
  }

  .component:hover {
    animation: hover 0.5s both;
  }

  .userview>a,
  .component>a {
    color: black;
    text-decoration: none;
    padding: 1em;
  }
}

main {
  max-width: 1000px;
  width: 95%;
  margin: 1rem auto 1rem auto;
  background-color: white;
  box-sizing: border-box;
  padding: 2em;
  border-radius: 1em;
}

footer {
  background-color: white;
  position: relative;
  bottom: 0;
  margin-top: auto;
  height: 6vh;
  /*width: 100vw;*/
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

article {
  display: flex;
  overflow: hidden;
  max-width: 1000px;
  width: 95%;
  margin: 1rem auto 1rem auto;
  background-color: white;
  border-radius: 1em;

  picture>img {
    width: 400px;
    height: 100%;
  }

  >div {
    padding: 2em;
  }
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

@media(max-width: 480px) {
  article {
    flex-direction: column
  }
}

@keyframes hover {
  to {
    background-color: #f2f5f8;
  }
}

code {
  background-color: #f3f3f3;
  border-radius: 0.5em;
}

img {
  max-width: 100%;
}