body {
  padding-bottom: 6%; /* allows space for the footer */
  max-width: 100%; /* side scrolling on index.html for some reason, this should fix it */
  overflow-x: hidden; /* cuts off the search bar on mobile, but it's mobile so nobody cares */
}

.articleThumbnail {
  align: center;
  width: 100%;
}

#title {
  width: 100%;
}

#leftAd {
  position: sticky;
}

#rightAd {
  position: sticky;
}

#leftAd img {
  align-items: center;
}

#rightAd img {
  align-items: center;
}

#articleContainer {
 align-content: center;
}

small {
  color: grey;
}

#moreArticleContainer {
  background-color: #dedede;
  margin-left: 10%;
  margin-right: 10%;
  margin-top: 60px;
}

#moreArticles { /* this is the div, not the actual article link*/
  margin-left: 2%;
  margin-right: 2%;
}

#moreArticle { /* article link, not div */
  margin-top: 10%;
}

.identifier {
  font-size: small;
  font-family: 'American Typewriter', serif;
}

.profile {
  float: left;
}

.indent {
    text-indent: 2%;
}

.grey {
    color: grey;
    text-decoration: none;
    font-weight: bold;
}

.prolife {
  height: 250px;
}

.istgifthisworks {
  display: flex;
  justify-content: center;
}

#annoying {
  position: sticky;
  width: 95%;
  height: 95%;
  align: center;
}

#copyright {
  align: center;
  width: 100%;
  height: 100%;
  background-color: lightgrey;
  font-size: 80%;
}

.alert {
  padding: 20px;
  background-color: darkslategrey; 
  color: white;
  margin-bottom: 15px;
}

.alert2 {
  padding: 0px;
  background-color: transparent; 
  color: black;
  margin-bottom: 15px;
}

.alert4 {
  padding: 0px;
  background-color: transparent; 
  color: black;
  margin-bottom: 15px;
}

.alert5 {
  padding: 0px;
  background-color: transparent; 
  color: black;
  margin-bottom: 15px;
}

.closebtn {
  margin-left: 15px;
  color: black;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
} /*stealing my stolen code */
/* Not stealing, just permanent borrowing */

#footerimage {
  height: 50px;
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: lightgrey;
  color: black;
  text-align: center;
  line-height: 50px;
  vertical-align: middle;
} 

.writerGrid a {
  text-decoration: none;
  color: black;
}

#big {
  font-size: 500%;
}
.vertical-center {
    top: 50%;
}

.aboutus {
   align-content: center;
}

smaller {
  font-size: 12px;
  color: grey;
}

.indexAd {
  margin-bottom: 10%;
}

.search {
  text-align: right;
  margin-right: 9%;
  margin-top: 1%;
  margin-bottom: 1%;
}

.rt {
 background-color: #6fa8dd;
 word-wrap: break-word;
 border-radius: 10px;
 width:20%;
 margin-left: 65%;
  margin-top: 1%;
  margin-bottom: 1%;
  left: 0;
  bottom: 0;
  text-align: center;
  line-height: 50px;
  vertical-align: middle;
}

.lt {
 background-color: #efefef;
 word-wrap: break-word;
 border-radius: 10px;
 width:20%;
 margin-left: 15%;
  margin-top: 1%;
  margin-bottom: 1%;
  left: 0;
  bottom: 0;
  text-align: center;
  line-height: 50px;
  vertical-align: middle;
}

.noDec {
  text-decoration: none;
  line-height: 2em;
  font-size: 1.5rem;
  text-align: center;
  margin-top: 5%;
  color: white;
}
  
.greyRound {
  width: 100%;
  margin: 0 auto;
  border: 2px solid black;
  text-align: center;
  max-width: fit-content;
  background-color: grey;
  border-radius: 20px;
}

.articleHomeImage {
  width: 100%;
  vertical-align: middle;
}

.j {
  text-decoration: none;
  color: black;
}

.articleHome {
  margin-top: 3%;
}

.topbar {
  top: 0px;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: lightgrey;
  color: black;
  text-align: center;
  line-height: 50px; 
  vertical-align: middle;
  z-index: 1;
}

.stickyAd {
  /* postion: sticky is in @media (bottom of file) */
  /* width: 100%; */
  align-content: center;
  top: 11%;
  z-index: 0;
  text-align: center;
}

.stickyAdArticle {
  /* postion: sticky is in @media (bottom of file) */
  position: flex;
  justify-content: center;
  align-items: center;
  top: 3%;
  z-index: 0;
}

.stickyAdImg {
  height: 70%;
}

  
@media only screen and (orientation: landscape) {
  .topbar {
    position: sticky; 
   /* height: 10vh; looks really shitty on my desktop computer */
  }
  .footer-div {
    height: fit-content;
    font-size: 3vh;
  }
  /*.footer {
    height: 10vh;
  } looks really shitty on my desktop computer */
  
  .stickyAdArticle {
    /* vertical-align: middle; */
    position: sticky;
    margin: 0;
    transform: translateY(0%);
    max-width: 100%;
    /* width: 100%; */
    /*bottom: 10vh;
    height: 85vh;*/
    top: 10vh;
    height: 75vh;
    margin: auto;
    align-items: center;
  }
  .stickyAd {
    position: sticky;
    margin: 0;
    transform: translateY(0%);
    /*top: 12.5vh;
    height: 75vh; /* vh is epic (kind of) */
    margin:auto;
    max-width: 100%;
    height: 75vh;
    top: 12.5vh;
  }
  .articleHome {
    text-align: left;
  }
}

@media only screen and (orientation: portrait) {
  body {
    padding-bottom: 50%;
  }
  .stickyAdArticle {
    width: 100%;
  }
  .stickyAd {
    /*position: relative;*/
    width: 100%;
    /*height: auto;*/
  }
  .articleHome {
    text-align: center;
  }
}

noscript {
  font-size: 70px;
  text-align: center;
  vertical-align: center;
}