* {
  margin: 0;
  padding: 0;
}

#blog-grid {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
}

#blog-wrapper {
  width: 80%;
  height: 60vh;
  margin-bottom: 10vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.blog-photo {
  width: 300px;
  height: 200px;
  margin-left: 20px;
  margin-right: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  position: relative;
}

.blog-photo img {
  max-width: 100%;
  max-height: 100%;
  transition: width 0.4s 0.1s, height 0.7s 0.1s;
}

.blog-photo:before {
  overflow: hidden;
  content: attr(data-city);
  width: 300px;
  height: 200px;
  background: #fff;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 700;
  transform: translateY(-30px);
  position: absolute;
  transition: all 0.4s;
}

.blog-photo:after {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  content: attr(data-description);
  width: 300px;
  height: 200px;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 600;
  transform: translateY(40px);
  position: absolute;
  transition: all 0.4s;
}

.blog-photo:hover:before,
.blog-photo:hover:after {
  transform: translateY(0);
  opacity: 0.7;
}

.blog-photo:hover:after {
  transform: translateY(15px);
}

#left-bar {
  width: 20%;
  height: 60vh;
  margin-bottom: 10vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

#top-bar {
  width: 100%;
  height: 20vh;
  margin-bottom: 10vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  margin-left: 10vw;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 35px;
}
nav ul {
  padding-left: 0;
  display: flex;
  margin: 20px 0;
}
nav ul a {
  z-index: 99;
  position: relative;
  font-size: 12px;
  text-decoration: none;
  margin: 0 40px 0 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #404e4d;
  transition: all 0.4s;
  display: flex;
  justify-content: center;
  cursor: pointer;
}
nav ul a:before {
  position: absolute;
  width: 0;
  height: 24px;
  bottom: -5px;
  content: "";
  border-bottom: 1px solid #404e4d;
  transition: all 0.4s;
  opacity: 0;
}
nav ul a:hover:before {
  width: 100%;
  transition: all 0.4s;
  opacity: 1;
}

.collect {
  z-index: 999;
  align-self: center;
  color: #333;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  position: relative;
  margin: 20px;
  display: flex;
  justify-content: center;
  cursor: pointer;
}
.collect:before {
  z-index: 100;
  position: absolute;
  left: 0;
  width: 0;
  height: 10px;
  bottom: -5px;
  content: "";
  background: linear-gradient(45deg, #70e1f5, #ffd194);
  transition: all 0.4s;
  opacity: 0.2;
}
.collect:hover:before {
  width: 100%;
  transition: all 0.4s;
}
