*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    list-style-type: none;
    box-sizing: border-box;
    caret-color: transparent;
}

body {
    background-color: rgb(0, 0, 0);
    color: #faebe1;
    font-family: Verdana, Tahoma, sans-serif;
    font-size: 18px;
    font-weight: 600;
    user-select: none;
    overflow-y: hidden;
    /* overflow-x: hidden; */
}

#main-container {
    width: 1600px;
    margin: 0 auto;
    padding: 4px;
    display: grid;
    gap: 2px 0px;
    grid-template-columns: 50px 1fr 50px;
    grid-template-rows: 60px 1fr;
    text-align: center;
}

nav {
    position: relative;
    /* border: 2px solid rgb(143, 187, 200); */
    grid-column: 1/4;
    grid-row: 1/2;
    display: flex;
    gap: 2px;
}

#logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 50px;
    font-size: 1.8rem;
    font-weight: bold;
    flex-basis: 425px;
    color: #d7c560;
}

#logo>p:nth-child(2) {
    font-size: 1.1rem;
    /* color: #b9bb84;;
    color: #faebe1; */
    color: #d7c560;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 5px;
    padding: 0px 0px 0px 20px;
    align-items: center;
    justify-content: left;
    flex: 1 0 70%;
}

.button {
    /* height: 100%; */
    width: 150px;
    height: 35px;
    padding: 1px 2px;
    margin: 1px 2px;
    text-align: center;
    color: #faebe1;
    border: 3px solid #b9bb84;
    transition: 100ms;
    cursor: pointer;
    font-weight: 700;
    transition: transform 100ms;
}

#btn_hunter-pet {
    width: 170px;
}

.button-small {
    width: fit-content;
    padding: 0px 6px 3px 6px;
    margin: 6px;
    text-align: center;
    color: #faebe1;
    border: 2px solid #b9bb84;
    transition: 100ms;
    cursor: pointer;
    font-weight: 700;
    transition: transform 100ms;
}

.button-tiny {
    position: absolute;
    right: 1px;
    top: 4px;
    line-height: 16px;
    margin: 0px 6px 0px 6px;
    padding: 0px 6px 0px 6px;
    color: #b9bb84;
    background-color: #000000;
    border: 2px solid #450f0f;
    transition: 100ms;
    cursor: pointer;
    font-weight: 700;
    transition: transform 100ms;
}

.button-tiny:hover {
    color: rgb(196, 3, 3)
}

.button:hover,
.button-small:hover {
    background-color: #6a664a76;
}

.button:active,
.button-small:active,
.button-tiny:active {
    transform: translateY(2px);
}

/* #game-select {
    border: 3px solid #b0c4de;
    color: #b0c4de;
    padding: 1px 2px;
    margin-left: auto;
    width: 240px;
}
#game-select:hover {
    background-color: #b9b7b496;
} */
main {
    position: relative;
    height: 864px;
    width: 1600px;
    border: 2px solid #b9bb84;
    grid-column: 1/4;
    grid-row: 2/3;
    place-self: center;
    display: grid;
    grid-template-columns: 550px 420px 1fr;
}

.panel {
    border: 1px solid #daa52064;
}

#panel1 {
    position: relative;
    background-color: #21201E;
    border-right: 1px solid #21201E;
    display: grid;
    align-items: start;
    justify-items: center;
    /* z-index: 0; */
}

#panel2 {
    position: relative;
    background-color: black;
    /* opacity: 0.5; */
}

#panel3 {
    position: relative;
    background-color: #21201E;
    border-left: 1px solid #21201E;
    cursor: default;
    user-select: text;
}

#table-container {
    margin-top: 10px;
}

.selecting-table {
    border-spacing: 5px 5px;
    border-collapse: separate;
    color: #21201E;
    font-weight: 700;
}

.selecting-table td {
    width: 154px;
    line-height: 22px;
    padding: 2px 3px;
    border: 2px solid transparent;
    text-align: center;
}

.selecting-table-title td {
    color: #faebe1;
}

.selecting-td {
    cursor: grab;
    transition: 100ms;
    position: relative;
    color: black;
}

