
html {
    font-family:
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        Arial,
        "Noto Sans",
        sans-serif,
        "Apple Color Emoji",
        "Segoe UI Emoji",
        "Segoe UI Symbol",
        "Noto Color Emoji";
    line-height: 1.5;
}

.simpy-body {
    background-color: rgba(204, 238, 255, 0.467);
}

.simpy-container {
    display: grid;
    width: 90vw;
    grid-template-columns: 1fr 10fr;
    grid-auto-rows: minmax(200px, auto);
    grid-gap: 2em;
    margin-top: 3%;
    margin-left: 5%;
    margin-right: 5%;
}

h2 {
    margin-left: 5.2%;
    margin-right: 5.2%;
    color: darkred;
}

h2 a {
    margin-left: 3%;
    font-size: 0.8em;
    color: darkgreen;
    text-decoration: underline;
    cursor: pointer;
}

h2 a span {
    font-size: 1.5em;
    text-decoration: none;
    display: inline-block;
    padding-left: 10px;
    vertical-align: middle;
    padding-bottom: 2px;
}


.simpy-container > div:first-child {
    grid-row: 1/3;
    width: 43.5vw;
    min-width: 25vw;
    min-height: 10vw;
    max-width: 80vw;
}

.simpy-container > div {
    background-color: #fff;
    box-shadow: 0px 5px 10px #ccc;
    padding: 10px;
}

.simpy-container > div:last-child {
    grid-column-start: span 2;
}

.simpy-editor-wrapper {
    resize: both;
    overflow: scroll;
}

.simpy-editor-headline {
    overflow: hidden;
}

#simpy-editor-container {
    border-width: 1px;
    border-style: solid;
    border-color: rgb(209, 213, 219);
    margin-bottom: 10px;
    margin-top: 10px;
}

.simpy-commenting-button {
    float: right;
    cursor: pointer;
}

.simpy-copycode-button {
    float: right;
    cursor: pointer;
}

.simpy-copy-explanation {
    float: right;
    color: grey;
    padding-right: 10px;
    padding-top: 4px;
    font-size: 12px;
}

.simpy-clear-button {
    float: right;
    cursor: pointer;
}


.simpy-code-output {
    font-family: monospace;
    line-height: 1.4;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.simpy-code-exception {
    font-family: monospace;
    line-height: 1.4;
    padding: 2px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.simpy-code-exception.filled {
    border: 3px solid red;
    color: red;
}

.simpy-button {
    cursor: pointer;
}

.simpy-button-inactive {
    opacity: 0.3;
    cursor: default;
}

.simpy-button img {
    display: inline-block;
    vertical-align: middle;
}

.simpy-spinner img {
    margin-left: 3px;
    display: inline-block;
    vertical-align: middle;
}

.simpy-invisible {
    opacity: 0.0;
}

#simpy-modal-container {
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(128,128,128); /* Fallback color */
    background-color: rgba(50,50,50,0.4); /* Black w/ opacity */
    display: flex;
    justify-content: center;
    align-items: center;
}

#simpy-modal-message {
    text-align: center;
    color: white;
}

@-webkit-keyframes spin {
	from {-webkit-transform:rotate(0deg);}
	to {-webkit-transform:rotate(360deg);}
}

@keyframes spin {
	from {transform:rotate(0deg);}
	to {transform:rotate(360deg);}
}

#simpy-modal-spinner {
    content: '';
    display: inline-block;
    width:40px;height:40px;
    border-style:solid;
    border-color:white;
    border-top-color:transparent;
    border-width: 4px;
    border-radius:50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}
