/* 
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com 
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000; 
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}



/* MY CODE */

.main-wrapper {
    margin: 0 auto;
    width: 1000px;
    display: flex;
    flex-direction: row;
}

body {
    background-color: #ccc;
}

a { 
    text-decoration: none;
}

.nav-login {
    display: flex;
    flex-direction: row;
    padding-left: 15px;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
}

header nav {
    width: 100%;
    height: 60px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

header nav ul {
}

header nav ul li {
    list-style: none;
}

header nav ul li a {
    font-family: arial;
    font-size: 16px;
    color: #111;
    line-height: 63px;
}

header .nav-login form {
    padding-top: 15px;
}

header .nav-login form input {
    border: none;
    background-color: #ccc;
    line-height: 30px;
    font-size: 14px;
    font-family: arial;
    margin-right: 10px;
    height: 30px;
    width: 140px;
}

header .nav-login form button {
    border: none;
    width: 60px;
    height: 30px;
    background-color: #f3f3f3;
    color: #333;
    font-size: 14px;
    font-family: arial;
    margin-right: 10px;
    cursor: pointer;
}

header .nav-login form button:hover {
    background-color: #ccc;
}

.home-intro {
    padding: 40px 15px 60px;
}

/* Two-column home section: grid + gap so spacing is explicit (not dependent on flex
   item margins, which are easy to override or miss if an old style.css is cached). */
.main-wrapper.home-columns {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: start;
}

.home-profile-column {
    max-width: 100%;
}

.home-content-column {
    min-width: 0;
}

.profile-card {
    background-color: #fff;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.profile-figure {
    margin: 0;
    width: fit-content;
    max-width: 100%;
}

.profile-headshot {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
}

.profile-name {
    font-family: arial, sans-serif;
    font-size: 28px;
    font-weight: normal;
    color: #111;
    line-height: 1.2;
    margin-top: 16px;
}

.home-content-card {
    background-color: #fff;
    padding: 32px 36px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.home-content-card p {
    font-family: arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: #222;
    margin: 0 0 1em;
}

.home-content-card p:last-child {
    margin-bottom: 0;
}

.home-heading {
    font-family: arial, sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #111;
    margin: 0 0 0.75em;
    line-height: 1.2;
}

.home-content-card a {
    color: #0b57d0;
    text-decoration: underline;
}

@media (max-width: 720px) {
    .main-wrapper.home-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .home-profile-column {
        width: 100%;
    }

    .profile-card {
        display: flex;
        justify-content: center;
    }

    .profile-figure {
        margin-left: auto;
        margin-right: auto;
    }
}