html,
body {
padding: 0;
margin: 0;
height: 100%;
}
.all{
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
height: 100%;
}
.box{
height: 100px;
width: 100px;
background-color: #489b48;
border: 2px solid white;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 50px;
font-weight: bold;
}
.wrapper-modal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.7);
display: flex;
overflow-y: auto;
}
.modal-dialog {
display: block;
background-color: white;
max-width: 300px;
width: 100%;
margin: auto;
overflow-y: auto;
}