* {
    font-family: 'Roboto Mono', monospace;
    text-align: center;
}

#root{
    margin: 0;
}

.preload .bin{
    animation-duration: 0s !important;
    -webkit-animation-duration: 0s !important;
    transition:background-color 0s, opacity 0s, color 0s, width 0s, height 0s, padding 0s, margin 0s !important;
}

body{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background: black;
}

.preload{
    animation-duration: 0s !important;
    -webkit-animation-duration: 0s !important;
    transition:background-color 0s, opacity 0s, color 0s, width 0s, height 0s, padding 0s, margin 0s !important;
}

.menu{
    height: 100vh;
    background-color: white;
    margin: 0;
    position: relative;
}

.bin {
    display: block;
    background-color: black;
    width: 15vw;
    height: 15vw;
    border-radius: 1vw;
    display: flex;
    align-items:center;
    justify-content: space-evenly;
    background-color: black;
    animation-duration: 0.2s;
    animation-name: shrink;
    margin: 20px auto;
    overflow: hidden;
}

.bin h1{
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 40px;
}

.bin:hover{
    width: 16vw;
    height: 16vw;
    cursor: pointer;
    background-color: #7d17d1;
    animation-duration: 0.2s;
    animation-name: grow;
}

@keyframes grow{
  from {
    width: 15vw;
    height: 15vw;
    background-color: black;
  }

  to {
    width: 16vw;
    height: 16vw;
    background-color: #7d17d1;
  }
}

@keyframes shrink{
  from {
    width: 16vw;
    height: 16vw;
    background-color: #7d17d1;
  }

  to {
    width: 15vw;
    height: 15vw;
    background-color: black;
  }
}

.flex .heading{
    position: absolute;
    text-align: center;
    margin: 20px;
    top: 40px;
}

.heading{
    overflow: auto;
}

h2{
    font-size: 35px;
    font-weight: 900;
    text-align: center;
}

h3{
    font-weight: 400;
}

.footer{
    position: absolute;
    bottom: 20px;
    right: 5%;
}

.footer h4{
    font-weight: 300;
}

a:visited {
 text-decoration: none;
 color: orange;
}

.submit{
    height: 60px;
    width: 200px;
    border: none;
    background-color: black;
    color: white;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    display: block;
    position: auto;
    margin: 10px auto;
}

.submit:hover{
    background-color: white;
    color: black;
    border: 5px solid black;
}

.submit:focus {
    outline:0;
}


.block{
    display: block;
}

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

.back{
    display: block;
    position: absolute;
    top: 2%;
    left: 10%;
    font-size: 30px;
    margin: 20px;
}

.back:hover{
    cursor: pointer;
}

@media (max-width:1200px){
    h1{
        font-size: 20px !important;
    }

    .back{
        left: 10%;
    }
}

@media only screen and (max-width:1600px) and (min-width:1200px){
    h1{
        font-size: 25px !important;
    }
}

@media (max-width:1400px){
    .back{
        left: 7%;
    }
}

.bin img{
    padding: 0;
    display: block;
    margin: 0 auto;
    max-height: 100%;
    max-width: 100%;
}

.error-box{
    background-color: red;
    margin: 0 auto;
    overflow: hidden
}

.error-box h1{
    color: white;
    font-size: 15px;
}

.loading{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: black;
    display: flex;
    align-items:center;
    justify-content: space-evenly;
}

.loading img{
    width: auto;
    height: 15vw;
}

.loading h1{
    color: white;
    font-size: 35px;
}

.canvas-placeholder{
    width: 20vw;
    height: auto;
    opacity: 0;
}

canvas{
    width: 25vw;
    height:auto;
}












/* Four channel views side by side in Texture Dissection. */
.dissect canvas{
    width: 17vw;
}

.dissect h3{
    margin-top: 10px;
}
