/* 
 Module 8 Assignment:Animal Page (Pangolin) midterm
 Taylor Jones
 3/10/24
*/

@import url('https://fonts.googleapis.com/css2?family=Bowlby+One+SC&family=Bungee&family=Caudex&display=swap');

body {
    background-color: #4C2514;
    max-width: 1000px;
    margin: auto;
}

.navbutton {
    border-bottom: 2px solid #F7F0C4;
    border-radius: 10px;
    text-decoration: none;
    padding: 5px;

    font-family: "Bowlby One SC", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: #402012;
}

.navbutton.left {
    margin-left: 15px;
}

.navbutton:hover {
    background-color: #D4EE51;
    color: #402012;
    border-bottom: 2px solid #402012;
}

.navback{
    display: flex;
    column-gap: 20px;
    background-color: #A45E30;
    border-bottom: 2px solid #F7F0C4;
    border-radius: 10px;
    padding: 10px;
    align-items: center;
    justify-content: center;
    margin: auto;
    max-width: fit-content;
}

h1,
h2,
h2,
title {
    color: #F7F0C4;
    border-bottom: 2px solid #F7F0C4;
    border-radius: 10px;
    background-color: #A45E30;
    padding: 5px;
    text-align: center;

    font-family: "Bungee", sans-serif;
    font-weight: 400;
    font-style: italic;
}

p {
    color: #F7F0C4;
    padding: 10px;

    font-family: "Caudex", serif;
    font-weight: 400;
    font-style: normal;
    font-size: large;
}

p span {
    color: #D4EE51;
    font-weight: bolder;
}

#email {
    text-align: center;
}

#email a {
    font-style: italic;
    font-weight: bolder;
    text-decoration: none;
    border: 2px dotted #F7F0C4;
    border-radius: 10px;
    padding: 5px;
}

#email a:hover {
    background-color: #D4EE51;
    color: #402012;
}

.sidebyside{
    display: flex;
    align-items: center;
}

img {
    max-width: 500px;
    height: auto;
    border-bottom: 2px solid #F7F0C4;
    border-radius: 10px;
}

.smallerimg{
    max-width: 250px;
}

figure {
    display: table;
    margin: auto;
}

figcaption {
    color: #F7F0C4;
    display: table-caption;
    caption-side: bottom;
    text-align: center;
    padding-top: 10px;
}

a:link {
    color: #F7F0C4
}

a:visited {
    color: #F7F0C4;
}

video {
    max-width: 500px;
    border: 2px solid #F7F0C4;
    border-radius: 10px;
}

audio {
    border: 2px solid #F7F0C4;
    border-radius: 10px;
}

.parent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}