.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
    -webkit-animation-name: fade;
    /* Fade in the background */
    -webkit-animation-duration: 0.4s;
    animation-name: fade;
    animation-duration: 0.4s;
    z-index: 5;
    place-content: center;
    flex-flow: column;
    align-items: center;
}

.modal-style {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    padding: 1% 0 1% 0;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.75);
    /* Black w/ opacity */
    transition: ease-in-out .5s;
    z-index: 5;
    flex-direction: column;
    align-content: center;
    align-items: flex-end;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.theme-testing {
    background-color: orange;
    box-shadow: 0px 0px 8px orange;
    padding: 2px 16px;
}

.theme-dk {
    background-color: #36393F;
}

.theme-lt {
    background-color: #fefefe;
}

.theme-main{
    background-color: rgb(0, 132, 255);
    box-shadow: 0px 0px 8px rgb(0, 132, 255);
}
.theme-beta {
    background-color: #7289DA;
    box-shadow: 0px 0px 8px #7289DA;
}


/* Modal Content */

.modal-container {
    position: relative;
    padding: 0;
    border: none;
    border-radius: 4px;
    width: 75%;
    height: 90%;
    align-content: center;
    justify-content: center;
    align-items: center;
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1s;
    animation-name: fade;
    animation-duration: 1s;
    transition: ease-in-out .5s;
}

.modal-body img{
    border-radius: 16px;
}
/* The Close Button */

.modal .close-container {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.beta_close,
.join_close,
.frame_close {
    display: flex;
    color: #fff;
    width: 32px;
    height: 32px;
    font-size: 28px;
    text-align: center;
    justify-content: center;
    font-weight: bold;
    border: 1px solid #fff;
    border-radius: 50%;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    transition: 0.5s;
}

.beta_close:hover,
.join_close:hover,
.frame_close:hover,
.beta_close:focus,
.join_close:focus,
.frame_close:focus {
    color: #000;
    background-color: #fff;
    box-shadow: 0 0 4px #fff;
    text-decoration: none;
    cursor: pointer;
    transition: 0.5s;
}

.modal-style a.b,
.modal a.b {
    margin-top: 1%;
    margin-bottom: 1%;
    display: inline-block;
    align-items: center;
    justify-content: center;
}

.modal-head {
    border-radius: 16px 16px 0px 0px;
    padding: 8px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
}

.modal-body {
    overflow: hidden;
    padding: 12px 16px;
    min-height: fit-content;
    transition: ease-in-out .5s;
}
.modal-head h2{
    padding: 8px 16px;
}
.modal-foot {
    display: flex;
    align-content: flex-start;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    padding: 8px;
    width: 100%;
    flex-direction: row;
}


/* Modal Content */

.beta_modal-content {
    position: fixed;
    bottom: 0;
    width: 100%;
    border-radius: 4px;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s
}

.beta_modal-body {
    padding: 12px 16px;
}

.beta_modal-head {
    padding: 8px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.beta_modal-foot {
    padding: 2px 16px;
}

#discordShop {
    width: fit-content;
}

.frame-content {
    border-radius: 16px;
    box-shadow: 0 0 4px #fff;
    /* margin: 2% 0 0 0; */
    min-width: 95%;
    height: 75%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    align-content: stretch;
    flex-wrap: wrap;
    transition: ease-in-out .5s;
    background-color: #36393F;
}

.frame-content iframe {
    border-radius: 16px;
    min-height: 100%;
}

.frame-content widgetbot {
    border-radius: 16px;
    min-height: 100%;
}

@media screen and (max-width: 860px) {
    .modal-content, .modal-container {
        width: 100%;
        height: 100%;
    }
    .frame-content {
        margin: 0;
        width: 100%;
        height: 100%;
        min-width: 95%;
    }
}