/***************formulář**************/
@keyframes gradient {
    0%{
        background-blend-mode: darken;
        background-color: rgba(255, 255, 255, 0);
        scale: 0;
        background-position: 0% 0%;
        transform: rotate(0deg);
        border-radius: 180px;
    }
    10%{
        border-radius: 180px;
    }
    30%{
        scale: 1.1;
        transform: rotate(360deg);
        border-radius: 35px;
    }
    50%{
        background-position: 0% 0%;
        scale: 1;
    }
    70%{
        background-blend-mode: darken;
        background-color: rgba(255, 255, 255, 0);
        background-position: 75% 0%;
        border-radius: 10px;
    }
    100%{
        background-blend-mode: darken;
        background-color: rgba(0, 0, 0, 0.719);
        transform: rotate(360deg);
    }
}

body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-image: url(/img/shrine.jpg);
    background-repeat: no-repeat;
    background-position: 32% 50%;
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.body{
    background-color: black;
}

.form {
    width: 300px;
    margin-top: 20px;
    padding: 40px;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    border: 2px solid rgba(0, 0, 0, 0.651);
    background-image: url(/img/furuderika.jpg);
    background-position: 75% 0%;

    animation-name: gradient;
    animation-duration: 4s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-direction: normal;
}

.form h1 {
    font-family: 'Courier New', monospace;
    color: rgb(255, 255, 255);
    font-size: 35px;
    text-shadow:rgb(0, 0, 0) 2px 4px 2px;
    text-transform: uppercase;
    font-weight: 1000;
    margin-top: 0;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="password"],
textarea {
    border: 0;
    background: none;
    display: block;
    margin: 10px auto;
    text-align: center;
    background: #000000da;
    padding: 15px 10px;
    width: 200px;
    color: rgb(255, 255, 255);
    border-radius: 15px;
    outline: none;
    transition: 0.25s;
    border: 2px solid rgb(163, 163, 163);
}

::placeholder {
    color: rgba(255, 255, 255, 0.699);
}

.form input[type="text"]:focus,
.form input[type="email"]:focus,
.form input[type="password"]:focus,
textarea:focus {
    border-color:rgba(255, 255, 255, 0.829);
}

.form input[type="submit"] {
    background: none;
    display: block;
    margin: 0 auto;
    text-align: center;
    border: 2px solid rgb(163, 163, 163);
    padding: 10px 40px;
    width: 200px;
    outline: none;
    color: white;
    cursor: pointer;
    border-radius: 20px;
    background: #000000bd;
}

.form input[type="submit"]:hover {
    border: 2px solid rgba(255, 255, 255, 0.829);
    color: rgb(155, 101, 255);
}

/***************výsledek formuláře**************/

.form-result {
    width: 300px;
    margin: 0 auto;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.success {
    background-color: rgba(0, 75, 22, 0.774);
    color: rgb(219, 219, 219);
    border: 1px solid rgb(0, 187, 40);
}

.error {
    background-color: rgba(117, 0, 0, 0.616);
    border: 1px solid rgb(187, 0, 0);
    color: rgb(219, 219, 219);
}

a{
    color: white;
    text-decoration: underline;
    text-shadow: 1px 1px 2px black;
}

a:hover{
    color: rgb(255, 0, 0);
    cursor: pointer;
}

p{
    text-shadow: 1px 1px 2px black;
}