body {
    
    overflow: hidden; /* Hide scrollbars */
    overflow: auto;
      
    background-color: #dbdbdb;

    user-select: none;
}

::-webkit-scrollbar {
    display: none;
}



.links {
    width: 70%; /* or any width value */
    margin: 0 auto;
    margin-top: 220px;
    align-items: flex-start;
    justify-content: space-evenly;
    text-align: center;
    display: flex;
}

.label {
    font-family: "Comic Sans MS", "Comic Sans", "Chalkboard SE", cursive;}

.game {
    padding: 10px 30px;
    border-radius: 25px;
    border: 1px solid black;
}

.lvl {
    background-color: #EEE;
    color: black;
    text-align: center;
    text-decoration: none;
    font-size: 32px;
    border: 1px solid black;
    padding: 10px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgb(0 0 0 / 0.2);
    margin-bottom: 30px;
    display: block;
}

.lvl:hover {
    background-color: #111;
    color: white;
}

.left-button {
    font-size: large;
    font-family: "Comic Sans MS", "Comic Sans", "Chalkboard SE", cursive;
    border-radius: 5px;
    cursor: pointer;
    width: 140px;
    height: 57px;
    box-shadow: 0 5px 10px rgb(0 0 0 / 0.2);
}

.left-button:hover {
    color: #FFF;
    background-color: #1A1A1A;
    box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
    transform: translateY(-2px);
}

#button-container {
    position: absolute;
    flex-direction: row-reverse;
    margin-left: calc(100% - 200px);
    margin-top: 0px;
}

.left-button-container {
    position: absolute;
    flex-direction: row-reverse;
    margin-left: 50px;
    margin-top: 0px;
}

.button {
    font-size: large;
    font-family: "Comic Sans MS", "Comic Sans", "Chalkboard SE", cursive;
    border-radius: 5px;
    cursor: pointer;
    width: 140px;
    height: 57px;
    box-shadow: 0 5px 10px rgb(0 0 0 / 0.2);
}

.button:hover {
    color: #FFF;
    background-color: #1A1A1A;
    box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
    transform: translateY(-2px);
}

.correctness {
    font-family: "Comic Sans MS", "Comic Sans", "Chalkboard SE", cursive;
    font-size: 45px;
    border: 3px solid transparent;
    border-radius: 15px;
    padding: 10px;
    text-align: center;
    opacity: 0;
    display: table;
    margin: auto;
    margin-top: 3rem;
}

#beschreibung {
    font-family: "Comic Sans MS", "Comic Sans", "Chalkboard SE", cursive;
    font-size: x-large;
    text-align: center;
    margin-bottom: 50px;
    border:1px solid black;
    border:none;
}

.animationtext {
    animation: kfbes 4s;
}

@keyframes kfbes {
    from {
        opacity: 0;
    }
    20% {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cont {
    display: flex;
    align-items: flex-start;
}


#left-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    border: 1px solid black;
    border: none;
    transform: translateX(50px);
    margin-top: 0px;
}

#title {
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
}

.players {
    flex: 1;
    display: flex;
    justify-content: center;
}

.player-container {
    align-items: center;
    min-height: 600px;
}

.player-1 {
    display: grid;
    grid-template-columns: 1fr 3fr
}

.player-2 {
    display: grid;
    grid-template-columns: 3fr 1fr;
    justify-items: right;
}

.confs {
    width: 64px;
    height: 23px;
    border: 2px solid rgb(221, 37, 37);
    text-align: center;
    line-height: 21px;
    margin: 4px;
    font-family: Arial, Helvetica, sans-serif;
}

.leftselect {
    border-radius: 8px;
    margin-left: 5px;
    margin-right: 5px;
    padding: 5px 0px 5px 5px;
    cursor: pointer;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.20);
}


.optionclass:hover {
    background-color: red !important;
    color: red;
}

.leftselect:hover {
    background-color: #EBF5FD;
}

.leftselect:focus {
    background-color: #EBF5FD;
}
#s3-continue {
    border: 3px solid black;
    border:none;
    flex: 1;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    transform: translateY(70px);
    animation: shift 1s;
    animation-timing-function: ease;
}

