:root {
  --mobile-size: 1024px;
  --color_1: #028DFB;
  --color_2: #5f11d7;
  --color_3: #5f11d757;
}

/*  var(--color_1) 0%,
    var(--color_2) 100%);
*/

/* 
var(--color_1) 
var(--color_2)
*/


/*
Kids' Blue:     #00bcd4
Blue:           #2196f3
Bright Yellow:  #FFEB3B
Soft Greens:    #8BC34A
Vibrant Orange: #FF9800
Rich Purple:    #9C27B0
Light Pink:     #E91E63
Crisp White:    #FFFFFF
*/

html {
    background-color: #FBFBFF;
    background: linear-gradient(180deg, #DDE2FF 0%, #FBFBFF 100%);
    min-height: 100%;
}

html.story {
    background-color: #2A1D5F;
}

* {
    font-family: "Inter";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-size: 1em;
}

h1 {
    margin-top: 15px;
    text-transform: capitalize;
    color: #19191B;
    text-align: center;
    font-family: Inter;
    font-size: 25px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.56px;
}

h2 {
    font-size: 28px;
    font-weight: bold;
    line-height: 30px;
    color: #fff;
    letter-spacing: -0.56px;
    font-weight: 700;
}




body {
/*    background-image: url(/static/img/bg_kids.png);*/ 
    background-repeat: repeat;
    margin: 0;
}


button.pay_btn {
    margin-top: 20px;
}

/* ... */


.story_setting {
    height: 64px;
    display: flex;
    flex-direction: row;
    background-image: url(../img/arrow.png);
    background-size: 20px;
    background-position: calc(100% - 15px) center;
    background-repeat: no-repeat;
    box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.06);
    border-radius: 0 12px 12px 12px;
    /* margin: 15px auto; */
    cursor: pointer;
    background-color: white;
    align-items: center;
    padding: 0 12px;
    /* margin-top: 16px; */
    /* justify-content: center; */
    width: calc(100% - 22px);
    margin-bottom: 12px;
    margin-top: 20px;
}

.story_setting.slider {
    border-radius: 0 0px 12px 12px;
}

.story_param {
    height: 64px;
    width: 100%;
    display: block;
    flex-direction: column;
    background-image: url(../img/arrow.png);
    background-size: 20px;
    background-position: calc(100% - 15px) center;
    background-repeat: no-repeat;
    box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.06);
    border-radius: 0 12px 12px 12px;
    margin: 15px auto;
    cursor: pointer;
    /*    text-transform: capitalize;*/
    background-color: white;
    text-align: left;
}



.value:first-letter {
    text-transform: capitalize;
}


.custom_param {
    padding-top: 40px;
    position: fixed;
    bottom: 0px;
    left: 0;
    right: 0;
    background: white;
    overflow: hidden;
    padding-bottom: 20px;
    padding: 16px;
    border-top: 1px solid #d5d5d5;
    z-index: 30000;
}

.custom_param input {
    width:100%;
    text-align: center;
    text-transform: initial;
    height: 70px;
    border: 1px solid #d5d5d5;
    box-shadow: none;
}

.custom_param button {
    margin: 0 auto;
}

.story_setting .info_select {
    background-color: #fff;
    position: fixed;
    top:0;
    left:0;
    right:0;
    bottom: 0;
    z-index: 10;
    padding: 0 16px;
    overflow-y:scroll;
    overflow-x:hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 20000;
}

.story_setting .info_select div, .story_setting .info_select input {
    height: 64px;
}

.story_param .select_value {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20000;
    padding-top: 0px;
    overflow-y: scroll;
    overflow-x: hidden;
    padding-bottom: 190px;
}

.story_param .select_value .option_value {
    height:50px;
    font-size: 18px;
    line-height: 50px;
    border-top: 1px solid #d5d5d5;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    text-align: left;
    padding-left: 20px;
    color: #2e2d2d;
}

