/* the styles for the elements */
* {
    margin: 0; 
    padding: 0;
    box-sizing: border-box; 
}
html {
    background-color: steelblue;
}
body {
    background-color: white;
	font-family: Arial, Helvetica, sans-serif;
    font-size: calc(90% + 0.3vw); 
    width: 100%;
}
a {
    font-weight: bold;
}
h1, h2, h3 { padding-top: .75em; } 
p, ul, blockquote { padding-top: .5em; } 
h1 { font-size: 160%; }
blockquote { padding-left: 2em; }

/* the styles for the header */
header {
    background-image: linear-gradient(to bottom, white 0%, lightsteelblue 100%);
    padding: 1em 1.5em; 
    border-bottom: 2px solid steelblue; 
    & img {        
        float: left; 
        margin-right: 1em;
        width: clamp(100px, 20%, 120px);        
    }
    & h2 {
        font-size: 250%;
        font-style: italic;
        color: steelblue;
        padding-top: 0;
    }
    & h3 {
        font-size: 150%;
        padding-top: .25em;
    }
} 

/* the styles for the main element  */
main {
    clear: left;
    display: flex;
    padding: 0 1.5em 1em;
}

/* the styles for the section */
section {
    flex-basis: 65%;
    & h3 {
        color: maroon;
    }
    & a:link, a:visited { 
        color: maroon;
    }
    & a:hover, a:focus {
        color: steelblue;
    }
}

/* the styles for the sidebar */
aside {
    flex-basis: 35%;
    height: fit-content;
    padding: 1em 1.5em; 
    margin: 1em 0 1em 1.5em;    
    border: 2px solid steelblue;
    border-radius: 25px;
    & h2 {
        padding: 0;
        color: maroon;
    }
    & ul {
        line-height: 1.5;
        padding-left: 1em;
    }
    & a:link, a:visited { 
        color: steelblue
    }
    & a:hover, a:focus {
        color: maroon;
    }
}

/* the styles for the footer */
footer { 
	padding: 1em 1.5em;
    background-color: steelblue;
    & p {
        text-align: center;
        font-size: 85%;
        color: white;    
    }    
} 
