@font-face {
    font-family: 'OpenSans';
    src: url('OpenSans.ttf'); /* IE9 Compat Modes */
}

*{
  font-family:"OpenSans";
}


body{
  background-color: #dcdd88;
  color: black;
  margin:0px;
  margin-bottom:15px;
}

.maincontent {
  width: 75%;
  margin: 0 auto;
}
@media screen and (orientation: portrait) {
  .maincontent {
    width: 95%;
    font-size: 2em;
    margin: 0 auto;
  }
}


/* Nav */
.nav {
  background-color: #578000;
  margin-top:0;
  margin-left:0;
  margin-right:0;
  padding:10px;
  align-content:center;
  display:flex;
  flex-direction:row;
  justify-content: space-between;
  color: white;
  
}

.navlink{
  color:white;
  margin-left:15px;
  margin-right:15px;
  text-decoration:none;
  font-size:1.5em;
}

.hamburger-icon {
  display: none;
}

.pagenameshow {
  display:none;
}

.pagenamelandscape {
  color:white;
  margin-left:15px;
  margin-right:15px;
  text-decoration:none;
  font-size:1.5em;
}
/* Mobile Nav */
@media screen and (orientation:portrait) {
  .navbar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
  }
  .navbarlinks {
    flex-direction: column;
    width: 100%;
    display: none;
    margin:0px;
  }
  .navlink {
    width: 100%;
    padding:15px 0;
    display:block;
    font-size:3em;
  }

  .pagename {
    display: none;
  }

  .pagenameshow {
    width: 100%;
    padding: 10px 0;
    display:block;
    font-size:3em;
  }
  .hamburger-icon {
    display: block;
    font-size:3em;
    background: none;
    border:none;
    padding:15px;
  }
  .show {
    display: block;
  }
  .pagenamelandscape {
    display:none;
  }
}




/* Feed */
.feedcontainer{
  display:grid;
  width:95%;
  grid-template-columns: repeat(3, 1fr); 
  align-items: center;
  justify-content: center;
  justify-item: space-between;
  left:0;
  right:0;
  margin:0px;
  padding:0px;
  justify-self:center;
  align-self:center;
  gap:15px;
  row-gap:15px;
}

.feedbox{
  background-color: #a5cb52;
  color:#444;
  padding:auto;
  display:inline-block;
  border-radius:20px;
  padding-left:15px;
  padding-right:15px;
  height:100%;
  transition:0.5s;
}

.feedthumbimg {
  width:33%;
  height:auto;
  border-radius:15px;
  float:right;
  margin:10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5);
  transition:0.5s;
}

.feedthumbimg:hover {
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2);
  cursor:pointer;
}

.feedimagecontainer {
  display:none;
  position:fixed; 
  top:0; 
  left:0; 
  bottom:0; 
  right:0; 
  width:100%; 
  height:100%; 
  border:none; 
  margin:0; 
  padding:0; 
  overflow:hidden; 
  z-index:999999;
  float:center;
  background:rgba(0,0,0,0.4);
}

.feedssimage {
  position: absolute;
  height:100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
}

@media screen and (orientation:portrait) {
  .feedssimage{
    height:auto;
    width:100%;
  }
}


.feedssright {
  position:fixed;
  top:50%;
  right:5%;
  color:white;
  font-size:5em;
  background-color:rgba(0,0,0,0.4);
  border-radius:10px;
  padding:10px;
}

.feedssleft {
  position:fixed;
  left:5%;
  color:white;
  font-size:5em;
  top:50%;
  background-color:rgba(0,0,0,0.4);
  border-radius:10px;
  padding:10px;
}


/* Mobile Nav */
@media screen and (orientation:portrait) {
  .feedbox{
    width: auto%;
    font-size: 2em;
  }
  .feedcontainer{
    grid-template-columns: repeat(1, 1fr); 
  }
}
