* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #2b1165;
    background: linear-gradient(180deg, #F55CA6 0%, #35BDF5 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
    font-family: sans-serif;
}
  
#app {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 50px 0;
    max-width: 600px;
    margin: 0 auto;
    overflow-x: hidden;
}

.overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-size: 5px 5px, 5px 5px;
    background-position: -1px -1px, -1px -1px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    mix-blend-mode: difference;
}

h1 {
    color: #FFF;
    font-size: 3em;
    text-align: center;
    position: relative;
    margin: 50px 0;
    -webkit-text-stroke: 1px #333;
    font-family: sans-serif;
}

h2 {
    text-align: center;
    color: #FFF;
    width: 100%;
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
    font-size: 2em;
}

.window {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background: #FEF3EC;
    z-index: 1;
    position: relative;
    box-sizing: border-box;
    transform-style: preserve-3d;
    max-width: 600px;
}

.window::before {
    content: '';
    width: 100%;
    height: 100%;
    border: 5px solid;
    border-left: none;
    border-top: none;
    position: absolute;
    left: 3px;
    top: 3px;
    transform: translateZ(-1px);
    box-sizing: border-box;
    border-color: #333;
    opacity: 0.7;
}

.window > div {
    padding: 15px;
}

.header {
    background: #F965A4;
    font-size: 2em;
    color: #1D192F;
    z-index: 1;
    padding: 5px 15px !important;
    box-sizing: border-box;
    border: 2px solid #333;
    border-bottom: none;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    font-family: sans-serif;
}

.header span {
    position: absolute;
    font-size: 1em !important;
    right: 15px;
    cursor: pointer;
    background: #FEF3EC;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    padding-top: px;
    text-indent: px;
    line-height: -5px;
    box-sizing: border-box;
    border: 1px solid #333;
    line-height: 20px;
    color: #333;
    box-sizing: border-box;
}

.header span:hover {
    border-bottom: 2px solid #333;
    border-right: 2px solid #333;
}

.content {
    border: 2px solid #333;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    padding-bottom: 30px !important;
    font-size: 1.2em;
}

button {
    position: absolute;
    z-index: 3;
    padding: 5px 15px;
    border: 1px solid #333;
    bottom: 15px;
    left: 50%;
    background: #35BDF5;
    font-weight: bold;
    width: 100px;
    color: #333;
    margin-left: -50px;
}


.cassette {
    display: block;
    margin: 0 auto 30px auto;
}

.img.cassette {
    margin-top: 0;
    transform: rotate(-2deg);
}

.img {
    margin: 50px auto;
    width: 80%;
    max-width: 600px;
    display: block;
}

.img.planet {
    max-width: 150px;
}

.img.body {
    width: 150px;
    transform: rotate(10deg);
    /* margin: 0 auto; */
    margin-top: 0px;
}

footer {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
    font-family: "Chakra Petch", sans-serif;
    margin-top: 100px;
}

footer p {
    background: linear-gradient(90deg, rgba(53,189,245,1) 10%, rgba(249,101,164,1) 100%);
    padding: 3px 5px;
    color: #FFF;
    border: 1px solid;
    width: 80%;
    max-width: 600px;
    text-align: center;
}

.banners {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 22px;
}

.img.star {
    width: 100px;
}

.img.pc {
    width: 200px;
}

.connect .content {
    text-align: center;
    text-transform: uppercase;
    font-size: 1.1em;
    line-height: 25px;
}

.window.about {
    margin: 0;
    left: 15px;
}

.window.connect {
    margin: 0;
    right: 0;
    margin-left: 70px;
}

#app {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 50px 0;
    max-width: 600px;
    margin: 0 auto;
}

.msg {
    width: 80%;
    max-width: 600px;
    margin: 30px auto;
    display: block;
    background: #FEF3EC;
    padding: 15px;
    border-radius: 15px;
}

p {
    font-size: 1.2em;
}

.img.star,
.img.nfc,
.img.planet,
.img.heart {
    width: 70px;
    margin: 0 auto;
}

.msg {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    justify-content: center;
    border: 2px solid;
    text-align: center;
}

.img.smile {
    width: 250px;
}

