* {
    padding: 0; margin: 0; border: 0; box-sizing: border-box;
}

body {
    background-color: #838996;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.container {
    display: flex; /*thinking about the future desktop layout*/
    flex-flow: row wrap;
    min-height: 100%;
    background-image: linear-gradient(to bottom, #566245, #566245, #0d0a0b);
    background-repeat: no-repeat;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 120px;
    border-bottom: 4px solid;
    color: hsla(40, 100%, 64%, .9);
    text-shadow: 2px 2px 4px black;
    width: 100%;
    text-align: center;
    background-image: linear-gradient(90deg, #0D0A0B, #BBB);
    position: relative;
}

header img {
    height: 120px;
    aspect-ratio: 1/1;
    position: absolute;
    top: 0; left: 0;
    padding: 4px 0px 8px 4px;
    display: none;
}

header h3 {
    color: #F4FAFF;
}

nav {
    min-height: 80px;
    background-image: radial-gradient(circle at center, #a63d40, #0d0a0b);
    flex: 1 1 100%;
    order: 1;
    padding: 8px;
}

main {
    min-height: 800px;
    color:#F4FAFF;
    flex: 1 0 100%;
    order: 2;
}

nav ul {
    display: flex;
    list-style: none;
    flex-flow: row wrap;
}

nav ul li {
    margin: 4px;
}

nav ul li a {
    padding: 12px 12px;
    font-size: 11pt;
    display: block; width: 100%;
    background-image: linear-gradient(to bottom, #0D0A0B, #BBB);
    text-decoration: none;
    color:#F4FAFF;
    transition: color 0.3s;
}

/* accordion menu styles ===========================================*/

nav ul .inner {
    display: none;
}

nav ul li:hover > ul {
    display: block;
    
}

nav ul li:hover > ul a {
    font-size: 8pt;
}

/* end of accordion styles ========================================*/

.dailytip {
    background-color: hsla(28, 87%, 43%, 0.7);
    margin: 8px;
    color: #ffc;
    font-size: 1.1em;
    line-height: 1.4;
    padding: 8px;
    font-style: italic;
}

.hero {
    width: 100%;
    padding: 0 8px;
    margin-bottom: 8px;  
}

.introduction {
    display: flex;
    flex-flow: row wrap;
    color: #F4FAFF;
    padding: 20px;
    margin: 0 8px;
    border: 4px solid hsla(40, 100%, 64%, .9);
    border-radius: 25px;
    text-align: center;
    box-shadow: -10px 10px 15px black;
    background-image: radial-gradient(circle at center, #a63d40, #0d0a0b);
}

.introduction p {
    text-align: left;
}

.introduction p img {
    float: left;
    padding-right: 10px;
    border-radius: 25px;
}

.introduction h3 {
    flex: 1 0 100%;
    padding-bottom: 10px;
    text-decoration: underline;
}

footer {
    display: flex;
    height: 25px;
    justify-content: space-around;
    align-items: center;
    background-image: linear-gradient(90deg, #0D0A0B, #BBB);
    color: hsla(40, 100%, 64%, .9);
    text-shadow: 2px 2px 4px black;
}

footer div a {
    color:hsla(40, 100%, 64%, .9);
    text-shadow: 2px 2px 4px black;
}

/* ========desktop/laptop styles =============================*/
@media screen and (min-width: 1008px) {

    nav {
        flex-basis: 320px;
        flex-grow: 0;
    }

    nav ul {
        flex-direction: column;
    }

    nav li {
        flex-grow: 1;
    }

    nav a {
        text-align: center;
        font-size: 20pt;
        font-weight: bold;
    }

    main {
        flex-basis: 50%;
    }

    .introduction {
        margin: 0 30px 15px 30px;
    }

    .hero {
        width: 100%;
    }

    header img {
        display:block;
    }

}