.ReactModalPortal  {
    width: 100vw;
    height: 100dvh;
}

body.ReactModal__Body--open>.ReactModalPortal {
    position: fixed;
    z-index: 99;
}

.modal_overlay {
    position: relative;
    width: 100%;
    height: 100%;
    background: #00000088;
}

#message {
    position: absolute;
    color: red;
    left: 0%;
    right: 0%;
    bottom: 0%;
    z-index: 999999;
    top: 5%;
    height: fit-content;
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  flex-flow: column;
}
.logs.modal-close {
    position: absolute;
    right: 0;
    top: -20px;
    z-index: 99999;
}
.modal-content {
    background: url(https://i.pinimg.com/736x/f6/fe/24/f6fe2417f4100bba31bbfb2f5444d174.jpg);
    border-radius: 8px;
    width: 80%;
    height: 80%;
    box-shadow: 0 0 25px rgb(0 0 0 / 72%);
    background-size: 130% 200%;
    background-position: center center;
    background-repeat: no-repeat;
    border: 4px solid #f0ff753d;
    overflow: hidden;
    animation: fadeSlideDown 0.4s ease forwards;
    display: flex;
    flex-flow: column;
}
.gamemodal-content {
    background: url(https://i.pinimg.com/736x/f6/fe/24/f6fe2417f4100bba31bbfb2f5444d174.jpg);
    width: 100%;
    height: 100%;
    box-shadow: 0 0 25px rgb(0 0 0 / 72%);
    background-size: 130% 200%;
    background-position: center center;
    background-repeat: no-repeat;
    border: 4px solid #ffe675;
    overflow: hidden;
    animation: fadeSlideDown 0.4s ease forwards;
    display: flex;
    flex-flow: column;
}
.confirm {
    max-width: 140px;
    margin-left: 1rem;
    margin-right: 1rem;
    filter: brightness(1.1);
}

img.logout {
    filter: brightness(1.1);
}


.logout_wrapper {
    display: flex;
    flex-flow: column;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    justify-content: center;
}



.response_message {
    display: flex;
    flex-flow: column;
}
span.response_text_message.m-0 {
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
}

.logoutmodal-content {
    background: url(../img/logout_bg.png);
    width: 80%;
    height: 80%;
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    /*border: 4px solid #ffe675;*/
    overflow: hidden;
    animation: fadeSlideDown 0.4s ease forwards;
    display: flex;
    flex-flow: column;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.modal-close:hover {
    scale: 0.9;
    transition: .1s;
}

.modal-header {
    white-space: nowrap;
    overflow-x: auto; 
    max-width: 100%;
    min-width: 100%;
    background: -webkit-gradient(linear, left bottom, left top, from(#7e140b), color-stop(16%, #a6170b), color-stop(91%, #681b06), to(#620903));
    background: -webkit-linear-gradient(bottom, #d8291c 0%, #5d0d06 16%, #621703 91%, #a6170b 100%);
    background: -o-linear-gradient(bottom, #d8291c 0%, #5d0d06 16%, #621703 91%, #a6170b 100%);
    background: linear-gradient(0deg, #d8291c 0%, #5d0d06 16%, #621703 91%, #a6170b 100%);
    border-radius: 8px 8px 0 0;
    position: relative;
    border-bottom: 3px solid #ffb40b;
    min-height: 4rem;
    box-shadow: 0 2px 10px darkred;
    display: flex;
    flex-shrink: 0;
    padding: 24px;
}

.login_grid {
  grid-template-columns: 2fr 1fr;
}

.modal-body{
  width: 100%;
  flex: 1;
}

.modal-footer{
  width: 100%;
  flex-shrink: 0;
}

img.mega {
    position: absolute;
    max-width: 320px;
    top: 30%;
    margin-left: -7%;
}

img.regibtn {
    position: absolute;
    max-width: 300px;
    top: 34%;
    margin-left: -5%;
    animation: shake 0.5s ease-in-out infinite;
}

img.buffa {
    position: relative;
    left: -27%;
    top: 6%;
}

@keyframes shake {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-1.5deg); }
  50% { transform: rotate(1.5deg); }
  75% { transform: rotate(-1.5deg); }
  100% { transform: rotate(0deg); }
}

.shakeitem {
  animation: shake 0.5s ease-in-out infinite;
}

.login_box {
    max-width: 80%;
    padding: 25px;
    min-height: 330px;
    display: flex;
    flex-flow: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 4rem;
}

.boxes {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.boxes_shadow {
    display: block;
    padding-top: 2px;
    color: #111;
    vertical-align: middle;
    -webkit-box-shadow: inset -2px 2px 8px 0 #00000080;
    box-shadow: inset -2px 2px 8px 0 #00000080;
    -webkit-border-radius: 28px;
    border-radius: 28px;
    padding-left: 20px;
    padding-right: 40px;
    width: 80%;
    margin: 0 auto;
    height: 55px;
    line-height: 35px;
    font-size: 1.75em;
    line-height: normal !important;
}
img.img_close {
    width: 55px;
    height: 55px;
}
p#registerMessage {
    position: absolute;
    color: white;
    left: 0%;
    right: 0%;
    bottom: 0%;
    z-index: 0;
    top: 5%;
    height: fit-content;
    font-size: 2.25rem;
}
.login_btn, .regi_btn {
    margin-bottom: .2em;
    font-size: 1.75em;
    border: 0;
    -webkit-border-radius: 16px;
    border-radius: 50px;
    border-bottom: 6px solid rgba(0, 0, 0, .45);
    font-weight: 700;
    text-transform: uppercase;
    -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, .16), 0 1px 2px rgba(0, 0, 0, .23);
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16), 0 1px 2px rgba(0, 0, 0, .23);
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    position: relative;
    top: 0;
    padding: 0 14px;
    background: -webkit-radial-gradient(0 0, farthest-corner, #fdeb82, #ffc252, #ff9400);
    background: -o-radial-gradient(0 0,farthest-corner,#ffb436,#bf7404);
    background: radial-gradient(farthest-corner at 0 0, #fdeb82, #ffc252, #ff9400);
    width: 80%;
    height: 55px;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    margin: 0 auto;
}
.goback_login {
    font-size:2rem;
}
.register_wrapper {
    display: flex;
    flex-flow: column;
    gap: 3rem;
    margin-top: 5rem;
}
.title {
    font-size: 3rem;
    text-transform: uppercase;
}
.register_inputs {
    padding: 25px;
    max-width: 70%;
    display: flex;
    flex-flow: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
    justify-content: center;
}
h2.title.text-white {
    font-size: 5rem;
    padding-left: 25px;
    text-transform: uppercase;
}
@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.log.modal-content {
    border-radius: 12px;
    background: rgba(193, 193, 193, 0.75);
    border: 2px solid #fff;
    -webkit-box-shadow: 1px 3px 10px #000, inset 0 0 10px #b6b6b6;
    box-shadow: 1px 3px 10px #000, inset 0 0 10px #b6b6b6;
    padding: 0 12px 12px;
    overflow: visible;
}

.log.modal-header.overflow-hidden {
    z-index: 1;
    font-size: 32px;
    line-height: 32px;
    color: #fff;
    text-shadow: 1px 2px 4px #000;
    text-align: center;
    text-transform: uppercase;
    height: 38px;
    font-weight: 700;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.log.modal-header {
    background: transparent;
    box-shadow: none;
    border: none;
}

.log.modal-header:before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    background-image: url(https://88chip.net/Content/distv2/img/spritesheet/popup/popup.png) !important;
    background-repeat: no-repeat ;
    width: 454px;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    height: 44px;
    background-position: -32px 0;
    background-repeat: no-repeat;
    z-index: -1;
}


.log.modal-header>.title.text-white {
    position: relative;
    bottom: 7px;
    z-index: 1;
    font-size: 24px;
    line-height: 32px;
    color: #fff;
    text-shadow: 1px 2px 4px #000;
    text-align: center;
    text-transform: uppercase;
    height: 38px;
    font-weight: 700;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.log.modal-body { 
    background: #565656;
    border-radius: 10px;
}
