/* 
 Module 11 Assignment
 Taylor Jones
 4/7/24
*/

@import url('https://fonts.googleapis.com/css2?family=Bowlby+One+SC&family=Bungee&family=Caudex&display=swap');

* {
    box-sizing: border-box;
}

body {
    background-color: #4C2514;
    margin: auto;
    background-image: url("assets/background.jpg");
    max-width: 1200px;
}

#top {
    height: 200px;
    background-color: transparent;
}

header {
    position: fixed;
    background-color: transparent;
    padding: 0;
    height: 200px;
    width: 1200px;
    padding: 0px 20px 0px 20px;
}

footer {
    width: 1200px;
}

nav {
    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;
    margin-bottom: 10px;
    margin-top: 10px;
    max-width: fit-content;
    max-height: fit-content;
}

.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;
}

title,
h1,
h2,
h3 {
    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;
}

article,
aside,
div {
    background-color: #4C2514;
    padding: 10px 30px 10px 30px;
    display: inline-block;
}

aside,
div {
    margin-bottom: 20px;
    width: 100%;
    border-left: 5px solid #A45E30;
    border-right: 5px solid #A45E30;
    border-radius: 20px;
}

#top {
    border: none
}

article {
    width: 50%;
    margin-right: -4px;
    vertical-align: top;
}

p {
    color: #F7F0C4;
    font-family: "Caudex", serif;
    font-weight: 400;
    font-style: normal;
    font-size: large;
}

p span {
    color: #D4EE51;
    font-weight: bolder;
}

p.clear {
    clear: both
}

figure {
    display: table;
    float: right;
    margin: 0px 0px 10px 0px
}

figure.center {
    float: none;
    margin: auto;
}

figcaption {
    color: #F7F0C4;
    display: table-caption;
    caption-side: bottom;
    text-align: center;
    background-color: #4C2514;
    border-radius: 10px;
}

img {
    max-width: 100%;
    height: auto;
    border-bottom: 2px solid #F7F0C4;
    border-radius: 10px;
    object-fit: contain;
}

.smallerimg {
    max-width: 500px;
    margin-left: 20px;
}

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;
}

footer {
    background-color: transparent;
}

#email {
    font-style: italic;
    font-weight: bolder;
    text-decoration: none;
    border: 2px dotted #F7F0C4;
    border-radius: 10px;
    padding: 5px;
    background-color: #402012;
}

#email:hover {
    background-color: #D4EE51;
    color: #402012;
}

.parent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}