/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

.body {
  background-color: white;
  color: black;
  font-family: "athelas", Georgia, serif;
  font-weight: 400;
  font-style: normal;
  
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

/* The sidebar menu */

.sidenav {
  height: 100%; /* Full-height: remove this if you want "auto" height */
  width: 250px; /* Set the width of the sidebar */
  position: fixed; /* Fixed Sidebar (stay in place on scroll) */
  z-index: 1; /* Stay on top */
  top: 10; /* Stay at the top */
  left: 10;
  bottom: 10;
  background-color: white; /* Black */
  overflow-x: hidden; /* Disable horizontal scroll */
  padding: 10px 10px 10px 10px;
  /*borders */

}
.imghover {
 opacity: 1;

}
.imghover:hover {
 opacity: 0.7;
 transition: 0.5;
}

/* The navigation menu normal text */
.sidenav p {
  padding: 1px 1px 1px 1px;
  text-decoration: none;
  font-size: 16px;
  font-family: "monarcha", serif;
  font-weight: 600;
  font-style: normal;
  color: black;
  display: block;
  text-align:start;
}
/* The navigation menu links */

.sidenav a {
  text-decoration: none;
  font-size: 16px;
  font-family: "monarcha", serif;
  font-weight: 400;
  font-style: normal;
  color: #C2C2C2;
  background-color:white;
  text-align:start;
}


/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: black;
/*top right bottom left*/
}
/* Style page content */
.main {
  display: block;
  margin-left: 300px; /* Same as the width of the sidebar */
  padding: 30px 100px 10px 10px;
  text-align:left;
}


.main h1{
  color: black;
  font-family: "monarcha", serif;
  font-weight: 700;
  font-style: normal;
}

.main h2{
  color: black;
  font-family: "monarcha", serif;
  font-weight: 600;
  font-style: normal;
}

.main p{
  color: black;
  font-family: "monarcha", serif;
  font-weight: 400;
  font-style: normal;
}

.show-hide-text {
  display: flex;
  flex-wrap: wrap;
}

.show-hide-text a {
  order: 2;
}

.show-hide-text p {
  position: relative;
  overflow: hidden;
  max-height: 60px; /* The Height of 3 rows */
}

.show-hide-text p {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* 3 Rows of text */
  -webkit-box-orient: vertical;
}

.show-less {
  display: none;
}

.show-less:target {
  display: block;
}

.show-less:target ~ p {
  display: block;
  max-height: 100%;
}

.show-less:target + a {
  display: none;
}