* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: 'Josefin Sans', sans-serif;
}

/* HEADER */
.header-row {
    margin-top: 20px;
    display: flex;
    border-bottom: 3px solid #7d97ad;
    margin-bottom: 15px;
}

.name-intro,
.logo-container {
    width: 50%;
}

.name-intro {
    text-align: right;
    text-transform: uppercase;
}

.name {
    margin: 0;
    font-weight: 300;
    font-size: 1.5em;
}

.subtitle {
    font-size: 0.9em;
}

/* Content */
.hello-greeting {
    width: inherit;
    margin-bottom: 25px;
}

.hello-world {
    font: bold 64px 'Shadows Into Light', cursive;
    text-align: center;
    background: linear-gradient(to bottom, #b3dced 0%,#29b8e5 50%,#bce0ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.hello-image {
    display: block;
    margin: auto;
    width: 45%;
}

/* Featured Work */
.featured-work {
    display: flex;
    flex-wrap: wrap;
    width: inherit;
    justify-content: center;
}

.featured-title {
    width: 100%;
    color: #7d97ad;
    font-size: 2em;
}

.sample-work {
    margin-right: 20px;
    text-align: center;
    width: 100%;
}

.last-work {
    margin-right: 0;
}

.work-image {
    height: 200px;
    width: 90%;
}

#logo {
    width: 50px;
}

.work-title {
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: black;
}

@media screen and (min-width: 500px) {
    .hello-world {
        font-size: 104px;
    }

    .subtitle {
        font-size: 1.25em;
    }

    .name {
        font-size: 3em;
    }

    .sample-work {
        width: 47.5%;
    }

    .work-image {
        width: 100%;
    }

    #logo {
        width: 75px;
    }
}

@media screen and (min-width: 700px) {
    .sample-work {
        width: calc((100% - 2 * 20px) / 3);
    }
}

@media screen and (min-width: 850px) {
    main, header {
        width: 850px;
        margin: auto;
    }
}