#wizard-container {
    margin: 1em auto 0;
    width: 100%;
    height: 250px;
    text-align: center;
    object-fit: cover;
    z-index: -1;
    filter: contrast(60%) brightness(135%);
}

.safe-zone * {
    font-family: basic-sans;
}

.safe-zone {
    text-align: left;
    background-color: rgba(230,230,230,0);
    margin: 0 10%;
    padding-top: 15px;
    box-sizing: border-box;
    position: absolute;
    margin-top: -225px;
    margin-left: 2em;
}

#wizard-restart {
    display: none;
}

#wizard-restart a {
    color: #626276;
    background-color: transparent;
    color: inherit;
    text-decoration: none;
    -webkit-transition: background .15s cubic-bezier(.33,.66,.66,1);
    -o-transition: background .15s cubic-bezier(.33,.66,.66,1);
    transition: background .15s cubic-bezier(.33,.66,.66,1);
    border-bottom: 2px solid #acc000;
    -webkit-box-shadow: inset 0 -2px 0 #acc000;
    box-shadow: inset 0 0 0 #acc000;
    overflow-wrap: break-word;
    word-break: break-word;
    word-wrap: break-word;
    text-decoration: none;
}

#wizard-restart a:hover {
    color: #626276;
    text-decoration: none;
    background-color: #ecf5d4;
    cursor: pointer;
}

#start-wizard {
    background-color: #443b65;
    font-size: 13px;
    box-shadow: 1px 1px 3px 1px rgb(0 0 0/19%);
    color: #ffeabe;
}

.wizard-titlebar {
    text-transform: unset;
    font-weight: 800;
}

#sub-title,.wizard-titlebar {
    color: #443b65;
    text-shadow: 0 0px 3px #fff;
}

#sub-title {
    max-width: 15em;
}
p#subtitle {
    margin-bottom: 0.3em;
}

.wizard-preview-container {
    margin-top: 0;
}

.wizard-preview-container button * {
    vertical-align: middle;
}

.wizard-preview-container button p {
    display: inline-block;
}

.progress-container {
    border: 1px solid silver;
    height: .6em;
    border-radius: .3em;
    background: #f4f4f4;
    margin-bottom: 1em;
    width: 70%;
    position: absolute;
    top: 7em;
}

#progress-bar {
    background-color: #76c8ad;
    height: 100%;
    width: 5%;
    border-radius: .3em;
    -webkit-transition: width .7s ease-in-out;
    -moz-transition: width .7s ease-in-out;
    -o-transition: width .7s ease-in-out;
    transition: width .7s ease-in-out;
}

h3.wizard-heading {
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    text-align: center;
    top: -57px;
    color: #443b65;
    font-weight: 900;
}

.question {
    display: inline-block;
    margin: 1em auto;
    color: #443b65;
}
p.question {
    margin-top: 1em;
}

.i-button {
    border-radius: 100%;
    width: 24px;
    height: 24px;
    padding: 0;
    background-color: #76c8ad;
    border: none;
}

.i-tooltip {
    position: absolute;
    left: 23%;
    right: 17%;
    bottom: 96%;
    -webkit-transition: opacity .2s ease-in-out;
    -moz-transition: opacity .2s ease-in-out;
    -o-transition: opacity .2s ease-in-out;
    transition: opacity .2s ease-in-out;
}

.i-tooltip:after {
    content: " ";
    position: absolute;
    right: 29%;
    bottom: -13px;
    border-top: 13px solid #76c8ad;
    border-right: 13px solid transparent;
    border-left: 13px solid transparent;
    border-bottom: none;
}

.i-tooltip p {
    padding: 6px 15px;
    width: 80%;
    line-height: 1.4em !important;
    color: #fff;
    background-color: #76c8ad;
    text-align: center;
    margin: 0 auto;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
}

#i-tooltip1,#i-tooltip2,#i-tooltip3,#i-tooltip4,#i-tooltip5 {
    opacity: 0;
}