.story_param .select_value .option_title {
    height: 42px;
    font-size: 18px;
    line-height: 50px;
    border-top: 1px solid #eee;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.story_param .select_value .option_value:hover {
    color: var(--color_2);
}

.story_param .select_value .option_value.selected {
    color: #9C27B0;
}

.story_setting .option_title,.story_param .select_value .option_title {
     /* Safari */
     position: sticky;
     top: 0;
     color: #19191B;
     font-family: Inter;
     font-size: 24px;
     font-style: normal;
     font-weight: 700;
     line-height: normal;
     letter-spacing: -0.56px;
     text-transform: capitalize;
     text-align: center;
     background: white;
     padding-top: 12px;
     border-bottom: 1px solid #d5d5d5;
}

.option_title .reset {
    color: #fff;
    position: fixed;
    top: 0;
    right: 10px;
    z-index: 100;
    height: 50px;
    cursor: pointer;
}

.option_title .action {
    position: fixed;
    top: 3px;
    z-index: 101;
    height: 50px;
    width: 50px;
    cursor: pointer;
    background-size: 26px;
    background-repeat: no-repeat;
}

.option_title .action.back,.option_title .action.back-settings {
    left: 16px;
    background-image: url(../img/back_white.png);
    background-position: left center;
}
.option_title .action.reset {
    right: 16px;
    background-image: url(../img/close_white.png);
    background-position: right center;
    background-size: 24px;
}

.option_title .back:hover {
    /* background-image: url(../img/back_purple.png); */
}

.option_title .reset:hover {
    /* background-image: url(../img/close_purple.png); */
}

.story_param .select_value .option_value.option_subtitle {
    /* background-color: #2A1D5B; */
    color: #1d1d1d;
    font-weight: normal;
    font-size: 18px;
    cursor: pointer;
    background-image: url(../img/arrow.png);
    background-size: 20px;
    background-position: calc(100% - 16px) center;
    background-repeat: no-repeat;
    text-align: left;
    padding-left: 20px;
}

.story_param .select_value .open-group .option_value.option_subtitle {
    background-color: #f3eeee;
    background-image: none;
}

.story_setting .icon {
    background-size: 30px;
    background-position: left center;
    background-repeat: no-repeat;
    width: 30px;
    height: 43px;
    margin-left:5px;
}

.story_setting .icon.boy {
    background-image: url(../img/boy.png);
}

.story_setting .icon.girl {
    background-image: url(../img/girl.png);
}

.story_setting .icon.settings {
    background-image: url(../img/settings.png);
}

.story_setting .info {
    width: calc(100% - 70px);
    display:flex;
    flex-direction: row;
}

.story_setting .info .value {

    color: #5B5B5B;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    line-height: 45px;
    font-weight: 500;
    width: 100%;
    height: 45px;
    flex:10;
    text-transform: capitalize;
    text-overflow: ellipsis; overflow: hidden; white-space: nowrap;
}

#gpt_model_disp {
    text-transform: none;
}

.story_setting input {
    text-transform: capitalize;
}

.story_setting .info .separator {
    width: 100%;
    height: 45px;
    flex:1;
    background-image: url(../img/v_line.png);
    background-size: 30px;
    background-position: center center;
    background-repeat: no-repeat;
}




#length_div {
    width:50%;
}

#language_div {
    width:50%;
}

.story_param .label, .settings_label {
    font-size: 14px;
    height: 16px;
    line-height: 14px;
    color: var(--color_1);
    width: 100px;
    text-align: left;
    position: relative;
    left: 0;
    top: -15px;
    background: white;
    border-radius: 12px 12px 0 0;
    padding: 3px 10px;
    display: inline!important;
    text-transform: capitalize;
}

.story_setting_container {
    display: flex;
    /*! width: 100%; */
    flex-direction: column;
    width: 100%;
}


.story_setting .labels {
    display: flex;
    justify-content: space-between;
    position: relative;
    top:20px;
}

.story_setting.slider .labels {
    display: flex;
    justify-content: space-between;
    top:26px;
}

.settings_label {
    width: auto;
    top: -84px;
    left:-12px;
}

