body {
    background-color: #ffcc88;
    /* background-image: url(media/images/fur.jpg); */
}
#homepage {     /* I am only using this as a main font on this one page, therefore the ID */
    font-family: 'Rammetto One', cursive;
    font-size: 32pt;
}
strong {
    font-weight: 600;
}
p {                 /* This and the next selector indent the text and any movies shown */
    margin-left: 35px;
    font-size: 14pt;
    line-height: 1.2em;
}
iframe {
    margin-left: 35px;
}

/* ------------ LINKS ------------- */

a {
    text-decoration: none;
    color: brown;
}
a:hover {
    color: red;
}

a.appear:hover {
    text-decoration:none;
} 
a.appear img {
    border: 1px solid black;
} 
a.appear div {      /* This keeps gallery images hidden until the image is hovered */
    display:none; 
}
a.appear:hover div {    /* This makes the large gallery images appear */
    display:inline; 
    position:fixed;
    right: 20px;
    top: 20px;
    padding: 20px;
    border: 1px solid black;
    background:#ffffff;
    box-shadow: 10px 10px 20px rgba(0,0,0,0.6);
    z-index: 50;
}
/* ------------ MINOR TITLES ------------- */

h3 {
    margin-top: 70px;
    font-family: 'Rammetto One', cursive;
    font-size: 24pt;
    color: #ffbb22;
    text-shadow: 1px 1px 0px black, -1px 1px 0px black, 1px -1px 0px black, -1px -1px 0px black, 2px 2px 4px rgba(0,0,0,0.5);       /* This makes an outline around the title text, and adds a drop shadow */
}
h4 {
    font-family: 'Rammetto One', cursive;
    font-size: 18pt;
    color: #ffbb22;
    text-align: center;
    margin: 5px auto;
    font-weight: normal;
    text-shadow: 1px 1px 0px black,
                -1px 1px 0px black,
                 1px -1px 0px black,
                 -1px -1px 0px black,
                 2px 2px 4px rgba(0,0,0,0.5);
}                /* This makes an outline around the title text, and adds a drop shadow */

/* ------------ WRAPPERS ------------- */

l2 {            /* The l2 and l3 wrappers create whole-page enclosures for levels 2 and 3 */
    display: block;
    width: 1000px;
    margin: 0px auto;
}
l3 {
    display: block;
    width: 1200px;
    margin: 0px auto;
}
level2 {        /* This wrapper is for the main section which has the paw background image */
    display: block;
    width: 960px;
    padding: 80px 20px;
    height: 100%;
    margin: 0px auto;
    background-image: url(media/images/p2bg.png);
    background-repeat: no-repeat;
    background-position: top;
    font-family: "Open Sans",sans-serif;
}
level2a {       /* This is to make a different frame for the image in the "Outdoors" page */
    display: block;
    width: 960px;
    padding: 80px 20px;
    height: 100%;
    margin: 0px auto;
    background-image: url(media/images/p2bg.png);
    background-repeat: no-repeat;
    background-position: top;
    font-family: "Open Sans",sans-serif;
}
level2 img {    /* This creates borders and alignment for images on the second level */
    width: 300px;
    margin: -10px 20px 30px;
    float: right;
    border: 2px solid;
    border-color: #996622 #fff6ee #ffffff #aa7733;
    background-color: #eeddcc;
    padding: 15px;
    box-shadow:  inset 2px 2px 4px rgba(0,0,0,0.3), -2px -2px 4px rgba(0,0,0,0.3), 2px 2px 4px rgba(255,255,255,1);
}
level2a img {
    border: 3px solid;
    border-color: #ffffff #aa7733 #996622 #fff6ee;
    background-color: #eeddcc;
}
level2a img:hover {     /* Images on the "Outdoors" page get a transitioned white glow */
    box-shadow:  0px 0px 10px rgba(255,255,255,1);
}
level3 {
    display: block;
    width: 1200px;
    padding: 160px 20px;
    height: 100%;
    margin: 0px auto;
}
level3 p {
    font-family: "Open Sans", sans-serif;
    font-size: 12pt;
}
l3link {
    display: block;
    width: 300px;
    padding: 8px;
    height: 500px;
    float: left;
    text-align: center;
}

/* ------------ NOTE PAPER on MAIN PAGE ------------- */

