body {
    background-image: url(../images/background.png);
    background-color: #FFAF00;
    background-size: 100%;
    background-position: top center;
    font-family: 'Paytone One', sans-serif;
    font-size: 20px;
    line-height: 1.6em;
    color: #ffffff;
}

img {
    display: block;
}

h1 {
    font-size: 30px;
    line-height: 1.6em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2em;
}

/**
 * Header
 */
.header {
    margin: 3em 0;
}

.header__branding {
    display: flex;
    justify-content: center;
}

.header__branding a {
    display: block;
}

.header__branding__logo {
    max-width: 300px;
}

.header__title {
    text-align: center;
    margin: 2em 0 0 0;
}

/**
 * Main
 */
.main {
    margin: 3em 0;
}

/**
 * Sounds
 */
#sounds {
    display: none;
}

/**
 * Tiles
 */
.tiles__item {
    background-color: #FFFFFF;
    color: #ffaf00;
    border: 0;
    font: inherit;
    width: 100%;
    margin: 2em 2em 0 0;
    cursor: pointer;
    padding: 2.5em 1em;
    display: block;
    position: relative;
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.1);
}

.tiles__item:focus {
    outline: none;
}

.tiles__item__duration-bar {
    display: block;
    background-color: #ffaf00;
    position: absolute;
    width: 0%;
    height: 5px;
    left: 0;
    bottom: 0;
    opacity: 0.5;
    transition: width 0.2s linear;
}

.tiles__item__duration-bar--active {
    width: 100%;
}

.tiles__item:nth-child(1) {
    margin-top: 0;
}

/**
 * Socials
 */
.socials {
    margin: 3em 0 0 0;
}

.socials__heading {
    margin: 0 0 1em 0;
    text-align: center;
}

.socials__items {
    display: flex;
    justify-content: center;
}

.socials__items__item {
    margin: 0 0 0 0.7em;
}

.socials__items__item:first-child {
    margin-left: 0;
}

.socials__items__item__icon {
    width: 40px;
}

@media only screen and (min-width: 800px) {
    h1 {
        font-size: 35px;
    }

    .tiles {
        display: flex;
        flex-wrap: wrap;
    }

    .tiles__item {
        width: calc( ( 100% - ( 1 * 2em ) ) / 2 );
        margin: 2em 2em 0 0;
        font-size: 23px;
    }

    .tiles__item:nth-child(1), .tiles__item:nth-child(2) {
        margin-top: 0;
    }

    .tiles__item:nth-child(2n) {
        margin-right: 0;
    }
}

@media only screen and (min-width: 1300px) {
    .container {
        padding: 0;
    }

    .tiles__item {
        width: calc( ( 100% - ( 2 * 2em ) ) / 3 );
        transition: transform 0.2s;
    }

    .tiles__item:hover {
        transform: scale(1.1);
    }

    .tiles__item:nth-child(1), .tiles__item:nth-child(2), .tiles__item:nth-child(3) {
        margin-top: 0;
    }

    .tiles__item:nth-child(2n) {
        margin-right: 2em;
    }

    .tiles__item:nth-child(3n) {
        margin-right: 0;
    }
}