/* CSS Document */

img {
  max-width:100%;
   display: block}


h1, h2, h3, h4, p, ul, ol {
margin: 0;
padding: 0;
}

nav ul, nav ol {
  list-style-type: none;
}

ul li a:hover {
	background:#40606f;
}

p {
    line-height: 1.3em;}

/*****end of resets*****/

body {
    background-color: #60686F;
}

header {
    position: relative;
}

#navigation {
    position: relative;
}


h2, h3, h4, h5, p, li {
    font-family: "Open Sans", sans-serif;
    font-size: 1.2em;
  }

a {
    font-size: 1.0em;
}

header h1 {
    font-family: Merienda;
    color: #fff8f0;
    font-size: 50px;
    margin-top: 30px;
    text-align: center;
}

header h2 {
    font-family: "merienda";
    color: #fff8f0;
    font-size: 25px;
    text-align: center;
}

.page h2 {
    font-family: Open Sans;
    color:  #f3d98e;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 1.5em;
    text-align: center;
    text-transform: uppercase;
}


#statement h2, h4 {
    font-family: Open Sans;
    color: #B24136;
    text-align: center;
}

#statement h2 {
    font-size: 1.5em;
}

#mobilenav {
    margin-bottom: 20px;
    padding-right: 20px;
}

#mobilenav h2 {
    float: right;
    text-align: right;
    line-height: 50px;
    color: #ebebeb;
    font-size: 36px;
    }

#mainnav {
    width: 200px;
    position: absolute;
    top: 50px;
    right: 0;
    z-index: 100;
}

#mainnav ul li a {
    display: block;
    background-color: rgba(164,172,178,0.88);
    color: #ebebeb;
    font-weight: 700;
    font-size: 20px;
    line-height: 40px;
    text-decoration: none;
    text-transform: uppercase;
    text-align: right;
    padding-right: 20px;
    width: 140px;
    border-bottom: 1px solid #f3d98e;
}

#mainnav ul li a:hover {
	background:#40606f;
}

#logo img {
    position: relative;
    top: -15px;
}

#slider {
    margin-top: 40px;
}

#statement {
    background-color: rgba(164,172,178,0.88);
    padding-top: 5px;
    padding-bottom: 7px;
}

#statement h2 {
    padding-top: 10px;
}

footer ul {
    margin-top: 55px;
    margin-bottom: 40px;
    list-style-type: none;
    display: flex;
    justify-content: space-around;
}

footer li {
    font-size: .9em
}

/****about******/

#top {
    margin-top: 25px;
}

#top h3 {
    font-size: 1.5em;
    margin: 10px;
}

#top img {
    margin: auto;
}

#middle {
    background-color: #f3d98e;
    margin-top: 25px;
    padding: 15px;
}

#middle h3 {
    color: #b24136;
    font-size: 1.5em;
    margin: 10px;
}
#middle p {
    color: black;
}
#middle a:link {color: black;}
#middle a:hover { color:#b24136; } 
#middle a:active { color:#b24136; } 
#middle a:visited {color: #2a3e59;
} 


/*********our dogs***********/

.container {
    background-color: #fff8f0;
    width: 320px;
    margin: auto;
    margin-bottom: 5px;
    
}

.container img {
    margin: auto;
    padding-top: 10px
} 

.container h3, h4, p{
    margin: 0 10px 10px 10px;
}
#click {
    display: none;
}

#our-dogs {
    margin-top: 15px;
}

#our-dogs h2 {
    font-family: Open Sans;
    margin-bottom: 20px;
    color: #f3d98e;
    font-size: 1.5em;
}

.container h4 {
    color: #B24136;
    font-size: 1.1em;
    text-align: left;
}

.container p {
    color:#2A3E59;
    font-size: 1em;
    text-align: left;
}

.container p:last-child{
    padding-bottom: 10px;
}

/****puppies****/

#pc {
    margin: auto;
    max-width: 450px;
}

#pc img {
    float: left;
    margin-right: 5px;
}

#pc p{
    color: #fff8f0;
}

#banner {
    max-width: 525px;
    margin: auto;
    padding-bottom: 30px;
    }


