body {
    margin: 0;
    padding: 0;
    font-family: "Varela Round", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* Contenedor del visor 3d */
.Viewer_container {
    overflow: hidden;
    height: 80vh;
    width: 100%;
}

.options_menu_container {
    display: none;
}

/* Contenedor del menú de opciones */
.options_menu_container.active {
    width: 100%;
    height: 20vh;
    background-color: white;
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 2vh;
    position: fixed;
    bottom: 0;
}

/* Head del menú de opciones */
.options_menu_head {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

/* Titulo del menú de opciones */
.options_menu_head .options_menu_title {
    margin: 0 !important;
    padding: 0 !important;
}

/* Menpu de opciones */
.options_menu {}

/* Contendor del menu de productos en el paso 0 */
.options_menu .option_products_container {
    display: flex;
    flex-direction: row;
    gap: 1vw;
}

.options_menu .option_products_container .option_products_item {
    min-width: 15vw;
    max-width: 15vw;
    min-height: 6vh;
    border-radius: 6PX;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    background-color: #2c3e50;
    color: white;
    cursor: pointer;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.options_menu .option_products_container .option_products_item:hover {
    background-color: #c9047d;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.options_menu .option_products_container .option_products_item.active {
    background-color: #c9047d;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.options_menu .option_products_container .option_products_item img {
    filter: invert(1);
    width: 10%;
}

/**
 * Menú de opciones
 */
.viewer_btn_container {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 999;
}

ul.viewer_btn_ul {
    list-style: none;
}

.viewer_btn_ul.collapsed {
    /* Permite ser expandido y colapsado */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.6s ease;
    pointer-events: none;
}

.viewer_btn_ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    align-items: center;
    /* Permite ser expandido y colapsado */
    max-height: 1000px;
    transition: all 0.6s ease;
    opacity: 1;
}

.viewer_btn_ul .viewer_btn_icon_content {
    margin: 0 10px;
    position: relative;
}

.viewer_btn_ul .viewer_btn_icon_content .viewer_btn_tooltip {
    position: absolute;
    top: -10px;
    left: 25%;
    text-align: center;
    transform: translateX(50%);
    color: #fff;
    padding: 6px 10px;
    border-radius: 15px;
    opacity: 0;
    visibility: hidden;
    font-size: 14px;
    max-width: 200px;
    min-width: 80px;
    width: auto;
    transition: all 0.3s ease;
}

.viewer_btn_ul .viewer_btn_icon_content:hover .viewer_btn_tooltip {
    opacity: 1;
    visibility: visible;
    top: 6px;
}

.viewer_btn_ul .viewer_btn_icon_content a {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 20%;
    color: #4d4d4d;
    background-color: #ffff;
    transition: all 0.3s ease-in-out;
}

.viewer_btn_ul .viewer_btn_icon_content a:hover {
    box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 50%);
}

.viewer_btn_ul .viewer_btn_icon_content a svg {
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
}

.viewer_btn_ul .viewer_btn_icon_content a:hover {
    color: white;
}

.viewer_btn_ul .viewer_btn_icon_content a .viewer_btn_filled {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #2c3e50;
    color: white;
    transition: all 0.3s ease-in-out;
}

.viewer_btn_ul .viewer_btn_icon_content a:hover .viewer_btn_filled {
    height: 100%;
}

.viewer_btn_ul .viewer_btn_icon_content a[data-action="expandir"] .viewer_btn_filled,
.viewer_btn_ul .viewer_btn_icon_content a[data-action="expandir"]~.viewer_btn_tooltip {
    background-color: #2c3e50;
    color: white !important;
}

.viewer_btn_ul .viewer_btn_icon_content a[data-action="expandir"]:hover .viewer_btn_expansive_toggle .viewer_btn_expansive_bars {
    background-color: white !important;
}

.viewer_btn_ul .viewer_btn_icon_content a[data-action="ar"] .viewer_btn_filled,
.viewer_btn_ul .viewer_btn_icon_content a[data-action="ar"]~.viewer_btn_tooltip {
    background-color: #2c3e50;
    color: white;
}

.viewer_btn_ul .viewer_btn_icon_content a[data-action="help"] .viewer_btn_filled,
.viewer_btn_ul .viewer_btn_icon_content a[data-action="help"]~.viewer_btn_tooltip {
    background-color: #2c3e50;
    color: white;
}

.viewer_btn_ul .viewer_btn_icon_content a[data-action="medidas"] .viewer_btn_filled,
.viewer_btn_ul .viewer_btn_icon_content a[data-action="medidas"]~.viewer_btn_tooltip {
    background-color: #2c3e50;
    color: white !important;
}

.viewer_btn_ul .viewer_btn_icon_content a[data-action="medidas"]:hover svg {
    fill: white !important;
}

.viewer_btn_ul .viewer_btn_icon_content a[data-action="debugger"] .viewer_btn_filled,
.viewer_btn_ul .viewer_btn_icon_content a[data-action="debugger"]~.viewer_btn_tooltip {
    background-color: #2c3e50;
    color: white !important;
}

.viewer_btn_ul .viewer_btn_icon_content a[data-action="debugger"]:hover svg {
    fill: white !important;
}

.viewer_btn_ul .viewer_btn_icon_content a[data-action="exit"] .viewer_btn_filled,
.viewer_btn_ul .viewer_btn_icon_content a[data-action="exit"]~.viewer_btn_tooltip {
    background-color: #2c3e50;
    color: white !important;
}

.viewer_btn_ul .viewer_btn_icon_content a[data-action="exit"]:hover svg {
    fill: white !important;
}

.viewer_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background-color: #2c3e50;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.viewer_btn:hover {
    background-color: #c9047d;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

/* Botón para colapsar y expandir menú */

#viewer_btn_expansive {
    display: none;
}

.viewer_btn_expansive_toggle {
    position: relative;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition-duration: .5s;
}

.viewer_btn_expansive_bars {
    width: 90%;
    height: 4px;
    background-color: #2c3e50;
    border-radius: 4px;
}

#viewer_btn_expansive_bar2 {
    transition-duration: .8s;
}

#viewer_btn_expansive_bar1,
#viewer_btn_expansive_bar3 {
    width: 70%;
}

#viewer_btn_expansive:checked+.viewer_btn_expansive_toggle .viewer_btn_expansive_bars {
    position: absolute;
    transition-duration: .5s;
}

#viewer_btn_expansive:checked+.viewer_btn_expansive_toggle #viewer_btn_expansive_bar2 {
    transform: scaleX(0);
    transition-duration: .5s;
}

#viewer_btn_expansive:checked+.viewer_btn_expansive_toggle #viewer_btn_expansive_bar1 {
    width: 100%;
    transform: rotate(45deg);
    transition-duration: .5s;
}

#viewer_btn_expansive:checked+.viewer_btn_expansive_toggle #viewer_btn_expansive_bar3 {
    width: 100%;
    transform: rotate(-45deg);
    transition-duration: .5s;
}

#viewer_btn_expansive:checked+.viewer_btn_expansive_toggle {
    transition-duration: .5s;
    transform: rotate(180deg);
}