@import url('https://fonts.googleapis.com/css2?family=Klee+One&display=swap');

body {
    font-family: 'Klee One', Helvetica, Arial;
    position: relative;
    min-height: 90vh;
    padding: 0.5em;
    margin: 0;

    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;

}

.perso-container {
    margin: auto;
    box-shadow: 1px 1px 3px 1px #999999;
    border-radius: 40px;
    position: relative;
    background-color: #f3f3f3;
    padding: 1em;
    scale: 1;
}

@media only screen and (max-width: 80px) {
    .perso-container {
        transform: scale(0.3);
        -moz-transform: scale(0.3);
    }
}

@media only screen and (min-width: 120px) {
    .perso-container {
        transform: scale(0.4);
        -moz-transform: scale(0.4);
    }
}

@media only screen and (min-width: 160px) {
    .perso-container {
        transform: scale(0.5);
        -moz-transform: scale(0.5);
    }
}

@media only screen and (min-width: 200px) {
    .perso-container {
        transform: scale(0.7);
        -moz-transform: scale(0.7);
    }
}

@media only screen and (min-width: 340px) {
    .perso-container {
        transform: scale(0.8);
        -moz-transform: scale(0.8);
    }
}

@media only screen and (min-width: 380px) {
    .perso-container {
        transform: scale(0.9);
        -moz-transform: scale(0.9);
    }
}

@media only screen and (min-width: 385px) {
    .perso-container {
        transform: scale(1);
        -moz-transform: scale(1);
    }
}

.loader-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.5;
    background-color: #ace;
    text-align: center;
    display: none;
    justify-content: center;
    align-items: center;
}

.loader {
    display: inline-block;
    border: 6px solid #f3f3f3;
    border-radius: 50%;
    border-top: 6px solid #3498db;
    border-bottom: 6px solid #3498db;
    width: 50px;
    height: 50px;
    -webkit-animation: loader-spin 1.5s linear infinite;
    /* Safari */
    animation: loader-spin 1.5s linear infinite;
}

.blurred-wrapper {
    filter: blur(4px);
    -webkit-filter: blur(4px);
}

/* Safari */
@-webkit-keyframes loader-spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

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

@keyframes loader-spin {
    0% {
        transform: rotate(0deg);
    }

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

.perso-wrapper {
    padding: 1em;
}

.preview-box {
    height: 400px;
    padding-top: 25px;
}

.preview-title {
    text-align: center;
}

.preview-title h3 {
    margin: 0.7em 0 0;
    font-size: 1.5em;
    font-weight: normal;
}

.preview {
    height: 19em;
    width: 100%;
}

.preview ul {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.preview li {
    list-style: none;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    text-align: center;
    overflow: hidden;
}

.preview img {
    max-width: 100%;
    max-height: 100%;
    margin-top: -1em;
}

.step-title {
    margin: 0;
    text-align: center;
    font-weight: normal;
}

.step-controls {
    text-align: right;
    padding: 0 0.5em 1em;
    position: relative;
    font-size: 0.9em;
}

.step-controls img {
    width: 30px;
    vertical-align: middle;
}

.step-controls .left {
    position: absolute;
    left: 0.5em;
    width: 10em;
    text-align: left;
}

.step-controls span {
    cursor: hand !important;
}

.step-controls a {
    text-decoration: none;
}


.rounder_item_list {
    padding: 0;
    margin: 0;
    height: 4em;
}

.rounder_item img {
    max-width: 100%;
    max-height: 100%;
}

.story_step_list {
    overflow: hidden;
    width: 20em;
}

.story_step_wrapper {
    display: flex;
    width: 500%;
}

.story_step {
    width: 20%;
}

.story_step .content h4 {
    text-align: center;
}

/* --------------------------------------- */

.story_step .content {
    height: 4em;
    overflow-y: auto;
    width: 20em;
    display: flex;
    margin: 1em 0;
}

.nav-control-wrapper {
    height: 4em;
    width: 2em;
}

.nav-control-wrapper p {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 2em;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-control-wrapper img {
    width: 0.9em;
}

.nav-control-wrapper p:hover {
    cursor: pointer;
}

.rounder_item_list_wrapper {
    display: inline-block;
    height: 4em;
    width: 16em;
    /* 4x4 = 16 */
    /*
    */
    overflow: hidden;
}

.rounder_item_list {
    margin: 0;
    width: 16em;
    /* 4x4 = 16 */
    padding: 0;
    display: inline-block;
    display: flex;
    margin-left: 0em;
    transition: margin 500ms;
}

.hair_style_list {
    width: 48em;
    /* 4x12 = 48 */
}

.rounder_3_item_list {
    width: 12em;
    /* 4x3 = 12 */
    margin: 0 2em;
}

.rounder_item {
    list-style: none;
    display: inline-block;
    width: 4em;
    height: 4em;
    margin: 0;
    padding: 0;
}

.wrapper {
    width: 3em;
    height: 3em;
    border-radius: 3em;
    overflow: hidden;
    border: solid 0.05em #000;
    margin: 0.25em;
    padding: 0;
}

.selected_item {
    border: solid 0.25em #a2c3c8;
    width: 2.8em;
    height: 2.8em;
    border-radius: 2.8em;
}

.link-no-style,
.link-no-style:visited {
    color: #000;
}