@import url('https://fonts.googleapis.com/css?family=Roboto');

* {
    transition: all 0.6s;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #222831;
    color: black;
    text-align: center;
    padding-top: 5vh;
}

h1 {
    color: #eeeeee;
}

.title {
    color: #ffd369;
    font-size: 2rem;
    padding-bottom: 3vh;
}

.content {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.no-name-error {
    display: none;
    font-size: 14px;
    margin-top: -18px;
    color: red;
    transition: 2s;
}

.error {
    position: relative;
    animation: shake .1s linear;
    animation-iteration-count: 3;
    border: 2px solid red;
    border-radius: 6px;
    outline: none;
}

.custom-button {
    margin-top: 1vh;
    width: 100%;
}

@keyframes shake {
    0% {
        left: -3px;
    }
    100% {
        right: -3px;
    }
}


/* media */
@media (max-width: 1100px) {
    .content {
        width: 40%;
    }
}