@import url(../../font/IRANSans-numf/fontiran.css);
* {
    font-family: 'IRANSans-web';
}
#winsizer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
body {
    background-size: cover;
    background-repeat: no-repeat;
}
.main {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    overflow: hidden;
}
.canvas {
    width: 500px;
    max-width: 96%;
    aspect-ratio: 1.4;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 2;

}

.pocket {
    width: 100%;
    aspect-ratio: 1.4;
    transition: 1000ms;
    position: absolute;
    transform-style:preserve-3d;

}
.pocket.fliped {
    width: 100%;
    transform: perspective(400px) rotateY(180deg);
}

.pocket .front-layer {
    width: 100%;
    display: inline-block;
    aspect-ratio: 1.4;
    z-index: 1;
    transform-style:preserve-3d;
    transform:  scaleX(-1);
}
.pocket .front-layer .img-front-texts {
    font-family: 'IRDastNevis';
    width: auto;
    min-width: 40%;
    height: 110px;
    bottom: 0;
    left: 0;
    position: absolute;
    z-index: 1;
    padding-left:15px;
    transform:  translateZ(-5px);
}
.pocket .front-layer .img-front-texts .txt1 {
    font-family: 'IRDastNevis';
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0em;
    text-align: right;
    color: #5F608C;
    margin-bottom: 10px;
    white-space: nowrap;
}
.pocket .front-layer .img-front-texts .txt2 {
    font-family: 'IRDastNevis';
    font-size: 20px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0em;
    text-align: right;
    color: #4046B1;
    white-space: nowrap;

}
.pocket .front-layer .img-front {
    width: 100%;
    position: absolute;
    z-index: 1;
    transform:  translateZ(-4px);
}
.pocket .front-layer .img-front-back {
    width: 100%;
    position: absolute;
    z-index: 2;
    transform:  translateZ(-3px);
}

.pocket .inner-layer {
    position: absolute;
    width: 60%;
    display: inline-block;
    aspect-ratio: 0.7037;
    z-index: 1;
    transform-style:preserve-3d;
    transform:  rotateZ(-90deg);
    left: 20%;
    top: -5%;
}
.pocket .inner-layer .inner-wrapper {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    transform-style:preserve-3d;
    transition: 600ms;
}
.pocket .inner-layer.showBack .inner-wrapper {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    transform-style:preserve-3d;
    transform: perspective(200px) rotateY(180deg);
}
.pocket .inner-layer .img-inner {
    width: 100%;
    position: absolute;
    z-index: 1;
    transform:  translateZ(0px);
}
.pocket .inner-layer .img-inner-back {
    width: 100%;
    position: absolute;
    z-index: 1;
    transform: translateZ(-1px) scaleX(-1);
}
.pocket .inner-layer .letter-back-texts {
    font-family: 'IRDastNevis';
    width: 100%;
    aspect-ratio: 0.7037;
    position: absolute;
    z-index: 1;
    transform: translateZ(-1px) scaleX(-1);
}
.pocket .inner-layer .letter-back-texts .text-box-inn {
    font-family: 'IRDastNevis';

    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 30px 50px;
    box-sizing: border-box;
}
.pocket .inner-layer .letter-back-texts .text-box-inn p {
    font-family: 'IRDastNevis';
    font-size:13px;
}
.pocket .inner-layer .letter-back-texts .text-box-inn div {
    font-family: 'IRDastNevis';
    text-align: left;
}
@keyframes hideLetter {
    100%   {
        transform:  translateZ(0px) rotateZ(-90deg);
    }
    51%  {
        transform:  translateZ(0px) translateY(-80%) rotateZ(0deg);
    }
    50%  {
        width: 60%;
        left: 20%;
        transform:   translateZ(20px) translateY(-80%) rotateZ(0deg);
    }
    0%  {
        width: 80%;
        left: 10%;
        transform:   translateZ(20px) translateY(-20%) rotateZ(0deg);
    }
}
@keyframes showLetter {
    0%   {
        transform:  translateZ(0px) rotateZ(-90deg);
    }
    50%  {
        transform:  translateZ(0px) translateY(-80%) rotateZ(0deg);
    }
    51%  {
        width: 60%;
        left: 20%;
        transform:   translateZ(100px) translateY(-80%) rotateZ(0deg);
    }
    100%  {
        width: 80%;
        left: 10%;
        transform:   translateZ(100px) translateY(-20%) rotateZ(0deg);
    }
}
.pocket.showing .inner-layer {
    animation: showLetter 2s forwards;
}

.pocket .back-layer {
    width: 100%;
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    transform-style:preserve-3d;
    z-index: 2;
}
.pocket .back-layer .img-back {
    position: absolute;
    width: 100%;
    z-index: 2;
    transform:  translateZ(1px);
}

.pocket .door-layer {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: top center;
    transition: 600ms;
    transform: rotateX(1deg);
    transform-style:preserve-3d;

}
.pocket .door-layer .img-door {
    position: absolute;
    width: 100%;
    z-index: 2;
    transform:  translateZ(2px);
}
.pocket .door-layer .img-door-back {
    position: absolute;
    width: 100%;
    z-index: 3;
    transform:  translateZ(1px);

}
.pocket.opened  .door-layer {
    transform: perspective(400px) rotateX(180deg);
}


