body {
  margin: 0;
  padding: 0;
  font-family: 'Raleway', sans-serif;
  font-size: 1em;
  overflow: hidden;
  overflow-y: scroll;
}

.header-class {
  font-size:250%;
  font-weight:bold;
  margin: 0 auto;
  white-space: pre-wrap;

}

.container {
  padding: 10em 3em 3em 3em;
  /* height: calc(100% - 13em); */
}

.login-container {
  margin-top: -5em;
}

.gallery-container {
  display: flex;
  flex-flow: row wrap;
  column-gap: 0.5em;
  justify-content: space-evenly;
}

#header {
  display: flex;
  align-items: center;
  height: 7em;
  width: 100%;
  margin-bottom :1em;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  z-index: 999;
  background-color: white;
  transition: top 0.5s;
}

#avatar {
  position: absolute;
  align-items: center;
  margin:0em 3em;
}

#upload-el {
  float: right;
  align-items: center;
  margin:0em 3em;
}


#avatar-mask{
  display: inline-block;
  border-radius: 50%;
  overflow: hidden;
}

.card {
  /* Add shadows to create the "card" effect */
  transition: 0.3s;
  width: 18em;
  min-height: 21em;
  margin-top: 0.5em;
  margin-bottom: 0.25em;
}

/* On mouse-over, add a deeper shadow */
.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  opacity: 0.7;
}

/* Add some padding inside the card container */
.card-container {
  text-align: left;
  margin-left: 1em;
}

.card-container>h4 {
  line-height: 0;
}

.card-img {
  object-fit: cover;
  width:100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 1;
}

.card-img-overlay {
  position: absolute;
  background-size: contain;
  top:0;
  left:0;
  opacity: 0.4;
  width:100%;
  height:100%;
}

.list_object {
  width:100%;
  font-weight: bold;
  font-size:125%;
  padding:0em 2em;
}

.gallery-container div:last-child hr{
  display: none;
}

.list_right {
  position: absolute;
  background-color: white;
  width: 4em;
  margin: 0.25em 0em 0em -4em;
  text-align: right;
}

.list_left {
  width: 100%;
  position: relative;
  float:left;
  margin-bottom: 1em;
  margin-top: 0.25em;
}

.list_hr {
  background-color: silver;
  height: 1px;
  border: 0;
  width:100%;
}

@media screen and (max-width: 800px) {
  body {
    font-size: 0.66em;
  }
  .header-class {
    font-size: 150%;
    margin-left:5em;
  }
  .container {
    padding: 7em 0em 2em 0em;
    height: calc(100% - 7em);
  }

  .card {
    width: 16em;
  }

  #avatar {
    margin:0em 1.5em;
  }

  .login-container {
    margin-top: 0;
  }

  .list_object:first-child{
    margin-top: 1em;
  }
}

#progressOverlay {
  font-size: 24px;
  display: block;
  background-image: url(/data/assets/upload.svg);
  background-repeat: no-repeat;
  height: 2.5em;
  text-align: center;
  padding-top: 1em;
  font-weight: bold;
}

.drop-zone:hover,
.drop-zone.dragover {
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 50%;
}

.upload-el {
  width: 5em;
  height: 5em;
  margin-right: 3em;
}
