@font-face {
    font-family: 'PP Neue Montreal';
    src: url('../styles/fonts/PPNeueMontreal-Regular.woff2') format('woff2'),
        url('../styles/fonts/PPNeueMontreal-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Neue Montreal';
    src: url('../styles/fonts/PPNeueMontreal-Medium.woff2') format('woff2'),
        url('../styles/fonts/PPNeueMontreal-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PP Neue Montreal', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100vh;
}

.professional-font {
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.toggles {
    background-color: white;
    width: 100vw;
    position: fixed;
    border-bottom: 1px dashed gray;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 0.5rem;
    z-index: 10000;
}

.faux-toggles {
    background-color: white;
    width: 100vw;
    border-bottom: 1px dashed gray;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 0.5rem;
    filter: opacity(0);
}

.fade {
    transition: opacity 0.3s;
    opacity: 0;
}

.fade.show {
    opacity: 1;
}

button {
    cursor: pointer;
    padding: 0.25rem;
    border: 0.5px solid gray;
    font-family: inherit;
    font-size: inherit;
}

.container {
    height: 100vh;
    overflow: scroll;
    display: flex;
    padding: 1rem;
}

.panel {
    height: 100vh;
    border-bottom: 1px dashed gray;
}


.last-item {
    border-bottom: none !important;
}

.left {
    background-color: whitesmoke;
    overflow-y: auto;
    position: relative;
    border: 1px dashed gray;
    min-width: 35vw;
}

.inner .item {
    overflow: auto;
    scroll-snap-align: start;
    padding: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed gray;
}

.right {
    max-width: 100%;
    overflow-y: auto;
    background: #f0f0f0;
    color: #313131;
    border-right: 1px dashed gray;
}

.section-header {
    background-color: white;
    padding: 1rem;
    color: #313131;
    border: 1px dashed gray;
    position: sticky;
    top: 0;
    z-index: 99;
    mix-blend-mode: exclusion;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.section-body {
    padding: 1rem;
}

img {
    width: 100%;
    border: 1px dashed gray;
    transition: 2s;
}

.left img {
    margin-bottom: 0.5rem;
}

.right img {
    margin-bottom: 0.75rem;
}

img:hover {
    filter: none;
    box-shadow: 0 0 0.5rem gold;
}

.last {
    margin: 0 !important;
}

.section-header a {
    color: black;
    text-decoration: none;
}

.inner p,
li {
    line-height: 1.5rem;
    margin-bottom: 1rem;
}

::selection {
    background-color: black;
}

mark {
    background-color: gold;
}

@media (max-width: 768px) {

    html,
    body {
        height: auto !important;
        overflow: auto !important;
    }

    body {
        overflow-x: hidden;
    }

    .container {
        flex-direction: column-reverse;
        height: auto !important;
        padding: 1rem;
    }

    .panel {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        border: none;
        padding-bottom: 1rem;
    }

    .left,
    .right {
        border: 1px dashed gray;
        overflow-y: visible !important;
        max-width: 100%;
    }

    .left {
        order: 2;
        border: 1px 0 1px 0 dashed gray;
    }

    .section-header {
        position: static !important;
        display: flex;
        padding: 1rem 0 1rem 1rem;
        align-items: space;
        justify-content: space-around;
        gap: 1rem;
    }

}

li {
    margin-left: 1rem;
    list-style-type: square;
}


.stimulation {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
}

#stimulation-slider {
    max-width: 10vw;
    width: fit-content;
}

button,
label,
.stimulation {
    background-color: whitesmoke;
    width: fit-content;
    padding: 0.75rem;
    border: 1px solid gray;
}

.stimulation label {
    background-color: inherit;
    padding: 0;
    border: none;
}

input {
    width: min-content;
    margin-right: 0.25rem;
}