@font-face {
    font-family: maersk_font;
    src: url(MaerskText-Regular.ttf);
}

body {
    margin: 0px;
    overflow: hidden;
}

#v3d-container {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

.fullscreen-button {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background-size: 100% 100%;
    display: none;
    z-index: 1;
}

.fullscreen-open {
    background-image: url('media/fullscreen_open.svg');
}

.fullscreen-close {
    background-image: url('media/fullscreen_close.svg');
}

/*emergency text*/

.emergencyBox {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 450px;
    height: 380px;
    background-color: rgba(66, 66, 66, 0.85);
    padding: 20px;
    border-radius: 16px;
}

#emergencyText {
    text-align: center;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

/*preload*/

.background {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fff;
    width: 100%;
    height: 100%;
    z-index: 40;
    overflow: hidden;
}

.preload {
    display: flex;
    align-items: center;
    justify-content: center;
}

.preload-content-pc {
    max-width: 50%;
}

.preload-content-mobile {
    max-width: 50%;
}

.preload-transition {
    position: absolute;
    top: 0;
    left: 30vw;
    width: 30vw;
    height: 100%;
    z-index: 10;
    background-color: #fff;
    transition: all;
    transition-property: left;
    animation-name: slide_animation;
    animation-duration: 7s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.preload-transition-mobile {
    position: absolute;
    top: 0;
    left: 10vw;
    width: 50vw;
    height: 100%;
    z-index: 10;
    background-color: #fff;
    transition: all;
    transition-property: left;
    animation-name: slide_animation_mobile;
    animation-duration: 7s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.image-style {
    position: absolute;
    left: 0; 
    right: 0; 
    top: 0;
    bottom: 0;
    margin: auto; 
    width: 30vw;
} 

.image-style-mobile {
    position: absolute;
    left: 0; 
    right: 0; 
    top: 0;
    bottom: 0;
    margin: auto; 
    width: 60vw;
} 

@keyframes slide_animation {
    0% {left:35vw}
    100% {left:65vw;}
}

@keyframes slide_animation_mobile {
    0% {left:25vw}
    100% {left:75vw;}
}


/*leyend*/

.information {
    width: 100%;
    text-align: center;
    display: none;
}

.button {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5vh;
    margin: auto;
    width: 250px;
    height: 40px;
    border: none;
    color: rgb(235, 235, 235);    
    background-color: rgba(66, 66, 66, 0.6);
    border-radius: 3em;
    text-align: center;
    text-decoration: none;
    font-family: maersk_font;
    font-size: 15px;
    cursor: pointer;
    transition-duration: 0.3s;
    box-sizing: content-box;
}

.button:hover {
    background-color: rgba(126, 126, 126, 0.8);
}

.leyend {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 16vh;
    overflow: auto;
    width: 250px;
    height: 10vh;
    display: none;
    text-align: left;
    color: rgb(235, 235, 235);
    background-color: rgba(66, 66, 66, 0.8);
    border-radius: 0.5em;
    list-style-type: none;
    font-family: maersk_font;
    font-size: 15px;
    line-height: 1.7;
    box-sizing: border-box;
    cursor: pointer;
}

.leyend li:hover {
    background-color: rgba(126, 126, 126, 0.8);
}

::-webkit-scrollbar {
    width: 2px;
}

/* removes tap blinking on ios devices */
* { -webkit-tap-highlight-color:rgba(0,0,0,0); }


@media only screen and (min-width: 200px) and (max-width: 800px) and (orientation: portrait) {
    /* Mobile Rotation: */
    .leyend {bottom: 14vh; height: 15vh;}
}

@media only screen and (min-width: 500px) and (max-width: 1200px) and (orientation: portrait) {
    /* Tablet: */
    .leyend {bottom: 12vh; height: 12vh;}
    .button {font-size: 14px;}
}

@media only screen and (min-width: 500px) and (max-width: 900px) and (orientation: landscape) {
    /* Mobile Rotation: */
    .leyend {bottom: 20vh; height: 28vh;}
    .button {font-size: 14px;}
}

@media only screen and (min-width: 900px) and (max-width: 1200px) and (orientation: landscape) {
    /* Tablet Rotation: */
    .leyend {bottom: 14vh; height: 18vh;}
    .button {font-size: 14px;}
}

@media only screen and (min-width: 1200px) and (orientation: landscape) {
    /* Desktop: */
    .leyend {bottom: 12vh; height: 15vh;}
    .button {top: 90vh; font-size: 15px;}
}

