* {
    font-family: Tahoma;
}

body {
    padding: 2em;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
        -webkit-user-select: none; /* Safari */
        -khtml-user-select: none; /* Konqueror HTML */
            -moz-user-select: none; /* Old versions of Firefox */
            -ms-user-select: none; /* Internet Explorer/Edge */
                user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
}

.credits {
    color: gray;
    margin-bottom: 0.5em;
    display: block;
}

a {
    outline: none;
    text-decoration: none;
    padding: 2px 1px 0;
    background-color: #00000000;
    -webkit-transition: background-color 250ms linear;
    -ms-transition: background-color 250ms linear;
    transition: background-color 250ms linear;
    font-weight: bold;
}

a:link {
    color: #265301;
    cursor: pointer;
}

a:visited {
    color: #437A16;
}

a:focus {
    background-color: #BAE498;
    -webkit-transition: background-color 250ms linear;
    -ms-transition: background-color 250ms linear;
    transition: background-color 250ms linear;
}

a:hover {
    background-color: #CDFEAA;
    -webkit-transition: background-color 250ms linear;
    -ms-transition: background-color 250ms linear;
    transition: background-color 250ms linear;
}

a:active {
    background-color: #265301;
    color: #CDFEAA;
    -webkit-transition: background-color 250ms linear;
    -ms-transition: background-color 250ms linear;
    transition: background-color 250ms linear;
}

.demo-title {
    margin-top: 0px; 
    margin-left: 4.5em;
}

.view-code-btn {
    cursor: pointer;
    float: left;
    background-color: #13aa52;
    border: 1px solid #13aa52;
    border-radius: 4px;
    box-shadow: rgb(0 0 0 / 10%) 0 2px 4px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    font-family: "Akzidenz Grotesk BQ Medium", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    font-weight: 400;
    outline: none;
    outline: 0;
    padding: 10px 25px;
    text-align: center;
    transform: translateY(0);
    transition: transform 150ms, box-shadow 150ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    padding: 30px;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: visibility 0s linear 0.1s,opacity 0.3s ease;
  }
  .modal.open {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
  }
  .modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 21;
    background-color: rgba(0, 0, 0, 0.7);
  }
  .modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    outline: none;
    background: none;
    font-size: 24px;
    color: #747474;
    font-weight: bold;
  }
  .modal__close:hover {
    color: #000;
  }
  .modal__container {
    position: relative;
    z-index: 22;
    width: 80%;
    max-height: 80%;
    top: 10%;
    transform: translateY(-10%);
    box-shadow: 0 0 10px #fff;
    margin: 0 auto;
    padding: 30px;
    background-color: #fff;
    overflow-y: scroll;
  }
  