/* The Modal (background) */
.modal1 {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    transition: 1s;
}


/* Modal Content/Box */
.modal-content1 {
    transition: 1s;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    
    width: 80%; /* Could be more or less, depending on screen size */
    
    
}



/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: grey;
    text-decoration: none;
    cursor: pointer;
}

     .log{
    width: 313px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.7);
    position: absolute;
    top: 140px;
    left: 100px;
    border-radius: 5px;
    
    -webkit-animation-name: fadeIn;  
    -webkit-animation-duration: 4.0s;
    animation-name: fadeIn;
    animation-duration: 4.0s
   
}
form {
    margin-top: 30px;
}

form .username{
    margin-bottom: 5%;
    margin-left: 18%;
    
}
form input{
    border: 2px solid #2abddb;
    border-radius: 25px; 
    text-align: center;
    width: 200px;
    padding: 5px;
}

form select{
    border: 2px solid #2abddb;
    border-radius: 25px; 
    text-align: center;
    width: 200px;
    padding-left: 10px;
    padding-bottom: 5px;
    padding-top: 5px;
    
}

form select option{
    color: #2abddb;
    text-align: center;
}


form .password{
    margin-bottom: 5%;
    margin-left: 18%;
    
    
}

.submit{
    margin-left: 32%;
    width: 35%;
    height: 40px;
    color: white;
    background-color: #00d623;
    border: none;
    margin-top: 20px;
    border-radius: 25px; 
    text-align: center;
    cursor: pointer;
    transition: 0.8s;
    margin-bottom: 20px;
}

.add{
    margin-left: 70px;
}
.add{
    width: 70px;
    height: 100px;
    margin-left: 10px;
    color: white;
    background-color: #00d623;
    border-radius: 25px;
    text-align: center;
    cursor: pointer;
    transition: 0.8s;
    padding: 2px 6px 2px 6px;
}
::placeholder{
    color: #2abddb;
}

.submit:hover, .add:hover{
    color: #2abddb;
    background-color:  white;
    

}

.reset_pass {
    margin-left: 28%;
    width: 40%;
    color: #9a0013;
    
    margin-top: 14%;
    font-size: 14px;
    text-decoration: underline;
}

.reset_pass:hover{
    color: #005dca;
    text-decoration: underline;
}

@media only screen and (max-width: 768px) {
    
    .modal-content1 {
    margin: 15% auto;
    padding: 20px;
    width: 76%;
}
    
    .box1{
    width: 270px;
    height: 200px;
    
    margin: 10px;
    margin-left: 150px;
    border-radius: 5px
    
}
.box2{
    width: 270px;
    height: 200px;
   
    margin: 10px;
    border-radius: 5px;
    margin-left: 150px;
    
}

.not{
    width: 270px;
    height: 100px;
    background: white;
    margin-top: 680px;
    margin-left: 150px;
    border-radius: 5px;
}




    
}

@media only screen and (max-width: 425px) {
    
/*    .modal-content1 {
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    }*/

    
     .log{
    width: 313px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.7);
    position: absolute;
    top: 140px;
    left: -7px;
    border-radius: 5px;
    
    -webkit-animation-name: fadeIn;  
    -webkit-animation-duration: 4.0s;
    animation-name: fadeIn;
    animation-duration: 4.0s
   
}

.submit{
    margin-left: 33%;
    width: 35%;
    height: 40px;
    color: white;
    background-color: #00d623;
    border: none;
    margin-top: 20px;
    border-radius: 25px; 
    text-align: center;
    cursor: pointer;
    transition: 0.8s;
    margin-bottom: 20px;
}
    
}

@media only screen and (max-width: 320px) {
     .log{
    width: 313px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.7);
    position: absolute;
    top: 140px;
    left: -7px;
    border-radius: 5px;
    
    -webkit-animation-name: fadeIn;  
    -webkit-animation-duration: 4.0s;
    animation-name: fadeIn;
    animation-duration: 4.0s
   
}

.submit{
    margin-left: 33%;
    width: 35%;
    height: 40px;
    color: white;
    background-color: #00d623;
    border: none;
    margin-top: 20px;
    border-radius: 25px; 
    text-align: center;
    cursor: pointer;
    transition: 0.8s;
    margin-bottom: 20px;
}
    
}