.mobile-nav{
  height: 5rem;
  background-color: #96310f;
  padding: 0;
  z-index: 2000;
}
.activeCategory{
  background-color: #96310f;
}

.desktop-nav{
  display: none;
  z-index: 2000;
}
#content{
  height: calc(100vh - 5rem);
  
}
#logoImg{
  height: 100%;
}
.menu-item{
  padding: 1rem;
  border-bottom: 1px solid gray;
  cursor: pointer;
}
.menu-item:last-child{
  border: none;
  padding-bottom: 0.8rem;
}

.navbar-brand{
  height: 4rem;
}
.divider{
  height: 2px;
  background-color: #7778;
}
.categoryArticle{
  padding: 1rem;
  border: 1px solid #444;
  border-radius: 1rem;
  background-color: #222;
  margin-top: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0.5rem 0.5rem 0.5rem rgba(13, 12, 24, 0.67);
}
.article{
  padding: 1rem;
  border: 1px solid #444;
  border-radius: 1rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  background-color: #222;
  box-shadow: 0.5rem 0.5rem 0.5rem rgba(13, 12, 24, 0.67);
}
.card{
  max-width: 100%;
  margin-bottom: 0.9rem;
  overflow: hidden;
  transition: 0.25s;
  box-shadow: 0.5rem 0.5rem 0.5rem rgba(13, 12, 24, 0.67);
  border-radius: 1rem;
}
/*
.card:nth-child(even){
  margin-left: 1rem;
}
.card:nth-child(odd){
  margin-right: 1rem;
}
  */
.card-img img{
  width: 105%;
}
.card-img{
  height: 14rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card-text{
  position: absolute;
  color: #eee;
  right: 2rem;
  bottom: 2rem;
  background-color: #444a;
  border: none;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  box-shadow: 0.2rem 0.2rem 0.6rem #2227;
}
#navbarSupportedContent{
  z-index: 1000;
  background-color: #444;
}
#modalBody{
  width: 100vw;
  height: 100vh;
  background-color: #222a;
  z-index: 2001;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
#modalImgDiv{
  display: flex;
  align-items: center;
  /*justify-content: center;*/
  height: 100%;
  overflow-x:auto;
}
#modalImg{
  
  max-height: 100%;
  /*margin: 2rem;*/
}
#modalInfo{
  position: absolute;
  bottom: 8rem;
  width: 90%;
  /*background-color: rgba(104, 102, 102, 0.719);
  padding: 1rem;*/
}
.modalArticle{
  width: 100%;
  height: calc(100vh - 8rem);
  margin: 2rem;
  margin-bottom: 6rem;
}
#modalClose{
  position: fixed;
  top: 4rem;
  right:4rem;
}
#slabClose{
  position: fixed;
  top: 4rem;
  left: 2rem;
  background-color: #96310f;
}
@media (min-width: 768px){
  #slabClose{
    left: 4rem;
  }
  .mobile-nav{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }
  #modalBody{
    width: 100vw;
    height: 100vh;
    background-color: #222a;
    z-index: 2001;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #modalImgDiv{
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x:hidden;
    width: 100%;
  }
  #modalImg{
    max-width: 100%;
    max-height: 100%;
  }
  #modalInfo{
    position: absolute;
    bottom: 4rem;
    right: 4rem;
    width: unset;
    /*background-color: rgba(104, 102, 102, 0.719);
    padding: 1rem;*/
  }
  .modalArticle{
    width: 100%;
    height: calc(100vh - 4rem);
    margin: 2rem;
  }



  .navbar-toggler{
    display: none;
  }
  .card{
    cursor: pointer;
    margin: 0;
  }
  .card:hover{
    transform: scale(1.02);
  }
  .catBtn:hover{
    background-color: #96482e;
  }
  .desktop-nav{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    height: 2.5rem;
    align-items: start;
    justify-content: space-around;
    background-color: #444;
    margin: 0;
    
    padding: 0;
    position: fixed;
    left: 0;
    top: 5rem;
    right: 0;
  }
  .desktop-nav button{
    height: 2.5rem;
    border-radius: 0;
    text-overflow: ellipsis;
    text-wrap: nowrap;
    overflow: hidden;
    white-space: nowrap;
  }
  .dbtn-text{
    
  }
  #content{
    height: calc(100vh - 7.5rem);
    margin-top: 8.5rem;
  }
  /*
  .card{
    max-width: 45%;
  }
    */
  .slabContainer{
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
    /*flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;*/
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1400px){
  #content{
    max-width: 1400px;
  }
}