.settings_label.right {
    left:12px;
    text-align: right;
}

.story_param .value {
    font-size: 18px;
    line-height: 25px;
    /* height: 36px; */
    color: #5B5B5B;
    width: calc(100% - 140px);
    text-align: center;
    position: relative;
    left: 50%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-style: normal;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    transform: translate(-50%,0);
}

.story_param:hover .value, .story_setting:hover .value {
    color: var(--color_2);
}


/* MENU */

#menu_btn {
    display: inline-block;
    cursor: pointer;
    z-index: 10001;
    position: fixed;
    padding: 16px;
    padding-left: 10px;
    top: -12px;
    right: 0;
    border-radius: 100px;
    width: 24px;
    height: 27px;
    text-align: center;
    /* mix-blend-mode: difference; */
    /* box-shadow: 0px 0px 3px black; */
}
.bar1, .bar2, .bar3 {
    width: 24px;
    height: 3px;
    background: white;
    transition: 0.4s;
    border-radius: 3px;
    margin: 5.5px 0;
    /* mix-blend-mode: difference; */
/*    box-shadow: 0px 0px 1px #000;*/
}
.bar2 {
}
.change .bar1 {transform: translate(0,  10px) rotate(-45deg); background-color: white !important; }
.change .bar2 { opacity: 0; }
.change .bar3 { transform: translate(0, -7px) rotate(45deg); background-color: white !important; }

#menu {
    padding: 0px 16px;
    position: fixed;
    bottom: 0;
    top: 0;
    right: 0px;
    left: 0px;
    background-color: #fff;
    z-index: 10000;
    /*    border-radius: 24px 0px 0px 24px;*/
    padding-top: 60px;
    transform:translate(100%,0);
    transition:transform 0.6s ease;
}
#menu.show {
    transform:translate(0px,0);
    right: 0px;
}

#menu .menu-item {margin-bottom: 28px;}

#menu .menu-item a, #menu .menu-item span {
    text-decoration: none;
    color: #19191B;
    text-transform: capitalize;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px; /* 160% */
    letter-spacing: 0.2px;
    display: flex;
}

#menu .menu-item .small-item, #menu .menu-item .small-item a {
    line-height: 30px;
    height: 30px;
}

#menu .menu-item a:hover {
    color: var(--color_2);
}

.language_link {
    position: fixed;
    top:5px;
    left:5px;
}

#language_it {
    top:25px;
}

.language_link a {
    text-decoration: none !important;
}


.triangle-down {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-top: 50px solid #555;
}

#languages_btn { cursor: pointer; }
#languages_btn:hover { color:var(--color_2) !important; }

.notification_container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #151515d6;
    font-size: 18px;
    text-align: center;
    z-index: 10;
    padding: 16px;
    font-family: 'Inter';
    bottom: 0;
}

.notification_title {
    margin-top: 20px;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 0;
}

.notification_msg {
    margin-bottom: 30px;
    font-size: 16px;
}

.notification_ok_btn {
    background-color: white;
    width: 200px;
    margin: 0 auto;
    border-radius: 10px;
    height: 60px;
    line-height: 61px;
    cursor: pointer;
}

.notification_ok_btn.error {
    color: white;
    background: linear-gradient(90deg, var(--color_1) 0%, var(--color_2) 100%);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
}

.notification_container.error {
    color: #000000;
}

.notification_ok_btn.success {
    border: 2px solid #8BC34A;
}

.notification_container.success {
    border: 0px solid #8BC34A;
    color: var(--color_2);
}



#success_msg {
    color:#333;
}

.notification_container h3 {
    color:var(--color_1);
    margin-top: 5px;
    font-size: 25px;
}



#logout a {
    text-decoration: none !important;
}

#logout {
    position: fixed;
    top:5px;
    right:5px;
}

.hidden {
    display: None !important;
}


h2:first-letter {
    text-transform: capitalize;
}

#signup_link:first-letter {
    text-transform: capitalize;
}

