html, body {
    height: 100%;
    font-family: "Lato", Helvetica, Arial, sans-serif;
}

body {
    display: flex;
    background: black;
    align-items: center;
    margin: 0;
}

img {
    max-height: 80%;
    max-width: 80%;
    border-radius: 8px;
}

iframe {
    height: 100%;
    width: 100%;
    border-radius: 8px;
}

h1 {
    margin: 0 0 1em;
    color: aliceblue;
    text-align: center;
    font-size: x-large;
}

p {
    margin: 0;
    color: white;
    text-align: center;
    font-size: small;
}

a {
    color: #bb57db;
}

input {
    height: 100%;
    text-align: center;
    border: none;
    background-color: rgb(248, 242, 255);
    border-radius: 8px 8px 0 0;
}

button, button:focus {
    height: 100%;
    border: none;
    color: rgb(248, 242, 255);
    background: #925fd9;
    cursor: pointer;
    border-radius: 0 0 8px 8px;
}

button:hover, button:active {
    background: #7e3dd9;
}

input:focus, button:focus {
    outline: none;
}

.hidden {
    visibility: hidden;
}

.background {
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    z-index: -1;

    background: url("../images/background.png") center no-repeat transparent;
    background-size: cover;
}

.container {
    display: flex;
    height: 100%;
    width: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: space-around;
    padding-left: 1em;
    padding-right: 1em;
}

.card {
    padding: 16px;
    background-color: rgba(248, 242, 255, 0.84);
    color: #480a63;
    border-radius: 8px 8px 8px 8px;
}

.card > p {
    color: inherit;
}

.emoji {
    font-size: 500%;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-decoration: none;
}

.form {
    display: flex;
    flex-flow: column;
    height: 64px;
}

.header {
    width: 100%;
    height: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.content {
    width: 100%;
    height: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.footer {
    width: 100%;
    height: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.fadein {
    -webkit-animation: fadein 3s;
    -moz-animation: fadein 3s;
    animation: fadein 3s;
}

.shake {
    animation: shake 0.5s infinite;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes shake {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(3em);
    }
    40% {
        transform: translate(-3em);
    }
    60% {
        transform: translate(3em);
    }
    80% {
        transform: translate(-3em);
    }
    100% {
        transform: translate(0);
    }
}

@media (min-height: 576px) {
    h1 {
        font-size: xx-large;
    }
    p {
        font-size: large;
    }

    iframe {
        width: 60%;
    }

    .emoji {
        font-size: 1000%;
    }
}
