body {
  font-family: Arial;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex-grow: 1;
}

.navs {
  background-color: rgb(255, 204, 51);
  font-family: monospace;
}

.border {
	display: grid;
	place-items: center;
	min-height: 20px;
	border: 4px solid;
	padding: 0.5rem;
}


.radial-repeating {
	border-width: 10px;
	border-image: repeating-radial-gradient(
			circle at 5px,
			rgb(42, 179, 166),
			rgb(139, 80, 171) 1px,
			rgb(21, 209, 140) 2px,
			rgb(167, 87, 87) 1px,
      rgb(255, 204, 51) 1px,
      rgb(167, 87, 87) 1px
		)
		1;
}

.endnavcontainer {
  margin-top: 25px;
}

.endbanner {
  position: static;
  margin: 0 auto;
  width: 100%;
  padding-left: 0px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: stretch;
  justify-content: stretch;
}

.endbanner p {
  margin: 0;
  padding-left: 20px;
  padding-right: 20px;
}

.endbanner p:first-child {
  justify-self: start;
}

.endbanner p:last-child {
  justify-self: end;
}


h1 {
  margin-top: 0;
  margin-left: 0;
}

.studentname {
  font-weight: bold;
}
/* ---------------- SIDEBAR ---------------- */

.bullet-link-container {
  display: flex;
  align-items: flex-start;  /* changed from center to flex-start */
}

.bullet {
  font-size: 25px;
  margin-right: 5px;
  padding-top: 1px; /* Adjust as necessary to align with the first line of text */
}

.sidebar-content a:visited {
  color: #0000EE;  /* or set it to a specific color if you prefer */
}

.sidebar {
  height: 100vh; /* sets the height to fill the viewport */
  overflow-y: auto; /* introduces a scrollbar if the content overflows */
  direction: rtl; /* places the scrollbar on the left side */
  width: 200px
}

.sidebar a {
  display: block;
  padding-right: 10px;
}

.bullet {
  display: block;
  padding-left: 30px;
}

.sidebar-container {
  width: 200px; /* Adjust this to the width of your sidebar */
  z-index: 999;
}

.sidebar-content {
  line-height: 30px;
  direction: ltr; /* resets the text direction for the sidebar content */
}

.sidebar-button {
  width: 40px; /* Adjust this to change the space between lines */
  height: 20px; /* Adjust this to change the space between lines */
  padding-top: 2px;
  display: none; /* initially hidden */
  flex-direction: column;
  justify-content: space-between; 
  align-items: center;
  cursor: pointer;
  border: none;
  background: lightgrey; /* light grey background */
  transform: rotate(90deg);
  position: fixed; /* fixed position */
  left: -10.5px; /* touch the left side of the screen */
  top: 50%; /* vertically centered */
  z-index: 1000; /* elevate above other content */
}

.sidebar-button .line {
  width: 100%; /* Adjust this to change the length of the lines */
  height: 2px;
  background-color: #000; 
}

.sidebarpicsandtext {
  display: flex;
  font-size: 15px;
  flex-direction: row;
  text-align: left;
  direction: ltr;
  margin-bottom: 10px;

}

.sidebarpicsandtext a {
  margin-top: 5px;

}
@media (max-width: 1200px) and (pointer: coarse) and (orientation: landscape) {
  .sidebar-content {
    background-color: white;
  }
  .sidebar-container {
    margin-left: -10px;
  }
}
/* ----------------------------------------- */

.pdfimg {
  width: 25px;
  margin-left: 7px;
  margin-bottom: 10px;
}

.pdfimgside {
  width: 20px;
  margin-bottom: 10px;
  margin-right: 10px;
}
  

.navone {
  margin: 0 auto;
  width: 70%;
  padding-left: 70px;
  display: grid;
  grid-template-columns: 1fr;
}

.navone h1 {
  font-weight: 600;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-bottom: 0;
  font-size: 40px;
}