button, a.button {
    cursor: pointer;
    margin-bottom: 10px;
    display: block;
}

button:disabled {
    cursor: not-allowed;
    background-color: #eee;
}

#container {
    padding-left: 16px;
    padding-right: 16px;
    padding-top:0px;
    text-align: center;
    max-width:calc( var(--mobile-size) - 32px);
    margin:auto;
    padding-bottom: 30px;
}

.stories #container {
    max-height: 100%;
    overflow-y: scroll;
}

.sub-container {
    height: 100%;
    overflow: auto;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding-left: 16px;
    padding-right: 16px;
    background: linear-gradient(180deg, #DDE2FF 0%, #FBFBFF 100%);
    max-width: var(--mobile-size);
    margin: 0 auto;
}

.slider_display_value {
    display: block;
}

.story_setting.slider {
    background-image: none;
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: left;
}

.story_setting .controls {
    display: flex;
    position: relative;
    top: 11px;
    justify-content: left;
}

.story_setting.slider .controls {
  display: flex;
  position: relative;
  top: 25px;
  justify-content: space-between;
}

#language_selector_div {
    width: 120px;
}

#story_length {
    width: 100%;
    box-shadow: none;
}

#language_div select, #length_div select {
    box-shadow: none;
    text-align-last: left;
    text-wrap: none;
    text-overflow: ellipsis;
    padding-right: 0px;
    width: 90%;
    font-weight: 500;
    font-family: Inter;
    color: #5B5B5B;
    font-size: 18px;
    cursor: pointer;
    height: 40px;
    position: relative;
    top:-10px;
    background-image: none;
}

#length_div select {
    text-align-last: right !important;
    padding-right: 0px;
}

#length_value {
    position: relative;
    top: 10px;
}

#story_length {
    position: relative;
    top: -10px;
}

input, select, .button, button {
    font-size: 18px;
    border-radius: 12px;
    height: 72px;
    text-align-last: center;
    text-transform: capitalize;
    font-weight: 600;
}

input, select {
    height: 64px;
    border: none;
    box-shadow: 0px 0px 10px #ddd;
    outline: 0 !important;
}


button, a.button {
    width:100%;
    /*    background-color: #00BCD4;*/
    background: linear-gradient(90deg, var(--color_1) 0%, var(--color_2) 100%);
    color:white;
    font-weight: bold;
    height: 72px;
    border: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

#back_to_home {
    max-width: var(--mobile-size);
}

a.button--white,.button--white {
    background:white;
}
.button--white span {
    background: linear-gradient(90deg, var(--color_1) 0%, var(--color_2) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
button:hover, a.button:hover, button:active, a.button:active {
    border-color: var(--color_2);
/*    border-top: 5px solid var(--color_2);
    border-bottom: 5px solid var(--color_1);*/
}

select {
  color: #333;
  background-repeat: no-repeat;
  background-position: calc(100% - 16px) center;
  background-size: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M12.834 1.66663L7.00063 7.49996L1.1673 1.66663' stroke='%231D222D' stroke-width='2' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  appearance: none;
  background-color: white !important;
}


div.generate_bg {
    width:100%;
    max-width: var(--mobile-size);
    margin: 0 auto;
}

.generate_bg_desktop {
    display: none;
}

div.generate_bg img#generate_bg, #generate_bg_desktop {
    aspect-ratio: 1025 / 646;
    width:100%;
    max-width: var(--mobile-size);
    margin: 0 auto;
}

#generate_bg_desktop {
    aspect-ratio: 2402 / 1024;
}

.kid_welcome {
    display: flex;
    width: calc(100% - 48px);
    height: 72px;
    padding: 24px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 12px;
    background: #FFF;
    box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.06);
    position: relative;
    margin-top: -60px;
    background-image: url(/static/img/storielle_logo.png);
    background-size: 25%;
    background-origin: content-box;
    background-position: right center;
    background-repeat: no-repeat;
    row-gap: 2px;
    margin-bottom: 20px;
}