/*///////////////////////////////////////////*/
/*///////////////////////////////////////////*/
/*///////////////////////////////////////////*/
:root{
    --background-color: #181F2A;
    --violet: rgba(78, 58, 183, 0.55);
}



*{
    box-sizing: border-box;
}

#visualizer{
    height: 30%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.track{
    width: 3%;
    height: 25%;
    background: var(--violet);
    transition: .01s;
}

.track:nth-child(2n){
    height: 15%;
}

.track:nth-child(3n){
    height: 20%;
}

.track:nth-child(7n){
    height: 35%;
}

#toggle-play{
    border: none;
    background-color: transparent;
    fill: var(--violet);
    min-height: 25px;
    min-width: 25px;
    width: 2%;
    height: 2%;
    position: absolute;
    top: 85vh;
    left: 49vw;
}

#toggle-play:hover{
    cursor: pointer;
}

.pasdasd {
    z-index: 100;
    width: 150px;
    height: 150px;
    bottom: 18px;
    left: 0;
    right: 0;
    margin: auto;
    display: inline-block;
    outline: 0;
    text-align: center;
    cursor: pointer;
    border: 0;
    color: #fff;
    font-size: 17.5px;
    background: #00d301;
    background: -webkit-linear-gradient(-196deg,#00d301,#36c275 50%,#00a562);
    background: -webkit-linear-gradient(164deg,#00d301,#36c275 50%,#00a562);
    background: linear-gradient(286deg,#00d301,#36c275 50%,#00a562);
    line-height: 30px;
    font-weight: 800;
    transition: background,color .1s ease-in-out;
     border-radius: 100%;
    position: absolute;
    -webkit-box-shadow: 0px 0px 44px -1px rgba(255,255,255,1);
    -moz-box-shadow: 0px 0px 44px -1px rgba(255,255,255,1);
    box-shadow: 0px 0px 44px -1px rgba(255,255,255,1);
}
.pasdasd img {
    width: 50px;
}
.nav-bottom {
    padding: 0 15px;
    background: #FFF;
    -webkit-box-shadow: 0px -5px 44px -15px rgba(0,0,0,0.47);
    -moz-box-shadow: 0px -5px 44px -15px rgba(0,0,0,0.47);
    box-shadow: 0px -5px 44px -15px rgba(0,0,0,0.47);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 30;
    position: fixed;
    height: 70px;
    transition: 400ms;
    transform: translateY(0px);

}
.nav-bottom.hide {
    transform: translateY(500px);
}
.nav-bottom .logo-text {
    width: 140px;
    float: right;
    height: 70px;
    padding-top: 7px;
}
.nav-bottom .logo-text .logo {
    float: right;
    width: 50px;
}
.nav-bottom .logo-text .logo-type {
    float: right;
    height:40px;
    margin-right: 10px;
    margin-top: 5px;
}


.nav-bottom .send-btn {

    font-family: 'IRANSans';
    text-decoration: none;
    display: inline-block;
    outline: 0;
    border: 0;
    cursor: pointer;
    will-change: box-shadow,transform;
    background: radial-gradient( 100% 100% at 100% 0%, #89E5FF 0%, #5468FF 100% );
    box-shadow: 0px 2px 4px rgb(45 35 66 / 40%), 0px 7px 13px -3px rgb(45 35 66 / 30%), inset 0px -3px 0px rgb(58 65 111 / 50%);
    padding: 0 32px;
    border-radius: 32px;
    color: #fff;
    height: 44px;
    font-size: 18px;
    text-shadow: 0 1px 0 rgb(0 0 0 / 40%);
    transition: box-shadow 0.15s ease,transform 0.15s ease;
    float: left;
    margin-top: 9px;
    padding-top: 9px;

}
.nav-bottom .send-btn:hover {
    box-shadow: 0px 4px 8px rgb(45 35 66 / 40%), 0px 7px 13px -3px rgb(45 35 66 / 30%), inset 0px -3px 0px #3c4fe0;
    transform: translateY(-2px);
}
.nav-bottom .send-btn:active{
    box-shadow: inset 0px 3px 7px #3c4fe0;
    transform: translateY(2px);
}
.sc32c2c233c {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 10px;

}

                                                       /* CSS */
.button-62 {
    background: linear-gradient(to bottom right, #EF4765, #FF9A5A);
    border: 0;
    border-radius: 12px;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-family: 'IRANSans';
    font-size: 12px;
    font-weight: 500;
    line-height: 2.5;
    outline: transparent;
    padding: 0 0.5rem;
    text-align: center;
    text-decoration: none;
    transition: box-shadow .2s ease-in-out;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
}

.button-62:not([disabled]):focus {
    box-shadow: 0 0 .25rem rgba(0, 0, 0, 0.5), -.125rem -.125rem 1rem rgba(239, 71, 101, 0.5), .125rem .125rem 1rem rgba(255, 154, 90, 0.5);
}

.button-62:not([disabled]):hover {
    box-shadow: 0 0 .25rem rgba(0, 0, 0, 0.5), -.125rem -.125rem 1rem rgba(239, 71, 101, 0.5), .125rem .125rem 1rem rgba(255, 154, 90, 0.5);
}