html {
    font-family: 'Comic Sans MS', 'Comic Sans', cursive;
    color: #321500;
    font-size: 9pt;
    font-weight: normal;
    text-shadow: 1px 1px 1px #e2ce7b;    
}
body {
    background-image: url(../img/bg.png);
    margin: 0;

}

main {
    background-color: #ffffff;
    border-bottom: 35px solid #fdcb01;
    margin: 0;
    text-align: center;
    overflow-y: hidden;
}

h1 {
    font-family: 'Caprasimo', cursive;
    color: #fdcb01;
    font-size: 22pt;
    font-weight: normal;
    font-style: italic;
    text-shadow: 2px 2px 2px #321500;
}

h2 {
    font-family: 'Caprasimo', cursive;
    color: #fdcb01;
    font-size: 18pt;
    font-weight: normal;
    font-style: italic;
    margin-top: -10px;
    text-shadow: 2px 2px 2px #321500;
}

h2.namesboy {
    margin-bottom: -15px;
    color: #977247;
}

h2.names {
    margin-bottom: -15px;
}

p.names {
    margin-bottom: -10px;
}

img.pet {
    padding-right: 20px;
    padding-left: 20px;
    padding-top: 20px;
}

h3 {
    font-family: 'Caprasimo', cursive;
    color: #fdcb01;
    font-size: 22pt;
    font-weight: normal;
    font-style: italic;
    margin-bottom: -10px;
    text-shadow: 2px 2px 2px #321500;
}

a {
    font-weight: bold;
    color: #ffcc00;
    letter-spacing: 1px;
    text-shadow: 1px 1px 1px #4d2a15;
}

a:hover {
    font-weight: bold;
    color: #4d2a15;
    text-shadow: 1px 1px 1px #fdcb01;
}

b {
    color: #4d2a15;
    text-shadow: 1px 1px 1px #fdcb01;
    letter-spacing: 1px;
}

/******** header ********/

header img {
    position: absolute;
    top: 36rem;
    right: 2rem;
    z-index: 2;
}

.bannertop {
    position: absolute;
    top: 42rem;
    right: 30rem;
    z-index: 0;
}


/********  nav **********/

nav ul {
    background-color: #fdcb01;
    height: 35px;
    list-style: none;
    margin: 150px 0 0;
    padding: 0;
    text-align: center;
}

nav li {
    display: inline;
    padding: 0;
}

nav {
    font-size: 16pt;
    color: #4d2a15;
    font-weight: bold;
}
nav a {
    color: #ffffff;
    padding: 0;
    text-decoration: none;
    text-shadow: 1px 1px 1px #321500;
}

nav a:hover {
    color: #4d2a15;
    text-shadow: 1px 1px 1px #ffffff;
}

nav img {
    margin-top: 5rem;
}

/*********** content **********/

.content {
    height: 350px;
    margin: 0 auto;
    overflow-y: auto;
    padding: 1rem;
/*    transform: scaleX(-1);*/
}

.sleeve {
    width: 55%;
    margin: 0 auto;
  }

.contentpetz {
    height: 350px;
    margin-right: -1rem;  
    padding: 1rem;
    width: 98%;
}

.contentinner {
    height: 335px;
    margin: auto 0;
    overflow-y: auto;
    padding: 1rem;
}

.divider {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

/*********** other stuff **********/

#photoleft  {
    float: left;    
    margin-right: 15px;
    }

#photoright  {
    float: right;    
    margin-left: 15px;
    }

 /*****flex******/

 .flex-container {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-content: flex-start;
    align-content: flex-start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    }
.flex-item:nth-child(1) {
    -webkit-order: 0;
    order: 0;
    -webkit-flex: 0 1 100px;
    flex: 0 1 100px;
    -webkit-align-self: auto;
    align-self: auto;
    }
    