/* navbar */
.navbar {
    position: fixed;
    z-index: 20;
    width: 100%;
    background-color: #323232;
    display: flex;
    justify-content: center;
    top: 0px;
    transition: top 0.3s;
}

.navbar.hide {
    position: fixed;
    z-index: 20;
    width: 100%;
    background-color: #323232;
    display: flex;
    justify-content: center;
    top: -50px;
    transition: top 0.3s;
}

.navbar-item {
    margin-left: 2%;
    margin-top: 5px;
    margin-right: 2%;
    margin-bottom: 5px
}


/* plots */
.plot {
    margin: 0.5%;
    overflow: auto;
    image-rendering: pixelated;
    border: 2px solid #fee17d;
    border-radius: 10px;
    padding: 1%;
    width: fit-content;
    height: fit-content;
    display: grid;
}

.plot-heading {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    text-align: center;
    margin: 0;
    color: #ffffff;
    font-family: sans-serif;
}

.plot-message {
    display: none;
    text-align: center;
    color: #999999;
}

.canvas {
    grid-column: 1;
    grid-row: 1;
    width: min(max(900px, 97vw), 1800px);
    height: 400px;
    margin-top: 3em;
}

.inter-canvas {
    grid-column: 1;
    grid-row: 1;
    z-index: 10;
    width: min(max(900px, 97vw), 1800px);
    height: 400px;
    margin-top: 3em;
}


/* speech overlay */
.speech-overlay-mask {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background-color: rgba(0,0,0,0.85);
    z-index: 30;
}

.speech-overlay {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    top: 20px;
    border: 2px solid #575757;
    border-radius: 15px;
    padding: 5px;
    background-color: rgba(0,0,0,0.75);
}

.speech-overlay-container {
    overflow: auto;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-content: center;
}

.speech-overlay-heading {
    text-align: center;
    color: #dddddd;
    margin: 0;
}

.speech-overlay-exit {
    position: absolute;
    top: 2vh;
    right: 2vh;
}

.speech-overlay-exit > button {
    background-color: #121212;
    border-color: #575757;
    color: #dddddd;
    border-radius: 10px;
    padding-block: 3px;
    padding-inline: 5px;
}


/* speech box */
.speech-box {
    border: 2px solid #717171;
    border-radius: 15px;
    background-color: #121212;
    margin-top: 1em;
    margin-left: 5%;
    margin-right: 5%;
    padding-block: 10px;
    padding-inline: 7px;
    min-width: 200px;
    flex: 0 1 min-content;
    max-height: 20em;
}

.speech-box-container {
    max-height: 20em;
    overflow-y: auto;
    padding-right: 10px;
}

.speech-box-heading {
    display: flex;
    flex-wrap: wrap;
    column-gap: 3em;
}

.speech-box-heading p, .speech-box-heading a {
    color: #fee17d;
    margin: 0;
    font-size: 1.15em;
}
