.donateWrapper {
    top: 0;
    left: 0;
    z-index: 100;
    position: absolute;
    background-color: #00000050;
    width: 100%;
    height: 100dvh;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    position: fixed;
}

.donateModal {
    position: relative;
    border-radius: 10px;
    border: 2px solid #644298;
    padding: 20px;
    margin: auto;
    max-width: 550px;
    height: fit-content;
    background-color: white;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#closeModal {
    background-color: transparent;
    border-color: transparent;
    color: black;
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    font-size: 1.5em;
}

.modalHeader {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.donateModal img {
    margin-top: 15px;
}

.donateModal h2 {
    width: fit-content;
}

.donateModal p {
    font-size: 1.1em;
}

.donateLinks {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.donateLink {
    border: 2px solid #644298;
    background-color: #cfbeea;
    color: black;
    border-radius: 999px;
    padding-left: 10px;
    padding-right: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.donateLink + .donateLink {
    margin-top: 5px;
}

.bitso {
    padding-top: 5px;
    padding-bottom: 5px;
}

@media (max-width: 700px) {
    .donateModal {
        max-width: 100%;
        margin-left: 30px;
        margin-right: 30px;
    }
}

@media (max-height: 550px) {
    .donateModal {
        max-width: 100%;
        margin-left: 30px;
        margin-right: 30px;
        padding: 5px 20px 10px 20px;
    }

    .modalHeader {
        flex-direction: row;
        align-items: flex-end;
        gap: 30px;
    }

    .donateModal h2 {
        margin: 0;
    }

    .donateModal p {
        margin-top: 8px;
        margin-bottom: 8px;
    }
}

/* F iPhone */
@media (max-width: 750px) and (max-height: 400px) {
    .modalLogo {
        height: 30px;
    }

    .donateModal {
        margin-left: 15px;
        margin-right: 15px;
    }

    .donateModal h2 {
        font-size: 1.3em;
    }

    .donateModal h3 {
        margin: 5px;
    }
}

@media (max-width: 400px) and (max-height: 700px) {
    .donateModal p {
        margin: 2px;
    }
}
