* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
}

body {
    color: #333333;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1.6rem;
}

html, body {
    max-width: 60rem;
    margin: 0 auto;
}

button {
    cursor: pointer;
}

a {
    color: #396684;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1.6rem;
}

.header {
    background: #43799c;
    color: white;
    padding: 1.6rem 0;
}

.header__title {
    font-size: 3.2rem;
    margin-bottom: .4rem;
}

.header__subtitle {
    font-size: 1.6rem;
    font-weight: 300;
}

.actions {
    background-color: #F7F7F7;
    border-bottom: 1px solid #dedfe0;
    padding: .8rem
}

.actions__container {
    align-items: center;
    display: flex;
    width: 100%;
    margin: 0 auto;
    min-height: 3rem;
    padding: 0 1.6rem;
}

.actions__container--spaced {
    justify-content: space-between
}

.input {
    border: 1px solid #DEDFE0;
    border-radius: 5px;
    font-size: 1.4rem;
    font-weight: 300;
    height: 3rem;
    margin-right: .8rem;
    padding: .4rem .8rem;
}

.dropdown {
    border-radius: 0;
    border: 1px solid #DEDFE0;
    background: white;
    font-size: 1.4rem;
    font-weight: 300;
    height: 3rem;
    margin-right: .8rem;
}

.button {
    background: #43799c;
    border: none;
    border-bottom: 2px solid #396684;
    color: white;
    font-size: 1.4rem;
    font-weight: 300;
    padding: .8rem;
    transition: background .3s ease;
}

.button:hover {
    background: #396684;
}

.button--secondary {
    background: #888888;
    border-bottom: 2px solid #717171;
}

.button--secondary:hover {
    background: #6E6E6E;
}

.title-input {
    border: 1px solid #DEDFE0;
    font-size: 2rem;
    font-weight: 300;
    display: block;
    margin: 2.4rem 0;
    padding: .8rem;
    width: 100%;
}

.body-input {
    border: 1px solid #DEDFE0;
    font-family: inherit;
    font-size: 1.6rem;
    font-weight: 300;
    display: block;
    margin: 2.4rem 0;
    min-height: 15rem;
    padding: .8rem;
    width: 100%;
}

.list-item {
    text-decoration: none;
    color: #333333;
    background: #F7F7F7;
    border: 1px solid #dedfe0;
    margin: 1.6rem 0;
    padding: 1.6rem;
    display: block;
    transition: background .3s ease;
}

.list-item:hover {
    background: #eeeeee;
}

.list-item__title {
    font-size: 1.8rem;
    margin-bottom: .4rem
}

.list-item__subtitle {
    color: #666;
    font-size: 1.4rem;
    font-weight: 300;
    font-style: italic;
}

.empty-message {
    text-align: center;
    margin: 3.2rem 0;
}

@media only screen and (max-width: 599px) { 

    body {
        font-size: 1.1rem;
        max-width: 30rem;;
        margin: 0 auto;
    }

    .header {
        padding: 1rem 0;
    }

    .header__title {
        font-size: 1.2rem;
        margin-bottom: .2rem;
    }

    .header__subtitle {
        font-size: .9rem;
    }

    #search-text {
        width: 30%;
    }

    .actions {
        padding: .8rem
    }

    .actions__container {
        min-height: 2rem;
        padding: 0 .8rem;
    }

    .input {
        font-size: .9rem;
        height: 1.6rem;
        padding: .2rem .4rem;
    }

    .dropdown {
        font-size: .9rem;
        height: 2rem;
        margin-right: .4rem;
    }

    .button {
        font-size: .9rem;
        padding: .4rem;
    }

    .title-input {
        font-size: .9rem;
        margin: 1.2rem 0;
        padding: .4rem;
    }

    .body-input {
        border: 1px solid #DEDFE0;
        font-size: .9rem;
        margin: 1.2rem 0;
        min-height: 10rem;
        padding: .8rem;
        width: 100%;
    }

    .list-item {
        border: 1px solid #dedfe0;
        margin: 1rem 0;
        padding: 1rem;
    }

    .list-item__title {
        font-size: .9rem;
        margin-bottom: .4rem
    }

    .list-item__subtitle {
        font-size: .8rem;
    }

    .empty-message {
        margin: 1.6rem 0;
    }
}