.question-container {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    top: 7em;
    text-align: center;
    opacity: 1;
}

.options-container {
    margin-top: 1em;
}

.options-container button,.wizard-preview-container button {
    font-size: 15px;
    margin-bottom: .7em;
    min-width: 6em;
    background-color: #443b65;
    color: #ffeabe;
    border-radius: 10em;
    padding: .5em 1em;
}

.options-container button:hover,.wizard-preview-container button:hover {
    opacity: 1;
    background-color: #5f5578;
}

i-button:hover {
    background-color: #398499
}

.options-container button:active,.wizard-preview-container button:active,i-button:active {
    background-color: #4694aa;
}

.alt-button {
    background-color: #f15f54;
    color: #fff;
}

#buttonResults {
    background-color: #76c8ad;
    color: #fff;
}

#buttonResults:hover {
    background-color: #93d2bc;
}

#buttonStartOver {
    background-color: #f15f54;
}

#buttonStartOver:hover {
    background-color: #f37e6d;
}

.options-container button img,.wizard-preview-container img {
    display: inline-block;
    width: 22px;
    height: 22px;
    margin: 0.3em;
}

.options-container button p,
.wizard-preview-container button p {
  margin: 0 0.9em 0 0.1em;
}

.options-container button *,.wizard-preview-container button * {
    display: inline-block;
    vertical-align: middle;
}

#question-container1,#question-container2,#question-container3,#question-container4,#question-container5,#loading-results,#question-container6 {
    visibility: hidden;
}

.modaloverlay {
    background: rgba(0,0,0,.33);
    bottom: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    -webkit-transition: opacity .4s ease-in;
    -moz-transition: opacity .4s ease-in;
    transition: opacity .4s ease-in;
    z-index: -1;
    display: none;
}

.modaloverlay .modal {
    position: absolute;
    background-color: #ffeabe;
    min-height: 15em;
    left: 0;
    right: 0;
    width: 50em;
    margin: auto;
    top: 50%;
    padding: 3em;
    text-align: center;
    max-height: 22em;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    box-shadow: 4px 7px 8px rgb(0 0 0/22%);
}

@media only screen and (max-width: 1200px) {
    .question-contrainer {
        margin:0 3em;
    }

    #wizard-container {
        object-position: 55%;
    }

    .modaloverlay .modal {
        width: auto;
        height: 34em;
        margin: 0 20px;
        max-height: 40em;
    }

    .options-container button {
        margin: 0 auto .5em;
        display: block;
        width: 40%;
        text-align: left;
    }

    .options-container button p {
        line-height: 42px;
        margin: 0 0.5em;
    }

    .options-container button img {
        width: 22px;
        height: 22px;
        margin: 0;
        position: relative;
    }

    .button+.button {
        margin-left: auto;
    }
}

@media only screen and (max-width: 510px) {
    .options-container button {
        width:70%;
    }

    .options-container button p {
        margin-left: 1em;
    }

    .wizard-titlebar {
        font-size: 1.5em;
    }
}

@media only screen and (max-width: 350px) {
    .options-container button {
        width:90%;
    }

    h3 {
        font-size: 1.15rem;
    }
}

.modaloverlay .close {
    background-color: #f15f54;
    color: #fff;
    font-size: 24px;
    padding: 8px 12px;
    position: absolute;
    right: 0;
    text-align: center;
    text-decoration: none;
    top: 0;
    z-index: 1;
    cursor: pointer;
    border-bottom: none;
}

#seedwizard .modal a.close:hover {
    background-color: #f15f54;
    color: white;
}

#loading-results {
    margin: 0;
    display: grid;
    place-items: center;
    height: 50px;
}

.spinner {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 5px solid rgba(255,255,255,.1);
    border-top-color: #58c4b5;
    animation: spin 1s linear infinite;
}

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

.safe-zone button p,.modaloverlay button p {
    color: #fff;
}
