@import url('https://fonts.googleapis.com/css2?family=Yusei+Magic&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Acme&family=Architects+Daughter&family=Roboto+Mono:wght@500&family=Source+Code+Pro:ital@1&display=swap');

header,
h1,
h2,
footer,
ul,
il {
    font-family: 'Yusei Magic', sans-serif;
}


nav {
    font-family: 'Lato', sans-serif;
}

header,
footer {

    color: white;
    background-color: #001524;
    text-align: center;

}

.cakes {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 5px;
    text-align: center;
    background-color: #ff7d00;
    color: black;
    font-family: 'Source Code Pro', monospace;

}



header {
    display: flex;
    flex-direction: row;
    /*the row value stacks the flex items horinzontally (from left to right)*/
    align-items: center;
    /* Perfect centering: Set both the justify-content and align-items properties to center, and the flex items will be perfectly centered*/
    justify-content: center;

}

.heading {
    display: flex;
    flex-direction: column;
}

header img {
    width: 80px;
    height: auto;
}

.heading h1 {
    font-size: 25px;
    margin: 10px;

}

.motto {
    font-size: 20px;
    font-style: italic;
    font-weight: normal;
    margin: 5px;
    color: white;
}

nav {
    font-size: 20px;
    width: 100%;
}

nav button {
    background-color: transparent;
    border: none;
    font-size: 40px;
    color: white;

}


h2 {
    font-size: 25px;
    text-align: center;
    text-decoration: none;
    color: black;
}

.banner-box {
    /*This is for my banner Image (Idaho Farm) on my Preston page*/
    display: block;
    position: relative;
    
}

.banner-image {
    /*This is to display my banner image with the right dimensions*/
    width: 100%;
    height: auto;

}

.weathersummary {

    font-family: 'Yusei Magic', sans-serif;
    /*By removing position:absolute; from my small.css I was able to let my summary show under my hero image on my small view screen*/
    top: 10px;
    left: 10px;
    background: radial-gradient(#eee, #bbc4d8);
    /*border: 1px solid #000;*/
    padding: 9px;
    box-shadow: 0 0 20px #111;
    opacity: .8;
    font-size: 12px;
    text-align: center;
}

ul,
li {
    font-size: 18px;
}


footer {
    color: white;
    background-color: #001524;
    padding: 1rem;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    font-size: 15px;

}

header,
main,
footer {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 5px;

}

nav {
    max-width: 800px;
    margin: 0 auto;
}

picture {
    padding: 5px;
}


main {
    padding: 10px;
}


nav {
    background-color: #156160;
    text-align: center;
    box-shadow: 0 5px 15px gray;
}

nav ul {
    list-style-type: none;
    /*this removes the bullet points on the side of each list item*/
    margin: 0;
    padding: 0;
    overflow: hidden;

}

nav ul li a {
    display: block;
    /*this places the nav in a block for the small screen view*/
    color: white;
    text-align: center;
    padding: 9px;
    text-decoration: none;
    /* this removes the underline from every list item*/
    font-size: 1rem;
}

nav ul li.active a {
    background-color: #001524;
    color: white;


}

/*always place .active before "hover" so it can work properly*/


nav a:hover {
    background-color: #ff7d00;
    color: black;
    font-family: 'Source Code Pro', monospace;

}

nav ul.hide {
    display: none;
}


table,
th,
td {
    border: 1px solid black;
    border-collapse: collapse;
    padding: 2px;


}

th,
td {
    text-align: center;
}


.center {
    margin-left: auto;
    margin-right: auto;
}


.balloon {
    float: right;
    box-shadow: 0 0 20px #111;
    margin: 0 0 0 2%;

}

.contentbox {
    display: block;
    margin: 10px auto;
    padding: 15px;
    color: black;
    font-family: 'Yusei Magic', sans-serif;
    font-size: 15px;
}

.contentbox4 {
    display: block;
    margin: 10px auto;
    padding: 15px;
    background-color: #FFECD1;
    color: black;
    font-family: 'Yusei Magic', sans-serif;
    font-size: 15px;
}

.social {
    text-align: left;
}

.social img {
    width: 35px;
}

.map {
    width: 100%;
    height: auto;
}

/*This is my Google Map*/


#copy {
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
}