.modal {
    display: none;
    width: 40rem;
    background-color: aliceblue;
    position: fixed;
    top: 20%;
    left: calc(50% - 15rem);
    width: 30rem;
    padding: 1rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

@media (max-width: 560px) {
    .modal {
        left: 5%;
        width: 90%;
    }
}