* {
    margin: 0;
    padding: 0;
}

body {
    background-image: url(../img/fon10.jpg);
    background-attachment: fixed;
    background-size: cover;
    width: 100%;
}

legend a {
    text-decoration: none;
}

.backformwin {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-content: center;
    margin-top: 50px;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 50px;

    animation-name: bfopt;
    animation-duration: .2s;
    animation-delay: .1s;
    animation-timing-function: linear;
    animation-play-state: running;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: backwards;
    min-width: 570px;
}

@keyframes bfopt {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.bform legend h2 {
    display: flex;
    color: rgb(255, 0, 0);
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 5px;
    margin-top: 10px;
    justify-content: center;
}

.bform {
    display: flex;
    flex-direction: column;
    width: 320px;
    height: 500px;
    margin: auto;
    background-color: black;
    background-position: center;
    border: rgb(255, 70, 0) solid 2px;
    border-radius: 16px;
    box-shadow: 1px 3px 2px 1px rgba(133, 133, 133, 0.5);
}

.bform input {
    width: 190px;
    border: 0;
    background-color: black;
    border-bottom: rgb(27, 27, 27) solid 3px;
    border-right: rgb(27, 27, 27) solid 1px;
    color: rgb(255, 70, 0);
    font-size: 16px;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
}

.bform textarea {
    width: 264px;
    border: 0;
    background-color: rgb(0, 0, 0);
    border-bottom: rgb(27, 27, 27) solid 4px;
    border-right: rgb(27, 27, 27) solid 2px;
    color: rgb(255, 70, 0);
    font-size: 16px;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
}







#pozivnoy:focus {
    outline: none;
    border-top: rgb(49, 49, 49) solid 3px;
    border-left: rgb(49, 49, 49) solid 1px;
    border-right: black;
    border-bottom: black;
}

textarea:focus {
    outline: none;
    border-top: rgb(49, 49, 49) solid 4px;
    border-left: rgb(49, 49, 49) solid 2px;
    border-right: black;
    border-bottom: black;
}

input #send {
    width: 190px;
    height: 30px;
    background-color: black;
    margin-left: auto;
    margin-right: auto;
    color: rgb(255, 70, 0);
}

#send:hover {
    border: 0;
    border-top: 3px rgb(49, 49, 49) solid;
    border-left: solid rgb(49, 49, 49) 1px;
}

#send:active {
    border: 0;
    border-bottom: 3px rgb(49, 49, 49) solid;
    border-right: solid rgb(49, 49, 49) 1px;
}