*{box-sizing:border-box;}

body {
  font-family: Arial;
  margin: 0;
}

.navbar {
  display: flex;
  background-color: #333;
}

.navbar a {
  color: white;
  padding: 14px 50px;
  text-decoration: none;
  text-align: center;
}

.navbar a:hover {
  background-color: #ddd;
  color: black;
}

.row {  
  display: flex;
  flex-wrap: wrap;
}

.main {
  flex: 70%;
  background-color: white;
  padding: 20px;
}

.side {
  flex: 10%;
  background-color: #f1f1f1;
  padding: 20px;
}

.footer {
  padding: 80px;
  background: #ddd;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #333333;
  overflow: hidden;
  width: 0;
  height: 242px;
  transition: .5s ease;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.container:hover .overlay {
  width: 100%;
}

.text {
  white-space: nowrap; 
  color: white;
  font-size: 20px;
  position: absolute;
  overflow: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

div.polaroid {
  float: left;
  position: relative;
  width: 800px;
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin-bottom: 25px;
  margin-left: 50px;
  margin-top: 25px;
}

div.container {
  position: relative;
  text-align: center;
  padding: 10px 20px;
}

.fakeimg {
  background-color: #aaa;
  width: 100%;
  padding: 20px;
}

.chooser:link, .chooser:visited {
  background-color: white;
  color: black;
  border: 2px solid #333;
  padding: 5px 30px;
  margin-bottom: 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.chooser:hover, .chooser:active {
  background-color: #333;
  color: white;
}

@media screen and (max-width: 925px) {
  .row, .navbar {   
    flex-direction: column;
  }
}