/*
Coder:
Date:
Site:
File:
Comments:
*/

html{
    font-family: 'PT Sans Narrow', sans-serif;
    background-color: #CFC4C0;
}

body{
    max-width: 800px;
    margin-top: 0px;
    margin-left: auto;
    margin-right: auto;
    background-color: #FAF4E6;
    padding-left: 30px;
    padding-right: 30px;
    font-size: 18px;
    line-height: 1.4;
    box-shadow: 0px 0px 10px black;
}

/* --- header area --- */
header{
    padding-top: 20px;
    text-align: center;
    border-bottom: double white 8px;
}

img#sconeImg{
    width: 60px;
    height: auto;
    margin-left: 10px;
    padding-top: 10px;
    cursor: pointer;
}

header h1{
    margin-top: 0px;
}

/* --- hero area --- */
div#hero{
    width: 100%;
    margin-top: 20px;
    background-color: #FDBF74;
    margin-left: auto;
    margin-right: auto;
    height: 280px;
    padding: 2px 5px; /*top-bottom, right-left*/
}

div#hero div#leftSide{
    float: left;
    width: 45%;
    height: 280px;
    background-color: #CB7700;

    /*2 values: top-bottom, right-left*/
    padding: 0px 5px;
}

div#hero h3{
    width: 100%;
    /* background-color: orange; */
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    /* https://www.w3schools.com/howto/howto_css_responsive_text.asp */
    font-size: 4.5vw;
    color: #F5EED3;
}

div#hero div#rightSide{
    float: right;
    width: 50%;
    height: 250px;
    padding-top: 15px;
    /* background-color: #FDBF74; */
}

div#hero div#rightSide figure{
    width: 100%;
    /* background-color: pink; */
    margin-left: auto;
    margin-right: auto;
}

div#hero figure figcaption{
    font-size: 16px;
    /* background-color: aqua; */
    text-align: right;
    padding-right: 20px;
}

div#hero div#rightSide figure img{
    width: 90%;
    border: double #F5EED3 10px;
}

/* ----- content ---- */
aside{
    background-color: white;
    float: right;
    border-radius: 20px;
    padding: 2px 10px;
    margin-left: 30px;
    border: 1px lightgray solid;
    margin-bottom: 20px;
    margin-top: -20px /*to align with other h3*/
}

ol li{
    margin-bottom: 18px;
}

/* ----- footer ---- */
footer{
    margin-top: 20px;
    padding: 5px 0px;
    padding-bottom: 15px;
    text-align: center;
    border-top: double white 8px;
    font-size: .8em;
    color: gray;
}

footer a{
    text-decoration: none;
    margin-right: 20px;
    color: brown;
}

/* ----- classes ---- */

.accentFont1{
    font-family: 'Dancing Script', cursive;
}

.accentFont2{
    font-family: 'EB Garamond', serif;
}

/* --- media queries --- */
@media (min-width: 800px){
    div#hero h3{
        font-size: 35px;
        /* background-color: aqua; */
    }
}

@media (max-width: 650px){
    header h1{
        font-size: 5vw;
    }

    div#hero{
        height: auto;
    }

    div#hero div#leftSide, div#hero div#rightSide{
        float: none;
        width: 100%;
        height: auto;
        padding: 0px;
        margin: 0px;
    }

    div#hero div#leftSide{
        background-color: inherit;
    }

    div#hero div#leftSide h3{
        color: #DD2C26;
    }

    div#hero div#leftSide h3{
        /* background-color: red; */
        margin-bottom: 0px;
    }

    div#hero div#rightSide{
        /* background-color: green; */
        margin-bottom: 0px;
        text-align: center;
    }

    div#hero div#rightSide figcaption{
        font-size: 4vw;
    }

    aside{
        float: none;
        margin: auto;
    }
    
}