body {
    font-family: helvetica, clean, sans-serif;
}

.contents {
    width: 990px;
    margin: 0 auto;
}

header {
    .contents > * {
        display: inline-block;
    }

    img {
        &:first-child {
            width: 200px;
            margin-bottom: -40px;
        }
        &:last-child {
            width: 300px;
            margin-bottom: -20px;
        }
    }

    h2 {
        font-size: 40px;
        color: #3D1B6E;
        padding: 0 20px;

        span {
            color: #56B0E6;
        }
    }
}

main {
    background-image: linear-gradient(#BDDCF6, #E4DDFF, #D3C8E1);

    .contents {
        position: relative;
        padding: 5px 0;

        nav {
            position: relative;
            z-index: 1;
        }

        a {
            border: 0;
            cursor: pointer;
            background: transparent;
            background-size: contain;
            display: block;
            width: 333px;
            height: 100px;
            margin: 10px 0;
            text-align: left;
            padding-left: 23px;
            padding-top: 18px;
            color: #000;

            img {
                float: right;
                height: 70%;
                margin-right: 20px;
            }

            &.big {
                background-image: url("images/large_button_normal.png");

                h5 {
                    margin-top: 20px;
                    display: inline-block;
                    font-size: 30px;
                    font-weight: bold;
                }

                &:hover {
                    filter: brightness(0.8);
                }
            }

            &.small {
                height: 68px;
                background-image: url("images/small_button_normal.png");

                h5 {
                    margin-top: 10px;
                    display: inline-block;
                    color: #fff;
                    font-size: 24px;
                }

                .imageContainer {
                    position: relative;
                    display: block;
                    width: 130px;
                    height: 70px;
                    float: right;
                    margin-right: 10px;
                    text-align: center;
                    align-content: start;

                    img {
                        float: none;
                        margin: 0;
                        border-radius: 4px;
                        -webkit-box-reflect: below 0 linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4));
                    }
                }

                &:hover {
                    filter: brightness(1.3);
                }

                &.firstSmall {
                    margin-top: 120px;
                }
            }
        }

        & > img {
            position: absolute;
            bottom: 0;
            right: 0;
            height: 110%;
        }
    }
}

footer .contents {
    font-family: helvetica, clean, sans-serif;
    text-align: center;
    padding: 10px;

    & > * {
        display: inline-block;
    }

    a {
        color: #3D1B6E;

        &:hover {
            color: #56B0E6;
        }
    }
}