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;
}

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;
}

article picture>img{
  width: 400px;
  height: 100%;
}

article>div {
  padding: 2em;
}

header .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;
}

header .rightBox{
  display: inline-flex;
  align-items: center;
  height: 100%;
  position: relative;
  right:0;
  margin: auto 20px auto auto;
  box-sizing: border-box;
}
header .component{
  display: inline-flex;
  align-items: center;
  height: 100%;
  position: relative;
  box-sizing: border-box;
  /*padding: 1em;*/
  border-radius: 0.5em;
  height:60%;
}
header .component:hover{
  animation: hover 0.5s both;
}

header .userview>a,
header .component>a{
  color:black;
  text-decoration: none;
  padding: 1em;
}

@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%;
}