@font-face {
    font-family: 'RobotoSlab';
    src: url('/assets/fonts/roboto-slab-v13-latin-regular.woff2') format('woff2');
}
  
@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/roboto-v27-latin-regular.woff2') format('woff2');
}
  
* {
    margin: 0;
    padding: 0;
}

html {
    font-family: Roboto, Helvetica, Arial, sans-serif;
    background-color: #eeeeee;
}
  
body {
    padding: 1.5rem;
    max-width: 70rem;
    margin: 0 auto;
    line-height: 1.3;
}

h1, h2, h3, h4, h5, h6 {
    font-family: RobotoSlab, Times;
}

h1 {
    font-size: 2em;
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.5em;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.1em;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

.header {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-right: -1rem;
    margin-left: -1rem;
    margin-bottom: 4rem;
}

.footer {
    display: grid;
    grid-template-columns: 75% 25%;
    margin-top: 2rem;
    padding: 1rem;
    line-height: 1.5em;
    border-top: 2px solid darkgrey;
}
.footer h2 {
    font-weight: 600;
    font-size: inherit;
    margin-bottom: inherit;
}
.footer p {
    margin-bottom: 0rem;
}
  
.logo {
    height: 50px;
    cursor: pointer;
}
  
.menu {
    display: flex;
}
  
.menu a {
    padding: 1rem;
    display: block;
    text-decoration: none;
}
  
.menu a[aria-current] {
    text-decoration: underline;
}

.text {
    margin-top: 1.5rem;
}

.center {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.middle {
    vertical-align: middle;
    margin-top: auto;
    margin-bottom: auto;
}

.italic {
    font-style: italic;
}

.avatar {
    border-radius: 50%;
}

.about img {
    margin-bottom: 1.5rem;
}
.about ul {
    margin-bottom: 3rem;
    margin-left: 3rem;
}


.hometext {
    margin-bottom: 3rem;
}

.projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1.5rem;
    row-gap: 3rem;
    list-style: none;
}
.projects img {
    width: 100%
}

.summary {
    display: grid;
    grid-template-columns: 100px auto;
    column-gap: 1.5rem;
    background-color: beige;
}
.summary img {
    width: 100%;
    height: 100%;
}

.service {
    display: grid;
    grid-template-columns: 200px auto;
    column-gap: 1.5rem;
    margin-bottom: 2rem;
}
.service img {
    width: 100%;
    border-radius: 5%;
}
.service h2 {
    margin-bottom: 1rem;
}
.service h3 {
    margin-bottom: .5rem;
}

@media screen and (max-width: 800px) {
    .service, .footer, .projects {
        grid-template-columns: none;
    }
    
}