@import url(https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap);
@import url(https://fonts.googleapis.com/css?family=Cabin:600,600i&display=swap);
@import url(https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700&display=swap);

body {
    font-family: Noto Sans, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: rgba(249, 247, 244, 0.9);
    color: #000;
}

.content {
    max-width: 800px;
    margin: 0;
    position: relative;
}

h1 {
    font-size: 2em;
    color: #000;
    text-decoration: underline;
}

h2 {
    font-size: 1.5em;
    color: #000;
    text-decoration: underline;
}

p {
    font-size: 1em;
    line-height: 1.5;
    color: #000;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin-bottom: 15px;
}

a {
    color: #cc0000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.contact {
    margin-top: 20px;
}

.resized-image {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
}

.photo {
    width: 200px;
    height: 200px;
    margin-right: 20px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 600px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .photo {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 767px) {
    body {
        font-size: 14px;
    }

    .content {
        font-size: 0.9em;
    }

    h1 {
        font-size: 1.5em;
    }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 13px;
    }

    .content {
        font-size: 0.85em;
    }

    h1 {
        font-size: 1.3em;
    }
}