#application h3 {
    font-size: 1.7em;
    margin-bottom: 15px
}

#application #ques a {
    text-decoration: none;
    font-size: 1.7em;
    background-color: #F6E4D0;
    padding: 5px 13px;
    border-radius: 10px;
    border: 2px solid #000000;
    -webkit-box-shadow: 3px 4px 6px rgba(48,46,46,1.00);
    box-shadow: 3px 4px 6px rgba(48,46,46,1.00);
}
#application #ques {
    text-align: center;
    margin-top: 40px;
}

#app {
    margin: auto;
    margin: 0 20px 0 15px;
}

.yellow {
    background-color: #f3d98e;
    margin: auto; 
    padding: 5px 0px 10px 10px;
    margin-top: 40px;
}

.yellow h3{
    color: #b24136;
    text-align: center;
    font-size: 1.2em;
    padding-top: 5px;
    padding-bottom: 5px
}

.yellow p {
    color: black;
    text-align: left;
    font-size: 1.1em
}

.yellow li a {
    font-size: 1.0em;
}

/*******rescue********/
#rescue-top p {
    color: black;
}

#foster {
    background-color: #fff8f0;
    padding: 10px 10px 5px 10px;
    margin-top: 30px;
}
strong {
    color: #b24136;
    font-size: 1.2em;
}

    #duncan {
    background-color: #DEBD82;
    margin-top: 30px;
    display: flex;
    flex-direction: row-reverse;
    max-height: 276px;
    }
#duncan img {
    flex: 1;
}
#duncan h4 {
    text-align: left;
    color: black;
    margin: 10px;
}

#duncan-p {
    flex: 1;
    margin-top: 20px;
    font-size: .8em;
}

#rehome {
    background-color: #F2E1B2;
    margin-top: 30px;
    padding: 10px 10px 5px 10px;
}

#stories {
    margin-top: 35px;
}

#stories h3 {
    text-align: center;
    font-size: 2.0em;
}
#stories p {
    margin: 10px 10px 10px 10px;
}

.story {
    background-color: #fff8f0;
    padding: 10px;
    max-width: 350px;
    min-width: 325px;
    margin: auto;
    margin-bottom: 30px;
    margin-top: 20px;
}

.story h4 {
    text-align: left;
    font-size: 1.8em;
    margin-bottom: -10px;
}
.story img {
    margin: auto;
}
.story p {
    color: black;
}


/*****Resources*****/

#resources h3 {
    text-align: center;
    font-size: 2.0em;
    margin-bottom: 20px;
}
p {
    color:  #fff8f0;
    margin-bottom: 20px
}

.resources h4 {
    text-align: left;
    background-color: rgba(164,172,178,0.88);
    padding: 5px 5px 7px 5px;
    font-size: 1.0em;
}

/*****Blog Start*****/


.post-title {
    font-size: 1.5em;
    }

.post-preview a {
    text-decoration: none;
}

.page-1 h2 {
    font-family: Open Sans;
    color: #f3d98e;
    font-size: 30px;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    margin-top: 10px
}

.post-preview {
    margin: 0 20px 0 20px;
    color: #2a3e59;
}

.post-preview a:link {
    color: #E8DBCB;
}

.post-preview a h2 {
    margin-bottom: 5px
}

.post-preview p {
    font-size: .9em;
    color: rgba(0,0,0,.75);
}

.post-preview a:hover { color: #7C2C23 } 
.post-preview a:active { color:#7c2c23; } 
.post-preview a:visited {
    color: #7b97AF;
} 

.mb-4 {
    margin: auto;
    padding: 0 20px 20px 30px;
}

#all-posts {
    margin-top: 40px;
}

.heads {
    margin: 0 10px 10px 10px;
}

@media only screen and (min-width: 625px) {
    
    
 #click {
    display: block;
    color: rgba(0,0,0,0.55);
    margin-top: 40px;
    text-align: center;
    font-size: 1.0em;
}
    
    #flex-dogs {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    
    
    #pc {
        max-width: 525px;
    }
    
    .yellow {
        max-width: 525px;
    }
    
    #banner {
        max-width: 525px;
    }
    
    #duncan-p {
    margin-top: 60px;
}
    