#paper {                    /* This is the piece of paper at top left, the "note" introducing the page */
    position: absolute;
    z-index: 35;            /* It will be above everything else */
    top: 20px;
    left: 10px;
    width: 266px;
    height: 244px;
    padding: 30px;
    background-image: url(media/images/paper.png);
    background-size: 326px 304px;
    font-family: Acme, sans-serif;
    font-size: 14pt;
    transform: rotate(-5deg);
    -webkit-transform: rotate(-5deg);
    -moz-transform: rotate(-5deg);
    -ms-transform: rotate(-5deg);
    -o-transform: rotate(-5deg);
}

/* ------------ HEADER ------------- */

header {                    /* The header contains the title "Ponta!" and subtitle "The Wonder Dog" */
    position: relative;     /* Relative positioning is necessary for the absolute positioning of titles inside */
    margin: 20px auto;
    height: 1px;            /* In my main page, the header lays above the main area, thus the 1-pixel height */
    width: 650px;
}
#maintext {                 /* For the title "Ponta!" */
    font-family: 'Rammetto One', cursive;
    font-size: 32pt;
    position: absolute;
    top: -10px;
    left: 300px;
    font-size: 60pt;
    color: #ff7700;
    z-index: 30;            /* The z-index places the title & subtitle above all else except the note  */
    margin: 0px;
    transform: rotate(5deg);            /* This will rotate the "Ponta!" text  */
    -webkit-transform: rotate(5deg);    /* I am rotating the text so I can place it to the right */
    -moz-transform: rotate(5deg);       /* and therefore leave enough space for the note paper   */
    -ms-transform: rotate(5deg);        /* to cover up part of the main area if the window is squeezed */
    -o-transform: rotate(5deg);
    text-shadow: 0px 1px 0px #eeeeee,   /* This is to give thick, raised 3-D letting to "Ponta!" */
    0px 2px 0px #dddddd,
    0px 3px 0px #cccccc,
    0px 4px 0px #bbbbbb,
    0px 5px 0px #aaaaaa,
    0px 6px 0px #999999,
    0px 7px 0px #777777,
    0px 8px 0px #555555,
    0px 9px 0px #444444,
    0px 10px 0px #222211,
    0px 11px 0px #222222,
    0px 12px 10px #001135;
}
#subtext {                  /* For the subtitle "The Wonder Dog" */
    position: absolute;
    top: 100px;
    left: 390px;
    font-family: 'Rammetto One', cursive;
    font-size: 16pt;
    color: #ff7700;
    z-index: 30;
    margin: 0px;
    transform: rotate(5deg);
    -webkit-transform: rotate(5deg);
    -moz-transform: rotate(5deg);
    -ms-transform: rotate(5deg);
    -o-transform: rotate(5deg);
    text-shadow: 2px 2px 1px black, 0px 0px 10px white;
}

/* ------------ MAIN CONTENT AREA ------------- */

#paw {
    position: relative;     /* This establishes the main "wrapper" which holds the white pawprint */
    margin: 20px auto;      /* Relative positioning is necessary for the absolute positioning of photos inside */
    height: 800px;
    width: 800px;
    background-image: url(media/images/paw.png);
    z-index: 10;            /* This is needed to allow relative layering for the note (probably not necessary) */
}

/* ------------ LINK & IMAGE COLORING & EFFECTS ------------- */

.mlink {            /* This will style the links to other pages or sections */
    color: white;
    text-shadow: 0px 0px 6px #443300;
}
.mlink:hover {      /* This provides the light brown color on hover */
    color: #ffeedd;
}
.mlink div:hover {
    color: #ffeedd;
    transform: rotate(5deg);            /* This rotates the links slightly on hover */
    -webkit-transform: rotate(5deg);    /* It actually has a jiggly effect, which I like */    
    -moz-transform: rotate(5deg);       /* That's why I did not use a transition (animation) */
    -ms-transform: rotate(5deg);
    -o-transform: rotate(5deg);
}
.mlink img:hover {
    transform: rotate(-5deg);           /* This rotates the images on hover */
    -webkit-transform: rotate(-5deg);
    -moz-transform: rotate(-5deg);
    -ms-transform: rotate(-5deg);
    -o-transform: rotate(-5deg);
}
img {
    border: none;       /* This is necessary because otherwise IE puts borders around all the PNGs */
    -webkit-transition: all 1s ease;    
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}

img.saturate{       /* This and the next selector make images on the "Outdoors" page saturated */
    filter: saturate(75%);
    -webkit-filter: saturate(75%);
    -moz-filter: saturate(75%);
    -o-filter: saturate(75%);
    -ms-filter: saturate(75%);
}
.saturate:hover{
    filter: saturate(150%);
    -webkit-filter: saturate(150%);
    -moz-filter: saturate(150%);
    -o-filter: saturate(150%);
    -ms-filter: saturate(150%);
}


