/* Basic Reset */
body, h1, h2, h3, p, ul {
  margin: 0;
  padding: 0;
}
#paperbackground {
  position: fixed;
  top: 0px;
  left: 15%;
  width: 70%;
  height: 100%;
  z-index: -1;
  opacity: 1; 
}
#instagrammedia {
 justify-content:center; 
}
#PastEvents {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
#PageDescript {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

#search-box {
  display: flex;
  background-color: rgb(252, 255, 193);
  border: 0.2rem solid rgb(0,0,0);
  margin-bottom: 1rem;
  margin-top: 1rem;
  height:2rem;
  width: 70%;
  border-radius: 0.5rem;
}

#libSearch{
width:90%; 
margin-left:auto;
margin-right:auto;
border: 0.2rem solid rgb(0,0,0);
padding: 0.5rem;
border-radius: 0.5rem;
background-color:rgb(251, 180, 165);;
}

th{
border: 0.2rem solid rgb(0,0,0);
padding: 0.2rem;
border-radius: 0.5rem;
background-color: rgb(252, 255, 193);
}
td{
border: 0.1rem solid rgb(0,0,0);
padding: 0.1rem;
border-radius: 0.5rem;  
background-color: rgb(252, 255, 193);
}
#libSearchTitle{
width:60%;
margin-left:auto;
margin-right:auto;
}
.authorCol{
width:30%;
margin-left:auto;
margin-right:auto;
}


body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  max-width: 60%;
  margin: auto;
  padding: 1rem;
  line-height: 1.6;
  background: rgb(171, 216, 219);;
  color: #222;
}

/* Header */
header img {
  vertical-align: middle;
  margin-right: 1rem;
}

header {
  text-align: center;
  margin-bottom: 1.5rem;
}

header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

header nav a {
  background-color: rgb(252, 255, 193);
  margin: 0.25rem;
  margin-bottom: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  border-radius: 0.5rem;
  border: 0.2rem solid rgb(0,0,0);
  text-decoration: none;
  color: rgb(0,0,0);
  font-weight: 500;
}

header nav a:hover {
  text-decoration: underline;
}

.main-wrapper {
    width: 100%;      
    max-width: 1200px;
    margin: 0 auto;    
}

/* Main Content */
main {
  border-radius: 0.5rem;
  border: 0.2rem solid rgb(0,0,0);
  background: rgb(252, 255, 193);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

footer a {
  color: rgb(0,0,0);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

hr {
  background-color: rgb(0,0,0);
  height: 0.1rem; 
  border: none;
  
}
/*Constitution stuff*/

.minutesBar{
display: flex;
justify-content: space-between;
}
.minutesButtons{
padding-left: 0.5rem;
width: 100%;
}
.minutesDate{
background-color: rgb(252, 255, 193);
  margin: 0 0.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: 0.5rem;
  border: 0.2rem solid rgb(0,0,0);
  color: rgb(0,0,0);
  width: 15%;
  text-align: center;
}
/*Stuff for problem sloving page*/

.resultsBox{
width:90%; 
margin-left:auto;
margin-right:auto;
border: 0.2rem solid rgb(0,0,0);
padding: 0.5rem;
border-radius: 0.5rem;
background-color:rgb(251, 180, 165);;
align-content: center;
}
.resultsBoxButtons{
display: flex;
justify-content: space-between;
padding: 0.5rem;
}
#nextButton{
  background-color: rgb(252, 255, 193);
  margin: 0 0.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-radius: 0.5rem;
  border: 0.2rem solid rgb(0,0,0);
  color: rgb(0,0,0);
  width: 15%;
  text-align: center;
  flex-shrink: 0;
  font-weight: 500;
}
#prevButton{
  background-color: rgb(252, 255, 193);
  margin: 0 0.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-radius: 0.5rem;
  border: 0.2rem solid rgb(0,0,0);
  color: rgb(0,0,0);
  width: 15%;
  text-align: center;
  flex-shrink: 0;
  font-weight: 500;
}
.resultsTitleDesk{
background-color: rgb(252, 255, 193);
margin: 0 0.5rem;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
border-radius: 0.5rem;
border: 0.2rem solid rgb(0,0,0);
color: rgb(0,0,0);
width: 60%;
text-align: center;
}
.resultsTitleMobile{
display: none;
}
#resultsImage{
border-radius: 0.5rem;
border: 0.2rem solid rgb(0,0,0);
max-width: 95%;
display: block;
margin: 0 auto;
}
.resultsTextBox{
border-radius: 0.5rem;
border: 0.2rem solid rgb(0,0,0);
background: rgb(252, 255, 193);
padding: 0.75rem;
}
/*Mobile stuff*/

@media screen and (max-width: 1024px){
body{
max-width: 90%;
font-size: 18px;
}

#paperbackground{
opacity: 1;
object-fit: cover;
width: 95%;
left: 2.5%;
}
header nav a {
  display: grid;
  padding: 0.1rem;
  row-gap: 3rem;
  margin-bottom: 0;
}
#libSearchTitle{
width:100%;
}
#search-box{
width: 100%;
}
.authorCol{
display: none !important;
}
#libSearch{
width:100%
}
#nextButton{
  width: 50%;
}
#prevButton{
  width: 50%;
}
.resultsTitleDesk{
display: none;
}
.resultsTitleMobile{
display: block;
}

.minutesDate{
width:50% !important;
margin-top: auto;
}
}
