* {
    box-sizing: border-box;
}

html {
    font-size: 100%;
}

/*16px*/

body {
    background: white;
    font-family: 'Syne', sans-serif;
    font-weight: 400;
    line-height: 1.75;
    color: #000000;
}

p {
    margin-bottom: 1rem;
    font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

a {
    color: #930b12;
}

a[rel=external]:after {
    content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
    margin: 0 3px 0 5px;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 3rem 0 1.38rem;
    font-weight: 400;
    line-height: 1.3;
}

h1 {
    margin-top: 0;
    font-size: 3.052rem;
}

h2 {
    margin-top: 1rem;
    font-size: 2.441rem;
}

h3 {
    font-size: 1.953rem;
}

h4 {
    font-size: 1.563rem;
}

h5 {
    font-size: 1.25rem;
}

small,
.text_small {
    font-size: 0.8rem;
}

.app-grid {
    display: flex;
    height: 100%;

    -webkit-animation: fadein 2s;
    /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 2s;
    /* Firefox < 16 */
    -ms-animation: fadein 2s;
    /* Internet Explorer */
    -o-animation: fadein 2s;
    /* Opera < 12.1 */
    animation: fadein 2s;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.left {
    width: 50%;
    height: 100%;
    background: #930b12;
    background-image: url('images/back_top_left.png'), url('images/back_top_right.png'), url('images/back_bottom_right.png'), url('images/back_bottom_left.png');
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-position: left top, right top, right bottom, left bottom;
    background-size: 12rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.right {
    width: 50%;
    height: 100%;
    display: flex;
    background: #fff;
    flex-direction: column;
}

.header {
    width: 100%;
    text-align: center;
    background: #eee;
}

.header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 1rem 0;
}

.content {
    flex: 1;
    /* Use remaining space for the content element */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    height: fit-content;
    overflow-y: auto;
    text-align: center;
}

.block {
    -webkit-animation: fadein 2s;
    /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 2s;
    /* Firefox < 16 */
    -ms-animation: fadein 2s;
    /* Internet Explorer */
    -o-animation: fadein 2s;
    /* Opera < 12.1 */
    animation: fadein 2s;
}

.buttons {
    padding-top: 2rem;
    text-align: center;
    display: flex;
    justify-content: space-evenly;
}

.connected {
    display: flex;
    justify-content: end;
    padding: 0.5rem 0.75rem;
}

.connected p {
    margin: 0;
}

.modal {
    padding: 0 1rem;
    margin: 0 0.75rem 1.15rem;
    border: 3px solid #ccc;
    position: absolute;
    right: 0;
    bottom: 2.5rem;
    background: #efefef;
    min-width: 20%;
}

.modal span {
    float: right;
    font-size: 3rem;
    line-height: 3rem;
}

.modal span a {
    text-decoration: none;
}

.colophon {
    display: flex;
    justify-content: space-between;
}

.footer {
    width: 100%;
    align-self: flex-end;
    padding: .65rem .5rem .25rem;
    background: #eee;
}

.loader {
    width: 30vw;
    height: 30vw;
    animation: spinner 4s linear 2;
}

@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Oracle */
#step02,
#step03,
#step04,
#step05,
#connection,
#modal,
#throwChing {
    display: none;
}

a.btn,
.btn {
    background: #e7cf63;
    color: #000;
    border: 2px solid #000;
    padding: 0.5rem 1rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-transition: -webkit-transform 0.2s ease-in-out;
    transition: -webkit-transform 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
}

.btn:hover {
    background: #fff;
    color: #930b12;
}

.btn:active {
    transform: translateY(4px);
}

#step03 input[type=text],
#step03 input[type=email] {
    font-size: larger;
    width: 100%;
    border: 2px solid #444;
    padding: 0.5rem;
    margin-bottom: 1rem;
    background-color: #e7cf63;
}

textarea {
    width: 100%;
    height: 10vh;
    padding: .5rem .25rem;
    font-size: 1rem;
    margin: 1rem 0;
    background-color: #e7cf63;
}

.sides {
    text-align: center;
}

.sides h2 {
    padding: 0 3rem;
}

.sides img {
    margin-bottom: .75rem;
}

/* Accordion styles */
#step05 input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.tabs {
    overflow: hidden;
}

.tab {
    width: 100%;
    overflow: hidden;
}

.tab-label {
    display: flex;
    justify-content: space-between;
    font-size: 1.953rem;
    margin: 0;
    font-weight: 400;
    line-height: 1.3;
    border-bottom: 1px solid #fff;
    cursor: pointer;
	padding: .5rem;
	background: #e7cf63;
    /* Icon */
}

.tab-label::after {
    content: "❯";
    width: 1em;
    height: 1em;
    text-align: center;
    transition: all 0.35s;
}

.tab-content {
    max-height: 0;
    padding: 0 1em;
    color: #2c3e50;
    background: #f8f8f8;
    transition: all 0.35s;
}
.tab-content p {
	margin-top: 0;
}

.tab-close {
    display: flex;
    justify-content: flex-end;
    padding: 1em;
    font-size: 0.75em;
    background: #2c3e50;
    cursor: pointer;
}

.tab-label:hover,
.tab-close:hover {
    border-bottom: 1px solid #1a252f;
}

input:checked+.tab-label {
    border-bottom: #1a252f;
}

input:checked+.tab-label::after {
    transform: rotate(90deg);
}

input:checked~.tab-content {
    max-height: 100vh;
    padding: 1em;
}

@media only screen and (max-width: 767px) {
    .app-grid {
        flex-direction: column;
    }

    .left,
    .right {
        width: 100%;
    }

    .left {
        min-height: 80vh;
    }

    h2 {
        font-size: 2rem;
    }
}