.color-white:hover {
    color: #faebe1;
    color: aliceblue;
}

.color-orange:hover {
    color: #ff6347;
}

.selecting-td:active {
    border-color: transparent;
    color: black !important;
}

/* mid */
#main-grid-area {
    margin-top: -1px;
    position: relative;
    height: 100%;
    background-color: #000000;
    display: grid;
    gap: 0 30px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 10px;
    grid-template-areas:
        "A B"
        "C D"
        "E F"
        "G H"
        "X X";
    place-items: center;
}

.group-box {
    list-style-type: none;
    display: flex;
    gap: 3px 0px;
    flex-direction: column;
}

.group-box>li:nth-child(1) {
    border-color: transparent;
    padding-top: 5px;
    /* new */
}

.group-box>li {
    width: 160px;
    height: 32px;
    padding: 3px 0px 0px 0px;
    text-align: center;
    font-weight: 700;
}

#group-box1 {
    grid-area: A;
    justify-self: end
}

#group-box2 {
    grid-area: B;
    justify-self: start
}

#group-box3 {
    grid-area: C;
    justify-self: end
}

#group-box4 {
    grid-area: D;
    justify-self: start
}

#group-box5 {
    grid-area: E;
    justify-self: end
}

#group-box6 {
    grid-area: F;
    justify-self: start
}

#group-box7 {
    grid-area: G;
    justify-self: end
}

#group-box8 {
    grid-area: H;
    justify-self: start
}

.party-default {
    font-size: 17px;
    border: 3px solid #b9bb84;
    color: black;
}

.class-hover {
    border: 3px solid #b9bb84;
    background-color: #36505b;
    background-color: #6a5b4a94;
}

.class-token {
    /* list-style-type: none; */
    text-align: left;
    /* margin-top: -10px; */
    line-height: 0px;
    border: 3px solid #b9bb84;
    padding: 0px 11px;
    font-size: 16px;
    width: 155px;
    height: 84px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 10px;
    flex-grow: 1;
}

.class-token span {
    padding-right: 10px;
}

.class-armor {
    /* list-style-type: none; */
    font-size: 14px;
    line-height: 8px;
    /* margin-top: -10px; */
    width: 162px;
    border: 3px solid #b9bb84;
    padding: 8px 0px 8px 30px;
    /* flex */
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    flex-grow: 1;
}

.class-armor span {
    justify-self: center;
    padding: 10px;
}

.select-dk {
    background-color: #c41e3a;
}

.select-druid {
    background-color: #ff7c0a;
}

.select-hunter {
    background-color: #aad372;
}

.select-mage {
    background-color: #3FC7EB;
}

.select-monk {
    background-color: #00FF98;
}

.select-paladin {
    background-color: #F48CBA;
}

.select-priest {
    background-color: #ffffff;
}

.select-rogue {
    background-color: #FFF468;
}

.select-shaman {
    background-color: #0070dd;
    /* background-color: #2459FF; */
}

.select-warlock {
    background-color: #9482C9;
}

.select-warrior {
    background-color: #C69B6D;
}

.select-tank {
    background-color: #6D9EEB;
}

.select-heal {
    background-color: #63a353;
}

.select-dps {
    background-color: #d15f63;
}

.class-druid {
    font-size: 17px;
    cursor: grab;
    color: black;
    background-color: #ff7c0a;
    border: 2px solid black;
}

.class-hunter {
    font-size: 17px;
    font-size: 17px;
    cursor: grab;
    color: black;
    background-color: #aad372;
    border: 2px solid black;
}

.class-mage {
    font-size: 17px;
    cursor: grab;
    color: black;
    background-color: #3FC7EB;
    border: 2px solid black;
}

.class-paladin {
    font-size: 17px;
    cursor: grab;
    color: black;
    background-color: #F48CBA;
    border: 2px solid black;
}

.class-priest {
    font-size: 17px;
    cursor: grab;
    color: black;
    background-color: #ffffff;
    border: 2px solid black;
}

