#exampleOfPlay {
    padding: 2rem 8rem;
    margin: 6rem 0 3rem;
    background-color: var(--verses-secondary-color);
}

#exampleOfPlay h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

#dramatisPersonae {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    gap: 1.5rem;
    margin: 4rem 0;
}

#dramatisPersonae .profile {
    width: 10rem;
    height: 10rem;
    margin: 0.25rem;
    padding: 0.5rem;
    
    border-radius: 8px;
    box-shadow: var(--item-shadow);
    overflow: hidden;
    
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

#dramatisPersonae .profile .name {
    text-align: left;
    flex-grow: 1;
    flex-basis: 0;
    font-weight: bold;
    color: white;
    text-shadow: 1px 0 1px black, -1px 0 1px black, 0 1px 1px black, 0 -1px 1px black;
}

#dramatisPersonae .profile .spacer {
    display: block;
    height: auto;
    flex-grow: 2;
    flex-basis: 1;
}

#dramatisPersonae .profile .char {
    text-align: right;
    flex-grow: 0;
    flex-basis: 0;
    font-weight: bold;
    text-shadow: 1px 0 1px black, -1px 0 1px black, 0 1px 1px black, 0 -1px 1px black;
}

#exampleOfPlay .gm {
    background-color: #dcf2dc;
}


#dramatisPersonae .profile.gm {
    background-image: url('../images/script-chars/gm.svg');
}
#dramatisPersonae .profile.filch {
    background-image: url('../images/script-chars/filch.svg');
}
#dramatisPersonae .profile.bratha {
    background-image: url('../images/script-chars/bratha.svg');
}
#dramatisPersonae .profile.aleina {
    background-image: url('../images/script-chars/aleina.svg');
}
#dramatisPersonae .profile.bix {
    background-image: url('../images/script-chars/bix.svg');
}

#dramatisPersonae .profile.gm .char {
    color: #7df77d;
}

#exampleOfPlay .filch {
    background-color: #cfb9e7;
}

#dramatisPersonae .profile.filch .char {
    color: #c85dff;
}
    
#exampleOfPlay .bratha {
    background-color: #f7d6d6;
}

#dramatisPersonae .profile.bratha .char {
    color: #ff8383;
}
    
#exampleOfPlay .aleina {
    background-color: #e3fbff;
}

#dramatisPersonae .profile.aleina .char {
    color: #45fcff;
}
    
#exampleOfPlay .bix {
    background-color: #fcebd8;
}

#dramatisPersonae .profile.bix .char {
    color: #ffc23e;
}
    

#theScript {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.5em;
    
}

#theScript .line {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0.25em;
    margin: 0.5em 0;
}

#theScript .line > span + p {
    flex-grow: 2;
    flex-basis: 1;
}

#theScript .line em {
    color: #8872a7;
    font-weight: 600;
}

#theScript .action {
    display: inline-block;
    padding: 0.75em 1.5em;
    margin-left: 8rem;
    margin-bottom: 1em;
    font-size: 0.9em;
    font-style: italic;
    border-radius: 4px;
    background-color: #f9f9f9;
    box-shadow: var(--item-shadow);
}

#theScript .action br {
    display: none;
}

#theScript .action img {
    width: 1.1em;
    height: 1.1em;
    vertical-align: baseline;
    position: relative;
    top: 0.125em;
    margin-left: 0.25em;
}

#theScript .line .tag {
    display: inline-block;
    padding: 0.25em 0.5em;
    font-size: 0.9em;
    margin-right: 1rem;
    white-space: nowrap;
    border-radius: 4px;
    font-weight: 600;
    box-shadow: var(--item-shadow);
    min-width: 6rem;
    text-align: center;
}

#theScript .line .tag > span {
    font-weight: 400;
    font-style: italic;
}

#theScript .note {
    font-size: 0.9em;
    padding: 0.5em 1em;
    margin-left: 1rem;
    min-width: 40%;
    max-width: 40%;
    border-radius: 4px;
    background-color: #f6f6df;
    box-shadow: var(--item-shadow);
    position: relative;
}

#theScript .note i {
    color: #3788f5;
    position: absolute;
    font-size: 1.2em;
    padding-top: 0.125em;
    left: 0.5em;
}

#theScript .note {
    padding-left: 2.5em;
}

#theScript #readOn {
    align-self: center;
    margin: 1rem 0;
}

@media screen and (max-width: 800px) {

    #exampleOfPlay {
        padding: 2rem;
    }

    #dramatisPersonae {
        flex-wrap: wrap;
    }

    #theScript .line {
        flex-wrap: wrap;
    }

    #theScript .tag {
        max-width: unset;
        margin-bottom: 0.5rem;
    }

    #theScript .note {
        max-width: unset;
        margin: 0.5rem 0;
    }

    #theScript .action {
        margin-left: 0;
    }

    #theScript .action br {
        display: block;
    }
    
}