.UI_container.UI--groups-page {
   z-index: 11 ! important;
   visibility: visible;
   opacity: 1;
   height: 100vh;
}

.UI--groups-page .UI_close {
   display: none;
}

.UI_close {
   color: white;
   font-weight: 800;
   right: 100px;
   top: 100px;
   position: absolute;
   font-size: 30px;
   cursor: pointer;
   transition: .2s all ease-in-out;
}

.UI_close:hover {
   color: #ffb9ed;
}

.invalid {
   /* color: #ff9b9b ! important; */
   border-color: #ff9b9b ! important;
}

.addUI_leaderboard__overlay {
   position: absolute;
   left: 20px;
   right: 20px;
   top: 20px;
   bottom: 20px;
   background: #2f2143f7;
   border-radius: 10px;
   max-height: none ! important;
   padding: 7.5rem;
   z-index: 10;
}

.group-name__container {
   display: flex;
   justify-content: center;
   align-items: start;
   flex-direction: column;
}

.addUI_container .member-invites__container {
   display: block;
   max-height: unset;
   background: none;
   border-radius: none;
   box-shadow: none;
}

.grpUI_alert-saved {
   opacity: 0;
   position: absolute;
   top: 100px;
   background: #52af96;
   border-radius: 5px;
   color: white;
   padding: 7px 22px;
   text-transform: uppercase;
   letter-spacing: 1px;
   font-size: 13px;
   font-weight: 700;
   box-shadow: rgb(0 0 0 / 20%) 0px 3px 8px;
   transition: .2s opacity ease-in-out;
}

.grpUI_alert-saved.show {
   opacity: 1;
}

.member-invites__container {
   display: flex;
   max-height: 0;
   contain: content;
   overflow: hidden;
   justify-content: center;
   align-items: start;
   flex-direction: column;
   transition: .5s all ease-in-out;
   background: #ffffff21;
   box-shadow: rgb(0 0 0 / 23%) 0px 7px 29px 0px;
   border-radius: 5px;
   position: relative;
}

.member-invites__container.show {
   max-height: 100%;
   margin-top: 50px;
   padding: 50px;
}

/* MAIN UI */
.UI_container {
   opacity: 0;
   visibility: hidden;
   z-index: -1;
   position: absolute;
   width: 100vw;
   height: 0;
   display: flex;
   left: 0;
   right: 0;
   top: 0px;
   background: #2f2143b0;
   backdrop-filter: blur(20px);
   -webkit-backdrop-filter: blur(20px);
   color: white;
   gap: 50px;
   justify-content: space-between;
   align-items: start;
   padding: 150px;
   position: fixed;
   overflow-y: scroll;
   transition: .2s all ease-in-out;
}

.UI_container.visible {
   opacity: 1;
   visibility: visible;
   z-index: 12;
   height: 100vh;
}


/* MY GROUPS UI */
.grpUI_container {
   margin-top: -22px;
}

.v1 .grpUI_inner {
   display: flex;
   flex-wrap: wrap;
   max-width: 650px;
   background: #ffffff45;
   margin-top: 20px;
}

.grpUI_inner {
   max-width: 650px;
   margin-top: 20px;
}

.grpUI_group-cards {
   display: flex;
   flex-wrap: wrap;
}


.grpUI_close {
   position: absolute;
   right: 100px;
   top: 50px;
   z-index: 12;
   color: white;
   font-size: 30px;
   font-weight: 800;
   cursor: pointer;
   transition: .2s all ease-in-out;
}

.grpUI_close:hover {
   color: #ffb9ed;
}

.v1 .grpUI_group {
   width: 100%;
   font-size: 16px;
   color: white;
   letter-spacing: 1px;
   font-weight: 200;
   border-top: 2px solid white;
   font-family: 'Open Sans';
   transition: .2s all ease-in-out;
   cursor: pointer;
   padding: 10px 30px;

   /* hide */
   overflow: hidden;
   max-height: 50px;
   -webkit-transition: .2s all ease-in-out;
   -moz-transition: .2s all ease-in-out;
   -ms-transition: .2s all ease-in-out;
   -o-transition: .2s all ease-in-out;
   transition: .2s all ease-in-out;
}

