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

body {
    background-color: #F8F8FF;
}


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


header {
    color: white;
    background-color: #001524;
    text-align: center;
    padding: 20px;
}


.cakes {
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    background-color:#ffae42;
    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;
}


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

.myimage {
    display: block;
    width: 96%;
}

.main-image {
    display: block;
    width: 100%;
    margin: 0 2%;
}


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

}


.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;
    padding-top: 5px;
    box-shadow: 0 0 20px #111;
    opacity: .8;
    font-size: 12px;
    text-align: center;
    margin-left: auto;
}

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


footer {
    color: white;
    background-color: #001524;
    padding: 1rem;
    display: flex;
    flex-flow: column;
    font-size: 15px;
    text-align: center;
    padding-bottom: 20px;
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 5px;
    padding: 10px;
}


picture {
    padding: 5px;
}


nav {
    background-color: #156160;
    text-align: center;
    box-shadow: 0 5px 15px gray;
    margin: 0 auto;
    font-size: 20px;
    width: 100%;
}

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 button {
    background-color: transparent;
    border: none;
    font-size: 30px;
    color: white;

}

nav ul li a {
    display: block;
    /*this places the nav in a block for the small screen view*/
    color: white;
    text-align: center;
    padding: 15px;
    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: #F8F8FF;
    color: black;
    transition: all 0.3s ease;

}

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: 5px;
    border: 3px solid white;
}

.contentbox {
    display: block;
    margin: 5px auto 5px auto;
    padding: 15px;
    color: black;
    font-family: 'Yusei Magic', sans-serif;
    font-size: 15px;
    background-color: lightblue;
    box-shadow: 0 0 50px lightgray;
}

.contentbox4 {
    margin: 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;
}


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

/****lesson 10****/

#weathersite {
    /*this is the link to Open Weather Map Site*/
    color: white;
}

.cards {
    background-color: rgb(241, 244, 245); 
    font-size: 20px;
    padding: 15px;
    font-family: 'Lato', sans-serif;
    border-style: ridge;
}

.cards p {
    text-align: center;
}

.center {
    font-family: 'Yusei Magic', sans-serif;
}
.forecast{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    text-align: center;
}
.eachday{
    font-family: 'Yusei Magic', sans-serif;
    font-size: 20px;
}