* {
    box-sizing: border-box;
    font-family:monospace;
    cursor: none;
}

html, body, .container {
    width: 100vw;
    height: 100vh;
    margin: 0;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hint {
    font-style: italic;
}

.blocker {
    z-index: 1000;
    background-color: white;
    width: 100vw;
    height: 100vh;
}

#pointer {
    position: absolute;
    width: 20px;
}

.cart {
    width: 50%;
    padding: 10vmin;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 0.25em;
    box-shadow:0 0 .25em rgba(0,0,0,.25);
}

#btn {
    position: relative;
}

.center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

p {
    line-height: 1.25;
}

.justify {
    text-align: justify;
}

.white {
    color: transparent;
}

button, input {
    border: 1px solid #c3c3c3;
    border-radius: 0.5em;
    padding: 2vmin;
    margin: 2vmin 0;
    background-color: white;
    text-align: center;
}

button:hover, input[type=submit]:hover {
    cursor: pointer;
    border-color: #0099ff;
    box-shadow: 2px 2px 2px #c3c3c3;
}

button:active, input[type=submit]:active {
    transform: scale(0.95);
}

#form {
    width: 100%;
}

#errorMessage {
    background-color: red;
    color: white;
    padding: 2vmin;
    margin-bottom: 5vmin;
    display: none;
}

/* Background source : https://codepen.io/chris22smith/pen/RZogMa */
.bg {
    animation:slide 3s ease-in-out infinite alternate;
    background-image: linear-gradient(-60deg, #6c3 50%, #09f 50%);
    bottom:0;
    left:-50%;
    opacity:.5;
    position:fixed;
    right:-50%;
    top:0;
    z-index:-1;
}

.bg2 {
    animation-direction:alternate-reverse;
    animation-duration:4s;
}

.bg3 {
    animation-duration:5s;
}

@keyframes slide {
    0% {
        transform:translateX(-25%);
    }
    100% {
        transform:translateX(25%);
    }
}