.grpUI_card {
   width: 250px;
   padding: 25px;
   text-align: center;
   height: 100px;
   background: #ffffff45;
   margin: 10px;
   border-radius: 10px;
   display: flex;
   justify-content: center;
   align-items: center;
   transition: .2s all ease-in-out;
   cursor: pointer;
   box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
}

.grpUI_card:hover {
   background: #ffb9ed;
}

.grpUI_card-title {
   color: white;
   font-size: 18px;
   transition: .2s all ease-in-out;
}

.grpUI_card:hover .grpUI_card-title {
   color: #2f2143;
}

.v1 .grpUI_group.show {
   max-height: unset;
   cursor: unset;
   background: #0000001f;
}

.grpUI_group.show {
   display: flex;
   flex-direction: column;
   justify-content: start;
   align-items: center;
   max-height: unset;
   cursor: unset;
   position: absolute;
   left: 0;
   top: 0;
   bottom: 0;
   right: 0;
   background: #2f2143d1;
   z-index: 10;
   padding: 100px;
   backdrop-filter: blur(20px);
   -webkit-backdrop-filter: blur(20px);
   height: 100%;
   width: 100%;
}

.grpUI_group-inner {
   display: flex;
   flex-direction: column;
   max-width: 800px;
   width: 100%;
   padding-bottom: 100px;
}

.grpUI_group {
   display: none;
}

.v1 .grpUI_group-header {
   height: auto;
   display: flex;
   justify-content: space-between;
   align-items: start;
}

.grpUI_group-header {
   height: auto;
   display: flex;
   justify-content: start;
   align-items: center;
   gap: 10px;
}

.v1 .grpUI_group-header h2 {
   margin: 0;
   font-weight: 600;
   width: 200px;
   font-size: 20px;
   color: white;
   text-transform: none;
   max-width: 700px;
   font-family: 'Raleway', sans-serif;
}

.grpUI_rename__name {
   margin: 0;
   font-weight: 600;
   font-size: 35px;
   color: white;
   text-transform: none;
   max-width: 700px;
   font-family: 'Raleway', sans-serif;
}

.grpUI_rename__input {
   display: none;
   width: auto;
   padding: 7px;
   border: none;
   border-bottom: 2px solid white;
   background: rgba(255, 255, 255, .5);
   font-size: 20px;
   color: white;
}

.grpUI_rename__tag {
   font-size: 12px;
   color: #ffb9ed;
   font-weight: 700;
   text-transform: uppercase;
   cursor: pointer;
   transition: .2s all ease-in-out;
   transform: translateY(6px);
   letter-spacing: 1px;
   background: none;
   outline: none;
   border: none;
}

.grpUI_rename__tag:hover {
   color: white;
}

.grpUI_rename__save,
.grpUI_rename__cancel {
   display: none;
}

.grpUI_group-header span {
   margin-top: 5px;
   font-weight: 700;
}

.grpUI_group-body {
   display: flex;
   flex-direction: column;
   gap: 25px;
   margin: 30px 0 20px 0;
}

.grpUI_member {
   height: auto;
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding-left: 10px;
}

.grpUI_member__name-container {
   display: flex;
   gap: 20px;
}

.grpUI_member__name-container {
   display: flex;
   gap: 30px;
   font-size: 20px;
}

.grpUI_member__name {
   font-weight: 400;
   color: rgb(249, 232, 252);
}

.grpUI_member--subscribed .grpUI_member__name {
   font-weight: 500;
   color: white;
}

.grpUI_member__name--user {
   color: rgb(245 186 255) ! important;
   font-weight: 700 ! important;
   font-size: 22px;
}

.grpUI_member__invited {
   font-size: 13px;
   text-transform: uppercase;
   font-style: italic;
   font-weight: 300;
   margin-left: 5px;
   color: rgb(249, 232, 252);
   letter-spacing: 0.5px;
}

.grpUI_resend-invite {
   background: none;
   color: white;
   font-size: 20px;
   border: none;
   border-radius: 2px;
   font-weight: 500;
   cursor: pointer;
   transition: .2s all ease-in-out;
}

.grpUI_resend-invite:hover {
   color: #ffb9ed;
}

.invite-sent {
   font-weight: 600;
   font-size: 11px;
   letter-spacing: 1px;
   text-transform: uppercase;
   font-style: italic;
}

