@font-face {
    font-family: 'Goudy Old Style Regular';
    src: url(fonts/goudos.woff);
} /*This tells the CSS what to call the font, where to find it.*/

@font-face {
    font-family: 'Klinic Slab Book';
    src: url(fonts/KlinicSlabBook.woff);
}

h1 {
    font-family: 'Goudy Old Style Regular';
    font-size: 27.5px;
} /*This tells the CSS how to style all h1 headings.*/

body {
    font-family: 'Klinic Slab Book';
} /*This tells the CSS how to style all the fonts in the body.*/

body {
    background-image: url("images/backgroundnologo.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    max-width: 100%;
    height: auto
} /*This tells the CSS where to find the background image and how to display it.*/

.container {
    display: flex;
    flex-direction: row;
    justify-content: center;
} /*This tells the CSS how to style all elements within this style element.*/

.text-block {
    width: 400px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    margin: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.05), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
} /*This tells the CSS to put a semi-transparent, white box with a shadow behind anything inside this style element.*/

.text-block2 {
    width: 800px;
    padding: 0px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    margin-top: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.05), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.header-text {
    display: flex;
    justify-content: center;

} /*This is used to style headers. */

.text {
    display: flex;
    justify-content: flex-start;
    padding: 0px 15px 0px;
} /*This is used to style sections of text. */

.logo {
    display: flex;
    justify-content: center
} /*This is used to position the logo. */

.logo img {
    max-width: 100%;
    align-self: center;
    width: 500px;
    padding: 80px;
} /*This is used to control the size of the logo. */

.btn-group {
    display: flex;
    justify-content: center
} /*This is used to position the navigation buttons. */

.button {
    background-color: white;
    border: none;
    color: #0B9446;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 30px;
    font-family: 'Klinic Slab Book';
    cursor: pointer;
    float: left;
} /*This is used to style the navigation buttons. */

.button:hover {
    background-color: gainsboro;
} /*This is used to style the navigation buttons when the mouse moves over each button. */

.active-button {
    background-color: gainsboro;
} /*This is used to style the navigation button of the page that is currently being viewed. */

div.desc {
    padding-left: 55px;
    text-align: center;
    font-size: 26px;
    font-family: 'Goudy Old Style Regular';
    color: #CF1C44;
    font-weight: bold;
} /*This is used to style the text that appears with the image gallery. */

div.gallery {
    padding-right: 59px;
    border: 1px transparent;
    float: center;
    width: 135px;
} /*This is used to style the image gallery. */

<div class='gallery' > div.gallery:hover {
    border: 1px solid transparent;
} /*This is used to position the images in the image gallery. */

.galleryrapper {
    display: flex;
    justify-content: center;
} /*This is used to position the images in the image gallery. */

div.gallery img {
    width: 150%;
    height: auto;
} /*This is used to control the size of the images in the image gallery. */

div.gallery2 {
    padding-right: 20px;
    float: center;
    width: 80px;

}

<div class='gallery2' > div.gallery2:hover {
    border: 1px solid transparent;
}

div.gallery2 img {
    width: 100%;
    height: auto;
}

div.footer {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0;
    left: 0px;
    width: 100%;
    height: 50px;
    background: url(images/footer2.png);
    background-repeat: repeat-x;
} /*This is used to position and style the footer text and footer background. */

div.footer p {
    margin: 0px
} /*This is used to control the margin around the footer text. */