/* ------------ MAIN PAGE LINK & IMAGE POSITIONING ------------- */

#main {                     /* Here we begin a long series of divs to position the images and link text */
    position: absolute;     /* The first five are for the images. Note the absolute position which is */
    top: 60px;              /* relative to the "paw" div, not the whole page */
    left: 195px;
    z-index: 20;
}
#profile {
    position: absolute;
    top: 275px;
    left: 60px;
    z-index: 20;
}
#athome {
    position: absolute;
    top: 460px;
    left: 200px;
    z-index: 20;
}
#training {
    position: absolute;
    top: 455px;
    left: 395px;
    z-index: 20;
}
#outdoors {
    position: absolute;
    top: 300px;
    left: 555px;
    z-index: 20;
}
#profiletext {              /* Here we begin the links for other pages */
    position: absolute;
    top: 425px;
    left: -30px;
    display: block;
    z-index: 30;
}
#athometext {
    position: absolute;
    top: 620px;
    left: 40px;
    display: block;
    z-index: 30;
}
#trainingtext {
    position: absolute;
    top: 580px;
    left: 515px;
    display: block;
    z-index: 30;
}
#outdoorstext {
    position: absolute;
    top: 280px;
    left: 600px;
    display: block;
    z-index: 30;
}
#moretext {
    position: absolute;
    top: 360px;
    left: 300px;
    text-align: center;
    line-height: 34pt;
    display: block;
    z-index: 30;
}




.photo {
    float: left;
    clear: both;
    height: 185px;
    width: 280px;
    text-align: left;
}
.photo2 {
    float: left;
    clear: both;
    height: 255;
    width: 280px;
    text-align: left;
}
.captn {
    float: left;
    height: 165px;
    width: 330px;
    text-align: left;
    font-family: Acme, sans-serif;
    font-size: 14pt;
    padding: 10pt;
}



/* ------------ LEVEL 2 PAGE HEADER ITEMS ------------- */

#logo {     /* This sets the position of the Ponta logo and rotates it a but left */
    transform: rotate(-5deg);
    -webkit-transform: rotate(-5deg);
    -moz-transform: rotate(-5deg);
    -ms-transform: rotate(-5deg);
    -o-transform: rotate(-5deg);
    position: absolute;
    top: -10px;
    left: -150px;
}
#logo:hover {       /* This rotates the logo right on hover */
    transform: rotate(5deg);
    -webkit-transform: rotate(5deg);
    -moz-transform: rotate(5deg);
    -ms-transform: rotate(5deg);
    -o-transform: rotate(5deg);
}
#pagemenu {         /* This sets the style of the nav menu on 2nd-level pages */
    position: absolute;
    top: -10px;
    left: 20px;
    width: 210px;
    line-height: 22pt;
    list-style-position: inside;
    list-style-image: url(media/images/bulletpaw.png);
    font-family: 'Rammetto One', cursive;
    font-size: 14pt;
}
#pagemenu li.ro a {     /* This sets the style for links to pages other than the current one */
    color: #ffffff;
    text-shadow: 0px 0px 6px #443300;
}
#pagemenu li span {     /* This sets the style for the non-link for the current page */
    color: #ffeedd;
    text-shadow: 0px 0px 6px #443300;
}
#pagemenu li a:hover {      /* This changes the color of links when hovered over */
    color: #ffeedd;
}
#pagemenu li.ro:hover {     /* This rotates links which are hovered over */
    transform: rotate(-5deg);
    -webkit-transform: rotate(-5deg);
    -moz-transform: rotate(-5deg);
    -ms-transform: rotate(-5deg);
    -o-transform: rotate(-5deg);
}




/* ------------ TABLE STYLING ------------- */

table {
    width: 800px;
    border: solid 2px #885511;
    margin: 40px auto;
    font-size: 14pt;
    caption-side: top;
    border-collapse: collapse;
    background-color: white;
}
td {
    border: solid 1px #ddaaaa;;
    padding: 2px 6px;
    font-size: 12pt;
}
td:hover {
    background-color: #aa6600;
    font-weight: 600;
    color: white;
}
th {
    background-color: #ddbb99;
}
tr:nth-of-type(even) {
    background-color: #ffeecc;
}


/* ------------ FOOTER ------------- */

footer {                /* This is a very small footer, just a small div at bottom right. */
    position: fixed;
    bottom: 5px;
    right: 5px;
    font-family: Optima, Arial, sans-serif;
    font-size: 10pt;
}