/* Styling for landing page */
html, body {
  height: 100%;
 }

 body {
    display: flex;
    flex-direction: column;
}

.nav {
  margin-top: 100px;
  margin-left: auto;
}

.nav-item {
  list-style-type: none;
  font-size: 18px;
  margin:4px;
 }

a {
  text-decoration: none;
  color: rgba(125, 114, 127);
}

p {
  margin: 6px;
}

hr {padding:10px;

}

img {
    max-width: 100%;
    height: auto;
}

.basic-box {
  width: auto;
  height: auto;
  margin-top: 300px;
}

.basic-box-books {
  width: 45px;
  height: auto;
  background: rgba(255, 255, 255, 0.8);
  margin-top: 60px;
}

.header-text {
  text-align: left;
  font-size: 40px;
  margin: 4px;
  margin-left:8px;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.header-sub {
  text-align: right;
  font-size: 20px;
  margin-right: 18px;
}

.nav  {
  margin-top: 80;
  margin-left:2px;
}

.background-box {
  background-image: url("../static/images/Nick-Header.jpg");
  background-size: 100%;
  background-repeat: no-repeat;
  margin: 10px;
  height: auto;
}

.background-box-books {
  background-image: url("../static/images/long_header.jpg");
  background-size: 100%;
  background-repeat: no-repeat;
  margin: 10px;
  height: auto;
}

.body-box {
  width: auto;
  height: auto;
  margin: 2px;
}

.icons {
  height: 28px;
  width: 28px;
}

.content-box {
  width:  900px;
  height: auto;
  border-radius: 15px;
  margin: 0 auto;
  margin-top: 300px;
  padding: 10px;
}

.footer {
    display: flex;                        
    padding: 10px 20px;           
    border-top: 1px solid #ccc;    
    margin-top: 20px;               
}

.truncated {
    display: -webkit-box;
    -webkit-line-clamp: 5; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.main-content {
    flex: 1 0 auto;  
}

.footer-left {
    display: flex;      
    gap: 20px; 
    justify-content: left;
}

.footer-right {
  display: flex;
  font-size: 14px;
  color: rgba(125, 114, 127);
  justify-content: right;
}