.class-rogue {
    font-size: 17px;
    cursor: grab;
    color: black;
    background-color: #FFF468;
    border: 2px solid black;
}

.class-shaman {
    font-size: 17px;
    cursor: grab;
    color: black;
    background-color: #0070dd;
    /* background-color: #2459FF; */
    border: 2px solid black;
}

.class-warlock {
    font-size: 17px;
    cursor: grab;
    color: black;
    background-color: #9482C9;
    border: 2px solid black;
}

.class-warrior {
    font-size: 17px;
    cursor: grab;
    color: black;
    background-color: #C69B6D;
    border: 2px solid black;
}

.class-tank {
    font-size: 17px;
    cursor: grab;
    color: black;
    background-color: #6D9EEB;
    border: 2px solid black;
}

.class-heal {
    font-size: 17px;
    cursor: grab;
    color: black;
    background-color: #63a353;
    border: 2px solid black;
}

.class-dps {
    font-size: 17px;
    cursor: grab;
    color: black;
    background-color: #d15f63;
    border: 2px solid black;
}

/* right */
#buff-display {
    position: relative;
    display: grid;
    grid-template-columns: 280px 1fr;
    grid-template-rows: 250px 1fr;
}

.buff-table {
    padding: 0px 0px 0px 10px;
    text-align: left;
    font-size: 15.5px;
    height: fit-content;
    white-space: nowrap;
    line-height: 20px;
    margin-top: -5px;
}

.buff-table tr,
td {
    /* distace */
    padding: 2px 10px 0px 0px;
}

#buff-table1 {
    /* max-width: 324px;
    padding-right: 25px; */
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    width: fit-content;
}

#buff-table2 {
    /* margin-left: -10px; */
    grid-column: 2 / 3;
    grid-row: 1 / 3;
}

.buff-name {
    text-align: left;
    font-size: 19px;
    color: #d8c661;
}

#buff-table1 .buff-name {
    padding: 10px 0px 4px 0px;
}

#buff-table2 .buff-name {
    padding: 10px 0px 4px 3px;
}

.buff-text,
.buff-text2 {
    cursor: pointer;
    color: #faebe1;
    text-align: left;
    /* color: #faebe1; */
}

/* new party stuff */
#buff-table3 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    /* position: relative; */
    margin-top: -10px;
    display: flex;
    flex-direction: column;
    /* gap: 15px; */
}

#buff-table3>table {
    font-size: 16px;
    border: 1px solid pink;
    width: fit-content;
    line-height: 14px;
    padding: 2px 3px 2px 3px;
    margin: 0px 0px 5px 10px;
}

.party-buff-title {
    padding: 0px 0px 0px 3px;
    text-align: left;
}

#buff-table3 .party-buff-group>td {
    font-size: 14px !important;
    color: red;
    cursor: pointer;
    color: #faebe1;
    text-align: left;
}

/* ///party/// */
.buff-selected {
    cursor: pointer;
    color: #d8c661;
}

.buff-number {
    cursor: pointer;
    color: #faebe1;
    text-align: center;
}

.number-selected {
    cursor: pointer;
    color: #d8c661;
}

.shaman-pet {
    color: #e9b94a
}

.buff-text:hover {
    color: #d8c661;
}

.buff-phase {
    cursor: pointer;
    color: #777468;
}

.buff-text-phase:hover {
    color: #d8c661;
}

/* keep space */
#buff-display>#buff-table1 td:nth-child(1):not(.buff-name),
#buff-display>#buff-table2 td:nth-child(1):not(.buff-name) {
    text-align: right !important;
    width: 30px;
}

/* .buff-unselected {
    color: #faebe1;
} */
#buff-display>#buff-table1 td:nth-child(2),
#buff-display>#buff-table2 td:nth-child(2) {
    /* keep space */
    display: inline;
}

#footer-container {
    margin-top: 5px;
    display: grid;
    place-items: center;
    margin-left: -4vw;
}

footer {
    color: #696a589d;
    text-align: center;
    margin-top: -4px;
    font-size: 10px;
}

