html {
    background: hsl(192, 77%, 53%);
    color: hsl(0, 0%, 100%);
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    overflow-y: scroll;
}

::-moz-selection{
    background: hsl(53, 100%, 70%);
    color: hsl(0, 0%, 0%);
    text-shadow: none;
}

::selection {
    background: hsl(53, 100%, 70%);
    color: hsl(0, 0%, 0%);
    text-shadow: none;
}

*,
*:before,
*:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

body {
    font: 400 100%/1.5 'BPreplay', sans-serif;
    height: 100%;
    margin: 0 auto;
}

.results {
    box-shadow: 0 8px 0 hsla(192, 77%, 33%, .2);
}

.result {
    border-bottom: 1px dashed hsla(0,0%,100%,.4);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    padding: 3rem 0;
    position: relative;
    text-align: center;
    text-shadow: 1px 1px 2px hsla(192, 77%, 33%, .6);
}

.result:last-child {
    border-bottom: none;
    border-right: none;
}

.time {
    display: block;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.result:hover .time {
    top: 49%;
}

.result:after {
    color: hsla(0, 0%, 100%, .6);
    content: "or";
    font-size: .875rem;
    line-height: 1.714;
    font-weight: 400;
    font-style: italic;
    display: block;
    margin: 0 auto;
    position: absolute;
    bottom: -12px;
    text-align: center;
    text-shadow: none;
    width: 100%;
}

.result:last-child:after {
    content: "";
}

sup {
    color: hsla(0, 0%, 100%, .6);
    font-size: .25em;
    letter-spacing: .08em;
    line-height: 0;
    position: relative;
    text-transform: uppercase;
    top: -2em;
    text-shadow: none;
    vertical-align: baseline;
}

.opening {
    font-weight: 400;
    font-style: italic;
    font-size: 1rem;
    margin: 0;
    padding: 1.5rem;
    padding-bottom: 0;
    text-align: center;
    z-index: 2;
}

.button {
    background: transparent;
    border: none;
    border-radius: 8px;
    box-shadow:inset 0 0 0 1px hsla(0, 0%, 100%, 1);
    color: hsla(0, 0%, 100%, 1);
    cursor: pointer;
    display: inline-block;
    font-size: .875rem;
    font-family: inherit;
    font-weight: 700;
    height: 1.5rem;
    line-height: 1.714;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: .5em;
    padding-left: .5em;
    overflow: visible;
    vertical-align: middle;
    white-space: nowrap;
}

.about {
    font-size: 1.313rem;
    line-height: 1.619;
    margin: 0 auto;
    padding: 1.5rem;
    max-width: 40em;
}

.about h3 {
    margin: 0 0 1.5rem 0;
    padding: 0;
}

.about ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    position: relative;
}

.about ul li {
    margin: 0;
    padding: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.contact {
    font-size: 1rem;
    line-height: 1.5;
}

.contact a {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

@media screen and (min-width: 40em) {
    html {
        background: -webkit-linear-gradient(90deg, hsl(192, 77%, 53%) 10%, hsl(63, 50%, 85%) 90%);
        background:    -moz-linear-gradient(90deg, hsl(192, 77%, 53%) 10%, hsl(63, 50%, 85%) 90%);
        background:     -ms-linear-gradient(90deg, hsl(192, 77%, 53%) 10%, hsl(63, 50%, 85%) 90%);
        background:      -o-linear-gradient(90deg, hsl(192, 77%, 53%) 10%, hsl(63, 50%, 85%) 90%);
        background:         linear-gradient(90deg, hsl(192, 77%, 53%) 10%, hsl(63, 50%, 85%) 90%);
    }

    .results {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        height: 100%;
        overflow: hidden;
    }

    .result {
        border-bottom: none;
        border-right: 1px dashed hsla(0,0%,100%,.4);
        height: 100%;
        padding: 0;
        position: relative;
        -webkit-box-flex: 1;
        -webkit-flex-grow: 1;
            -ms-flex-positive: 1;
                flex-grow: 1;
        text-align: center;
        text-shadow: 1px 1px 2px hsla(192, 77%, 33%, .6);
    }

    .result:after {
        top: 50%;
        right: -1em;
        transform: translateY(-50%);
        width: 2em;
    }

    .time {
        position: absolute;
        top: 50%;
        text-align: center;
        transform: translateY(-50%);
        -webkit-transition: top .1s ease-out;
                transition: top .1s ease-out;
        width: 100%;
    }

    .opening {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
    }
}

/* Overlay style */
.overlay {
    background: hsla(0, 0%, 100%, 0.9);
    color: hsl(192, 77%, 53%);
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 3;
}

/* Overlay closing cross */
.overlay .overlay-close {
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 1.313rem;
    line-height: 1.619;
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    overflow: hidden;
    border: none;
    outline: none;
    z-index: 100;
}

/* Effects */
.overlay-slidedown {
    visibility: hidden;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-transition: -webkit-transform 0.4s ease-in-out, visibility 0s 0.4s;
    transition: transform 0.4s ease-in-out, visibility 0s 0.4s;
}

.overlay-slidedown.open {
    visibility: visible;
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
    -webkit-transition: -webkit-transform 0.4s ease-in-out;
    transition: transform 0.4s ease-in-out;
}
