/*      style.css       */

/* possible color palette:
    > #1A8F77
    > #D563DB  (this pink can be changed)
    > #4DDBBE
    > #D9B336
*/

body {
    text-align: center;
    margin: 0;
    height: 100%; 
    overflow: auto;
}

.header {
    display: flex;
    background-color: #3e8e41;
    width: 100%;
    height: 15vh;
    color: #e4be43;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: xxx-large;
    align-items: center;
    justify-content: center;
}

.grid{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 5vh;
}

/* https://www.w3schools.com/howto/howto_js_filter_dropdown.asp */
.dropbtn {
    background-color: #3e8e41;
    color: #e4be43;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    overflow: scroll;
    display:flex;
    margin-left: 10vw;
    /* width: 10%; */
  }
  
.dropbtn:hover, .dropbtn:focus {
    background-color: #04AA6D;
}

#myInput {
    box-sizing: border-box;
    background-image: url('searchicon.png');
    background-position: 14px 12px;
    background-repeat: no-repeat;
    font-size: 16px;
    padding: 14px 20px 12px 45px;
    border: none;
    border-bottom: 1px solid #ddd;
}

#myInput:focus {
    outline: 3px solid #ddd;
}

.dropdown {
    /* flex: 1; */
    position: left;
    /* display: inline-block; */
    margin: 0;
    width: 30vw;
    align-items: center;
    justify-content: center;
}

/* Dropdown options */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f6f6f6;
    min-width: 230px;
    margin: 0 10vw;
    height: 65vh; 
    overflow: scroll;
    border: 1px solid #ddd;
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Highlight when you hover over course */
.dropdown a:hover {
    background-color: #ddd;
}

.show {
    display: block;
}

.tree {
    width: 60vw;
    height: auto;
    /* flex: 1; */
    display: flex;
    flex-direction: column;
    align-items: center;
    border: solid black;
}

.para {
    width: 90%;
}

#treePara {
    white-space: pre;
    text-align: left;
    font-family: 'Courier New', Courier, monospace;
    font-size: large;
    padding-left: 10%;
}

canvas {
    border: 1px solid black;
    margin: 0;
    /* width: 100%;
    height: 75vh; */
}