p > small {
    display: inline-block;
    margin-top: 10px;
    font-style: italic;
}

.buttons {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 30px;
    align-items: center;
    justify-content: center;
    height: 50px;
}

.buttons > a {
    flex: 1;
    text-align: center;
    display: block;
    padding: 10px 0;
    background: #F965A4;
    color: #FFF;
    text-decoration: none;
    box-sizing: border-box;
    border: 2px solid #333;
}

.buttons > a:first-child {
    background: #35BDF5;
}

.buttons > a:hover {
    border-bottom: 3px solid #333;
    border-right: 3px solid #333;
}


.img.smile3 {
    width: 100px;
    margin: 0 auto;
}

.window.buy {
    margin-bottom: 50px;
    transform: rotate(-2deg);
}

.window.buy:has(.shure:hover) {
    transform: rotate(2deg);
}

.msg.left {
    transform: rotate(2deg);
    width: 120%;
    left: 30px;
    position: relative;
    padding-right: 110px;
    text-align: left;
}

.msg.right {
    transform: rotate(-2deg);
    width: 120%;
    right: 95px;
    position: relative;
    padding-left: 100px;
    text-align: right;
}

.msg.right,
.img.hands {
    transform: rotate(-2deg);
}

.window.connect {
    margin: 0;
    right: 0;
    margin-left: 70px;
    margin-bottom: 50px;
}


path {
    fill: transparent;
}
  
text {
    fill: #FFFFFF;
    font-size: 32px;
    font-weight: bold;
}

svg {
    width: 80%;
    margin: 0 auto;
    max-width: 600px;
    display: block;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: left;
    font-size: 1em;
    background: #FFF;
    width: 80%;
    margin: 50px auto;
    max-width: 600px;
    padding: 15px;
    border: 2px solid #333;
    transform: skew(0.01turn, 5deg);
}

ul li {
    margin-bottom: 10px;
    text-transform: none;
    font-size: 1em;
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

.check {
    width: 25px;
    height: 25px;
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    color: #35BDF5;
    border: 1px solid  #F55CA6;
}

.img.hand {
    margin: -70px auto 0 250px;
    width: 50px;
    z-index: 100;
    position: relative;
    /* right: 0; */
}

.msg.left::before {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: 30px;
    right: auto;
    top: auto;
    bottom: -40px;
    border: 20px solid;
    border-color: #333 transparent transparent #333;
}

.msg.left::after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: 32px;
    right: auto;
    top: auto;
    bottom: -35px;
    border: 20px solid;
    border-color: #FEF3EC transparent transparent #FEF3EC;
}

.msg.right::before {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: auto;
    right: 30px;
    top: auto;
    bottom: -40px;
    border: 20px solid;
    border-color: #333 #333 transparent transparent;
}

.msg.right::after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: auto;
    right: 32px;
    top: auto;
    bottom: -35px;
    border: 20px solid;
    border-color: #FEF3EC #FEF3EC transparent transparent;
}