.grpUI_remove-member {
   margin-top: 2.5px;
   font-size: 12px;
   color: #ffb9ed;
   font-weight: 700;
   text-transform: uppercase;
   cursor: pointer;
   transition: .2s all ease-in-out;
   background: none;
   border: none;
   outline: none;
   letter-spacing: 1px;
}

.grpUI_remove-member:hover {
   color: white;
}

.grpUI_group-settings {
   display: flex;
   flex-direction: row;
   justify-content: space-between;
   padding-left: 10px;
   border-top: 1px solid white;
   margin-top: 15px;
   margin-bottom: 15px;
   padding-top: 15px;
}

.grpUI_group-settings button {
   font-size: 12px;
   color: #ffb9ed;
   font-weight: 700;
   text-transform: uppercase;
   cursor: pointer;
   transition: .2s all ease-in-out;
   background: none;
   border: none;
   outline: none;
   letter-spacing: 1px;
}

.grpUI_group-pagination {
   display: flex;
   justify-content: space-between;
   margin-top: 35px;
}

.grpUI_group-next,
.grpUI_group-prev {
   font-size: 12px;
   color: #ffb9ed;
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 1px;
   transition: .2s all ease-in-out;
   cursor: pointer;
   font-family: 'Open Sans', sans-serif;

   opacity: 0;
   visibility: hidden;
   z-index: -1;
}

.grpUI_group-next i,
.grpUI_group-prev i {
   font-size: 17px;
   transform: translateY(1px);
}

.grpUI_group-next:hover,
.grpUI_group-prev:hover {
   color: white;
}

.grpUI_group-next.visible,
.grpUI_group-prev.visible {
   opacity: 1;
   visibility: visible;
   z-index: 1;
}

button.grpUI_remove-group {
   color: #ffb9ed;
}

button.grpUI_add-members {
   color: white;
}


/* DELETE MEMBER */
.are-you-sure {
   opacity: 0;
   visibility: hidden;
   z-index: -1;
   background: #d7d7d747;
   position: absolute;
   width: 100vw;
   height: 100vh;
   display: flex;
   left: 0;
   right: 0;
   top: 0;
   bottom: 0;
   justify-content: center;
   align-items: center;
   transition: .2s all ease-in-out;
   backdrop-filter: blur(10px);
   -webkit-backdrop-filter: blur(10px);
}

.are-you-sure.visible {
   opacity: 1;
   visibility: visible;
   z-index: 10;
}

.are-you-sure__inner {
   background: #333;
   color: white;
   transition: .2s all ease-in-out;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   padding: 5rem;
   border-radius: 5px;
   text-align: center;
}

h3.are-you-sure__title {
   font-weight: 700;
   color: white;
   font-size: 1rem;
   margin-bottom: 15px;
}

.are-you-sure__btns {
   display: flex;
   gap: 10px;
   justify-content: center;
   align-items: center;
   width: 100%;
}

.are-you-sure__btn {
   background: #ffb9ed;
   color: #2f2143f7;
   border: #2f2143f7;
   border-radius: 2px;
   font-weight: 600;
   cursor: pointer;
   transition: .2s all ease-in-out;
   width: 135px;
   padding: 7px;
}

.are-you-sure__btn:hover {
   background: white;
}

/* EDIT GROUP UI */
.addUser_container {
   opacity: 0;
   visibility: hidden;
   z-index: -1;
   height: 100%;
   display: flex;
   color: white;
   justify-content: start;
   align-items: start;
   transition: .2s all ease-in-out;
   background: none;
   width: 0;
   contain: content;
   overflow: hidden;
   margin-top: -1rem;
   background: #ffffff0d;
}

.addUser_inner {
   padding: 25px;
}

.addUser_container.visible {
   opacity: 1;
   visibility: visible;
   z-index: 2;
   width: 900px;
}

.addUser_input {
   width: 100%;
   padding: 1rem;
   border: none;
   border-bottom: 3px solid white;
   border-radius: unset;
   outline: none;
   background: rgb(255 255 255 / 5%);
   font-size: 20px;
   color: #ffb9ed;
   max-width: 650px;
   display: block;
   margin-bottom: 20px;
}

.addUser_input::placeholder {
   color: #ccc;
   font-weight: 300;
   letter-spacing: 1px;
}

