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

html {
    background-image: url(../images/pawprint_background.jpg);
    background-repeat: repeat;
    background-attachment: fixed;
}

body {
    font-family: sans-serif;
    font-size: 100%;
    max-width: 1200px;
    background-color: whitesmoke;
    margin: 0 auto;
    border: 3px solid tan;
    box-shadow: 3px 3px 12px 3px rgb(66, 38, 25);
}

header {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-bottom: 3px solid tan;
    padding: .5em;
}

header img {
    max-width: 150px;
}

header h2 {
    font-family: "Indie Flower", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 300%;
    margin-bottom: 3px;
}


#nav_menu {
    border-top: 3px solid tan;
    border-bottom: 3px solid tan;
    background-color: tan;
}

#nav_menu ul {
    list-style: none;
    display: flex;
}

#nav_menu li {
    width: 20%;
}

#nav_menu a {
    text-align: center;
    display: block;
    padding: .7em 0;
    background-color: tan;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

#nav_menu a:hover {
    color: black;
    background-color: rgb(253, 237, 217);
}

main {
    padding-left: 1em;
    padding-right: 1em;
    display: flex;
    color: rgb(90, 67, 38);
}

main section {
    width: 75%;
    padding: 2em;
    line-height: 1.5;
}

main aside {
    width: 25%;
}

main img {
    margin-bottom: 1em;
    max-width: 150px;
    border-radius: 10px;
    border: 2px solid tan;
}

main p {
    padding-bottom: .5em;
    text-indent: 2em;
}

#aside_right,
#aside_right p {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1em;
}

#aside_right a:hover {
    color: tan;
}

#aside_right a:visited:hover {
    color: tan;
}

#aside_right a:visited {
    color: rgb(114, 85, 47);
}

#cornerBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgb(253, 237, 217, 0.5);
    border: 2px solid rgb(90, 67, 38);
    border-radius: 10px;
    color: rgb(90, 67, 38);
    padding: 5px 3px;
}

#cornerBtn:hover {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgb(209, 164, 106);
    border-radius: 10px;
    color: rgb(209, 164, 106);
    padding: 5px 3px;
    cursor: pointer;
}

footer {
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(45deg, tan 0%, white 50%, tan 100%);
    align-items: center;
    padding: 1em;
}

footer img {
    max-width: 50px;
}

#mobile_menu {
    display: none;
}

@media (max-width: 767px) {
    #nav_menu {
        display: none;
    }

    #mobile_menu {
        display: block;
        border-bottom: 2px solid tan;
    }

    header {
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    main {
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    section {
        max-width: 100%;
    }
}