html {
    background: linear-gradient(#ffa245, #ff8001, #b64813, #7a2f09);
    line-height: 1.5rem;
    font-size: 20px;
}

body {
    margin: 0px;
}

h1, h2, h3, h4 {
    text-align: center;
    margin: auto;
}

h1 {
    font-family: 'Fira Sans Condensed', sans-serif;
    padding-bottom: 1rem;
}

h2, h3, h4 {
    font-family: 'Meera Inimai', sans-serif;
    padding: 1.5rem;
}

h3 {
    font-style: italic;
}

p, figcaption, a {
    font-family: 'Mulish', sans-serif;
}

p {
    padding: 1rem;
}

/* Header styling starts here */

header {
    background-color: #602203;
    color: white;
    padding-top: 2rem;
    min-width: 100%;
    min-height: 100%;
}

ul {
    display: flex;
    align-items: center;
    justify-content: space-around;
    list-style-type: none;
    margin: 1rem 0;
    padding: 0;
  }

li {
    background-color: #fef6c7;
}

li a {
    padding: 1.5rem;
    text-decoration: none;
    color: black;
}

li:hover {
    background-color: rgb(12, 12, 156);
}

li a:hover {
    color: rgb(255, 255, 107);
}

li a:focus {
    text-decoration: underline;
    color: rgb(12, 12, 156);
}

li:active {
    background-color: rgb(255, 255, 107);
}




/* Header styling ends here */

section {
    padding: .5rem;
    margin: 15rem 0;
}

figcaption {
    font-style: italic;
    text-align: center;
    font-size: .8rem;
}

#intro {
    margin-top: 3rem;
    background-color: #fef6c7;
}

#intro img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}



/* His Story styling starts here */

#story h3 {
    margin-top: 1.5rem;
}

#story h2, #story h3 {
    text-shadow: white 1.5px 1.5px;
}

.adoption {
    display: flex;
    flex-wrap: wrap;
    margin: 0 3rem 4rem;
    background-color: #fdd99d;
    align-items: center;
    justify-content: center;
    box-shadow: 7px 12px 10px #9a6e1c;
}

.adoption p {
    flex: 1 300px;
    padding: 2rem;
}

.adoption {
    flex: 2;
}

.anxiety {
    display: flex;
    flex-wrap: wrap;
    margin: 0 3rem 4rem;
    background-color: #fef6c7;
    align-items: center;
    justify-content: center;
    box-shadow: 7px 12px 10px rgb(171, 126, 49);
}

.anxiety p {
    flex: 1 400px;
    order: 1;
    padding: 2rem
}

/* His Story styling ends here */




/* His Favorites styling starts here */

#favorites h2, #favorites h3 {
    text-shadow: white 1.5px 1.5px;
}

.toys {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    align-items: center;
    justify-content: center;
}

.toys p {
    padding: 0 5rem;
}

.mousey, .feather, .paperTowel {
    flex: 1;
    flex-basis: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 5rem;
}

.mousey, .paperTowel {
    background-color: #fdd99d;
    box-shadow: 7px 12px 10px #9a6e1c;
}

.feather {
    background-color: #fef6c7;
    box-shadow: 7px 12px 10px rgb(171, 126, 49);
}

#favorites h3:last-of-type {
    color: white;
    text-shadow: black 1.5px 1.5px;
}

.people {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    align-items: center;
    justify-content: center;
}

.people div {
    flex: 1;
    flex-direction: column;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

.people img {
    border-radius: 50%;
    border: ridge rgb(11, 11, 144) 10px;
}

.people h4 {
    color: white;
    text-shadow: black 1.5px 1.5px;
}

/* His Favorites styling ends here */




/* His Crazy styling starts here */

#crazy h2, #crazy h3 {
    color: white;
    text-shadow: black 1.5px 1.5px;
}

.loud {
    display: flex;
    flex-wrap: wrap;
    margin: 0 3rem 4rem;
    background-color: #fdd99d;
    align-items: center;
    justify-content: space-around;
    box-shadow: 7px 12px 10px #61440c;
}

#crazy video {
    margin: 0 1rem;
}

#crazy video:nth-of-type(1) {
    flex: 2 400px;
    margin-top: 1rem;
}

#crazy video:nth-of-type(2) {
    flex: 2 200px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.lay {
    display: flex;
    flex-wrap: wrap;
    margin: 0 3rem 4rem;
    background-color: #fef6c7;
    align-items: center;
    justify-content: space-around;
    box-shadow: 7px 12px 10px rgb(84, 59, 17);
}

.lay img {
    margin: 1rem;
}

.tall {
    display: flex;
    flex-wrap: wrap;
    margin: 0 3rem 4rem;
    background-color: #fdd99d;
    align-items: center;
    justify-content: space-around;
    box-shadow: 7px 12px 10px #61440c;
}

.tall img {
    flex: 1;
    margin: 1rem 5rem;
}

#crazy video:last-of-type {
    flex: 2;
    margin: 1rem 3rem;
}

/* His Crazy styling ends here */



/* Footer styling */

footer {
    background-color: #602203;
    padding: 1rem;
    text-align: center;
    min-width: 100%;
    min-height: 100%;
}

footer dt {
    margin: 1rem 0;
}

footer dl {
    color: white;
    font-family: 'Mulish', sans-serif;
}

footer a {
    color: rgb(255, 255, 107);
}

footer a:hover {
    color: rgb(240, 120, 0);
}

footer a:active {
    color:rgb(35, 35, 242);
}

footer a:focus {
    color:rgb(35, 35, 242);
}

