

/* body {
    background-color: #555;    
    FONT-FAMILY: body, Arial, Helvetica, sans-serif;
    color: #ffffff;
    margin: 0;
    height: 100%;
    overflow: hidden;
}

html {
    height: 100%;
    overflow: hidden;
} */

/*@font-face {
    font-family: 'body';
    src: url('../font/IBMPlexSans-Text.woff') format('woff');
}*/

body {
    overflow: hidden;
}

#render-window {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: auto;
    -webkit-tap-highlight-color: transparent;
    z-index: -1;
}

#predictions{
    top: 0;

    position: absolute;
    visibility: hidden;

    background-color: rgba(0, 0, 0, 0.5);

    padding: 10px;
    z-index: 1;
 
    user-select: none;

    border-style: solid;
    border-width: 1px;
    border-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;

    backdrop-filter: blur(5px); 
}

#video-title {
    font-size: 1.2em;
}

#nn-video-title{
    font-size: 1.2em;
}

#video-link a{
    font-size: 1em;
    color: inherit;
}


#video-link a:hover{
    color: rgb(200, 200, 200);
}


.layer-caption{
    font-size: 1em;
}


#tags{
    border-bottom: solid;
    border-color: rgba(255, 255, 255, 0.5);
    border-width: 1px;
    padding-bottom: 5px;
    margin-bottom: 5px;
    font-size: 1em;
}

#neural-network{
    font-size: 1em;
}

#neural-network:hover{
    cursor: pointer;
    color: rgb(200, 200, 200);
}


#overlay{
    top: 0;
    position: absolute;
    visibility: hidden;
    display: flex;

    list-style: none;
    justify-content: center;
    align-items: center;
    gap: 3vmax;

    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px); 

    width: 100%;
    height: 100%;

    z-index: 2;
    user-select: none;
}


.container {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 0.6vmin;
}

.img-container {
    display: flex;
    flex-direction: column;
    gap: 0.6vmin;
}

#overlay .close-button{
    position: absolute;
    top: 1.5vmin;
    left: 1.5vmin;
    width: 50px;
    height: 50px;
    text-align: center;
    vertical-align: middle;
    color: white;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(255, 255, 255, 0);

    outline: none;
    background: none;
    background-color: rgba(0, 0, 0, 0);
    font-size: 3vmax;
    cursor: pointer;
}

#overlay .close-button:hover{
    color: rgb(200, 200, 200);
}


#overlay .close-button::-moz-focus-inner{
    border: 0;
    padding: 0;
}

.label-text{
    height: 1.9vmin;
    font-size: 1.5vmin;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(0, 0, 0, 0);
    overflow: hidden;
}

#img-cont-6 {
    gap: 0.6;
}


#preds-col-1 {
    display: flex;
    flex-direction: column;
    gap: 0.6vmin;
}

#preds-col-2 {
    display: flex;
    flex-direction: column;
    gap: 0.6vmin;
}

@media (max-aspect-ratio: 4/3) {
    #overlay {
        flex-direction: column;
        gap: 1vmax;
    }

    #neural-network{
        font-size: 0.8em;
    }

    .img-container{
        flex-direction: row;
    }

    .layer-input{
        flex-direction: column;
    }

    .layer-caption{
        font-size: 0.8em;
    }

    #nn-video-title{
        font-size: 1em;
    }

    #video-title{
        font-size: 1em;
    }

    #video-link a{
        font-size: 0.8em;
    }

    #tags{
        font-size: 0.8em;
    }

    #img-cont-6 {
        flex-direction: row;
        gap: 5vmin;
    }
    .label-text{
        font-size: 0.65em;
        height: 4vmin;
    }

    #preds-col-1 {
        gap: 0.1vmin;
    }
    
    #preds-col-2 {
        gap: 0.1vmin;
    }

  }

.layer-img {
    border-style: solid;
    border-width: 1px;
    border-color: rgb(150, 150, 150);
    background-size: cover;
    overflow: hidden;
    user-select: none;
    z-index: 3;
}

.layer-input > .layer-img {
    width: 33.75vmin;
    height: 22.5vmin;
}

#img-cont-1 > .layer-img {
    width: 22vmin;
    height: 22vmin;
}

#img-cont-2 > .layer-img {
    width: 12vmin;
    height: 12vmin;
}

#img-cont-3 > .layer-img {
    width: 7vmin;
    height: 7vmin;
}

#img-cont-4 > .layer-img {
    width: 4.1vmin;
    height: 4.1vmin;
}

.neuron {

    border-style: solid;
    border-width: 1px;
    border-color: rgb(150, 150, 150);

    z-index: 3;
    width: 1.5vmin;
    height: 1.5vmin;
    padding: 0.2vmin;
    text-align: center;

}
