h2 {
  margin: 10px;
  font-size: 35px;
}
h3 {
  margin: 0px;
  font-size: 27px;
  text-decoration: underline;
}

body{
  width: 100vw;
}

img{
  object-fit: cover;    /*makes the image fill the gallery box as a square*/
  width:100%;
  height:100%;
}

.link_main {
  text-align: center;
  }

.textParent {
  margin: 0 auto;
  width: 90%;                       /*set width of entire text container. Use % here */
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;      /*--moves flex items to middle of container*/

}
.textBlock {
    width: 65%;
}
.textBlock_center {
    width: 65%;
    text-align: center;
}
.img_single {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    max-height: 400px;
    object-fit: contain;
}
/*use img_container on a div. the div then holds all of the figures. depending on how many figures, and sizes, use different figure_* atributes on figures in div */
.img_container {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: flex-end;
}
.figure_side {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 35%;
    max-height: 400px;
    object-fit: contain;
    margin: 0.5em;
    padding: 0.5em;
    text-align: center;
    font-style: italic;
    font-size: smaller;
    text-indent: 0;
}
.text_side {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 65%;
    object-fit: contain;
    margin-top: 0.5em; margin-right: 0.5em; margin-bottom: 0.5em;
    padding-top: 0.5em; padding-right: 0.5em; padding-bottom: 0.5em;
}
.figure_single {
    float: center;
    width: 50%;
    text-align: center;
    font-style: italic;
    font-size: smaller;
    text-indent: 0;
    border: 0px black solid;
    border-radius: 8px;
    margin: 0.5em;
    padding: 0.5em;
}
.figure_single_full {
    float: center;
    width: 100%;
    text-align: center;
    font-style: italic;
    font-size: smaller;
    text-indent: 0;
    border: 0px black solid;
    border-radius: 8px;
    margin: 0.25em;
    padding: 0.25em;
}
.figure_double {
    float: center;
    width: 45%;
    text-align: center;
    font-style: italic;
    font-size: smaller;
    text-indent: 0;
    border: 0px black solid;
    border-radius: 8px;
    margin: 0.5em;
    padding: 0.5em;
}

.figure_triple {
    float: center;
    width: 31%;
    text-align: center;
    font-style: italic;
    font-size: smaller;
    text-indent: 0;
    border: 0px black solid;
    border-radius: 8px;
    margin: 0.3em;
    padding: 0.3em;
}

.figure_triple_small {
    float: center;
    width: 26%;
    text-align: center;
    font-style: italic;
    font-size: smaller;
    text-indent: 0;
    border: 0px black solid;
    border-radius: 8px;
    margin: 0.3em;
    padding: 0.3em;
}

.figure_triple_large {
    float: center;
    width: 43%;
    text-align: center;
    font-style: italic;
    font-size: smaller;
    text-indent: 0;
    border: 0px black solid;
    border-radius: 8px;
    margin: 0.3em;
    padding: 0.3em;
}

figure > img {
    width: 90%;
    max-height: 500px;
    margin: 0rem;
    object-fit: contain;
}
.figure_single_full > img {
    max-height: none;
}