/* tooltips */
#select-tooltip {
    position: absolute;
    top: 130px;
    left: 50%;
    /* width: 300px; */
    min-width: 180px;
    width: fit-content;
    white-space: nowrap;
    padding: 6px 6px;
    padding: 6px 8px 6px 3px;
    list-style: none;
    font-size: 18px;
    border: 2px solid #b9bb84;
    background-color: black;
    display: flex;
    gap: 4px;
    flex-direction: column;
}

.tooltip-small-text {
    font-size: 16px;
}

.select-tooltip-title {
    position: relative;
    padding: 3px 0px;
    margin-bottom: 5px;
    color: black;
    text-align: center;
    display: flex;
    justify-content: center;
}

.select-tooltip-flex {
    display: flex;
    justify-content: left;
    align-items: center;
    margin-bottom: 3px;
    /* padding: 0px 0px 0px 0px;
    margin: 0px 0px; */
    /* width: fit-content; */
}

.select-tooltip-flex img {
    text-align: center;
    padding: 0px 0px 0px 0px;
    border: 2px solid black;
    margin-bottom: -1px;
    margin-right: 3px;
}

.select-tooltip-flex p {
    color: #b9bb84;
    text-align: center;
}

.select-tooltip-flex:nth-child(even) {
    background-color: hsl(60, 2%, 5%);
}

.select-tooltip-flex:nth-child(odd) {
    background-color: hwb(0 14% 84%);
}

[hidden] {
    display: none !important;
}

#spec-tooltip-container {
    width: fit-content;
}

#popout-about {
    position: absolute;
    top: 69px;
    left: 24%;
    height: 800px;
    width: 1000px;
    background-color: #000000;
    border: 2px solid #b9bb84;
    user-select: text;
}

#close_popout-about {
    position: absolute;
    top: 5px;
    right: 5px;
}

#about-content {
    position: relative;
    top: 0;
    left: 0;
    height: 80%;
    width: 90%;
    margin: 10px 0px 0px 15px;
    padding: 0px 0px 0px 15px;
}

.big-text:first-child {
    margin-top: 30;
}

.big-text {
    font-size: 22px;
    margin: 15px 0px 5px 0px;
    color: #b9bb84;
    color: #d8c661
}

.small-text {
    font-size: 16px;
    padding: 0px 0px 5px 0px;
    margin: 5px 0px 15px 0px;
    /* margin: 10px 0px; */
    line-height: 24px;
}

#about-foot {
    position: relative;
    left: -4%;
    top: 15%;
    margin: 0 auto;
    bottom: 4px;
}

#img-tooltip-container {
    /* position: absolute;
    top: 0px;
    left: 0px;
    border: 3px solid #b9bb84;;
    background-color: #242424; */
    width: fit-content;
}

.img-tooltip {
    position: absolute;
    top: 0px;
    left: 0cap;
    border: 3px solid #b9bb84;
    background-color: #21201E;
    transition: all 100ms;
    transition-delay: 100ms;
    opacity: 0;
    z-index: -10;
}

.img-tooltip-show {
    transition: opacity 100ms;
    transition-delay: 100ms;
    opacity: 1;
    z-index: 10;
}

.color-pink {
    color: #f48cba;
}

.color-orange2 {
    color: #eb7c15;
}

.color-yellow {
    color: #d8c661;
}

#dropdown-container {
    /* dropdown*/
    margin-left: auto;
    padding-right: 1px;
    text-align: center;
    /* width: 255px; */
}

#dropdown-items {
    /* display: none; */
    position: absolute;
    width: 260px;
    text-align: center;
    margin-left: 2px;
    background-color: black;
    box-shadow: 0px 0px 5px 0px #8fbbc88b;
    z-index: 100;
}

#dropdown-btn-main {
    width: 260px;
    height: 35px;
    padding: 2px 0px 0px 0px;
    margin: 5px 2px;
    text-align: center;
    color: #faebe1;
    border: 3px solid #b9bb84;
    background-color: black;
    transition: 100ms;
    cursor: pointer;
    font-weight: 700;
    transition: transform 100ms;
}

#dropdown-btn-main:hover {
    background-color: #6a5b4a94;
}

