body, input{
    background-color: #000;
    color: white;
    margin: 0;
    padding: 10px;
    font-family: sans-serif;
    font-size: 1.2rem;
}

input{
  width:100%; 
  border:none;
  background-color:#111111;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  flex: 60%;
  text-align:center;
  margin-right: 12px;
}

#navigation {
  background-color: #000000;  
  overflow: hidden;
    position: fixed;
    bottom: 0;
    left: 0;
    right:  0;
    display: flex;
    flex-wrap: no-wrap;
    text-align: center;
    padding: 20px;
    padding-right: 10px; 
}

button{
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background-color: #000000;
  height: 60px;
  border: none;
  font-weight: 400;
  color: #aaaaaa;
  flex: 20%;
}

#menu {
  background-color: #000000;
  width: 30%;
  height: 50px;
  border: none;
  font-weight: 600;
  border-radius: 10px;
  color: red;
  margin: 0 auto 0 auto;
}

h1 {
    color: #d4e024;
    margin: 0;
}


.postSubreddit {
  color: darkgray;
  margin: 0 0 6px 0;
  line-height: 1.4;
  font-size: 1rem;
  letter-spacing: 0.1em;
  font-style: italic;
}

.postPermalink {
  color: darkgray;
  margin: 6px 0 6px 0;
  line-height: 1.4;
}


p {
    margin: 0 0 10px 0;
    line-height: 1.4;
}

a {
    color: darkgray;
    display: block;
    text-decoration: none;
    line-height: 1.4;
}

.options {
    height: 39px;
    width: 100%;
    margin-top: 18px;
    margin-bottom: 6px;
}

.subreddit {
    height: 40px;
    width: 100%;
    padding-left: 6px;
}

#memes{
    height: auto;
    padding: 0;
    margin: 0 auto 150px auto;
    border-radius: 0px;
    /* max-width: 414px; */
}

#memes div {
    height: auto;
    display: block;
    padding: 20px 0;
    margin: 10px auto;
    border-bottom: 2px solid #15202B;
}

#memes div h4 {
    padding: 5px;
    text-align: center;
    background: none;
    color: white;
    margin: 0;
    border-radius: 8px;
}

.clearfix {
    overflow: auto;
}

.myImages{
    max-width: 100%;
    max-height: auto;
    border-radius: 0px;
    transition: 200ms;
}

.thumbnail{
    width: 100%;
    border-radius: 0px;
    transition: 200ms;
}

.nsfw {
    color: #d10023;
}

  
@keyframes zoom {
  from {
    transform: scale(0)
  }
  to {
    transform: scale(1)
  }
}

.close, .menuclose {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}

.modal {
  position: fixed;
  top:0;
  left:0;
  height:100%;
  width: 100%;
  z-index:101;
  background-color: #000000;
  color: #fff;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s, visibility 0s 0.5s;
}

.modal.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s;
}