/* ------------------------------------------  Containers ---------------------------------------- */

.GAIM_container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 120vh;
    height: 65vh;
    border-radius: 2vh;
    margin: auto;
    top: 50%;
    position: relative;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.GAIM_boxes {
    width: 35vh; /* Reduced cheatbox size */
    height: 60vh; /* Reduced cheatbox size */
    border-radius: 2vh;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 0.25vw var(--neon-color), 0 0 0.5vw var(--neon-color), inset 0 0 0.25vw var(--neon-color), inset 0 0 0.5vw var(--neon-color);
}

.GAIM_boxes:hover {
  box-shadow: 0 0 0.5vw var(--neon-color-hover), 0 0 1.5vw var(--neon-color-hover), inset 0 0 0.5vw var(--neon-color-hover), inset 0 0 1.5vw var(--neon-color-hover);
}
/* ------------------------------------------  left box ---------------------------------------- */ 

/* Upper part */ 

.GAIM_relationships {
    overflow-Y: scroll;
    scrollbar-width: thin;
}

.GAIM_rel_top {
    border-radius: 2vh 2vh 0vh 0vh;
    box-shadow: 0 0 1vh rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.GAIM_rel_top h1 {
    color: #ffffff;
    font-size: 2.5vh;
    text-align: center;
    margin-bottom: 0;
}

.GAIM_girlstatinfo {
    width: 100%;
}

.GAIM_girlstatinfo_content {
    width: auto;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    padding: 1vh;
}

.GAIM_girlstatinfo_content img {
    height: 2.6vh;
    margin-right: 1vh;
    margin-top: auto;
    margin-bottom: auto;
}

.GAIM_girlstatinfo_content h2 {
    color: #ffffff;
    font-size: 2vh;
    margin-top: auto;
    margin-bottom: auto;
    padding: 0vh;
}

.GAIM_girlstatinfo_content p {
    color: #ffffff;
    font-size: 1.6vh;
    padding: 0vh;
    margin: 0;
    margin-top: 1vh;
    margin-left: 0.2vh;
}

/* Lower part */ 

.GAIM_rel_bottom {
    margin-top: 1vh;
    border-radius: 0 0 2vh 2vh;
    box-shadow: 0 0 1vh rgba(0, 0, 0, 0.2);
    position: relative;
    padding: 0.5vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 1vh;
    
}

.GAIM_item {
    margin-bottom: 2vh;
    position: relative;
    transition: margin-bottom 0.5s ease;
}

.GAIM_item.expanded {
    margin-bottom: 12vh; /* Difference between expanded red div height and black div height */
}

.GAIM_gaugeinfo_container {
    height: 7vh;
    width: 95%;
    background-color: #111111;
    position: relative;
    z-index: 2;
    border-radius: 4vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.GAIM_gaugeinfo_container img {
    height: 7vh;
    border-radius: 50%;
    position: absolute;
    z-index: 1;
    outline: 0.3vh solid #ef6464;
}
.GAIM_gauge {
    width: 60%;
    height: 3vh;
    overflow: hidden;
    margin-left: 6vh;
    border-radius: 0vh 2.5vh 2.5vh 0vh;
    border: solid 0.3vh #e74c3c;
    color: white;
    text-align: center;
}

.GAIM_shape_gauge {
    width: 100%;
    height: 100%;
    border-radius: 0vh 2.5vh 2.5vh 0vh;
    position: relative;    /*background-color: #e74c3c;*/ /*gonna change JS*/
    overflow: hidden;
}

.GAIM_shape_gauge p {
    position: absolute;
    top: -1.5vh;
    left: -1.5vh;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5vh;
    color: white;
    z-index: 2;
    text-transform: uppercase;
}

.GAIM_gauge_fill {
    height: 100%;
    width: 0;
    transition: width 0.5s ease-out;
}

.GAIM_gauge_fill img {
    height: 80%;
    z-index: 5;
    position: absolute;
    right: 1vh;
    top: 50%;
    bottom: 50%;
    transform: translateY(-50%);
    z-index: 5;
    outline: 0px;
}

.GAIM_arrow {
    position: absolute;
    right: 1.6vh;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: transform 0.3s ease;
    color: white;
    width: 3vh;
    height: 3vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.GAIM_arrow::before {
    content: '';
    width: 1.5vh;
    height: 1.5vh;
    border-right: 0.3vh solid #e74c3c;
    border-bottom: 0.3vh solid #e74c3c;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.GAIM_arrow.flipped::before {
    transform: rotate(-135deg);
}

.GAIM_sliding-div {
    background-color: #ef6464;
    color: white;
    padding: 3.6vh;
    width: 96%;
    height: 0;
    transition: height 0.5s ease;
    overflow: hidden;
    box-sizing: border-box;
    border-radius: 3.6vh;
    position: absolute;
    top: -0.1vh;
    left: -0.1vh;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-content: flex-start;
    align-items: flex-start;
    outline: 0.2vh solid #ef6464;
}

.GAIM_sliding-div.show {
    height: 18vh;
}


.GAIM_sliding-div h1 {
    font-size: 2vh;
    text-align: center;
    margin-top: 4vh;
    margin-bottom: 0;
}

.GAIM_sliding-div p {
    font-size: 1.5vh;
    padding: 0;
    margin: 0;
    line-height: 1.3;
}

/* ------------------------------------------  mid box ---------------------------------------- */ 
.GAIM_navigating {
    overflow-Y: scroll;
    scrollbar-width: thin;
}

.GAIM_nav_top {
    border-radius: 2vh 2vh 0vh 0vh;
    box-shadow: 0 0 1vh rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.GAIM_nav_top h1 {
    color: #ffffff;
    font-size: 2.5vh;
    text-align: center;
    margin-bottom: 0;
}

.GAIM_dom {
    margin-right: 10vh;
}

.GAIM_nav_bottom {
    width: auto;
    border-radius: 0vh 0vh 2vh 2vh;
}

.GAIM_stat img {
    height: 100%;
}

.GAIM_stat_container {
    width: auto;
    padding: 1vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.GAIM_stat {
    width: 47%;
    height: 5vh;
    border-radius: 10vh;
    border: 0.3vh solid #ef6464;
    display: flex;
}

.GAIM_stat p {
    font-size: 2.8vh;
    margin: auto;
    font-weight: bold;
    color: white;
}

.GAIM_progress_container {
    width: auto;
    padding: 1vh;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}

.GAIM_progress {
    /* --GAIM_color: #2ecc71; */

    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.GAIM_progress[section="peacewood"] {
    --GAIM_color: #2ecc71;
    --GAIM_filter: brightness(0) saturate(100%) invert(53%) sepia(9%) saturate(2464%) hue-rotate(92deg) brightness(115%) contrast(115%);
}
.GAIM_progress[section="border"] {
    --GAIM_color: #df6d3f;
    --GAIM_filter: brightness(0) saturate(100%) invert(53%) sepia(77%) saturate(1463%) hue-rotate(334deg) brightness(92%) contrast(89%);
}
.GAIM_progress[section="green"] {
    --GAIM_color: #014611;
    --GAIM_filter: brightness(0) saturate(100%) invert(15%) sepia(30%) saturate(4962%) hue-rotate(122deg) brightness(93%) contrast(99%);
}

.GAIM_progressCircle {
    height: 7vh;
    width: 7vh;
    background-color: #D3D3D3;
    border: 0.6vh solid var(--GAIM_color);
    border-radius: 50%;
    position: relative;
}

.GAIM_progress line {
    width: 0.6vh;
    height: 4vh;
    background-color: var(--GAIM_color);
}

.GAIM_progressTitle {
    color: white;
    font-weight: bold;
    margin-top: 0;
    font-size: 2vh;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.GAIM_progressCircle img {
    width: 65%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    filter: var(--GAIM_filter);
}

/* #GAIM_imgException {
    filter: none;
} */

/* .GAIM_locked {
    opacity: 0.5;
} */

/* .GAIM_lockedLine {
    opacity: 0.5;
} */

.GAIM_indicator::before {
content: "";
position: absolute;
width: 2.7vh;
height: 2.7vh;
border-top: var(--GAIM_color) solid 0.5vh;
border-left: var(--GAIM_color) solid 0.5vh;
transform: translate(-200%, 60%) rotate(135deg);;
}

.GAIM_indicator2::before {
content: "";
position: absolute;
width: 2.7vh;
height: 2.7vh;
border-top: var(--GAIM_color) solid 0.5vh;
border-right: var(--GAIM_color) solid 0.5vh;
transform: translate(320%, 60%) rotate(-135deg);;
}
/* ------------------------------------------  right box ---------------------------------------- */ 

.GAIM_discoveries {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    /* make the box scrollable */
    overflow-y: scroll;
    scrollbar-width: thin;
}

.GAIM_discoveries h1 {
    color: #ffffff;
    font-size: 2.5vh;
    text-align: center;
    margin-bottom: 0;
}

.GAIM_discoveries_box {
    width: 90%;
    min-height: 25%;
    max-height: 25%;
    background-color: #ef6464;
    border-radius: 2vh;
    box-shadow: 0 0 1vh rgba(0, 0, 0, 0.2);
    margin-top: 1vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.GAIM_locked {
    background-color: #949191;
}

.GAIM_discoveries_box_title {
    height: 35%;
    width: 99%;
    background-color: #111111;
    border-radius: 2vh;
    box-shadow: 0 0 1vh rgba(0, 0, 0, 0.2);
    color: #ffffff;
    font-size: 1.5vh;
    display: flex;
    align-items: center;
    margin-top: 0.2vh;
}

.GAIM_discoveries_box_title p {
    margin-left: 2vh;
    font-style: italic;
    font-weight: bold;
}

.GAIM_discoveries_box_content {
    width: 90%;
    font-size: 1.3vh;
    border-radius: 2vh;
    color: #ffffff;
    display: flex;
    margin-top: 1vh;
    line-height: 1.3;
}