/* __V3D_TEMPLATE__ - template-based file; delete this line to prevent this file from being updated */
/* Desktops and laptops ----------- */
@media only screen 
and (min-width: 768px) {
body {
    margin: 0px;
    overflow: visible;
    background-color: white;
    cursor: move;
}

#v3d-container {
    position: fixed;
    display: inline;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
}

.v3d-annotation {
    border-radius: 8px;
    border-width: 1px;
    border-style: solid;
    border-color: none;
    box-shadow: 0 0 5px rgba(148, 148, 148, 0.6);
    background-color:  #4f4f4faa;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 400;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 1px;
    padding-bottom: 1px;
    position: absolute;
    top: -35px;
    cursor: pointer;
}

.v3d-annotation:hover {
    background-color:  #4f4f4f;
}


#form-add-name {
    position: fixed;
    background-color: rgb(255, 255, 255);
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 20px; 
    visibility: hidden;
}

#form-add-name input {
    margin: 4px;
}

/* ----------------- Benni: Logo ----------------- */
.logo {
    position: fixed;
    top: 10px;
    right: 20px;
    height: 70px;
}

.logo img { 
    height: 100%;
}

/* ----------------- Benni: Custom Preloader ----------------- */
#custom-preloader {
    background: white;
    width: 100%;
    height: 100vh;
    position: absolute;
    z-index: 10;
}

#preloaderContent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#preloaderLogo {
    max-width: 400px;
}

#progressbarline {
    height: 20px;
    margin: 20px 0px;
    background-color: rgba(0,120,142,0.2);
    border: 2px solid  rgba(0,120,142,1);
}

#progressbar {
    height: 100%;
    width: 0%;
    background-color: rgba(0,171,191, 1);
}

#progresstext {
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    color: rgba(0,171,191, 1);
}


.mousescroll{
    position: fixed;
    opacity:1;
    text-align: center;
    color: white;
    font-size: 1em;
    font-family: 'Inter', sans-serif;
    left: 100%;
    width: 160px;
    top: 80%;
    transform: translate(-100%, -50%);
}

.mousescroll.scrolled{
    opacity:0;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: #4f4f4f;
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #f0f0f0;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #6d6d6d; 
  }
  
}
  /* Smartphones (landscape) ----------- */
@media only screen
and (min-width : 321px)
and (max-width : 767px) {
/* Styles */
    body {
        margin: 0px;
        overflow: visible;
        background-color: white;
    }

    #v3d-container {
        position: fixed;
        display: inline;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        transform: translate(-50%, -50%);
    }

    .v3d-annotation {
        border-radius: 8px;
        border-width: 1px;
        border-style: solid;
        border-color: none;
        box-shadow: 0 0 5px rgba(148, 148, 148, 0.6);
        background-color:  #4f4f4faa;
        color: #ffffff;
        font-family: 'Inter', sans-serif;
        letter-spacing: 2px;
        font-size: 12px;
        font-weight: 400;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 1px;
        padding-bottom: 1px;
        position: absolute;
        top: -35px;
    }
    
    .v3d-annotation:hover {
        background-color:  #4f4f4f;
    }


    #form-add-name {
        position: fixed;
        background-color: rgb(255, 255, 255);
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        padding: 20px; 
        visibility: hidden;
    }

    #form-add-name input {
        margin: 4px;
    }

    .logo {
        position: fixed;
        top: 10px;
        right: 20px;
        height: 30px;
    }
    .logo img { 
        height: 100%;
    }

    #custom-preloader {
        background: white;
        width: 100%;
        height: 100vh;
        position: absolute;
        z-index: 10;
    }
    
    #preloaderContent {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #preloaderLogo {
        max-width: 100px;
        margin-left: -5px;
        margin-bottom: -1px;
    }

    #progressbarline {
        height: 20px;
        margin: 20px 0px;
        background-color: rgba(0,120,142,0.2);
        border: 2px solid  rgba(0,120,142,1);
    }

    #progressbar {
        height: 100%;
        width: 0%;
        background-color: rgba(0,171,191, 1);
    }

    #progresstext {
        text-align: center;
        font-family: 'Open Sans', sans-serif;
        font-size: 20px;
        color: rgba(0,171,191, 1);
    }


    .mousescroll{
        visibility: hidden;
    }

    .mousescroll.scrolled{
        opacity:0;
    }

    /* width */
    ::-webkit-scrollbar {
        width: 10px;
    }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: #4f4f4f1f;
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #f0f0f0;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #6d6d6d; 
  }
}

/* Smartphones (portrait) ----------- */
@media only screen 
and (max-width : 320px) {
    body {
        margin: 0px;
        overflow: visible;
        background-color: white;
    }

    #v3d-container {
        position: fixed;
        display: inline;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        transform: translate(-50%, -50%);
    }

    .v3d-annotation {
        border-radius: 8px;
        border-width: 1px;
        border-style: solid;
        border-color: none;
        box-shadow: 0 0 5px rgba(148, 148, 148, 0.6);
        background-color:  #4f4f4faa;
        color: #ffffff;
        font-family: 'Inter', sans-serif;
        letter-spacing: 2px;
        font-size: 12px;
        font-weight: 400;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 1px;
        padding-bottom: 1px;
        position: absolute;
        top: -35px;
    }
    
    .v3d-annotation:hover {
        background-color:  #4f4f4f;
    }


    #form-add-name {
        position: fixed;
        background-color: rgb(255, 255, 255);
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        padding: 20px; 
        visibility: hidden;
    }

    #form-add-name input {
        margin: 4px;
    }

    .logo {
        position: fixed;
        top: 10px;
        right: 20px;
        height: 30px;
    }
    .logo img { 
        height: 100%;
    }

    #custom-preloader {
        background: white;
        width: 100%;
        height: 100vh;
        position: absolute;
        z-index: 10;
    }
    
    #preloaderContent {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #preloaderLogo {
        max-width: 100px;
    }

    #progressbarline {
        height: 20px;
        margin: 20px 0px;
        background-color: rgba(0,120,142,0.2);
        border: 2px solid  rgba(0,120,142,1);
    }

    #progressbar {
        height: 100%;
        width: 0%;
        background-color: rgba(0,171,191, 1);
    }

    #progresstext {
        text-align: center;
        font-family: 'Open Sans', sans-serif;
        font-size: 20px;
        color: rgba(0,171,191, 1);
    }

    /* width */
    ::-webkit-scrollbar {
        width: 10px;
    }
    
    /* Track */
    ::-webkit-scrollbar-track {
        background: #4f4f4f1f;
    }
    
    /* Handle */
    ::-webkit-scrollbar-thumb {
        background: #f0f0f0; 
    }
    
    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #6d6d6d; 
    }     
}

@media only screen
and (max-width : 1024px) {
    .mousescroll{
        visibility: hidden;
    }
}


