.item1 { grid-area: header; }
.item2 { grid-area: menu; }
.item3 { grid-area: main; }
.item5 { grid-area: footer;}
.custom-file-input::-webkit-file-upload-button {
  visibility: hidden;
}
.custom-file-input::before {
  content: 'select photos';
  display: inline-block;
  background: linear-gradient(top, #f9f9f9, #e3e3e3);
  border: 1px solid #999;
  border-radius: 3px;
  padding: 5px 8px;
  outline: none;
  white-space: nowrap;
  -webkit-user-select: none;
  cursor: pointer;
  text-shadow: 1px 1px #fff;
  font-weight: 700;
  font-size: 10pt;
}
.custom-file-input:hover::before {
  border-color: black;
}
.custom-file-input:active::before {
  background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}
.preview-area{ 
  display: flex;
  flex-wrap: wrap;
}
.preview-area img{
  width: 24%;
  margin: 0 0 10px;
  object-fit: contain;
}
.preview-area img:not(:nth-child(4n)){
  margin-right: 1.333%;
}
.grid-container {
  display: grid;
  grid-template-areas:
  'menu header header    '
  'menu main main   '
  'menu footer footer   ';
  grid-template-columns: 4% 90%   ;
  grid-template-rows: 9% 90%  ;

}

.grid-container > div {
  background-color: rgba(255, 255, 255, 0.404);
  text-align: center;
  padding: 0px 0;
  font-size: 30px;
}
.container2 {
    padding: 0px  5% 0px  10%;
}
.input-res
{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font: 15px/1 'Open Sans', sans-serif;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 80%;
  max-width: 500px;
  background-color: rgb(255, 255, 255);
  border: none;
  padding: 10px 11px 11px 11px;
  border-radius: 3px;
  box-shadow: none;
  outline: none;
  margin: 0;
  box-sizing: border-box; 
}
