.main {
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%,-60%);
    text-align: center;
}

.input {
    height: 30px;
    line-height: 30px;
    border-radius: 25px;
    color: #2259BE;
    font-weight: bold;
    font-size: 15px;
    text-align: left;
    background-color: #fff;
    border: 1px solid #eee;
    margin: 0 auto;
}

.input div {
    display: inline-block;
}

.input > div:first-of-type {
    width: 100px;
    text-align: center;
    border-radius: 25px;
    background-color: #eee;
}

.input > div:nth-child(2) {
    width: calc(100% - 100px - 30px);
    text-align: left;
    padding: 0 20px 0 10px;
}

.input > div:nth-child(2) > div:first-of-type {
    width: 100%;
}

.input input {
    width: 100%;
    border: 0;
    text-align: left;
}

.username, .password {
    width: 80%;
}

@media only screen and (max-width: 600px) {
    .main {
		width: 90%;
    }
}

@media only screen and (max-width: 1280px) {
    .username, .password {
		width: 100%;
    }
}