body {
    margin: 0;
    box-sizing: border-box;
    background-color: #dddddf;
}

header {
    padding: 20px 40px 40px 40px;
}

header h1, header h2 {
    margin-top: 0;
    margin-bottom: 0;
    font-family: 'sansation';
}

header h2 {
    font-weight: normal;
    font-style: italic;
}

main {
    width: 80%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    padding: 3em;
    margin-bottom: 3em;
}

main h1, main h2, main h3 {
    font-family: 'roboto';
}

main h1 {
    text-decoration: underline;
}

main h2 {
    font-style: italic;
}

main h3 {
    margin-bottom: 0em;
}

main p, main li {
    font-family: 'gravity';
}

main hr {
    width: 100%;
}

a {
    font-family: 'roboto';
    color: black;
    text-decoration: none;
}

a:hover {
    color: grey;
}

main>p>a {
    text-decoration: underline;
}

.project-card {
    padding: 2em;
    box-shadow: 0px 0px 10px 5px black;
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 5fr;
}

.project-card img {
    width: 150px;
}

.project-card div {
    padding-left: 2em;
}

.project-card h3 {
    font-size: 1.5em;
}

.project-image {
    width:65%;
    box-shadow: 0px 0px 10px 5px black;
    margin-top: 1em;
}

#cover-photo {
    width: 25%;
    box-shadow: 0px 0px 10px 5px black;
}


@font-face {
    font-family: 'roboto';
    src: url('/font/roboto-regular.woff2') format('woff2'),
         url('/font/roboto-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'roboto';
    src: url('/font/roboto-bold.woff2') format('woff2'),
         url('/font/roboto-bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;

}

@font-face {
    font-family: 'roboto';
    src: url('/font/roboto-italic.woff2') format('woff2'),
         url('/font/roboto-italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;

}

@font-face {
    font-family: 'roboto';
    src: url('/font/roboto-bolditalic.woff2') format('woff2'),
         url('/font/roboto-bolditalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;

}

@font-face {
    font-family: 'gravity';
    src: url('/font/gravity-regular.woff2') format('woff2'),
         url('/font/gravity-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'gravity';
    src: url('/font/gravity-italic.woff2') format('woff2'),
         url('/font/gravity-italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;

}

@font-face {
    font-family: 'gravity';
    src: url('/font/gravity-bolditalic.woff2') format('woff2'),
         url('/font/gravity-bolditalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;

}

@font-face {
    font-family: 'gravity';
    src: url('/font/gravity-bold.woff2') format('woff2'),
         url('/font/gravity-bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;

}

@font-face {
    font-family: 'sansation';
    src: url('/font/sansation_regular.woff2') format('woff2'),
         url('/font/sansation_regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'sansation';
    src: url('/font/sansation_italic.woff2') format('woff2'),
         url('/font/sansation_italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;

}

@font-face {
    font-family: 'sansation';
    src: url('/font/sansation_bold_italic.woff2') format('woff2'),
         url('/font/sansation_bold_italic.woff') format('woff');
    font-weight: bold;
    font-style: italic;

}

@font-face {
    font-family: 'sansation';
    src: url('/font/sansation_bold.woff2') format('woff2'),
         url('/font/sansation_bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;

}
