/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* styles for the portfolio */
body {
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    color: #333;
}

p{
    margin-bottom: 1rem;
}

strong {
    font-weight: 900;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
}

h1 {
    font-family: 'Ultra', cursive;
    font-size: 2.5rem;
    color:#ff0000;
    line-height: 1.1;
}

h2 {
    font-size: 2rem;
    line-height: 1.25;
    font-weight: 900;
    color:#404040;
}
.selected-work h2 {
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 1.25;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

a {
    color: #007BFF;
}

a:hover {
    text-decoration: underline;
}
p.lead {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.75;
    color: #0048ff;
    margin-bottom: 2em;
}
dt {
    letter-spacing: 0.25rem;
    line-height: 1.25;
    text-transform: uppercase;
    font-weight: 900;
    color: #ff0000;
}
dd {
    margin-bottom: 1.25rem;
}
header {
    padding: 1rem 0 1rem 0;
    border-bottom: px solid #ccc;
    margin-bottom: 2rem;
}
hr.fun {
    border: none;
    border-top: 8px dotted #ff0000;
    /* width: 50%; */
    margin: 2rem auto 4rem 0;
}
hr.fun.top {
    margin: 2rem auto 2rem 0;
}
hr.stach {
    border: none;
    border-top: .5rem solid #0048ff;
    width: 3rem;
    margin: 0 auto 1rem 0;
}
.work-item {
    margin-bottom: 4rem;
}
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #ff0000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    font-weight: 400;
}
.btn.secondary{
    border: 2px solid #ff0000;
    color: #ff0000;
    background-color: transparent;
    font-weight: 900;
}
.btn:hover {
    background-color: #840000;
    text-decoration: none;
}
.btn.secondary:hover{
    color: #ffffff;
    background-color: #ff0000;
}
.identity {
    margin-bottom: 0;
}
.identity a {
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 900;
    font-style: italic;
    transition: color 0.5s ease;
}
.identity a:hover {
    /* font-style: normal; */
    color: #ff0000;
}
footer {
    margin-top: 6rem;
    margin-bottom: 2rem;
}
.portrait {
    display: block;
    max-width: 100%;
    height: auto;
    /* margin-bottom: 1rem; */
}

.introduction .container {
    display: grid;
}


/* Responsive design */
.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 781px) {
    .introduction .container {
        grid-template-columns: minmax(0, 1fr) 2fr;
        align-items: center;
        gap: 2rem;
    }

    .introduction .portrait {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        margin: 0 auto 1rem auto;
    }

    .introduction-copy {
        grid-column: 2;
        grid-row: 1;
    }
}
