@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap');

* {

    font-family: Roboto;
}

body{

    margin: 0;
  
}

canvas{

    display: block;
    touch-action: none;
}

.container {

    z-index: 10;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(90, 90, 90, .8);
    padding: 5px;
    max-width: 220px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
}

.settings-text {

    color: white;
    font-size: 12px;
   
}

.title {

    font-size: 15px;
    text-align: center;
    font-weight: bold;
    letter-spacing: 1px;
    color: #b7ddf0;
    padding: 10px;
    text-shadow: 3px 3px 4px #000;
}

.defaultsettings{

    color:rgb(151, 217, 234);
    font-size: 10px;
    cursor: pointer;
}

#controls {

    transition: max-height 0.8s ease, opacity 0.8s ease;
    overflow: hidden;
    max-height: 1000px;
    opacity: 1;
    padding: 5px;

}

.groupBox{

    border: 1px solid grey;
    padding:8px;
    background-color:rgba(80, 80, 80, .8);
}

#controls.hidden {

    max-height: 0;
    opacity: 0;
    pointer-events: none;

}

.settings-title{

    color: yellow;
    font-size: 12px;
    font-weight: bolder;

}

#toggleBtn {

    background: transparent;
    border: none;
    color: white;
    font-size: 12px;
    cursor: pointer;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    user-select: none;

}

#behavior{

    background-color: rgb(179, 217, 236);
    color:rgb(0, 0, 0);
    border-radius: 5px;
    border: 1px solid white;
}

footer {

    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 0;
    position: absolute;
    background-color: rgba(118, 113, 113, 0.508);
    font-size: 12px;
    padding: 5px;
    box-sizing: border-box;
    color: rgb(188, 193, 188);
}

a{

    color:rgb(176, 174, 227);
}

@media (max-width: 600px) {
    #controls {
      max-height: 100vh;
      height: 50vh; /* vaste hoogte */
      overflow-y: scroll; /* scrollbar geforceerd */
      -webkit-overflow-scrolling: touch; /* smooth scroll iOS */
      background-color: rgba(255, 255, 255, 0.1);
      box-sizing: border-box;
      touch-action: auto;
    }
  }