/*--------------------------------------------------------
Master styles sheet for trees application.
--------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

* {
    font-family: 'Roboto', sans-serif;
}

body {
    background: #edefef;
}

body > div {
    margin: 50px;
    border-radius: 4px;
    overflow: hidden;
}

.menu {
    background: var(--surface);
    box-shadow: 0px 2px 4px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
.menu a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px;
    color: var(--on-background);
    text-align: center;
    text-decoration: none;
    width: 100%;
    box-shadow: inset 0 0 0 0 var(--secondary);
    transition: .3s box-shadow, color .3s;
}
.menu a:hover {
    box-shadow: inset 0 8px 0 0 var(--secondary);
    color: var(--secondary);
}
.menu a.active {
    box-shadow: inset 0 8px 0 0 var(--primary-focus);
    color: var(--primary-focus);
}


section {
    background: white;
    color: #333;
    box-shadow: 0 0 25px 0 rgba(0,0,0,.1);
    transition: box-shadow .3s;
    overflow: hidden;
    display: none;
    padding: 30px;
    flex-direction: column;
    width: 100%;
    height: calc(90vh - 145px);
}
section h2, section h3 {
    padding-bottom: 1em;
}
section h4 {
    padding-top: 1em;
    padding-bottom: .5em;
    font-size: 16px;
}
section:hover {
    box-shadow: 0 7px 40px 0 rgba(0,0,0,.4);
}
section > input {
    width: calc(100% - 45px);
    display: block;
    margin: auto;
    /* outline: none; */
}
section > div {
    display: flex;
    flex-wrap: wrap;
    align-items: space-evenly;
    justify-content: space-evenly;
    text-align: center;
}
section > div > span {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 5px;
}
section > div > span input{
    margin-top: 5px;
    width: 28ch;
}

.canvas-container {
    display: block;
    overflow: scroll;
    width: 100%;
    height: 100%;
    border: black solid 2px;
}