@import url(fonts/gilroy_bold_macroman/stylesheet.css);
@import url(fonts/gilroy_heavy_macroman/stylesheet.css);

:root {
    --viewport-height : 97vh;
}

html, body{
    margin:0;
    background-color: #D8D8D8;
    width:100%;
    min-height: 100%;
    font-family: 'gilroy-bold';
}

* {
    touch-action: manipulation;
}

#content{
    min-height: 210vh;
    width: 100vw;
    overflow-x:hidden;
}

#cover{
    position: absolute;
    display:flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height:var(--viewport-height);
    width:100vw;
    background-color:rgba(0,10,20,0.7);
    z-index: 999;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom:2px solid rgba(0,0,0,0.25);
    box-shadow: 0px 25px 50px rgba(0,0,0,0.50);    
}

#machine-outer{
    position:fixed;
    width:100vw;
    height:var(--viewport-height);
}

#machine{
    width:100vw;
    height:var(--viewport-height);
    padding-top:5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-flow: column;
    transition-property: all;
    transform:scale(0.75);
}

.machine-transition{
    transition-duration: 0.5s;
}

.zoom{
    transform:scale(1.0) !important;
}


#svg_bg{
    display: none;
    width: 100vw;
}

#window{
    flex: 0 1 50%;
    width: 90vw;
    max-height: 90vw;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

#window svg{
    width:auto;
    height:90%;
}


#label{
    flex: 0 1 12%;
    width:100vw;
    height:100%;
    width:auto;
/*    height: 15vh;*/
    display: flex;
    align-items: center;
    justify-content: center;

}

#label svg{
    height:100px;
    max-height: 100%;
    width:auto;
    max-width: 30vw;
}

#switch{
    flex: 0 1 27%;
    max-height: 35vh;
    width:90vw;
    max-width: 60vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

#switch svg{
    width:auto;
    height: 100%;
    max-width: 65vw;
}



@keyframes spin { 
    0% { 
        transform: rotate(0deg); 
    } 
    100% { 
        -webkit-transform: rotate(-360deg); 
        transform:rotate(-360deg); 
    } 
}


#Switch_Knob{
    transition-duration: 0.5s;
    transform-origin: 50%;
}

#fan{    
    transform-origin: 98px 173.5px;
    -webkit-animation:spin 6s linear infinite;
    -moz-animation:spin 60s linear infinite;
    animation:spin 6s linear infinite;
    animation-play-state: paused;
    animation-timing-function:steps(20, end); 
    transform-origin: 50% 42.6%;  
/*    transform-origin: 168.9px 126.4px;*/
}


.switch-on{
    transform: rotate(90deg);
}

.switch-on #Vector_8{
    fill:#fff;
}

#Group_73 > * {
    transform:scale(-1, 1)
}

g[id='Dot Matrix']{
    opacity: 0.4;
}

#imprint{
    display:flex;
    justify-content: center;
    align-items: center;
    height:15vh;
    margin-bottom: -10vh;
}


#info{
    display:flex;
    width:100vw;
    height: 95vh;
    flex-direction: column;
    max-width: 1000px;
    justify-content: center;
    align-items: center;
    transition-duration: 0.3s;
    transition-property: all;
    pointer-events: none;
    text-align: center;
}

#info > * {
    max-width: 80%;
}

#info #info-copy{
    display:flex;
    color:#fff;
    flex-direction: column;
    font-size: min(40px, 4vw);
    font-family: 'gilroy-bold';
    text-transform: lowercase;
    line-height: min(70px, 7vw);
    text-align: center;

}

#info #insights{
    margin-top:3vw;
    color:#999;
    font-size: min(16px, 3vw);
    line-height: min(26px, 5vw);
    text-align: center;
}

#info #insights a {
    text-decoration: underline;
    color:#999;
    pointer-events: all;
}


#info .img{
    display: flex;
    height:25%;
    max-width:300px;
    justify-content: center;
    align-items: center;
}


#warning{
    display:none;
    width:100%;
    height:var(--viewport-height);
    background-color: #fff;
    position: fixed;
    z-index:1000;
    color:#000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: min(30px, 2.5vw);
    font-family: 'gilroy-bold';
    text-transform: lowercase;
    line-height: min(50px, 4vw);
    text-align: center;
}

@media screen and (orientation: landscape) and (hover: none) {

    #warning{
        display:flex;
    }    
}

#desktop-welcome{
    position: fixed;
    display:none;
    width: 100vw;
    height: 100vh;
    background-color: #fff;
    z-index:9999;
    justify-content: center;
    align-items: center;
}

#desktop-welcome .center-content{
    max-width: 50%;
}

#desktop-welcome .center-content img{
    max-width: 100%;
}

#desktop-welcome .center-content .copy{
    margin-top:2vh;
    color:#000;
    font-size: min(24px, 4vh);
    line-height: min(36px, 8vh);
    font-family: 'gilroy-bold';
}

#desktop-welcome #proceed-anyway{
    text-decoration: underline;
    cursor:pointer;
}
