@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');
html {
    font-family: 'Quicksand', sans-serif;
    font-weight: 300;
    font-size: 36px;
}
body {
    max-width: 1440px;
    margin: auto;
    background-color: rgba(0,0,0,0.034);
    
}
main {
    background-color: #ffffff;
}
h1 {
    font-size: 4rem;
    color: #ffffff;
    text-align: right;
}
h2 {
    font-size: 2rem;
    color: #000000;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    text-transform: uppercase;
}
p {
    line-height: 1.5rem;
}
form {
    display: grid;
    grid-template-columns: auto;
    padding: 0 15%;
}
form > div {
    display: flex;
    justify-content: center;
}
input, textarea {
    font-size: 1rem;
}
button {
    font-size: 0.75rem;
    padding: 0.25rem 5%;
    margin: 0.25rem;
}
header {
    background-color: #000000;
    color: #ffffff;
    font-size: 0.67rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
header ul {
    display: flex;
    list-style: none;
    gap: 1rem;
    justify-content: flex-end;
    margin-right: 1rem;
}
header a {
    text-decoration: none;
    color: #ffffff;
    text-transform: capitalize;
    
}
footer {
    background-color: #000000;
    color: #ffffff;
    font-size: 0.67rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
}
.hero {
    position: relative;
 }
.hero img {
    width: 100%;
}
.hero h1 {
    position: absolute;
    bottom: 0;
    right: 1rem;
}
#contact-me {
    margin-bottom: 1.5rem;
}
#contact-me h2 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

#portfolio-section {
    position: relative
}
#portfolio-section img {
    width: 100%;
}
#portfolio-section > div {
    position: absolute;
    left: 1rem;
    top: 1rem;
}
#portfolio-section > div > h2 {
    color: #ffffff;
    margin: 0;
}
#portfolio-section > div > a {
    font-size: 2rem;
    margin: 0;
    color: #d8b33c;
}
#my-story {
    padding-left: 15%;
    padding-right: 15%;
    padding-bottom: 0.3rem;
}
#my-story h2 {
    margin: 1rem 0;
}
.highlight {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
}
.highlight h2, .highlight a{
    padding-left: 1rem;
    padding-right: 1rem;
}
.highlight > div, .highlight > img {
    width: 50%;
}
.highlight a {
    font-size: 2rem;
    margin: 0;
    color: #d8b33c;
}
.highlight.invert {
    background-color: #000000;
    flex-direction: row;
} 
.invert h2{
    color: white;
}
#work-item-header {
    margin: 0;
    text-align: center;
}
#work-item-image {
    width: 100%;
}
.work-item-text {
    padding: 0.3rem 5%;
}
/* @media screen and (max-width:400px) {
    html {
        font-size: 16px;
    }
    body {
        max-width: 400px;
    }
    h1 {
        font-size:3rem;
    }
    h2 {
    font-size: 1.5rem;
    }
    #portfolio-section > div {
    left: 0.5rem;
    top: 0.2rem;
    }
    #portfolio-section > div > a {
    font-size: 1.2rem;
    }
}
@media screen and (min-width: 401px) and (max-width: 640px) {
    html {
        font-size: 18px;
    }
    body {
        max-width: 640px;
    }
    h1 {
        font-size:3rem;
    }
    h2 {
    font-size: 1.5rem;
    }
    #portfolio-section > div {
    left: 0.5rem;
    top: 0.2rem;
    }
    #portfolio-section > div > a {
    font-size: 1.2rem;
    }
}
@media screen and (min-width: 641px) and (max-width: 900px) {
    html {
        font-size: 24px;
    }
    body {
        max-width: 900px;
    }
    h1 {
        font-size:3rem;
    }
    h2 {
    font-size: 1.5rem;
    }
    #portfolio-section > div {
    left: 0.5rem;
    top: 0.5rem;
    }
    #portfolio-section > div > a {
    font-size: 1.5rem;
    }
} */

/* Tim */
 @media screen and (max-width:600px) {
    html {
        font-size: 16px;
    }
    h1 {
        font-size:3rem;
    }
    h2 {
    font-size: 1.5rem;
    }
    #portfolio-section > div {
    top: 0.2rem;
    }
    #portfolio-section > div > a {
    font-size: 1.2rem;
    }
    .highlight a {
        font-size: 1.5rem;
    }
}
@media screen and (min-width: 601px) and (max-width: 767px) {
    html {
        font-size: 24px;
    }
    h1 {
        font-size:3rem;
    }
    h2 {
    font-size: 1.5rem;
    }
    #portfolio-section > div {
    top: 0.2rem;
    }
    #portfolio-section > div > a {
    font-size: 1.2rem;
    }
    .highlight a {
        font-size: 1.5rem;
    }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
    html {
        font-size: 24px;
    }
    h1 {
        font-size:3rem;
    }
    h2 {
    font-size: 1.5rem;
    }
    #portfolio-section > div {
    top: 0.5rem;
    }
    #portfolio-section > div > a {
    font-size: 1.5rem;
    }
    .highlight a {
        font-size: 1.5rem;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
    html {
        font-size: 24px;
    }
    h1 {
        font-size:4rem;
    }
    h2 {
    font-size: 2rem;
    }
    #portfolio-section > div {
    top: 0.5rem;
    }
    #portfolio-section > div > a {
    font-size: 2rem;
    }
    .highlight a {
        font-size: 2rem;
    }
}
@media screen and (min-width: 1200px) {

}

@media print {
    *,
    *::before,
    *::after {
        background-color: #ffffff !important;
        color: #000000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    @page {
        margin: 1cm;
        size: a4 portrait;
    }
    a{
        text-decoration: none;
    }
    a[href]::after {
        content: " (" attr(href) ")";
    }
    header, footer {
        display: none;
    }
    html {
        font-size: 16px;
    }
    #work-item-image {
        margin: 2rem;
    }
    .work-item-text {
        break-inside: avoid;
    }
    #work-item-image {
        max-height: 400px;
        width: auto;
    }
}