.navtwo {
  font-family: monospace;
  font-size: 20px;
  padding-left: 70px;
  margin: 0 auto;
  width: 70%;
  display: flex;
  justify-content: space-between;
}

.navtwo p {
  justify-content: space-between;
  padding-right: 15px;
  display: inline-block;
}

main {
  margin-top: 15px;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
}

.maindiv {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 15% 85%;
}

.editiconsdiv {
  display: flex;
}

.editlidiv {
  display: flex;
  gap: 10px;
}

.editimgdirect {
  padding-bottom: 30px;
  flex-wrap: nowrap;
}


.editimgdirect {
  width: 20px;
  padding-left: 10px;
  transition: all 0.1s ease-in-out;
}


.editimgdirect:hover {
  transform: scale(1.2);
}

.editlidiv li {
  margin-left: 20px;
}


.twopointtwo {
  padding-left: 70px;
  max-width: 1000px;
}


.twopointtwo form {
  display: inline-block;
}


.formdiv textarea {
  width: 650px;
  height: 100px
}

.bookpicsdiv {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;

}

.individualbookdiv {
  width: 300px;
  display: flex;
  flex-wrap: wrap;
  display: block;
}

.individualbookdiv p {
  margin-top: 5px;

}

.individualpaperdiv {
  display: block;
}

.bookpics {
  width: 120px;
  margin-bottom: 10px;
  display: block;
}

.pubdetailsdiv {
  padding-top: 30px;
  display: block;
  gap: 20px;

}

#yeardiv {
  display: flex;
}

#yeardiv h3 {
  padding-left: 10px;
}

.uldiv {
  margin-left: 30px;
  padding-right: 20%;
}

.paperul {
  margin-left: 0;
  padding-left: 0;
/*   list-style-position: inside; */
}

.paperul li {
  text-indent: 0em;
}

#bullet {
  padding-top: 200%;
}
.pubdetailsdiv p {
  display: block;
}

.gallerypics {
  width: 200px;
  padding: 0;
}

.gallerypiccontainer {
  display: inline;
  padding-right: 10px;
  padding-bottom: 10px;
}

/* ---------------------- */

.twopointtwo {
  min-width: 800px; /* adjust as necessary */
}


@media only screen 
and (max-device-width: 1200px) 
and (orientation: landscape) {
    .twopointtwo {
      padding-right: 0px;
      margin-right: 0px;
      width: 500px;
      min-width: 0px;
    }
    .uldiv {
      padding-right: 0px;
      max-width: 600px;
      margin-right: 0px;
    }
}

@media (max-width: 869px) {
  .uldiv {
    max-width: 520px;
  }
  
  }


