.input-container, .solution-container {
    display: flex;
    gap: 0;
    border-collapse: collapse;
    user-select: none;
}


.input-wrapper, .solution-wrapper {
    position: relative;
    border-collapse: collapse;

}
.hyphen{
    width: var(--size-letterbox);
    height: var(--size-letterbox);
    line-height: 40px;
    text-align: center;
    font-size: var(--font-size-input);
    text-transform: uppercase;
    font-family: var(--font-input);
    color:var(--main-text-color);
    user-select: none;

}
.letter-box{
    width: var(--size-letterbox);
    height: var(--size-letterbox);
    text-align: center;
    font-size: var(--font-size-input);
    border-top: 1px solid var(--border-color-form);
    border-bottom: 1px solid var(--border-color-form);
    border-left: none;
    border-right: 1px solid var(--border-color-form);;
    text-transform: uppercase;
    font-family: var(--font-input);
    color:var(--font-color-input);
    user-select: none;
}
.input-wrapper:first-child .letter-box,
.solution-wrapper:first-child .letter-box, .letter-box.border-left{
    border-left: 1px solid var(--border-color-form);
}
.input-wrapper.newWord .letter-box, .solution-wrapper.newWord .letter-box{
    border-left:3px solid var(--border-color-form);
}
.input-wrapper input, .solution-wrapper input{
    background: var(--field-background);
}
.input-wrapper[data-number] input, .solution-wrapper[data-number] input{
    background: var(--relevant-field-background)
}
.input-wrapper[data-number]:after, .solution-wrapper[data-number]:after {
    content: attr(data-number);
    font-family: var(--font-input-annotation);
    color:var(--font-color-input-annotation);
    position: absolute;
    bottom: 0;
    right:0;
    font-size: var(--font-size-input-annotation);
    padding: 2px 4px;
    border-radius: 3px;
    z-index: 10;
    pointer-events:none;
}
dialog {
    --duration: 250ms;
    --start-opacity: 0.5;
    --start-scale: scale(0);
    --blur-value: 10px;
    user-select: none;
    /* End values for fade out. */
    opacity: var(--start-opacity);
    transform: var(--start-scale);
    transition:
            backdrop-filter var(--duration) ease-out,
            opacity var(--duration) ease-out,
            transform var(--duration) cubic-bezier(0, 0, 0.2, 1),
            overlay var(--duration) allow-discrete,
            display var(--duration) allow-discrete;
    background-color:#c8c5c5;
    border-radius:5px;
    box-shadow: 0 0 10px rgba(0,0,0,.5) ;
    width:512px;
    height:325px;
    background-image: url("../images/backgroundDialog.jpg");
    background-size: 100%;
    box-sizing: border-box;
}
dialog section {
    text-align: center;
    position: absolute;
    left: 229px;
    width: 226px;
    height: 150px;
    top: 52px;
    font-size: 15px;

}
dialog section div.dialogheadline{
    margin-bottom:15px;

}
dialog section div{
    margin-bottom: 10px;
    user-select: none;
}
input[type=submit]{
    height:var(--size-letterbox);
    line-height: var(--size-letterbox);
    font-family: var(--font);
    font-size: var(--font-size-content);
    padding-left:15px;
    padding-right:15px;
    margin-top:10px;
}
dialog button, input[type=submit]{
    cursor: pointer;
    background: #c8c5c5;
    border:1px solid #79553c
}
input[type=submit][disabled]{
    cursor: not-allowed;
}
dialog button:hover, input[type=submit]:not([disabled]):hover{
    transform: scale(105%);
}
dialog button:active, input[type=submit]:not([disabled]):active{
    transform: scale(100%);
    box-shadow: 0 0 5px rgba(0,0,0,.5);
}
dialog button:focus, input[type=submit]:focus{
    outline:none;
    box-shadow: none;
}


dialog[open] {
    /* End values for fade in; start values for fade out. */
    opacity: 1;
    transform: scale(1);
    backdrop-filter: blur(0);

    @starting-style {
        /* Start values vor fade in. */
        opacity: var(--start-opacity);
        transform: var(--start-scale);
        backdrop-filter: blur(10px);
    }
}
/* Styling for backdrop behind the dialog */
dialog::backdrop {

    backdrop-filter:blur(10px);
    /* End value for fade out. */
    opacity: 0;
    transition: backdrop-filter var(--duration),
    overlay var(--duration) allow-discrete,
    display var(--duration) allow-discrete;
}

dialog[open]::backdrop {
    /* End value for fade in; start value for fade out. */
    opacity: 1;
    backdrop-filter: blur(10px);

}

/* This starting-style rule cannot be nested inside the above selector because the nesting selector cannot represent pseudo-elements. */
@starting-style {
    dialog[open]::backdrop {
        /* Start value vor fade in. */
        opacity: 0;
        backdrop-filter: blur(0px);
    }
}

@media (max-width: 560px) {
    dialog[open] {
        /* End values for fade in; start values for fade out. */

        left:-60px;
        max-width: none;
        max-height: none;
    }
}
@media (max-width: 900px) {
    .floatImageRight{
        display:none;
    }
}

@media (max-width: 768px) {

    .solution-container{
        flex-wrap: wrap;
    }
    .hyphen{
        width: var(--size-letterbox-mobile);
        height: var(--size-letterbox-mobile);
        line-height: var(--size-letterbox-mobile);
        font-size: var(--font-size-input-mobile);
    }
    .letter-box{
        width: 5vw;
        height: 5vw;
        font-size: var(--font-size-input-mobile);

    }

    .input-wrapper[data-number]:after, .solution-wrapper[data-number]:after {
        opacity: .3;
    }


}