#continue {
    border: 3px solid black;
    border: none;
    flex: 1;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    transform: translateY(70px);
    animation: shift 1s;
    animation-timing-function: ease;
}

@keyframes shift {
    from {
        transform: translateY(170px);
        opacity: 0.1;
    }
    to {
        transform: translateY(70px);
        opacity: 1;
    }
}

.cust {
    height: 27px;
    width: 68px;
    font-family: Arial, Helvetica, sans-serif;

    border: 2px solid red !important;
    padding: 2px 0 !important;
    display: inline !important;
    text-align: center;
}

.customBox {
    height: 27px;
    width: 90px;
    font-family: Arial, Helvetica, sans-serif;

    border: 2px solid red !important;
    padding: 2px 0 !important;
    display: inline !important;
    text-align: center;
}

.dd {
    display: inline-block;
}

.pla {
    display: inline-block;
}

.anima {
    animation: fadeout 5s 1 normal
}

@keyframes fadeout {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.prompt-box {
    user-select: none;
    position: absolute;
    transition: all .3s ease-in-out;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    width: 350px;
    background-color: white;
    text-align: center;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    border: 1px solid #AAA;
    font-family: "Comic Sans MS", "Comic Sans", "Chalkboard SE", cursive;
    box-shadow: 0 5px 10px rgb(0 0 0 / 0.2);
    z-index: 9000;
}

.alert-box {
    user-select: none;
    position: absolute;
    transition: all .3s ease-in-out;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    width: 390px;
    min-height: 190px;
    background-color: white;
    text-align: center;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    border: 1px solid #AAA;
    font-family: "Comic Sans MS", "Comic Sans", "Chalkboard SE", cursive;
    box-shadow: 0 5px 10px rgb(0 0 0 / 0.2);
    z-index: 9000;
    border-radius: 2%;
}

.eingabefeld {
    border: 1px solid black;
    padding: 3px;
    border-radius: 3px;
}

.addNode {
    background-color: #666;
    color: white;
    text-decoration: none;
    padding: 10px 13px;
    border: 1px solid #111;
    border-radius: 5px;
    box-shadow: 0 5px 10px rgb(0 0 0 / 0.2);
}

.addNode:hover {
    color: #FFF;
    background-color: #1A1A1A;
    box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
    transform: translateY(-2px);
}

.childButton {
    min-width: 18px;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.cancel, .next {
    background-color: #AAA;
    color: white;
    text-decoration: none;
    padding: 10px 13px;
    border: 1px solid #444;
    border-radius: 5px;
    margin-top: 100px;
}

.alert-box p {
    margin-top: 0px;
    margin-bottom: 50px;
}

.alert-box h1 {
    font-size: 38px;
    margin-bottom: 10px;
}

.next {
    background-color: #00c100;
    margin-left: 20px;
}

.cancel:hover {
    transition: .3s;
    background-color: #888;
}

.next:hover {
    transition: .3s;
    background-color: #00a100;
}

canvas {
    display: block;
    margin: 0 auto;
    position: absolute;
    top: 280px;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
}

.icon {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: #aaa;
    border-radius: 50%;
    border: 2px solid black;
    transform: translateY(8px);
}

.icon::before {
    content: "?";
    font-weight: bold;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: rotate(-7deg) translate(-33%, -53%);
}

.icon:hover::before::after {
    content: attr(title);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: black;
    color: white;
    padding: 5px;
    font-size: 12px;
    border-radius: 3px;
    white-space: nowrap;
}

#regeln-schach{
    background-color: #aaa;
    text-decoration: none;
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid black;
    transform: translateY(5px);
    
}

#regeln-schach::before{
    content: "?";
    transform: rotate(-7deg) translate(-45%, 0%);
    font-size: 20px;
    color: black;
    position:absolute;
}

@-moz-document url-prefix() {
    .left-button,.button {
        border-color: black;
        border-style:solid;
    }
    .leftselect{
        border-radius:revert;
    }
  }

  .rules {
    display: flex;
    justify-content: center;
    font-family: sans-serif;
  }

  .nimm,.schach {
    max-width:45vw;
  }