@font-face {
    font-family: 'iransansweb';
    src: url('../../fonts/iransansweb.ttf') format('truetype');
}
/*@font-face {
    font-family: 'iransansweb';
    src: url('../../fonts/iransansweb_bold.ttf') format('truetype');
}
@font-face {
    font-family: 'iransansweb';
    src: url('../../fonts/iransansweb_light.ttf') format('truetype');
}
@font-face {
    font-family: 'iransansweb';
    src: url('../../fonts/iransansweb_medium.ttf') format('truetype');
}*/
* {
    margin: 0;
    padding: 0;
}

html,
body {
    font-family: iransansweb;
    height: 100%;
    /* for touch screen */
    touch-action: none;
}

.main_wrap {
    background: #111 !important;
    /*    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background: #111;
    -webkit-perspective: 1000px;
    perspective: 1000px;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;*/
}

img {
    object-fit: cover;
}

#drag-container, #spin-container {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-right: auto;
    margin-left: auto;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: rotateX(-10deg);
    transform: rotateX(-10deg);
    height: 420px;
    top: 60px;
}

    #drag-container img, #drag-container video {
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        line-height: 200px;
        font-size: 50px;
        text-align: center;
        -webkit-box-shadow: 0 0 8px #fff;
        box-shadow: 0 0 8px #fff;
        -webkit-box-reflect: below 10px linear-gradient(transparent, transparent, #0005);
    }

        #drag-container img:hover, #drag-container video:hover {
            -webkit-box-shadow: 0 0 15px #fffd;
            box-shadow: 0 0 15px #fffd;
            -webkit-box-reflect: below 10px linear-gradient(transparent, transparent, #0007);
        }

    #drag-container p {
        font-family: Serif;
        position: absolute;
        top: 100%;
        left: 50%;
        -webkit-transform: translate(-50%,-50%) rotateX(90deg);
        transform: translate(-50%,-50%) rotateX(90deg);
        color: #fff;
    }

#ground {
    width: 900px;
    height: 900px;
    position: absolute;
    top: 100%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%) rotateX(90deg);
    transform: translate(-50%,-50%) rotateX(90deg);
    background: -webkit-radial-gradient(center center, farthest-side, #9993, transparent);
}

#music-container {
    position: absolute;
    top: 10px;
    left: 40%;
    right: 50%;
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotateY(0deg);
        transform: rotateY(0deg);
    }

    to {
        -webkit-transform: rotateY(360deg);
        transform: rotateY(360deg);
    }
}

@keyframes spin {
    from {
        -webkit-transform: rotateY(0deg);
        transform: rotateY(0deg);
    }

    to {
        -webkit-transform: rotateY(360deg);
        transform: rotateY(360deg);
    }
}

@-webkit-keyframes spinRevert {
    from {
        -webkit-transform: rotateY(360deg);
        transform: rotateY(360deg);
    }

    to {
        -webkit-transform: rotateY(0deg);
        transform: rotateY(0deg);
    }
}

@keyframes spinRevert {
    from {
        -webkit-transform: rotateY(360deg);
        transform: rotateY(360deg);
    }

    to {
        -webkit-transform: rotateY(0deg);
        transform: rotateY(0deg);
    }
}

/* typical phone screen resolution */
@media only screen and (max-width : 667px) {
    .modal-img {
        max-width: 95%;
        max-height: unset;
        border: 2px solid white;
        border-radius: 16px;
        object-fit: contain;
    }
}

.image-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

#modal-title {
    max-width: 90%;
    color: white;
    text-align: center;
    margin: auto;
    font-weight: bold;
}

#modal-text {
    max-width: 90%;
    color: white;
    text-align: center;
    margin: auto;
}

.modal-img {
    max-width: 90%;
    max-height: 90vh;
    border: 2px solid white;
    border-radius: 16px;
    object-fit: contain;
    display: block;
    margin-right: auto;
    margin-left: auto;
    margin-top: 70px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}


.title-header {
    text-align: center;
    color: white;
    text-shadow: 0px 5px 7px #9c9c9c78;
    font-weight: bold;
    margin-top: 10px;
}