hr {
    height: .75px;
    background-color: #A5ABB1;
    border: none;
    width: 90%;
    margin-bottom: 20px;
    }
    
    
    
}

    
@media only screen and (min-width: 700px) {
	
    /******desktop nav styles******/
    
    #page {
        max-width: 950px;
        margin: auto;
    }
    
    #all-posts {
        max-width: 950px;
        margin: auto;
    }
    
    header {position: relative;}
        
    #logo img {
        top: 10px;
        right: -10px
    }
    
    #mobilenav {display: none;}

    #mainnav {
    box-sizing: border-box;
    position: absolute;
    width: 100%;
    border-top: none;
    top: 275px;
    }
    
    #mainnav ul {
    display: flex;
    padding-bottom: 0px;
    }
    
    #mainnav ul li {
        flex: 1;
    }
    
    #mainnav ul li a {
        width: 100%;
        box-sizing: border-box;
        font-size: 16px;
        padding: 0;
        text-align: center;
        border-bottom: none;
        border-right: 1px solid #f3d98e;
    }
    
header h1 {
    font-size: 70px;
}

header h2 {
    font-family: "merienda";
    font-size: 30px
}
    
    #slider {
        margin-top: 150px;
    }
    
    footer {
        background-color: #7b97af;
        margin-top: 50px;
        height: 85px;
        z-index: -10;
    }
    footer ul li{
        margin-top: 40px;
    }
    
    .container {
        margin-top: 50px;
        min-width: 320px;
        max-width: 320px;
}
    
    /****about****/
    #top {
        margin-top: 85px;
        display: flex;
        column-gap: 10px;
    }
    #mission {
        flex: 2;
    }
    #history {
        flex: 3;
    }
    
    #middle {
        display: flex;
        flex-wrap: wrap;
    }
    
    #standard {
        flex: 1 100%;
    }
    #hist-staff {
        flex: 3;
    }
    
    #bsl {
        flex: 2;
    }
    
    /****our dogs*****/
    
    #our-dogs h2 {
        margin-bottom: 120px;
    }
        
    #flex-dogs {
        margin-top: -40px;
    }
    
        div {
        flex: 1;            
    }

    
    /*****puppies****/
    
    #click {
        margin-top: 85px;
    }
   .plans {
       display: flex;
       column-gap: 10px;
       align-items: flex-start;
}
    .container {
        flex: 2;
    }
    
    #pc {
        flex: 3;
        margin-top: 50px
    }
    

    .yellow {
        max-width: 875px;
        padding: 20px 20px 20px 20px;
    }
    
    #application .container {
        float: left; 
        margin-right: 30px;
        margin-top: 5px;
        margin-left: 20px;
    }
    
    /******rescue*****/
    #rescue-top {
        margin-top: 65px;
        display: flex;
        gap: 20px
    }
    
    #column {
        flex: 5;
        
    }
    #rehome {
        flex: 4;
    }
    
    #duncan h4 {
        margin-top: -20px
    }
    
    #flex-stories {
        display: flex;
        column-gap: 20px;
        align-items: flex-start;
    }
    
    
    /****resources*****/
    #resources {
        margin: auto;
        margin-top: 75px;
        max-width: 900px;
    }
    
    .resources {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
    }
    
    .resources h3 {
        flex: 1 100%;
        font-size: 2.0em;
    }
    
    
.heads {
    margin: 0 20px 20px 25px;
}
    
    #parallax {
	background-image: url("images/boogie-1.jpg");
	background-repeat: no-repeat;
	background-position: center;
	background-attachment: fixed;
    background-size: contain;
	padding-top: 60%;
    min-height: 110px;
    position: relative;
    }
    
    .page-1 h2 {
    font-family: Open Sans;
    color: #f3d98e;
    font-size: 30px;
    position: absolute;
    top: 165px;
    width: 100%;
    background: rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 3px;
    text-align: center;
}

    
    #blog-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 20px 0;
    }
    
    hr {
        display: none;
    }
    
    .post-preview {
        flex: 30%;
    }

    }
