@import url('https://fonts.googleapis.com/css?family=Rubik:500');
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@900&display=swap');

* {margin: 0; padding: 0}
html, body {height: 100%; margin: 0; background-color: rgb(50,50,50)}
canvas {outline: none; position: absolute; }
*,
*::before,
*::after 
{
  box-sizing: border-box;
}

dialog
{
  max-width: 90%;
  position: absolute;
  left: 50%;
  top: 50%;
  font-family: archivo;
  transform: translate(-50%, -50%);
  background-color: rgba(0,0,0,0.65);
  border-radius: 12px;
  border-width: 8px;
  border-color: rgba(255,255,255,0.65);
  padding: 20px 20px 20px 20px;
}

dialog::backdrop
{
  background-color: rgba(0,0,0,0.5);
}

label
{
  color: white;
  display: block;
  font-weight: bold;
  text-align: left;
  font-family: archivo;
  width: 100%;
  border-radius: 5px;
  height: 44px;
  line-height: 44px;
  font-size: 1.1em;
}

select
{
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  text-indent: 0.1;
  text-overflow: '';
  text-transform: none;
  line-height: 24px;
  vertical-align: middle;
  background-color: rgba(0,0,0,0.75);
  height: 54px;
  resize: none;
  font-family: archivo;
  padding: 15px;
  outline: none;
  border-radius: 12px;
  border-width: 2px;
  border-color: white;
  color: white;
  text-align: left;
  font-weight: bold;
  box-sizing: border-box;
  width: 100%;
  font-size: 1.1em;
}

input
{
  text-transform: none;
  line-height: 20px;
  vertical-align: middle;
  background-color: rgba(0,0,0,0.75);
  height: 44px;
  resize: none;
  font-family: archivo;
  padding: 15px;
  outline: none;
  border-radius: 12px;
  border-width: 2px;
  border-color: white;
  color: white;
  text-align: left;
  font-weight: bold;
  box-sizing: border-box;
  width: 100%;
  font-size: 1.1em;
}

textarea
{
  width: 90%;
  padding: 15px;
  line-height: 26px;
  vertical-align: middle;
  background-color: rgba(0,0,0,0.75);
  resize: both;
  font-family: archivo;
  outline: none;
  border-radius: 12px;
  border-width: 2px;
  border-color: white;
  color: white;
  text-align: left;
  font-weight: bold;
  font-size: 1.1em;
}

button
{
  font-family: archivo;
  text-align: center;
  font-size: 1.1em;
  font: copperplate;
  font-weight: bold;
  border: 13;
  border-radius: 8px;
  border-width: 2px;
  border-color: white;
  background-color: black;
  color: white;
  margin-top: 20px;
  margin-left: 0px;
  width: 25%;
  height: 44px;
}

select, option 
{
  width: 100;
  line-height: 20px;
}

option 
{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.centered
{
  text-align: center;
}

.comments
{
  text-align: center;
  color: white;
}

.masonry { /* Masonry container */
    -webkit-column-count: 4;
  -moz-column-count:4;
  column-count: 4;
  -webkit-column-gap: 1em;
  -moz-column-gap: 1em;
  column-gap: 1em;
   margin: 1.5em;
    padding: 0;
    -moz-column-gap: 1.5em;
    -webkit-column-gap: 1.5em;
    column-gap: 1.5em;
    font-size: .85em;
}
.item {
    display: inline-block;
    background: #fff;
    padding: 1em;
    margin: 0 0 1.5em;
    width: 100%;
  -webkit-transition:1s ease all;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-shadow: 2px 2px 4px 0 #ccc;
}
.item img{max-width:100%;}

@media only screen and (max-width: 320px) {
    .masonry {
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
    }
}

@media only screen and (min-width: 321px) and (max-width: 768px){
    .masonry {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
}
@media only screen and (min-width: 769px) and (max-width: 1200px){
    .masonry {
        -moz-column-count: 3;
        -webkit-column-count: 3;
        column-count: 3;
    }
}
@media only screen and (min-width: 1201px) {
    .masonry {
        -moz-column-count: 4;
        -webkit-column-count: 4;
        column-count: 4;
    }
}