@media (max-width: 800px) {
  .uldiv {
    padding-right: 25%;
  }
  
  }

  @media (max-width: 768px) {

    .twopointtwo {
      min-width: 400px; /* adjust as necessary */
  }

    .sidebar a {
      display: block;
      padding-right: 0px;
      margin-right: 0px;
    }
    
    .bullet {
      display: block;
      padding-left: 12px;
    }
  
    .sidebar-button {
      display: flex;
    }
  
    .sidebar {
      display: none; /* hide it on smaller screens */
      background: rgb(224, 224, 224); /* white background */
      z-index: 2000; /* elevated above other content */
      position: fixed; /* fixed position */
      width: 150px;
      max-height: 100vh; /* maximum height to viewport height */
      overflow-y: auto; /* enable scroll when content overflows */
    }
  
    .sidebar.active {
      display: block; /* display when active class is added */
      z-index: 2000;
      width: 150px;
      position: fixed; /* fixed position */
      top: 0; /* positioned at the top */
      bottom: auto; /* allow it to adjust to the content */
      overflow-y: auto; /* enable scroll when content overflows */
  }

  .endbanner {
    width: 95%;
    padding-left: 5px;
  }

  .hamburger-button {
    margin-top: 30px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    padding: 0;
}


.hamburger-button div {
    width: 2rem;
    height: 0.25rem;
    background-color: #333; /* Change this color to change the color of the lines */
    border-radius: 10px;
  
  }
  .navone, .navtwo {
    width: 95%;
    padding-left: 15px;
  }
  
  .navtwo {
    padding-top: 10px;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0;
  }

  .navtwo p {
    display: block;
    padding-right: 0;
    text-align: left;
  }
  
  .maindiv {
    grid-template-columns: 1fr;
    margin: 0 10px;
  }
  
  
  .pdfimgside {
    width: 30px;
  }

  .pdfimg {
    width: 30px;
    margin-left: 0;
  }

  .twopointtwo {
    padding-left: 15px;
    margin-right: 0;
    padding-right: 0;
  }

  .formdiv textarea {
    width: 100%;
  }

  .bookpicsdiv, .individualbookdiv {
    justify-content: center;
  }

  .bookpics {
    width: 60%;
  }

  .gallerypics {
    width: 100%;
  }

  .gallerypiccontainer {
    display: block;
    text-align: center;
  }

  .navtwo {
    display: none;
  }

  .navtwo.active {
    display: flex;
  }

  .uldiv {
    padding-right: 10%;
  }

  .radial-repeating {
    border-width: 10px;
    border-image: repeating-radial-gradient(
        circle at 5px,
        rgb(42, 179, 166),
        rgb(139, 80, 171) 1px,
        rgb(21, 209, 140) 2px,
        rgb(167, 87, 87) 1px,
        rgb(255, 204, 51) 1px,
        rgb(167, 87, 87) 1px
      )
      1;
    margin-bottom: 30px;
  }

  }

  @media (max-width: 600px) {
    .pubdetailsdiv, .pubdetailsdivstud {
      max-width: 600px; /* adjust as necessary */
      padding-left: 10px;
    }
      .twopointone {
        max-width: 375px; /* adjust as necessary */
      }
  
      .twopointtwo {
        max-width: 600px; /* adjust as necessary */
        min-width: 500px;
        padding-left: 1px;
        padding-right: 10px;
      }
      
      .twopointtwotwo {
        max-width: 375px; /* adjust as necessary */
      }
      
      .uldiv {
        padding-top: 0;
        margin-left: 2px;
        padding-left: 2px;
      }
  
      .sidebarpicsandtext {
        padding-left: 15px;
      }
    
    }
    @media (max-width: 475px) {

        .twopointone {
          max-width: 375px; /* adjust as necessary */
        }
    
        .twopointtwo {
          max-width: 360px; /* adjust as necessary */
          min-width: 360px;
          padding-right: 0px;
          margin-right: 0px;
          margin-left: 10px;
        }

        .maindiv {
          margin: 0px;
          padding: 0px;
        }
        
        .twopointtwotwo {
          max-width: 375px; /* adjust as necessary */
        }
        
        .uldiv {
          max-width: 350px;
          padding-top: 0;
          padding-right: 0px;
          margin-right: 0px;
          margin-left: 10px;
        }
    
        .sidebarpicsandtext {
          padding-left: 15px;
        }
      
      }

  @media (min-width: 769px) {
    .sidebar {
      display: block; /* make it visible on wider screens */
    }
    .hamburger-button {
      display: none;
  }
  .pubdetailsdiv {
    max-width: 700px;
  }

}

  @media (min-width: 900px) {

    .hamburger-button {
      display: none;
  }
  .pubdetailsdiv {
    max-width: 850px;
  }
}

  @media (min-width: 1000px) {

    .hamburger-button {
      display: none;
  }
  
  
  
  .sidebarpicsandtext {
    padding-left: 20px;
  }


  
  }

  .sidebar .editiconsdiv {
    padding-top: 15px;
  }

  .sidebar input.editimgdirect {
    padding-top: 5.5px;
  }


  .radial-repeating {
    margin-bottom: 0px;
  }

  .hamburger-button {
    margin-top: 30px;
  }