#testbed {
    width: 56.3vh; 
    min-height: 100vh;
    height: auto;
    background-color: rgb(255, 255, 255);
    margin: -8px;
}

#var_line {
    width: 56.3vh
}

#body_line {
    height: 85vh;
}

#button_line {
    width: 56.3vh
}


.tab_box {
    margin-top: 9.46vh;
    background-color: white;
}

.white_button {
    border-style: solid; 
    border-radius: 13px; 
    border-width: 1px; 
    font-size: 18px; 
    width: auto; 
    height: 30px; 
    align-items: center; 
    display: flex;
     
    background-color: white;
    color: black;
    border-color: black;
}

.white_button:hover {
    color: blueviolet;
    border-color: blueviolet;
}

.testshop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.testshop_name {
    font-size: 15px;
}

.testshop_price {
    font-size: 13px;
}


#new_var {
    background-color: #f6f6f6;
    margin: -8px;
    padding: 1px;
    text-align: center;
}

.mypage_element {
    text-align: center; 
    box-shadow: 0px 4px 10px rgba(168, 168, 168, 0.2); 
    border-radius: 30px;
    height: 250px;
    margin: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mypage_element:hover {
    cursor: pointer;
}

.heart_btn_box {
    display: flex; 
    align-items: center;
    margin: 8px;
    margin-top: 16px; 
    margin-left: auto;
    padding: 10px;
}

.community_media_style {
    margin: 8px;
    padding: 8px; 
    background-color: white; 
    border-radius: 15px; 
    height: auto;
    box-shadow: 2px 5px 20px rgba(201, 201, 201, 0.356);
}

#activeControler {
    position: fixed;
    bottom: -100px; /* 화면 밖에 위치 */
    width: 56.3vh;
    height: 100px;
    background-color: white;
    display: none; /* 초기에는 숨김 */
    text-align: center;
    border-radius: 10px;
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    align-items: center;
    text-align: center;
    box-shadow: 2px 5px 20px rgba(95, 95, 95, 0.356);
  }
  
  #activeControler.active {
    display: flex;
    transform: translateY(-100px);
    opacity: 1;
  }

#write_button_mobile {
    display: none;
}

#write_button_pc {
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.385);
    border-radius: 40px; 
    height: 50px; 
    border: 2px solid #f6f6f6;
    margin: 8px;
    text-align: center;
    justify-items: center;
}

#write_button_pc:hover {
    cursor: pointer;
    background-color: white;
}

.home_tab_box {
    margin: 8px;
    padding: 8px;
    background-color: white;
    border-radius: 15px;
    height: auto;
    box-shadow: 0px 0px 20px rgba(117, 117, 117, 0.36);
    display: flex;
    flex-direction: column;
}

.collection_tab_box {
    margin: 8px; 
    padding: 8px; 
    background-color: #f6f6f6; 
    border-radius: 15px; 
    height: auto; 
    display: flex;
    box-shadow: 0px 0px 20px rgba(117, 117, 117, 0.36);
}

.event_tab_box {
    margin: 8px; 
    background-color: #f6f6f6; 
    border-radius: 15px; 
    height: auto; 
    box-shadow: 0px 0px 20px rgba(117, 117, 117, 0.36);
}

.red_circle_box {
    background-color: #DD285C;
    border-radius: 50%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.black_circle_box {
    background-color: black;
    border: solid 2px #f6f6f6;
    border-radius: 50%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.black_circle_box:hover {
    background-color: rgb(18, 17, 17);
}

.eventPopupSpace {
    width: 40vh; height: auto; background-color: rgb(18, 17, 17); border: solid #f6f6f6 1px; border-radius: 50px;
}

.home_section_preview {
    padding: 8px;
    background-color: white;
    border-radius: 15px;
    height: auto;
}

.time_style {
    margin: 0; 
    color: grey; 
    font-size: 12px;
}



@media (max-width: 900px) {
    #testbed {
        width: 100vw;
        height: auto;
    }
    #var_line {
        width: 100%;
    }
    #body_line {
        height: 84vh;
    }

    #button_line {
        width: 100%;
    }
    #write_button_mobile {
        display: block;
        position: fixed;
        bottom: 81px; 
        display: flex;
        right: 16px; 
    }
    #write_button_mobile:hover {
        cursor: pointer;
    }

    #write_button {
        display: none;
    }

    .eventPopupSpace {
        width: 80%; height: auto;
    }

    #activeControler {
        width: 100%;
    }
}