body{
    margin: 0;
    padding: 0;
}
.erro{
     position: absolute;
    z-index: 1;
    top: 30%;
    left: 1%;
}

.error{
    background-color: rgb(255, 81, 0);
    color: white;
    width: 600px;
    position: absolute;
    z-index: 1;
    top: 20%;
    left: 10%;
    display: flex;
    flex-direction: column;
    padding: 13px;
    border-radius: 10px;
    
}
#closedialogBTN{
    background-color: rgb(255, 187, 0);
    color: aliceblue;
    width: 60px;
    height: 30px;
    margin: 10px;
    margin-left: 40%;
    border-style: none;
    border-radius: 5px;
    cursor: pointer;
    animation: none;
}
.success{
    color: rgb(238, 243, 238);
    background-color: rgb(5, 197, 5);
    position: absolute;
    width: 600px;
    z-index: 1;
    top: 50%;
    left: 10%;
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    padding: 13px;
    border-radius: 10px;
    
    
}

.header{
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(rgba(135, 177, 135, 0.815),rgba(3, 196, 3, 0.856)),url(pic/gate.jpg);
    background-size: cover;
    position: fixed;
    background-position: center;
   
}
.top{
    width: 100%;
    height: 15vh;
    background-color: green;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 600;
}
.top p{
    font-weight: 500;
    color: #31f700;
}
.top .rem{
    font-weight: 900;
    color: #f80b0bee;
}
.middle-house{
    width: 30%;
    height: 70%;
    top: 55%;
    left: 50%;
    position: absolute;
    transform: translate(-50%,-50%);
    background-color: rgba(46, 49, 45, 0.788);
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;

}





.middle-house img{
    height: 100px;
    width: 100px;
    border-radius: 50%;
    margin: 17%;
    border: 4px solid rgb(5, 189, 5);
    animation: duong 3s infinite;
}

.middle-house button{
    height: 40px;
    width: 300px;
    border-style: none;
    color: rgb(7, 158, 7);
    font-weight: 900;
    margin: 20px;
  
}

.middle-house .admin{
    background-color: rgba(3, 3, 3, 0.747);
    height: 40px;
    width: 80%;
    cursor: pointer;
    border-style: none;
    color: rgb(219, 231, 219);
    font-weight: 900;
    margin: 20px;
    transition: 2s;
}

.middle-house button:hover{
    background: rgba(0, 0, 1, 0.61);
    border-style: none;
    transition: 2s;
}

.filing{
    visibility: hidden;
    height: fit-content;
    width: 50%;
    background-color: rgba(234, 241, 233, 0.925);
    top: 55%;
    left: 50%;
    position: absolute;
    transform: translate(-50%,-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;


}
.filing h3{
    color: rgb(60, 168, 60);
    margin-left: 20%;
}
.filing .afila{
    display: flex;
    flex-direction: column;
    row-gap: 2px;
}
.filing .afila .input-wrapper{
    display: flex;
    flex-direction: row;
}
.filing .afila .input-wrapper input{
    background-color: rgba(240, 248, 255, 0);
    border-top: none;
    border-right: none;
    border-left: none;
    margin: 15px;
    
    border-bottom: 1px solid rgb(106, 218, 32);

}

.filing .cancel{
    background-color: red;
    height: 40px;
    width: 200px;
    border-style: none;
    border-radius: 10px;
    font-weight: 900;
}

.filing .submit{
    background-color: rgb(14, 214, 14);
    height: 40px;
    width: 200px;
    border-style: none;
    border-radius: 10px;
    font-weight: 900;
}
.filing .selections{
    border: 1px solid green;
    padding: 2px;
    text-align: center;
    margin-bottom: 5px;
    border-radius: 20px;
    width: 100%;
}
.filing .selections select{
    width: 20%;
    margin: 5px;
    border: 2px solid green;
    background-color: rgba(0, 128, 0, 0.76);
    color: white;
    height: 20px;
    border-radius: 5px;
}

.admin-log{
    visibility: hidden;
    background-color: rgb(186, 221, 186);
    height: 50%;
    width: 40%;
    border-radius: 20px;
    top: 60%;
    left: 50%;
    position: absolute;
    transform: translate(-50%,-50%);
    display: flex;
    align-items: center;
    justify-content: center;

}
.admin-log h3{
    margin-left: 30%;
}
.admin-log input{
    width: 400px;
    height: 40px;
    border-radius: 20px;
    border: 2px solid rgb(25, 189, 25);
    background: rgba(0, 0, 1, 0.267);
}

.admin-log .cancel{
    background-color: red;
    height: 40px;
    width: 200px;
    border-style: none;
    border-radius: 10px;
    font-weight: 900;
}

.admin-log .submit{
    background-color: rgb(14, 214, 14);
    height: 40px;
    width: 200px;
    border-style: none;
    border-radius: 10px;
    font-weight: 900;
}
@keyframes duong{
    10%{
        transform: scale(1.0);
    }

    100%{
        transform: scale(1.2);
        box-shadow: 0 0 5px rgb(5, 218, 5),
        0 0 25px, 0 0 50px rgb(5, 218, 5),
        0 0 100px rgb(5, 218, 5), 0 0 200px black;
    }
}
@keyframes congra{
    10%{
        transform: scale(0.5);
        color: white;
    }

    100%{
        transform: scale(1.2);
        
    }
}


@media only screen and (max-width: 767px){
    .middle-house{
        width: 80%;
        height: 70%;
        border-radius: 5px;
    }
    .middle-house .congra p{
        font-weight: 900;
        font-size: 12px;
       
    }

    .middle-house button{
        height: 50px;
        width: 170px;
        border-radius: 2px;
    }

   

    .filing{
        top: 50%;
        width: 90%;
        height: 90%;
        row-gap: 0.1px;
    }
    .filing .afila .input-wrapper input{
        margin: 2px;
       
    }

    .filing .afila .input-wrapper{
    
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .filing .selections{
       
        display: flex;
        border-radius: 10px;
        flex-direction: row;
        row-gap: 3px;
       

    }

    .filing .selections select{
        width: 50%;
        height: 40px;
        border-style: none;
    }

    .filing .cancel{
       
        height: 40px;
        width: 100%;
       margin: 2%;
    }
    
    .filing .submit{
        
        height: 40px;
        width: 100%;
        margin: 2%;
    }
    .erro{
        left: -20%;
    }

    .success{
       
       
        width: 300px;
        left: -22%;
        height: fit-content;
    }
    .error{
         width: 300px;
        left: -22%;
        height: fit-content;
       
       
    }


}