:root {
  --white: rgb(255, 252, 244);
  --light-cyan: rgb(243, 255, 255);
  --glass-panel-cyan: rgb(196, 231, 235);
  --light-grey: rgb(204, 219, 219);
  --dark-grey: rgb(124, 136, 136);
  --black: rgb(33, 37, 41);
  --red: rgb(220, 53, 69);
  --green: rgb(25, 135, 84);
  --blue: rgb(13, 110, 253);
  --yellow: rgb(255, 193, 7);
  --purple: rgb(115, 51, 249);
}

@media (min-width: 600px) {
    .group {
        width: unset;
        margin: 1rem 0.5rem 0 0.5rem;
    }
}
.group {
    position: relative;
    background: var(--white);
    padding: 0.5rem;
    padding-bottom: 0;
    margin: 0 0.3rem 1rem 0.3rem;
    min-width: 10rem;
    width: 25rem;
    height: 12rem;
    border: solid 0.1rem var(--black);
    border-radius: 1rem;
    box-shadow: 0.2rem 0.2rem 0 0 rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 3rem;
    height: 3rem;
}

.avatar img, .avatar canvas {
    position: absolute;
    zoom: 0.5;
}

img[src=""] {
    display: none;
}

.group .info-table {
    display: flex;
    align-items: center;
    margin-top: 5rem;
    margin-left: 1rem;
}

.info-table-2 {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.door {
    position: absolute;
    width: 5rem;
    height: 8rem;
    right: 1rem;
    bottom: 0;
    background: rgb(211, 251, 244);
    border: solid 0.1rem var(--black);
    border-bottom: none;
}

.door::before {
    content: '';
    position: absolute;
    width: 4.2rem;
    height: 7.6rem;
    left: 0.3rem;
    top: 0.3rem;
    background: rgb(182, 228, 200);
    border: solid 0.1rem var(--black);
    border-bottom: none;
}

.window {
    position: absolute;
    width: 15rem;
    height: 3rem;
    left: 1.8rem;
    margin-top: 0.9rem;
    background: var(--light-cyan);
    border: solid 0.1rem var(--light-grey);
}

.window-frame {
    position: absolute;
    display: inline-flex;
    width: 14.4rem;
    height: 2.4rem;
    left: 0.2rem;
    margin-top: 0.2rem;
    background: var(--white);
    border: solid 0.1rem var(--dark-grey);
}

.window-panel {
    background: var(--glass-panel-cyan);
    height: 2.4rem;
    width: 50%;
    opacity: 0.7;
}
.window-panel-left {
    border-right: solid 0.1rem var(--dark-grey);
    z-index: 11;
}

.window-panel-right {
    border-left: solid 0.1rem var(--dark-grey);
    border-right: solid 0.1rem var(--dark-grey);
    margin-left: -2rem;
    z-index: 10;
}


.door-glass {
    position: absolute;
    width: 3.2rem;
    height: 2.2rem;
    left: 0.8rem;
    top: 1.2rem;
    background: rgb(177, 224, 227);
    border: solid 0.1rem rgb(70, 87, 99);
    box-shadow: inset 0 0 0.2rem 0.1rem rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.door-glass::before {
    content: '';
    z-index: 1;
    position: absolute;
    height: 3rem;
    width: 0.2rem;
    top: -0.5rem;
    left: 1.5rem;
    opacity: 0.5;
    background: white;
    transform: rotate(10deg);
}

.door-glass::after {
    content: '';
    z-index: 1;
    position: absolute;
    height: 3rem;
    width: 0.6rem;
    top: -0.5rem;
    left: 1.9rem;
    opacity: 0.5;
    background: white;
    transform: rotate(10deg);
}

.window-glass {
    position: absolute;
    width: 3.2rem;
    height: 2.2rem;
    left: 0.8rem;
    top: 1.2rem;
    background: rgb(177, 224, 227);
    border: solid 0.1rem rgb(70, 87, 99);
    box-shadow: inset 0 0 0.2rem 0.1rem rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.window-panel-left::before {
    content: '';
    z-index: 1;
    position: absolute;
    height: 3rem;
    width: 0.3rem;
    top: -0.5rem;
    left: 1.5rem;
    opacity: 0.5;
    background: white;
    transform: rotate(5deg);
}

.window-panel-left::after {
    content: '';
    z-index: 1;
    position: absolute;
    height: 3rem;
    width: 1.8rem;
    top: -0.5rem;
    left: 2.1rem;
    opacity: 0.5;
    background: white;
    transform: rotate(5deg);
}


.door-knob {
    position: absolute;
    width: 0.6rem;
    height: 0.6rem;
    right: 0.5rem;
    top: 4.2rem;
    background: rgb(230, 233, 238);
    border: solid 0.08rem black;
    border-radius: 100%;
}

.door-knob::after {
    content: '';
    position: absolute;
    width: 0.1rem;
    height: 0.3rem;
    left: 0.25rem;
    top: 0.1rem;
    background: rgb(192, 200, 212);
    border: solid 0.08rem black;
    border-radius: 0.2rem;
}

.rank-flag {
    position: absolute;
    height: 5rem;
    left: -1.2rem;
    top: 1rem;
}

.avatar img:nth-child(1) {
    width: 80%;
    height: 80%;
    border: solid 0.08rem black;
    border-radius: 50%;
    overflow: hidden;
}

.avatar img:nth-child(2) {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.group-info, .member-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 0.2rem;
}

@media (min-width: 600px) {
    .group-info span {
        width: unset;
    }
}

.group-info span {
    display: inline-block;
    width: 13rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.group-info .text {
    font-size: x-small;
    opacity: 0.6;
}

.group-name {
    font-weight: bold;
}