
body {
    margin: 0;
    padding: 0;
    background-color: rgba(116, 125, 140, 0.7);
    font-family:" poppins", sans-serif;
    box-sizing: border-box;
}

.container {
width: 300px;
padding: 25px 35px; 
/*
position: absolute;
top: 15%; left: 5%;
*/
transform: translate (-50%, -50%);
background: #fff;
border-radius: 10px;
}

.container p{
font weight: 600; font size: 15px;
margin bottom: 8px;
}
.container input{
width: 100%;
height: 50px;
border: 1px solid #494eea;
outline: 0;
padding: 10px;
margin: 10px 0 20px;
border -radius: 5px;
}

.container button{
width: 100%;
height: 50px;
background: #494eea;
color: #fff;
border: 0;
outline: 0;
border-radlus: 5px;
box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
cursor: pointer;
margin: 20px 0;
font-weight: 500;
}

#imgBox{
width: 150px;
border-radius: 5px;
max-height: 0;
overflow: hidden;
transition: max-height 1s;
}

#imageBox img{
width: 100%
padding: 10px;
}

#imgBox.show-img{
max-height: 300px;
margin: 10px auto;
border: 1px solid #d1d1d1;
}

.error{
animation: shake 0.1s linear 10;
}
@keyframes shake{
0%{
transform: translateX(0);
}
25%{
transform: translateX(-2px);
}
50%{
transform: translateX(0);
}
75%{
transform: translateX(2px);
}
100%{
transform: translateX(0);
}
}

.header {
    color: #fff;
    text-align: center;
    background: linear-gradient( 45deg,#405de6,#5851db,#833ab4,#c13584,#e1306c,#fd1d1d);
    box-shadow: 0 2px 4px -1px rgb(0 0 0/20%), 0 4px 5px 0 rgb(0 0 0/14%), 0 1px 10px 0 rgb(0 0 0/12%);
    z-index: 9999;
    float: left;
    width: 100%;
}

.site-title a {
    padding: 2px;
    display: block;
    font-size: 30px;
    color: #fff;
    letter-spacing: 3px
}
#mian {
    width: 100%;
    height: 80px;
    padding: .6em 0;
    outline: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: none;
    letter-spacing: .02em;
    line-height: 1.4;
    margin-bottom: 0;
    display: block;
    text-align: center;
    font-size: 22px;
    font-weight: 400;
    font-family: sans-serif;
    letter-spacing: 1px;
    border-radius: 10px 10px 0 0;
    background: #fff;
    box-shadow: 0 -5px 20px 0 rgb(0 0 0/15%);
    z-index: 999
}

#main::placeholder {
    color: #999;
    font-size: 16px
.main {
    position: relative;
    float: left;
    padding: 0 0 10px 0;
    width: 100%;
    border-radius: 15px
}

.main .clear {
    position: absolute;
    top: 2px;
    right: 2px;
    color: #de0707;
    font-size: 20px;
    padding: 5px 15px;
    line-height: 1.5;
    background: 0 0;
    border: none;
    z-index: 999;
    cursor: pointer;
    outline: none
}

#main {
    width: 100%;
    height: 80px;
    padding: .6em 0;
    outline: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: none;
    letter-spacing: .02em;
    line-height: 1.4;
    margin-bottom: 0;
    display: block;
    text-align: center;
    font-size: 22px;
    font-weight: 400;
    font-family: sans-serif;
    letter-spacing: 1px;
    border-radius: 10px 10px 0 0;
    background: #fff;
    box-shadow: 0 -5px 20px 0 rgb(0 0 0/15%);
    z-index: 999
}