.addUser_close {
   color: white;
   font-weight: 800;
   font-size: 25px;
   cursor: pointer;
   transition: .2s all ease-in-out;
   top: 10px;
   right: 20px;
   position: absolute;
}

.addUser_close:hover {
   color: #ffb9ed;
}

.addUser_title {
   font-weight: 600;
   font-size: 40px;
   padding-bottom: 15px;
}

.group-name__container .addUser_title {
   font-size: 40px;
   color: #ffb9ed;
}

.rc-btn#addUI_add-group {
   font-weight: 500;
   color: #2f104f;
}

.addUser_input {
   margin-right: 10px;
   width: 450px;
}

.grpUI__add-btn {
   margin-top: 35px;
}

/* ADD GROUP UI */
.addUI_container {
   opacity: 0;
   visibility: hidden;
   z-index: -1;
   position: absolute;
   width: 100vw;
   height: 100vh;
   display: flex;
   left: 0;
   right: 0;
   top: 0;
   background: #2f2143f7;
   color: white;
   justify-content: start;
   align-items: start;
   transition: .2s all ease-in-out;
   backdrop-filter: blur(10px);
   -webkit-backdrop-filter: blur(10px);
}

.UI_title {
   font-weight: 600;
   font-size: 40px;
   padding-bottom: 15px;
}

.addUI_title {
   font-weight: 600;
   font-size: 40px;
   padding-bottom: 15px;
}

.addUI_container.visible {
   opacity: 1;
   visibility: visible;
   z-index: 12;
}

.addUI_close {
   color: white;
   font-weight: 800;
   right: 100px;
   top: 100px;
   position: absolute;
   font-size: 30px;
   cursor: pointer;
   transition: .2s all ease-in-out;
}

.addUI_inner {
   display: flex;
   width: 100%;
   flex-direction: column;
}

.addUI_inner-title {
   font-weight: 600;
   font-size: 50px;
   width: 100%;
   display: flex;
   justify-content: center;
   align-items: center;
   margin: 100px auto 0 auto;
   text-transform: uppercase;
   letter-spacing: 1px;
}

.addUI_inner-copy {
   padding: 20px 30px 10px 30px;
   max-width: 550px;
   margin: 0 auto;
   text-align: center;
}

.addUI_inner-copy p {
   font-size: 18px;
   line-height: 1.5;
   font-weight: 200;
}

.addUI_inner-content {
   display: flex;
   justify-content: space-evenly;
   align-items: start;
   flex-direction: row;
   gap: 50px;
   width: 100%;
   padding: 7.5rem;
}

.addUI_input {
   width: 100%;
   padding: 1rem;
   border: none;
   border-bottom: 3px solid white;
   border-radius: unset;
   outline: none;
   background: rgb(255 255 255 / 5%);
   font-size: 20px;
   color: #ffb9ed;
   max-width: 650px;
   display: block;
   margin-bottom: 20px;
}

.addUI_input::placeholder {
   color: #ccc;
   font-weight: 300;
   letter-spacing: 1px;
}

.rc-btn#addUI_add-group,
.rc-btn#addUser_add-group {
   font-weight: 500;
   color: #2f104f;
}


#addUI_user-email,
#addUser_user-email {
   margin-right: 10px;
   width: 450px;
}


/* add emails */
#addUI_user__container,
#addUser_user__container {
   width: 600px;
   padding: 20px;
   flex-direction: column;
   width: 100%;
   padding: 1rem;
   background: rgb(255 255 255 / 5%);
   margin-bottom: 20px;
   display: none;
}

#addUI_user__container.visible,
#addUser_user__container.visible {
   display: block;
}

#addUI_user,
#addUser_user {
   display: flex;
   padding-top: 15px;
}

.addUI_container .rc-btn,
.addUser_container .rc-btn {
   visibility: visible ! important;
   opacity: 1 ! important;
   z-index: inherit ! important;
   display: block;
   background: rgba(255, 255, 255, 0.8);
}

.addUI_email__wrapper,
.addUser_email__wrapper {
   display: flex;
   flex-direction: row;
   gap: 10px;
   margin-bottom: 10px;
}

h3.addUI_email,
h3.addUser_email {
   color: #ffb9ed;
   text-transform: none;
   font-size: 20px;
   font-weight: 300;
}

