@font-face {
    font-family: 'jetbrains-mono';
    src: url('/assets/fonts/jetbrains-mono/JetBrainsMono-Regular.woff2');
}

html {
    height: 100%;
    width: 100%;
    /* overflow-y: hidden; */
}

@media (max-width: 1200px) {
    html {
        overflow-y: auto;
    }
}

body {
    background-color: #181926;
}

.file-upload {
    display: flex;
}

.waveform-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.waveform-container div {
    grid-area: 1 / 1;
}

#waveform-main {
    opacity: 0.5;
    z-index: 1;
}

#waveform-player {
    opacity: 0.8;
    z-index: 99;
}

.custom-upload-box {
    color: white;
    font-family: 'jetbrains-mono';
    display: flex;
    width: 400px;
    padding: 40px 20px;
    border: 2px dashed #b8c0e0;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition-duration: 0.2s;
    align-items: center;
    justify-content: center;
}

.custom-upload-box:hover {
    transform: scale(1.02);
    background-color: #1e2030;
}

#upload-text {
    overflow-wrap: anywhere;
}

.custom-upload-box label {
    text-overflow: ellipsis;
}

.main {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    flex-direction: column;
}

.hide {
    display: none;
}

.textcolor {
    font-family: 'jetbrains-mono';
    color: #cad3f5;
}

h1 {
    font-family: 'jetbrains-mono';
    color: white;
}

.controls {
    margin-left: 980px;
    z-index: 999;
}

.controls button {
    width: 100px;
    height: 25px;
    box-sizing: border-box;
    margin: 7px;
    background-color: #24273a;
    border-color: #6e738d;
    border-style: solid;
    border-width: 2px;
    border-radius: 6px;
    transition-duration: 0.2s;
    cursor: pointer;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'jetbrains-mono';
}

.controls button:disabled {
    cursor: not-allowed;
    color: #5b6078;
}

.example-btn {
    margin-top: 12px;
    background: transparent;
    border: none;
    color: lightblue;
    font: 'jetbrains-mono';
    text-decoration: underline;
    cursor: pointer;
}

.titlefooter {
    color: white;
    font-family: 'jetbrains-mono';
    position: absolute;
    margin-bottom: 154px;
    color: lightgray;
    font-style: italic;
}

.transcript {
    color: white;
    font-family: 'jetbrains-mono';
}

.notes {
    width: 960px;
    height: 25px;
    box-sizing: border-box;
    background-color: #24273a;
    border-color: #6e738d;
    border-style: solid;
    border-width: 2px;
    border-radius: 6px;
    margin-top: 8px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'jetbrains-mono';
}

.friends-btn {
    width: 220px;
    height: 25px;
    box-sizing: border-box;
    margin-top: 12px;
    background-color: #24273a;
    border-color: #6e738d;
    border-style: solid;
    border-width: 2px;
    border-radius: 6px;
    cursor: pointer;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'jetbrains-mono';
}

.hstack {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.vstack {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px
}

.gone {
    display: none;
}