/*
3DHOP - 3D Heritage Online Presenter
Copyright (c) 2014, Marco Callieri - Visual Computing Lab, ISTI - CNR
All rights reserved.    

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
:root{
    /* colores */
    --clr-negro: black;
    --clr-blanco: white;
    --clr-dorado: #f4d229;
    --clr-amarillo-claro: #e6d690;
    --clr-azul: #7892c2;
    --clr-verde-whsp: #5FFC7B;
    /* fuentes */
    --ff-title: 'Roboto', sans-serif;
    --ff-title-weight: bold;
    --ff-paragraph: 'Poppins', sans-serif;
    --ff-paragraph-weight: 300;
    --ff-paragraph-size: 1.3125rem;
    
}

body {
    width: 100%;
    height: 100vh;
    margin: 0px;
    justify-content: center; /* Center the container horizontally */
    align-items: center;
    background-color: #000;
    font-family: var(--ff-title);
}

.container{
    width: 80%;
    height: 80%;
    position: absolute; /* se posiciona relativo a la posicion de su ancestro, en este caso, body */
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto; /* Center the container both horizontally and vertically clave para ubicar en el centro */ 
}

.main-viewer {
    width: 100%;
    height: 100%;
}
.header {
    font-weight: var(--ff-title-weight);
    position: absolute;
    margin: auto;
    top: -10px;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center; /* Center align the text within the header */
    color: #f4d229;
    
}

.cajetin{
    position: absolute; /* si se quiere que algo permanezca fijo incluso cuando se hace scroll se usa fixed*/
    bottom: 1.5rem;
    left: 40%;
    transform: translateX(-40%);
    text-align: center;
    color: white;
}

.autor{
    position: absolute; /* si se quiere que algo permanezca fijo incluso cuando se hace scroll se usa fixed*/
    bottom: 0.5rem;
    left: 20%;
    transform: translateX(-20%);
    text-align: center;
    color: white;
}

.city{
    position: absolute; /* si se quiere que algo permanezca fijo incluso cuando se hace scroll se usa fixed*/
    bottom: 0.5rem;
    left: 80%;
    transform: translateX(-80%);
    text-align: center;
    color: white;
}

.date{
    position: absolute; /* si se quiere que algo permanezca fijo incluso cuando se hace scroll se usa fixed*/
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
}

.tdhop {
    position: relative;
    width: 100%;
    height: 100%;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: none;
    -ms-touch-action: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
}

#tdhlg {
    position: absolute;
    width: 105px;
    height: 13px;
    overflow: hidden;
    cursor: pointer;
    color: #909090;
    text-align: center;
    text-decoration: none;
    font-family: verdana;
    font-style: italic;
    font-size: 10px;
    line-height: 13px;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: none;
    -ms-touch-action: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
}

.toolbar {
    position: absolute;
    left: 10px;
    top: 10px;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: none;
    -ms-touch-action: none;
    -webkit-tap-highlight-color: rgba(83, 13, 13, 0);
    -webkit-tap-highlight-color: transparent;
    
}

#toolbar img {
    margin-bottom: 8px;
    width: 50%;
    height: auto;
    opacity: 0.5;
    cursor: pointer;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: none;
    -ms-touch-action: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
}

.output-box {
    position: absolute;
    display: none;
    border-radius: 5px;
    margin: 0;
    height: 48px;
    padding: 0px 5px 2px 5px;
    cursor: default;
    background-color: rgba(125, 125, 125, 0.5);
    color: #f8f8f8;
    text-decoration: none;
    text-align: center;
    font-family: verdana;
    font-style: italic;
    font-size: 12px;
    line-height: 20px;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: none;
    -ms-touch-action: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
}

.output-text {
    padding: 0px 5px 0px 5px;
    cursor: text;
    -webkit-user-select: text;
    -webkit-touch-callout: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.output-input {
    vertical-align: middle;
    cursor: pointer;
    height: 15px;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: none;
    -ms-touch-action: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
}

.output-table {
    margin: 0;
    width: 100%;
    color: #f8f8f8;
    text-align: center;
    font-style: italic;
    font-size: 12px;
    line-height: 15px;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: none;
    -ms-touch-action: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
}

.output-table img {
    height: 25px;
    cursor: pointer;
    background-color: rgba(125, 125, 125, 0.25);
    border: 1px outset;
    border-radius: 5px;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: none;
    -ms-touch-action: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
    user-drag: none;
    -webkit-user-drag: none;
}

.output-table img:hover {
    background-color: rgba(125, 125, 125, 0.8);
}

.output-box hr {
    margin: 0 0 3px 0;
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(225, 225, 225, 0.75), rgba(0, 0, 0, 0));
}

#draw-canvas {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    outline: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: none;
    -ms-touch-action: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
}

/*IE*/
input[type=range].output-input {
    padding: 0;
    width: 125px;
}

.output-input::-ms-tooltip {
    display: none;
}

/*DEPRECATED*/
#measurebox {
    position: absolute;
    visibility: hidden;
    overflow: hidden;
    border-radius: 5px;
    right: 10;
    top: 10;
    margin: 0;
    width: 105px;
    height: 26px;
    cursor: default;
    color: #909090;
    text-decoration: none;
    text-align: center;
    font-family: verdana;
    font-style: italic;
    font-size: 10px;
    line-height: 13px;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: none;
    -ms-touch-action: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
}

#measure-output {
    cursor: text;
    -webkit-user-select: text;
    -webkit-touch-callout: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/*felcha para avanzar al siguiente modelo*/
.arrow-container {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
  }
  
  .left {
    left: 20px;
  }
  
  .right {
    right: 20px;
  }
  
  .arrow {
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    cursor: pointer;
  }
  
  .left .arrow {
    border-right: 20px solid white; /* Adjust color as needed */
  }
  
  .right .arrow {
    border-left: 20px solid white; /* Adjust color as needed */
  }