.kid_welcome .first_line {
    color: #19191B;
    font-family: Inter;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.56px;
    margin: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 75%;
    text-align: left;
}

.kid_welcome .second_line {
    color: #5B5B5B;
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px; /* 125% */
    margin: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 75%;
    text-align: left;
}

img#cloud {
    z-index: 1;
    position: relative;
    top: 110px;
    left: calc(100% - 170px);
    height: 100px;
    /* fill: aliceblue; */
}

img#robot_head {
    z-index: 2;
    position: relative;
    top: 40px;
    left: calc(100% - 101px);
    height: 50px;
}
div#main_form {
    margin-bottom: 30px;
    display: flex;
    flex-direction: row;
    gap: 12px;
    flex-wrap: wrap;
}
.star {
    position: absolute;
    z-index:-1;
}
img.star.star1 {
    width: 340px;
    top: -122px;
    right: -170px;
}
img.star.star2 {
    width: 240px;
    left: -180px;
    top: 30px;
}
.menu-item img {
    width: 48px;
    height: 48px;
}

.language-switcher span, #menu .menu-item a,.menu-item-flex {
    display: flex;
    gap: 12px;
    align-items: center;
}

#menu .menu-item span.user-email {
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px; /* 213.333% */
    letter-spacing: 0.15px;
    opacity: 0.5;
}
.change .bar1,.change .bar2,.change .bar3 {
    background: white;
}

.menu-item-flex span {
    line-height: 13px !important;
}
.hider-menu.show {
    opacity:1;
    pointer-events:all;
}
.hider-menu {
    background: rgba(0, 0, 0, 0.90);
    backdrop-filter: blur(2px);
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: opacity 0.4s ease;
    opacity:0;
    pointer-events:none;
}
a.logout {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    height: 60px;
    color: #19191B;
    text-decoration: none;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-top:50px;
    margin-bottom:40px;
    border-radius: 4px;
    background: #F2F0F9;
}
a.logout img {
    margin-left: -10px;
    width: 20px;
}
a.logout img {
    margin-left: -10px;
    width: 20px;
}

#menu div#languages_menu a {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 12px; /* 200% */
    letter-spacing: 0.16px;
    margin-bottom: 28px;
}

#menu div#languages_menu .menu-item {
    margin-bottom: 0;
    margin-left: 63px;
}

div#languages_menu {
    margin-top: -14px;
}
#menu {
    overflow: auto;
}
#logo {
    position: absolute;
    top: 5px;
    left: 16px;
    text-decoration:none;
    color: white;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.56px;
    /* mix-blend-mode: difference; */
    z-index: 11;
    text-shadow: 0px 0px 1px #000;
}
#logo.show{
    z-index: 11000;
}

span#languages_btn {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M12.834 1.66663L7.00063 7.49996L1.1673 1.66663' stroke='%231D222D' stroke-width='2' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 5px) center;
    background-size: 12px;
}
.value:first-letter {
    text-transform: capitalize;
}
.option_title .action {
    filter: invert(1);
}

.story_param .select_value .option_value:first-of-type {
    border-top: 0;
}
.select_value .group .option_value:last-of-type {
    margin-bottom: 50px;
}

.group {
    border-bottom: 1px solid #d5d5d5;
}
.option_title_overlay {
     /* Safari */
     position: sticky;
     top: 0;
     color: #19191B;
     font-family: Inter;
     font-size: 24px;
     font-style: normal;
     font-weight: 700;
     line-height: normal;
     letter-spacing: -0.56px;
     text-transform: capitalize;
     text-align: center;
     background: white;
     padding-top: 12px;
     border-bottom: 1px solid #d5d5d5;
     height: 45px !important;
     margin-left: -16px;
     margin-right: -16px;
     margin-bottom: 30px;
}
.custom_param_input_container {
    position: relative;
    margin-bottom: 16px;
}