#dropdown-btn-main:active {
    transform: translateY(2px);
}

.dropdown-btn {
    width: 250px;
    height: 35px;
    padding: 2px 0px 0px 0px;
    margin: 5px 2px;
    margin-left: 5px;
    text-align: center;
    background-color: black;
    transition: 100ms;
    cursor: pointer;
    font-weight: 700;
    transition: transform 100ms;
}

.dropdown-btn:active {
    transform: translateY(2px);
}

#dropdown-btn-wrath {
    color: #b0c4de;
    border: 3px solid #b0c4de;
}

#dropdown-btn-wrath:hover {
    background-color: #565d67b6;
}

#dropdown-btn-cata {
    color: #dba875;
    border: 3px solid #dba875;
}

#dropdown-btn-cata:hover {
    background-color: #6a5b4a94;
}

#dropdown-btn-sod {
    color: #b9bb84;
    border: 3px solid #b9bb84;
}

/*  sod  */
.group-btn-click {
    margin-top: 4px !important;
    padding-top: 4px !important;
    transition: all 50ms;
    /* color: rgb(190, 93, 93); */
}

.group-btn-click:hover {
    background-color: #d7c560;
    color: black;
    cursor: pointer;
    /* gap: 10px 10px 10px 10px; */
    /* padding: 2px 0px 0px 1px; */
    border-bottom: 2px solid black !important;
    border-left: 2px solid black !important;
    border-right: 2px solid black !important;
    transition: transform 100ms;
}

.group-btn-click:active {
    transform: translateY(2px);
}

.party-tooltip {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 272px;
    /* max-width: fit-content; */
    min-height: fit-content;
    white-space: nowrap;
    padding: 4px 4px 4px 4px;
    list-style: none;
    font-size: 18px;
    border: 2px solid #b9bb84;
    background-color: black;
    display: flex;
    gap: 4px;
    flex-direction: column;
}

.party-tooltip-title {
    position: relative;
    padding: 3px 0px;
    color: black;
    background-color: #d7c560;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3px;
}

.party-tooltip-rune {
    position: relative;
    padding: 3px 0px;
    color: black;
    background-color: #d7c560;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.party-tooltip-line {
    height: 10px;
}

/* .party-tooltip-flex {
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px; 
     width: fit-content;
} */
/* #role-box-container:before {
    content: "";
    position: absolute;
    top: -8px;
    left: -8px;
    width: 480px;
    height: 80px;
    background-color: black;
    border: 1px solid #daa52064;
    z-index: -1;
} */
#info-box-container {
    position: relative;
    background-color: #000000;
    margin: 0 auto;
    margin-top: 10px;
    width: 468px;
    height: 170px;
    border: 2px solid #b9bb84;
    border: 2px solid #daa52064;
    user-select: none;
    display: grid;
    gap: 0px 20px;
    grid-template-columns: 1fr 1fr;
    place-items: center;
}

.info-armor {
    justify-self: end;
    line-height: 30px;
}

.info-player {
    line-height: 24px;
    justify-self: start;
}

.armor-player {
    font-size: 17px;
    border: 2px solid #daa52064;
    text-align: left;
    height: 140px;
    width: 130px !important;
    display: flex;
    flex-direction: column;
    padding: 6px 0px 0px 12px;
}

.armor-player span {
    padding-right: 8px;
}

/* .armor-player li {
} */
.class-token {
    /* list-style-type: none; */
    /* margin-top: -10px; */
    line-height: 0px;
    border: 3px solid #b9bb84;
    padding: 0px 11px;
    font-size: 16px;
    width: 155px;
    height: 84px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 10px;
    flex-grow: 1;
}

.class-token span {
    padding-right: 10px;
}

.class-armor {
    /* list-style-type: none; */
    font-size: 14px;
    line-height: 8px;
    /* margin-top: -10px; */
    width: 162px;
    border: 3px solid #b9bb84;
    padding: 8px 0px 8px 30px;
    /* flex */
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    flex-grow: 1;
}

.class-armor span {
    justify-self: center;
    padding: 10px;
}
