.body {
    min-width: 577px;
    height: 340px;
    top: 550px;
    background: #ccc0;
    position: relative;
    min-width: 577px;
    width: 577px;
     /* 16:9 Aspect Ratio */
    margin: auto;
}

body {
    background-color: #5363ae;
    background-image: url(/pic/bg.png);
    background-position: center 0;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    height: 100%;
    /* overflow: hidden; */
    /* display: contents; */
    /* position: sticky; */
    /* overflow-y: hidden; */
}
form {
    /* background: #ccc0; */
    right: 0;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    text-align: center;
    font-size: 20px;
    color: white;
}


input, select{
    flex: 1;
    font-family: ff;
    background: #ccc0;
    height: 100%;
    border: none;
    outline: none;
    max-width: 215px;
    margin: 8px 23px;
}
.button{
    height: 57px;
    width: 171px;
    margin: 0;
    border-radius: 50px;
    cursor: pointer;
    transform: translate3d(0,0,0);
}
.button:hover{
    background: #1e1e1e1c;
    transform: scale(1,1);
    transition: transform .5s, opacity 1s;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active  {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

.send-animation {
    margin: auto;
    width: fit-content;
    margin-top: 160px;
}
.loading-animation {
    list-style: none;
    position: relative;
    height: 1px;
    width: 200px;
    border-bottom: 1px dashed #aaa;
    position: relative;
}
.loading-animation li {
    margin-top: -3px;
    height: 10px;
    width: 10px;
    border-radius: 10px;
    background-color: blue;
    opacity: 0;
    box-shadow: 0px 0px 4px blue,0px 0px 8px blue,0px 0px 12px blue,0px 0px 18px blue;
    position: absolute;
    left: -10%;
    animation-name: loading;
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: normal;
}
/* alternate animation */
.loading-animation li:nth-child(1) {
    animation-delay: 250ms;
}
.loading-animation li:nth-child(2) {
    animation-delay: 500ms;
}
.loading-animation li:nth-child(3) {
    animation-delay: 750ms;
}
.loading-animation li:nth-child(4) {
    animation-delay: 1s;
}
.loading-animation li:nth-child(5) {
    animation-delay: 1.25s;
}

/* fading only */
@keyframes loading {
    0% {
        left: 0%;
        opacity: 0;
    }
    20%, 60% {
        left: 50%;
        opacity: 1;
    }
    90% {
        left: 100%;
        opacity: 0;
    }
    100% {
        left: 100%;
    }
}

/* shrinking and fading */
@keyframes loading2 {
    0% {
        left: 0%;
        opacity: 0;
        height: 1px;
        width: 1px;
        margin-top: -2px;
    }
    20%, 60% {
        left: 50%;
        opacity: 1;
        height: 10px;
        width: 10px;
        margin-top: -3px;
    }
    90% {
        left: 100%;
        opacity: 0;
        height: 1px;
        width: 1px;
        margin-top: 0px;
    }
    100% {
        left: 100%;
    }
}

/* all of this is extra for the demo */
.loading-animation {
    margin: 0 auto;
    margin-top: 100px;
}
.loading-animation:before, .loading-animation:after {
    color: grey;
    font-family: "Merienda One";
}
.loading-animation:before {
    content: "Loading";
    position: absolute;
    top: -32px;
    left: 39%;
}
.loading-animation:after {
    content: "Please wait";
    position: absolute;
    top: 12px;
    left: 36%;
}
.dialog{
    z-index: 9;
    background: #ffffffab;
    position: fixed;
    width: 100%;
    height: 100%;
}
.dialog_in{
    top: 200px;
    margin: auto;
    background: url(/pic/dialog.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 600px;
    height: 293px;
    position: relative;
    /* box-shadow: 0px 6px 14px 0px black; */
}
.dialog .send_btn {
    /* background: #ccc9; */
    margin: auto;
    height: 63px;
    left: -8px;
    cursor: pointer;
    width: 162px;
    border-radius: 52px;
    top: 157px;
    position: relative;
}
.inp1{
    position: relative;
    height: 25px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    top: 2px;
}
.inp3{
    position: relative;
    top: 67px;
    height: 25px;
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.inp4{
    display: flex;
    position: relative;
    top: 133px;
    height: 25px;
    justify-content: space-between;
    width: 100%;
}
.inp5{
    position: relative;    width: 98%;    top: 51.5%;    height: 9%;
}
.inp6{
    position: relative;
    top: 199px;
    margin: 0 12px 0 0;
}

