.overlay {
    height: 100%;
    width: 100%;
    display: visible;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0, 0.8);
}

.overlay-content {
    position: relative;
    top: 46%;
    width: 80%;
    text-align: center;
    margin-top: 30px;
    margin: auto;
}

.overlay .closebtn {
    position: absolute;
    top: 1px;
    right: 10px;
    font-size: 30px;
    cursor: pointer;
}

.overlay .closebtn:hover {
    color: #ccc;
}

.overlay button {
    float: right;
    background: #ddd;
    font-size: 17px;
    border: none;
    cursor: pointer;
}

.overlay button:hover {
    background: #bbb;
}

.loginbox{
    width: 350px;
    height: 350px;
    padding: 40px;
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: #1919197a;
    text-align: center;
    box-shadow: 150px 150px 120px -180px rgba(3, 107, 255, 0.27), 0 1px 6px 0 rgba(10, 48, 255, 0.48);
    border-radius: 5px;
}

.loginbox h1{
    color: white;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 0%;
    display: block;
    font-size: 2em;
    margin-block-start: 0.50em;
    margin-block-end: 0.20em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.loginbox input[type = "text"],.loginbox input[type = "password"]{
    border:0;
    background: none;
    display: block;
    margin: 15px auto;
    margin-top: 15px;
    text-align: center;
    border: 2px solid #3498db;
    padding: 14px 10px;
    width: 250px;
    outline: none;
    color: white;
    border-radius: 24px;
    transition: 0.25s;
}

.loginbox a{
    border:0;
    background: none;
    display: block;
    margin: 20px auto;
    text-align: center;
    border: 2px solid #3498db;
    padding: 14px 10px;
    width: 200px;
    outline: none;
    color: white;
    border-radius: 24px;
    transition: 0.25s;
    width:20%;
    text-decoration: none;
}

.loginbox input[type = "text"]:focus,.loginbox input[type = "password"]:focus{
    -webkit-animation: 9s colorChange infinite;
    animation: 9s colorChange infinite;
}

#verSenhaLogin:hover{
    bottom: 20%;
}

.loginbox input[type = "submit"]{
    border: 0;
    background: none;
    display: block;
    margin: 20px auto;
    text-align: center;
    border: 2px solid #2ecc71;
    padding: 14px 40px;
    outline: none;
    color: white;
    border-radius: 24px;
    transition: pointer;
}

.loginbox a[type = "submit"]{
    border:0;
    background: none;
    display: block;
    margin: 20px auto;
    text-align: center;
    border: 2px solid #2ecc71;
    padding: 12px 40px;
    outline: none;
    color: white;
    border-radius: 24px;
    transition: 0.25s;
    cursor: pointer;
}

.loginbox input[type = "submit"]:hover{
    background: #2ecc71;
}

.loginbox a[type = "submit"]:hover{
    background: #2ecc71;
}

.loginbox span{
    color: white;
}

@-webkit-keyframes colorChange{
    0%   { border-color: #007bff; }
    5%   { border-color: #6610f2; }
    10%  { border-color: #6f42c1; }
    15%  { border-color: #e83e8c; }
    20%  { border-color: #dc3545; }
    25%  { border-color: #fd7e14; }
    30%  { border-color: #ffc107; }
    35%  { border-color: #28a745; }
    40%  { border-color: #20c997; }
    45%  { border-color: #17a2b8; }
    50%  { border-color: #007bff; }
    55%  { border-color: #6610f2; }
    60%  { border-color: #6f42c1; }
    65%  { border-color: #e83e8c; }
    70%  { border-color: #dc3545; }
    75%  { border-color: #fd7e14; }
    80%  { border-color: #ffc107; }
    85%  { border-color: #28a745; }
    90%  { border-color: #20c997; }
    95%  { border-color: #17a2b8; }
}

.logingrid {
	display: grid;
	grid-template-columns: 1fr;
	grid-row: 2fr 1fr;
    justify-content: space-between;
    align-items: center;
	box-sizing: border-box;
    margin: 0;
	padding: 0;
}

.logingrid1 {
    display: grid;
    font-size: 1em;
    margin-top: 0px;
    margin-bottom: 0px;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}
