@import url("https://fonts.googleapis.com/css?family=Montserrat");
body {
  padding: 0;
  margin: 0;
  font-family: "Montserrat", sans-serif; }

.wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 10px;
  grid-auto-rows: minmax(50px, auto); }

.navbar {
  grid-column: 1 / 6;
  grid-row: 1;
  background-color: rgba(0, 0, 0, 0.3); }

.two {
  grid-column: 2 / 6;
  grid-row: 2 / 4;
  background-color: rgba(163, 95, 95, 0.3); }

.three {
  grid-column: 1;
  grid-row: 2 / 6;
  background-color: rgba(102, 109, 79, 0.3); }

.four {
  grid-column: 3 / 6;
  grid-row: 4 / 6;
  background-color: rgba(57, 98, 136, 0.3);
  position: relative; }

.five {
  grid-column: 2;
  grid-row: 4 / 6;
  background-color: rgba(141, 46, 125, 0.3);
  border: 0.5px solid rgba(51, 51, 51, 0.363); }

.footer {
  grid-column: 1 / 6;
  grid-row: 6;
  height: 100px;
  background-color: rgba(226, 208, 41, 0.3); }

.topleft {
  position: absolute;
  top: 0;
  left: 0; }

.topright {
  position: absolute;
  top: 0;
  right: 0; }

.bottomleft {
  position: absolute;
  bottom: 0;
  left: 0; }

.bottomright {
  position: absolute;
  bottom: 0;
  right: 0; }

.two {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

.box {
  padding: 6px;
  font-size: 1vw; }

.box2 {
  border-radius: 10px;
  border-shadow: 2px 2px 6px #eee;
  padding: 50px;
  font-size: 150%; }

.box3 {
  background-color: #444;
  color: #fff;
  border-radius: 5px;
  padding: 20px;
  font-size: 150%; }

.boxshadow {
  position: relative;
  -moz-box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
  padding: 6px 8px 3px 6px;
  background: white; }

.boxshadow img {
  width: 100%;
  border: 1px solid #8a4419;
  border-style: inset; }

/* Make the image fit the box */
.boxshadow::after {
  content: '';
  position: absolute;
  z-index: -1;
  /* hide shadow behind image */
  -webkit-box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
  width: 90%;
  left: 5%;
  /* one half of the remaining 30% */
  height: 100px;
  bottom: 0; }

@media only screen and (max-width: 1024px) {
  .box {
    font-size: 1.2vw; } }

@media only screen and (max-width: 700px) {
  .box {
    font-size: 1.5vw; } }

@media only screen and (max-width: 400px) {
  .box {
    font-size: 2.6vw; } }