.remove-email-icon {
   font-weight: 500;
   font-size: 33px;
   background: white;
   color: #2f104f;
   width: 21px;
   height: 21px;
   display: flex;
   justify-content: center;
   align-items: center;
   line-height: 0;
   border-radius: 27px;
   padding-bottom: 2.5px;
   transform: translateY(3px);
   cursor: pointer;
}

#invite-members,
.invite-new-members {
   justify-content: center;
   align-items: center;
   font-weight: 500;
   color: #2f104f ! important;
   margin-top: 20px;
}

/* INVITE MEMBERS */
.addUI_add-user_container,
#addUser_btn__container {
   display: flex;
}

#addUI_add-user,
.addUser_btn {
   margin-bottom: 20px;
}

/* RESPONSIVENESS */
@media (max-width: 850px) {
   /* .grpUI_group-inner {
      width: 100%;
      max-width: 800px;
   } */
}



@media (max-width: 500px) {
   .UI_container .rc-board {
      display: none;
   }

   .rc-nav__mygroups--title {
      display: none;
   }

   .UI_container {
      padding: 25px;
      align-items: center;
      flex-direction: column;
      justify-content: center;
      gap: 50px;
   }

   .UI_close {
      position: absolute;
      right: 25px;
      top: 15px;
      z-index: 1;
   }

   .grpUI_container {
      margin: 0 auto;
      width: 100%;
      padding: 8rem 1rem 0 1rem;
      position: absolute;
      top: 0;
      text-align: center;
   }

   .grpUI_card {
      width: 100%;
      height: auto;
   }

   .rank-header {
      display: none;
   }

   .UI_container .addUI_container {
      width: 100% ! important;
      display: flex;
      flex-direction: column;
      margin: 0 auto ! important;
   }

   .UI_container.UI--groups-page {
      position: absolute;
   }

   .UI_container .addUI_close {
      height: 50px ! important;
      margin: 0 auto ! important;
      line-height: 1;
      top: 15px;
      right: 25px;
      display: flex;
      z-index: 999;
   }

   .grpUI_member {
      flex-direction: row;
      gap: 15px;
      align-items: start;
   }

   .grpUI_member__name-container {
      gap: 10px;
   }

   .grpUI_group.show {
      padding: 40px 20px;
      justify-content: start;
      position: fixed;
      overflow-y: scroll;
      background: #2f2143fa;
   }

   .grpUI_group-inner {
      padding: 0;
      height: 100%;
      width: 100%;
   }

   .grpUI_group-body {
      gap: 12px;
   }

   .grpUI_member__name {
      text-align: left;
      font-size: 18px;
   }

   .grpUI_member__invited {
      display: block;
   }

   .grpUI_close {
      right: 25px;
      top: 15px;
   }

   .grpUI_group-header {
      flex-direction: column;
      gap: 5px;
   }

   .grpUI_rename__btns {
      display: flex;
      gap: 20px;
      margin-top: 15px;
   }

   .grpUI_rename__btns .grpUI_rename__tag {
      background: white;
      border-radius: 3px;
      padding: 8px 25px;
      color: #2f2143;
   }

   .are-you-sure {
      padding: 1rem;
   }

   .are-you-sure__inner {
      padding: 2.5rem;
      width: 100%;
   }

   .member-invites__container.show {
      margin-top: 0;
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      z-index: 20;
      padding: 25px;
   }

   #addUI_user,
   #addUser_user {
      width: 100%;
   }

   .rc-btn--plus {
      padding: 0 15px;
      border-radius: 12px ! important;
   }

   h3.addUI_email,
   h3.addUser_email {
      font-size: 17px;
   }

   .addUI_inner-content {
      padding: 2.5rem;
      flex-direction: column;
      height: 100%;
      justify-content: start;
      gap: 20px;
   }

   .addUI_title {
      font-size: 25px;
   }

   .addUI_inner-title {
      font-size: 45px;
      text-align: center;
      margin-top: 55px;
   }

   #addUI_user-email,
   #addUser_user-email {
      width: 100%;
      margin-top: 1rem;
   }

   #addUI_add-user {
      margin: 20px auto;
   }
}

@media (max-width: 350px) {
   .grpUI_member {
      flex-direction: column;
   }
}