* {
  margin: 0px;
  box-sizing: border-box;
}

/* main body */
body {
/*background-color: #928a8c;*/
  /*font-size: 1.8rem;*/
  font-family: system-ui, sans-serif;
  max-width: 38em;
  margin: auto;
  padding: 13px;
}

p {
  line-height: 1.6;
  }
 
/* commission area */
.comm {
/*background-color: #d6ced0;*/
border: 4px solid #502720;
margin: auto;
padding: 15px;
}

/* images */
img {
	display: block;
	margin: auto;
	max-width: 100%;
}

figcaption {
font-size: 1.1rem;
line-height: 1.4;
}

/* Details On Images */
.container {
  position: relative;
  max-width: 800px; /* Maximum width */
  margin: 0 auto; /* Center it */
}

.container .content {
  position: absolute; /* Position the background text */
  bottom: 0; /* At the bottom. Use top:0 to append it to the top */
  background: rgb(0, 0, 0); /* Fallback color */
  background: rgba(0, 0, 0, 0.5); /* Black background with 0.5 opacity */
  color: #f1f1f1; /* Grey text */
  width: 100%; /* Full width */
  padding: 20px; /* Some padding */
}

/* highlights */
mark {
  background: #a6e868;
  padding: 0 0.2rem;
}

/* Format the expanding box */
details {
  /*background: #d6ced0;*/
  border: 2px solid #502720;
  /*border-radius: 5px;*/
  margin-bottom: 1rem;
  max-height: 200px;
  overflow: auto;
}

summary {
  cursor: pointer;
  font-weight: bold;
  padding: 0.6rem 1rem;
}

details[open] {
  padding: 0.6rem 1rem 0.75rem 1rem;
}

details[open] summary {
  margin-bottom: 0.5rem;
  padding: 0;
}

details[open] > *:last-child {
  margin-bottom: 0;
}

/* tables */
table {
  border-collapse: collapse;
  margin-bottom: 10px;
  width: 100%;
}

td, th {
  padding: 6px;
  text-align: left;
}

th {
  border-bottom: 1px solid #928a8c;
}

tbody tr:nth-child(even) {
  background-color: #ece1dd;
}

/* mobile friendly */
@media (max-width: 684px) {
  body {
    font-size: 1.53rem;
  }
}
@media (max-width: 382px) {
  body {
    font-size: 1.35rem;
  }
}
