html,
body {
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%;
    line-height: 1.5rem;
    height: 100%;
}

body {
    background: url(../images/beach-2711264.jpg) right center no-repeat;
    background-size: cover;
    font-size: 100%;
    font-family: sans-serif;
    text-align: right;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

header,
main,
footer {
    margin: .5rem;
}

header {
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: flex-end;
    align-items: center;
}

img {
    max-width: 100%;
    width: auto;
    height: auto;
}

a {
    color: inherit;
}

main {
    flex-grow: 1;
    text-shadow: #000 0 0 .5rem;
    padding: .5rem 1.5rem;
}

footer {
    text-align: center;
    padding: .5rem;
    background: rgba(255, 255, 255, .5);
    color: #666;
    border-radius: .25rem;
}

nav a {
    margin: 0 .5rem;
    text-decoration: none;
}

h3 {
    margin-bottom: 0;
}

h3 + p {
    margin-top: 0;
}

.logo {
    width: 32rem;
    border-radius: .25rem;
}

.tags {
    margin: 1rem;
    font-size: 1.125rem;
    line-height: 1.5rem;
    text-align: right;
    text-transform: uppercase;
    text-shadow: #000 0 0 .75rem;
}

.tags .tag {
    display: block;
}

@media(min-width: 480px) {
    .tags {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
}

@media(min-width: 640px) {
    .tags {
        font-size: 1.75rem;
        line-height: 2.5rem;
    }
}
