.modal{
    position: fixed;
    top: 22%;
    left: 30%;
    width: 50%;
    background-color: white;
    padding: 1rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: none;
}
#backdrop{
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
}
@media (max-width:48rem) {
    .modal{
        left: 25%;
        width: 50%;
    }
}