.progress {
    width: 120px;
    height: 20px;
    -webkit-mask: linear-gradient(90deg,#35BDF5 70%,#0000 0) 0/20%;
    background: linear-gradient(#35BDF5 0 0) 0/0% no-repeat
#ddd;
    animation: progress 2s infinite steps(6);
    margin: 30px auto 0 auto;
}

.window.video {
    margin: -30px auto 50px auto;
}

.video .content {
    height: 200px;
    background: #000;
    position: relative;
    padding: 0;
    overflow: auto;
}

.scrollbar {
    position: absolute;
    right: 0;
    width: 15px;
    background: #FEF3EC;
    z-index: 2;
    height: 100%;
    top: 0px;
}

.scrollbar::after {
    content: '';
    position: absolute;
    left: 2px;
    top: 5px;
    width: calc(100% - 4px);
    height: 30px;
    border-radius: 5px;
    background: #333;
}

.video .header {
    background: #35BDF5;
    color: #FFF;
}

video {
    position: absolute;
    width: 120%;
    height: 100%;
    left: -10px;
}

.msg span,
.content span {
    background: rgba(53, 189, 245, 0.3);
}

.img.planet {
    width: 120px;
}

.img.star2 {
    position: absolute;
    width: 50px;
    right: 0;
    /* top: 30px; */
    margin-top: 50px;
    mix-blend-mode: lighten;
}

.questions {
    transform: none;
    display: inline-block;
    background: #FEF3EC;
    width: 100%;
    margin: 50px auto;
    padding: 0;
    border: none;
    /* padding: 30px; */
    border-bottom: 3px solid;
    padding-bottom: 5px;
}

.questions li {
    display: inline-block;
    background: #FEF3EC;
    border-top: 3px solid #333;
    padding: 30px 0 30px 30px;
    width: 120%;
    transform: rotate(-2deg);
    cursor: pointer;
    font-size: .8em;
    margin-bottom: 0;
    margin-top: -20px;
    margin-left: -10px;
}

.questions li:nth-child(2) { transform: rotate(-1deg); }
.questions li:nth-child(3) { transform: rotate(2deg); }
.questions li:nth-child(4) { transform: rotate(4deg); }
.questions li:nth-child(5) { transform: rotate(-2deg); }
.questions li:nth-child(6) { transform: rotate(1deg); }
.questions li:nth-child(7) { transform: rotate(-3deg); }
.questions li:nth-child(8) { transform: rotate(2deg); }
.questions li:nth-child(9) { transform: rotate(3deg); } 
.questions li:nth-child(10) { transform: rotate(-4deg); }
.questions li:nth-child(11) { transform: rotate(-2deg); }
.questions li:nth-child(12) { transform: rotate(-1deg); }
.questions li:nth-child(13) { transform: rotate(2deg); }
.questions li:nth-child(14) { transform: rotate(-1deg); }
.questions li:nth-child(15) { transform: rotate(2deg); }
.questions li:nth-child(16) { transform: rotate(-1deg); }
.questions li:nth-child(17) { transform: rotate(2deg); }
.questions li:nth-child(18) { transform: rotate(-1deg); }
.questions li:nth-child(19) { transform: rotate(2deg); }
.questions li:nth-child(20) { transform: rotate(-1deg); }


.questions .question {
    font-size: 2em;
}

.questions .answer {
    height: 0;
    margin: 15px auto 0 auto;
    padding: 0 80px 0 0;
    -webkit-transition: all .5s ease-in-out;
    overflow: hidden;
    font-size: 1.2em;
}

.img.folder {
    width: 100px;
    margin: 50px auto 0 auto;
}

.questions li::after {
    content: '+';
    position: absolute;
    top: 15px;
    font-size: 3em;
    right: 85px;
}

li.active .answer {
    height: auto;
    margin: 15px auto 0 auto;
    padding: 0 80px 15px 0;
    font-size: 1.2em;
}

li.active::after {
    content: '—';
}

.img.heart {
    margin: 50px auto;
}

.window.paint .header {
    background: #F6CC07;
}

.paint .content {
    flex-direction: column;
    display: flex;
    padding: 0 !important;
    margin: 0;
}

.paint .main {
    flex-direction: row;
    display: flex;
}

.paint .sidebar {
    width: 65px;
    height: 200px;
    grid-template-columns: 1fr 1fr;
    display: grid;
    height: 80px;
    box-sizing: border-box;
    padding: 5px;
    gap: 3px;
}

.paint .tool {
    width: 25px;
    height: 25px;
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool img {
    width: 16px;
    filter: grayscale(100%) contrast(1);
}

.paint .canvas {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    background: #CCC;
    height: 200px;
    border-bottom: 1px solid;
    border-left: 1px solid #333;
}


.paint .tools {
    display: grid;
    width: 100%;
    height: 60px;
    gap: 5px;
    width: 115px;
    flex-wrap: 2;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.paint .footer {
    padding: 5px;
}

.paint .color {
    width: 25px;
    height: 25px;
    background: #CCC;
    border: 1px solid;
    cursor: pointer;
    border-top: 2px solid #333;
    border-left: 2px solid #333;
}

.canvas img {
    max-width: 350px;
}

.window.paint {
    width: 90%;
}

.img.star3 {
    width: 80px;
    margin-top: 70px;
}

.window.disabled {
    filter: grayscale(100%);
}

@keyframes progress {
    100% {background-size:120%}
}