body{
    color:rgb(211, 15, 81);
    margin: 0;
}

h1{
    text-align: center;
}

ul{
    margin-right: 20px;
}

li{
    list-style: none;
    border: 1px solid rgb(134, 127, 129);
   
    margin: 2px;
    padding: 5px;

}

h4{
    font-size: 20px;
    margin: 0;
    padding: 0;
}

li div>p, .cancel{
    margin: 2px;
    color: rgb(22, 22, 22);
}
.div-flex{
    display:flex;
    justify-content: space-between;
}
.cancel{
    color:red;
    cursor: pointer;
}


#form-div{
    
    margin: 60px 0 0  0;
    height: 200px;
    background-color: rgb(216, 206, 206);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#form{
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    
}

#form-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin:0 15px;
    justify-content: center;
}
label{
    margin: 5px;
}

input{
    height: 20px;
}

select{
    display: block;
    height:25px;

    
}

input:focus{
    outline: none;
    border: 2px solid blue;
}

input[type='submit']{
    height:25px;
    background-color:rgb(221, 86, 131); 
    border: 0;
    width: 80px;
    margin-top: 25px;
    color: white;
    border-radius: 5px;
}

#popup-div{
    width: 300px;
    position:fixed;
    border: 1px solid black;
    padding: 5px;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%) scale(0);
    transition: all 500ms ease-in-out;
    z-index: 10;
    background-color: white;

    
}


#popup-header{
    display:flex;
    justify-content: space-between;
    padding: 5px;
    border-bottom: 1px solid black;
}

#close-button{
    border: none;
    background: none;
    cursor: pointer;
}
#form-pop{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#submit , #password{
    margin-top:5px;
}

#submit{
    background-color:rgb(221, 86, 131); 
    border: none;
    border-radius: 6px;
    height:25px;
    cursor: pointer;

}

#submit:active{
    opacity: 0.5;
}



#overlay{
    opacity: 0;
    position:absolute;
    top:0;
    left: 0;
    right: 0;
    bottom:0;
    background-color: rgba(0,0,0, 0.1);
    pointer-events: none;
    transition: all 500ms ease-in-out;
}



#overlay.active{
    opacity: 1;
    pointer-events: all;
    
}


#popup-div.active{
    transform: translate(-50%,-50%) scale(1); 
}
#incorrect{
    color: rgb(247, 16, 0);
  
}

#incorrect.active{
    display:none;
}