
.main {
  position: absolute;
  padding: 5px 5px 5px 5px;
  top: 96px;
  z-index: 0;
  left: 0px;
}

@media only screen and (min-width: 601px) {
  .main {
  margin-left: 160px; /* Same as the width of the sidenav */
  padding: 5px 50px 20px 5px;
  top: 112px;
  }
}

.containerMobile,
.container {
  position: relative;
  top: 0px;
  left: 0px;
  display: grid;
  column-gap: 40px;
  row-gap: 20px;
  grid-template-columns: calc(20% - 32px) calc(20% - 32px) calc(20% - 32px) calc(20% - 32px) calc(20% - 32px);
  background-color: white;
  padding: 0px;
}

@media only screen and (max-width: 600px) {
  .containerMobile {
    grid-template-columns: calc(100%);
    row-gap: 50px;
  }
}

@media only screen and (min-width: 600px) {
  .containerMobile {
    display: none;
  }
}

@media only screen and (max-width: 600px) {
  .container {
    display: none;
  }
}


@media only screen and (max-width: 1100px) {
  .container {
    grid-template-columns: calc(25% - 30px) calc(25% - 30px) calc(25% - 30px) calc(25% - 30px);
  }
}


@media only screen and (max-width: 1000px) {
  .container {
    grid-template-columns: calc(33.3333% - 26.666px) calc(33.333% - 26.666px) calc(33.333% - 26.666px);
  }
  .main {
  padding: 5px 5px 20px 5px;
  }
}

@media only screen and (max-width: 800px) {
  .container {
    grid-template-columns: calc(50% - 20px) calc(50% - 20px);
  }
}

@media only screen and (max-width: 600px) {
  .container {
    grid-template-columns: calc(100%);
  }
}

.container > div {
  background-color: white;
  border: 1px solid #ccc;
}

.containerMobile > div {
  background-color: white;
  border: 1px solid #ccc;
}

@media only screen and (min-width: 601px) {
  div.gallery:hover {
  border: 1px solid #777;
/*  background-color: #f2f7fc; */
  cursor: pointer;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }
}

@media only screen and (max-width: 600px) {
  div.gallery:hover {
  cursor: default;
  }
}

div.gallery {
  transition: 0.3s;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
}

.gallery  img.landscape {
  padding-top: 15px;
  width: 100%;
  Using object-fit: contain ;
  aspect-ratio: initial;
  height: auto;
}

div.desc {
  padding: 0px 5px 5px 5px;
  text-align: center;
  font-size: 16px;
}

@media only screen and (max-width: 600px) {
  div.desc {
  background-color: white;
  }
}

div.desc.smallfont {
  font-size: 14px;
}


.top_header {
  width: calc(100% - 210px);
}

@media only screen and (max-width: 1000px) {
.top_header {
  width: calc(100% - 160px);
}

@media only screen and (max-width: 600px) {
.top_header {
  width: 100%;
}


