@font-face {
    font-family: CircularBold;
    src: url('assets/fonts/3MCircularTT-Bold.ttf');
}
@font-face {
    font-family: CircularLight;
    src: url('assets/fonts/3MCircularTT-Light.ttf');
}

:root {
    scrollbar-color: #41C363 #fff;
    scrollbar-width: 8px;
}

/* width */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent; 
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #41C363; 
    border-radius: 0;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #895bb7; 
}

/* turn off the buttons at the top */
::-webkit-scrollbar-button:start{
    display: none;
}

/* turn off the buttons at the bottom */
::-webkit-scrollbar-button:end{
    display: none
}

html, body { 
    margin: 0; 
    width: 100%;
    height: 100%; 
    position: relative; 
    background-size: 100% 100%;
    overscroll-behavior-y: none;
    overflow: hidden;
    font-family: Calibri, Arial, sans-serif;
    color: #ffffff;
    font-size:14px;
    background: none transparent;
}

h1,h2,h3,h4,h5 {
    font-family: CircularBold, Calibri, Arial, sans-serif;
    font-weight: normal;
}

#container { margin: 0; width: 100%; height: 100%; position: relative; }

.texture-video {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}
.fade-screen {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.language-selector {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: row;
    gap: 2px;
}
.language-selector button {
    position: relative;
    width: 50px;
    height: 70px;
    background-color: #41C363;
    color: #fff;
    border: none;
    font-weight: bold;
    transition: opacity 0.3s;
}
.language-selector button.selected {
    background-color: #fff;
    color: #41C363;
}

.language-selector button:hover {
    opacity: 0.5;
    cursor: pointer;
}

/*
.language-selector button.selected::after {
    content: ' ';
    position: absolute;
    left: 0;
    top: 0;
    width: 0; 
    height: 0; 
    border-top: 10px solid #0070e0;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #0070e0;
    border-right: 10px solid transparent;

}*/


.side-button {
    position: absolute;
    top: calc(50% - 50px);
    width: 42px;
    height: 42px;
    background-color: transparent;
    border: none;
    background-position: center;
    background-size: 60%;
    background-repeat: no-repeat;
    backdrop-filter: blur(20px);
    border-radius:21px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0);
    border-right: 1px solid rgba(255, 255, 255, 0);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

#side-button-left {
    left: 10px;
    background-image: url('assets/arrow_left.png');
}
#side-button-right {
    right: 10px;
    background-image: url('assets/arrow_right.png');
}

.side-button-left {
    background-image: url('assets/arrow_left.png');
    background-position: center;
    background-size: 60%;
    background-repeat: no-repeat;
    transition: all 0.3s ease-in-out !important;
}

.side-button-left:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.side-button-right {
    background-image: url('assets/arrow_right.png');
    background-position: center;
    background-size: 60%;
    background-repeat: no-repeat;
    transition: all 0.3s ease-in-out !important;
}

.side-button-right:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.buttoncontainer{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 116px;
    backdrop-filter: blur(20px);
    z-index:1;
    border-radius:20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0);
    border-right: 1px solid rgba(255, 255, 255, 0);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.button-zoomin,
.button-zoomout,
.button-turntable,
.side-button-left,
.side-button-right {
    width: 32px;
    height: 32px;
    position: absolute; 
    top: 4px;
    right: 4px;
    cursor: pointer;
    background-color: #41C363;
    padding: 0;
    transition: right 0.5s;
    box-sizing: border-box;
    z-index:999;
    border-radius:16px;
    transition: all 0.3s ease-in-out !important;
}
.button-zoomin.disabled,
.button-zoomout.disabled,
.button-turntable.disabled {
    opacity: 0.2;
    cursor: auto;
}
.button-zoomin {
    background-image: url('assets/Zoom_Big.png'); background-repeat: no-repeat; background-size: contain; background-position: center;
}
.button-zoomin:hover{transform: scale(1.1);}
.button-zoomout {
    background-image: url('assets/Zoom_Small.png'); background-repeat: no-repeat; background-size: contain; background-position: center;
    top: 42px;
}
.button-zoomout:hover{transform: scale(1.1);}
.button-turntable {
    background-image: url('assets/Turntable_On.png'); background-repeat: no-repeat; background-size: contain; background-position: center;
    top: 79px;
}
.button-turntable:hover{transform: scale(1.1);}
.button-turntable.off {
    background-image: url('assets/Turntable_Off.png'); background-repeat: no-repeat; background-size: contain; background-position: center;
}

.after-loading {
    opacity: 0;
    transition: opacity 1.0s;
    pointer-events: none;
}

#container.loaded .after-loading{
    opacity: 1.0;
    pointer-events: initial;
}

.lower-button-container {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.screen-bubble-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.screen-bubble {
    width: 10px;
    height: 10px;
    background-color: #41C363;
    border-radius: 50%;
    transition: all 0.3s ease-in-out !important;
}

.screen-bubble.active {
    border: 3px solid #41C363;
    border-radius: 50%;
    transition: all 0.3s ease-in-out !important;
}

.screen-bubble:hover {
    transition: all 0.3s ease-in-out !important;
    transform: scale(1.1);
    cursor: pointer;
}