.modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--modal-backbody);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10;
}
.modalpad{
    margin-top: -15%;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 2px 7px 4px var(--main-darkblur06);
}
.modalpad.small {
    width: 360px;
}
.modalpad.medium {
    width: 50%;
}
.modalpad.big {
    width: 50%;
}

.modalheader{
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    border-radius: 5px 5px 0 0;
    background-color: rgb(235, 235, 235);
}
.closebuttn{ 
    background-color: rgb(241, 78, 78);
    color: white;
    font-size: 5px;
    border-radius: 50%;
    cursor: pointer;
}
.modalbody{
    width: 100%;
    /* height: 50%; */
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.modalfooter{
    display: flex;
    justify-content: center;
    padding: 20px;
    gap: 10px;
}
.modalbutton{
    color: var(--main-darkcolor);
    border: 1px solid var(--main-darkcolor);
    border-radius: 6px;
    padding: 5px 25px;
    text-decoration: none;  
}
.modalbutton:hover{
    color: #fff;
    background: var(--main-darkcolor);
}

@media screen and (max-width:450px) {
    .modalpad.small, .modalpad.medium, .modalpad.big{
        width: 90%;
        /* height: 30%; */
    }

}


