@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic,700italic);

body {
    height: 1500px;
    background: linear-gradient(#80FFDB, #64DFDF, #48BFE3, #5390D9, #5E60CE);
    background-size: cover;
    padding: 0;
    margin: 0;
}

#app {
    height: 100%;
    position: relative;
    font-family: 'Open Sans', sans-serif;
    max-width: 500px;
    margin: 0 auto;
}

#button-container {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 15px 0;

    .button {
        color: white;
        text-align: center;
        cursor: pointer;
        font-size:20px;
        border-radius: 10px;
        background-color:#0038d3;
        border: none;
        padding: 15px;
        width: 120px;
        filter: drop-shadow(0px 0px 8px rgb(80, 20, 220));
        transition: all 0.5s;
    }

    .button span {
        cursor: pointer;
        display: inline-block;
        position: relative;
        transition: 0.5s;
    }
        
    .button span:after {
        content: '»';
        position: absolute;
        opacity: 0;
        top: 0;
        right: -20px;
        transition: 0.5s;
    }
        
    .button:hover span {
        padding-right: 25px;
    }
        
    .button:hover span:after {
        opacity: 1;
        right: 0;
    }
}

.locale-switcher-container {
    position: absolute;
    top: 0;
    right: 16px;
}

#output {
    padding-top: 50px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-around;
    border-radius: 0 0 20px 20px;
    font-size: 14px;

    .result-item {
        width: 120px;
        height: 200px;
        text-align: center;
        font-weight: bold;
        opacity: 0;

        .result-item-image {
            overflow: hidden;
        }

        .result-item-image > img {
            width: 120px;
        }
    }
}

/**
 * Icon
 */

.icon {
    position: relative;
    overflow: hidden;
    width: 120px;
    height: 120px;
    display: inline-block;

    color: #fff;
    text-decoration: none;
    text-align: center;
    line-height: 50px;
    font-size: 12px;
    font-family: sans-serif;
}

/**
 * The "shine" element
 */

.icon:after {
    animation: shine 3s ease-in-out infinite;
    animation-fill-mode: forwards;
    content: "";
    position: absolute;
    top: -110%;
    left: -210%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transform: rotate(30deg);

    background: rgba(255, 255, 255, 0.13);
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0.13) 0%,
            rgba(255, 255, 255, 0.13) 77%,
            rgba(255, 255, 255, 0.5) 92%,
            rgba(255, 255, 255, 0.0) 100%);
}

/* Active state */

.icon:active:after {
    opacity: 0;
}

@keyframes shine {
    10% {
        opacity: 1;
        top: -30%;
        left: -30%;
        transition-property: left, top, opacity;
        transition-duration: 0.7s, 0.7s, 0.15s;
        transition-timing-function: ease;
    }

    100% {
        opacity: 0;
        top: -30%;
        left: -30%;
        transition-property: left, top, opacity;
    }
}

#share {
    opacity: 0;
    margin: 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

#prize-pool {
    margin-top: 10px;
}

table.prizeTable {
    border: 1px solid #1C6EA4;
    background-color: #EEEEEE;
    width: 400px;
    text-align: left;
    border-collapse: collapse;
    margin: 0 auto;
    table-layout: fixed;
}

table.prizeTable td,
table.prizeTable th {
    border: 1px solid #AAAAAA;
    padding: 3px 2px;
    text-align: center;
}

table.prizeTable .prize-type-column {
    width: 60px;
}

table.prizeTable tbody td {
    font-size: 13px;
    word-wrap: break-word;
}

table.prizeTable tr:nth-child(even) {
    background: #D0E4F5;
}

table.prizeTable thead {
    background: #1C6EA4;
    background: -moz-linear-gradient(top, #5592bb 0%, #327cad 66%, #1C6EA4 100%);
    background: -webkit-linear-gradient(top, #5592bb 0%, #327cad 66%, #1C6EA4 100%);
    background: linear-gradient(to bottom, #5592bb 0%, #327cad 66%, #1C6EA4 100%);
    border-bottom: 2px solid #444444;
}

table.prizeTable thead th {
    font-size: 15px;
    font-weight: bold;
    color: #FFFFFF;
    border-left: 2px solid #D0E4F5;
}

table.prizeTable thead th:first-child {
    border-left: none;
}

table.prizeTable td.column-count {
    text-align: left;
}

#money-spent {
    margin: 10px auto;
    text-align: center;

    #money-spent-value {
        font-weight: bold;
    }
}

#credits {
    margin: 20px auto;
    text-align: center;
    font-size: 12px;
}