.clear_input {
    position: absolute;
    top: 48%;
    transform: translate(0,-50%);
    right: 20px;
    font-size: 19px;
    border: 1px solid;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    color: white;
    background: var(--color_1);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.clear_input span {
    display: block;
    pointer-events: none;
    margin-top: -2.4px;
}

#welcome_kid_name {
    cursor: pointer;
}

.capitalize {
    text-transform: lowercase;
}

.capitalize:first-letter {
    text-transform: capitalize;
}
select.empty {
    color: #afaeae;
}
*::placeholder {
    color: #afaeae;
    opacity:1;
}

.story_setting .option_title {
    height: 42px !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding-top: 13px;
}

.story_setting .info_select .option_title div {
    height: 56px;
    top: 0;
}

.story_setting .info_select {
    padding-top: 87px;
}
.inner-success-background {
    position: fixed;
    top: 50%;
    left: 30px;
    right: 30px;
    background: #ffffff;
    font-size: 18px;
    border-radius: 20px;
    text-align: center;
    z-index: 2000;
    padding: 16px;
    font-family: 'Inter';
    transform: translate(0, -50%);
}
div#social_links {
    display: flex;
    gap: 20px;
    padding: 15px 0;
}

div#social_links img {
    height: 48px;
}

div#menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer_copy #social_links {
    justify-content: center;
}

div#header_bar {
    height: 40px;
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
/*    background-color: var(--color_2)66;*/
    /* border-bottom: 1px solid var(--color_1); */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    margin: auto;
    max-width: var(--mobile-size);
}   

.landing #header_bar {
    height: 0px;
}

div#header_bg {
    height: 40px;
    width: 100%;
    background: linear-gradient(90deg, var(--color_1) 0%, var(--color_2) 100%);
    opacity: 0.85;
    /* backdrop-filter: blur(1px); */
}

.story #header_bg {
    background: none;
    background-color: #2B1D5044;
}

.landing #header_bg {
    background: #000000;
    opacity: 0.5;
}

input[type="range"] {
    cursor: pointer;
}

#buttons_hider {
    display: none;
}

.hide #buttons_hider {
    display: inline;
    position: relative;
    width: 100%;
    height: 100%;
    background: #2a1d5a;
    top: 70px;
    height: 8000px;
    vertical-align: middle;
    line-height: 70px;
    color: white;
}

@media only screen and (min-width: 1024px) {

    .generate_bg_desktop {
        display: block;
        margin-top: 40px;
    }
    .generate_bg {
        display: none;
    }

    #menu {
        width: 30%;
        left: auto;
        right: 0;
        top: 40px;
        border-radius: 10px 0 0 10px;
    }

    .hider-menu {
        z-index: 1105;
    }
    body .story_img div {
        aspect-ratio: 1800 / 1000;
        height:auto;
    }
    img.star.star2 {
        left: 0;
    }

    .stories #container {
        max-width: initial;
    }

    body .stories_list {
        display: grid;
        grid-template-columns: repeat(3,1fr);
    }
    .story #header_bg {
        background: linear-gradient(90deg, var(--color_1) 0%, var(--color_2) 100%);
        opacity: 0.85;
    }

        #header_bar {
            max-width: initial !important;
        }

        .kid_welcome {
        background-size: 13%;
        grid-column: auto / span 3;
    }

    div.generate_bg,  .generate_bg_desktop{
        max-width: initial;
        height: 50vh;
    }

    div.generate_bg img#generate_bg, #generate_bg_desktop {
        max-width: initial;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    body div#container {
        max-width: initial;
        padding: 20px;
    }

    div#main_form {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        align-items: flex-end;
    }

    .kid_welcome {
        order: 0;
    }

    .story_setting {
        order: 1;
        margin: 15px auto;
    }

    .story_setting + .story_setting {
        order: 4;
    }

    .story_param {
        order: 2;
    }

    .story_param[data-order="3"] {
        order: 3;
    }

    .story_param[data-order="5"] {
        order: 5;
    }

    .story_param[data-order="6"] {
        order: 6;
    }

    .kid_welcome {
        display: none;
    }
}
