﻿@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&family=Permanent+Marker&display=swap');

* {
    border:0;
    margin:0;
}

body {
   /* background: az;
    font-family: Arial, Helvetica, sans-serif;*/
}

nav {
    padding-right:15px;
}

h1 {
    font-size:40px;
}

a {
    text-decoration:none;
    color:inherit;
    cursor: pointer;
}

#wrapper {
    display:flex;
    justify-content: space-between;
}

#sidebar {
    position:fixed;
    left:0;
    background: white;
    border-right: 2px solid rgba(155,155,155,0.5);
    height: 100vh;
    padding:0 0 0 25px;
    width: 12%;
    min-width:200px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

#logo {
    padding: 25px 0 0 0;
    font-family: "Dancing Script", Arial, Helvetica, sans-serif;
}

.nav-divs {
    padding:15px 0;
    display:flex;
    align-items: center;
}

.nav-divs:hover {
    background: rgba(155,155,155,0.1);
    border-radius: 50px;
}

.nav-icon {
    height:100%;
    display:flex;
    align-items: center;
}

.nav-tag {
    height:100%;
    display:flex;
    padding-left: 15px;
    align-items: center;
}

#burger-menu {
    min-height:75px;
    display:flex;
    align-items: center;
}

.profile-img {
    width:25px;
    height:25px;
    border-radius: 75px;
}

#main {
    width: 100%;
    display:flex;
    background: rgba(240,240,240);
}

#photo-feed {
    height:100%;
    width: 100%;
    position:relative;
    /*left:250px;*/
}

.post {
    z-index:2;
    position:relative;
    width:500px;
    background: white;
    margin: 15px auto;
    display: flex;
    flex-direction: column;
}

@media(max-width: 550px) {
    .post {
        width: 450px;
        width: 100%;
    }
}

@media(max-width: 500px) {
    .post {
        width: 400px;
        width: 100%
    }
}

@media(max-width: 450px) {
    .post {
        width: 350px;
        width: 100%
    }
}

@media(max-width: 400px) {
    .post {
        width: 300px;
        width: 100%
    }
}




.post-header {
    height:20%;
    display: flex;
}

.user-id {
    width:92%;
    display:flex;
}
.user-profile-pic {
    width:50px;
    height:50px;
    margin:5px;
    border-radius: 50px;
}

.user-profile-name {
    display:flex;
    flex-direction: column;
    justify-content: center;
    margin-left:15px;
}

.three-dots {
    margin-right: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: flex-end;
    font-weight: bold;
}

.post-image {
    width:100%;
    height:100%;
    object-fit: cover;
}

.post-icons {
    margin-top:5px;
    height:20%;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.post-icons-123 {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-icons-4 {
    width:20%;
    height:100%;
    display: flex;
    justify-content: end;
}

.post-icon {
    height:100%;
    width:30%;
    background: green;
    display: flex;
    justify-content: center;
    align-items: center;
}
.likes {
    /* margin:15px 0 0 15px;*/
    display: flex;
    align-items: center;
}

.likes-pic-1 {
    width:15px;
    height:15px;
    border-radius:10px;
    border: 2px white solid;
}

.likes-pic-2, .likes-pic-3 {
    width:15px;
    height:15px;
    border: 2px white solid;
    border-radius:10px;
    margin-left: -10px;
}

.liker {
    font-weight:bold;
}

.description, .comment {
    margin: 5px 15px;
    display: flex;
    align-items: center;

}

.post .comment {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
}

.commentLikeCount {
    margin: 5px 15px;
}

.commentModal .comment {
    overflow: auto;
    display: -webkit-box;
    -webkit-line-clamp: none;
    line-clamp: none;
    -webkit-box-orient: vertical;
    display:flex;
}

.hashtag {
    color:blue;
    font-weight:bold;
}

.user-name, .commenter {
    font-weight:bold;
} 

.comment-number {
    color:gray;
    margin:5px 15px;
}

.time {
    font-size: 12px;
    color:grey;
    margin:15px 15px;

}

#comment-form {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width:100%;
    padding-bottom: 15px;
}

input[type="text"] {
    padding:10px 0px 10px 210px;
    margin: 0 !important;
}

input[type="submit"] {
    padding:10px;
    background: transparent;
    color:grey;
}

input[type="submit"]:hover {
    color:lightgray;
    cursor: pointer;
}

#stories {
    position:fixed;
    right:0;
    height:100vh;
    overflow-y:auto;
    width: 23%;
    display:flex;
    flex-direction: column;
    overscroll-behavior: contain;
}

#stories h3 {
    margin-bottom: 15px;
    padding: 25px 0 0 15px;
}

.story {
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.story-user-pic {
    width:75px;
    height:75px;
    object-fit: cover;
    border-radius: 75px;
    border: 3px solid purple;
    -moz-border-radius:50%;
    -webkit-border-radius:50%;
    padding:2px;
    
}

#user-info {
    margin-left:15px;
}

#user-info h4 {
    margin-bottom: 5px;;
}

#user-info h5 {
    color: grey;
}

.material-icons {
    width:30px;
}
.material-icons.like
{
    cursor:pointer;
}

.material-icons.redHeart {
    color: red;
}
label.commentlable {
    display: flex;
    width: 100%;
    padding: 0 15px;
}

.modalBody #allcomment {
    height: 100vh;
    overflow: scroll;
    padding-bottom:250px;
}
.commentModal .comment-box {
    background-color: #fff;
    border: 1px solid #ddd;
}

.commentModal {
    background-color: #fcfcfc;
    position: fixed;
    width: 100%;
    right: 0;
    /*top: 15vh;*/
    height: 100vh;
    z-index: 100;
    border-radius: 15px;
    overflow: hidden;
}

    .commentModal.openModal {
        animation-name: modalTop;
        animation-duration: 0.7s;
        top: 10vh;
    }
    .commentModal.closeModal {
        animation-name: modalDown;
        animation-duration: 0.7s;
        top: 100vh;
    }

@keyframes modalTop {

    from {
        top: 100vh;
    }

    to {
        top: 10vh;
    }
}

@keyframes modalDown {

    from {
        top: 10vh;
    }

    to {
        top: 100vh;
    }
}


    .commentModal .commentList .modalHeader {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        flex-direction: column;
        border-bottom: 1px solid #1111114d;
    }
        .commentModal .commentList .modalHeader .material-icons {
            font-size: 40px;
            cursor:pointer;
        }
.commentIcon {
    cursor: pointer;
}
#photo-feed .post-icons .material-icons {
    margin: 0 10px;
    display: flex;
    justify-content: flex-start;
}

.commentModal .commentList .commentBody {
    padding: 5px;
    display: flex;
}
            .commentModal .commentList  .commentBody > span {
                width: 40px;
                height: 40px;
                background-color: #aaa;
                border-radius: 20px;
                display: flex;
                align-items: center;
                justify-content: center;
                align-content: stretch;
                flex-wrap: wrap;
                flex-direction: column;
                color:#fff;
            }
            .commentModal .commentList .commentBody .commenter {
                margin-left:5px;
            }

.commentModal.openModal .commentList .comment-box {
    bottom: 0;
    position: fixed;
    width: 100%;
}


.indexSlider .responsiveImgHr {
    height: 310px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
  
    .indexSlider .responsiveImgHr img {
        height: 450px;
        width: 100% !important;
    }

    .indexSlider .responsiveImgHr video::-webkit-media-controls-timeline {
        display: none;
    }
    .indexSlider .responsiveImgHr video {
        height: 460px;
    }


@media(max-width: 575px) {
    .indexSlider .responsiveImgHr img {
        height: auto !important;
        width: 100% !important;
    }
}
@media(max-width: 550px) {
     .indexSlider .responsiveImgHr {
        height: 330px;
    }
}

@media(max-width: 525px) {
    .indexSlider .responsiveImgHr {
        height: 315px;
    }
}
@media(max-width: 500px) {
    .indexSlider .responsiveImgHr {
        height: 300px;
    }
}
@media(max-width: 475px) {
    .indexSlider .responsiveImgHr {
        height: 290px;
    }
}

@media(max-width: 450px) {
    .indexSlider .responsiveImgHr {
        height: 280px;
    }
}
@media(max-width: 425px) {
    .indexSlider .responsiveImgHr {
        height: 255px;
    }
}

@media(max-width: 400px) {
    .indexSlider .responsiveImgHr {
        height: 240px;
    }
}
@media(max-width: 375px) {
    .indexSlider .responsiveImgHr {
        height: 220px;
    }
}
@media(max-width: 350px) {
    .indexSlider .responsiveImgHr {
        height: 205px;
    }
}
@media(max-width: 300px) {
    .indexSlider .responsiveImgHr {
        height: 180px;
    }
}

.titleHeaderPage {
    font-size: 20px ;
    background-color: #ffffff;
    margin: 0;
    padding: 45px 20px 10px 0;
}


/*.sliderType2 .swiper-slide:first-child {
    margin-inline-start: 0%;
}
.sliderType2 .swiper-slide {
    width: 100%;
    margin-inline-start:0px;
}*/
.emptyGallery {
    height: 91vh;
    display: flex;
    align-items: center;
}
    .emptyGallery .post {
        background-color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 23px;
        border-radius: 7px;
        height:200px
    }


@media(max-width: 600px){
    .emptyGallery .post {
        font-size: 14px;
    }
}

.btnComment {
    width: 55px;
    border-radius: 7px 0 0 7px;
    cursor: pointer;
    border-bottom: 1px solid #111;
}
.commentlable:focus-within .btnComment {
    border-bottom: 2px solid #26a69a;
    margin-bottom: -1px;
}

.playIcon {
    width: 150px !important;
    height: 150px !important;
}
.iconPalyEl {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.swiper-slide video::-webkit-media-controls {
    display: none;
}

.iconPalyEl.PlayVideo {
    animation-name: FadePlayIcon;
    animation-duration: 0.9s;
    opacity: 0%;
}
.iconPalyEl.pauseVideo
{

}

@keyframes FadePlayIcon {
    from {
        opacity: 100%;
    }

    to {
        opacity: 0%;
    }
}



/****************************** شهاب سنگ در بک گراند*/

body {
   /* background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);*/
  /*  height: 100vh;
    overflow: hidden;
    font-family: 'Anton', sans-serif;
    justify-content: center;
    align-items: center;*/
}

.night {
    position: fixed;
    width: 100%;
    height: 100%;
    -webkit-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
    -webkit-animation: sky 200000ms linear infinite;
    animation: sky 200000ms linear infinite;
}

.shooting_star {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 2px;
    background: linear-gradient(-45deg, #5f91ff2e, rgba(0, 0, 255, 0));
    /*background: linear-gradient(-45deg, #5f91ff, rgba(0, 0, 255, 0));*/
    border-radius: 999px;
    -webkit-filter: drop-shadow(0 0 6px #699bff);
    filter: drop-shadow(0 0 6px #699bff);
    -webkit-animation: tail 3000ms ease-in-out infinite, shooting 3000ms ease-in-out infinite;
    animation: tail 3000ms ease-in-out infinite, shooting 3000ms ease-in-out infinite;
}

    .shooting_star::before, .shooting_star::after {
        content: '';
        position: absolute;
        top: calc(50% - 1px);
        right: 0;
        height: 2px;
        background: linear-gradient(-45deg, rgba(0, 0, 255, 0), #5f91ff0f, rgba(0, 0, 255, 0));
        -webkit-transform: translateX(50%) rotateZ(45deg);
        transform: translateX(50%) rotateZ(45deg);
        border-radius: 100%;
        -webkit-animation: shining 3000ms ease-in-out infinite;
        animation: shining 3000ms ease-in-out infinite;
    }

    .shooting_star::after {
        -webkit-transform: translateX(50%) rotateZ(-45deg);
        transform: translateX(50%) rotateZ(-45deg);
    }

    .shooting_star:nth-child(1) {
        top: calc(95% - 185px);
        left: calc(30% - 150px);
        -webkit-animation-delay: 8971ms;
        animation-delay: 8971ms;
    }

        .shooting_star:nth-child(1)::before, .shooting_star:nth-child(1)::after, .shooting_star:nth-child(1)::after {
            -webkit-animation-delay: 8971ms;
            animation-delay: 8971ms;
        }

    .shooting_star:nth-child(2) {
        top: calc(25% - 50px);
        left: calc(30% - 179px);
        -webkit-animation-delay: 9256ms;
        animation-delay: 9256ms;
    }

        .shooting_star:nth-child(2)::before, .shooting_star:nth-child(2)::after, .shooting_star:nth-child(2)::after {
            -webkit-animation-delay: 9256ms;
            animation-delay: 9256ms;
        }

    .shooting_star:nth-child(3) {
        top: calc(85% - -146px);
        left: calc(15% - 135px);
        -webkit-animation-delay: 8700ms;
        animation-delay: 8700ms;
    }

        .shooting_star:nth-child(3)::before, .shooting_star:nth-child(3)::after, .shooting_star:nth-child(3)::after {
            -webkit-animation-delay: 8700ms;
            animation-delay: 8700ms;
        }

    .shooting_star:nth-child(4) {
        top: calc(50% - -77px);
        left: calc(15% - 157px);
        -webkit-animation-delay: 3147ms;
        animation-delay: 3147ms;
    }

        .shooting_star:nth-child(4)::before, .shooting_star:nth-child(4)::after, .shooting_star:nth-child(4)::after {
            -webkit-animation-delay: 3147ms;
            animation-delay: 3147ms;
        }

    .shooting_star:nth-child(5) {
        top: calc(20% - -183px);
        left: calc(15% - 8px);
        -webkit-animation-delay: 6588ms;
        animation-delay: 6588ms;
    }

        .shooting_star:nth-child(5)::before, .shooting_star:nth-child(5)::after, .shooting_star:nth-child(5)::after {
            -webkit-animation-delay: 6588ms;
            animation-delay: 6588ms;
        }

    .shooting_star:nth-child(6) {
        top: calc(25% - -29px);
        left: calc(20% - 195px);
        -webkit-animation-delay: 8009ms;
        animation-delay: 8009ms;
    }

        .shooting_star:nth-child(6)::before, .shooting_star:nth-child(6)::after, .shooting_star:nth-child(6)::after {
            -webkit-animation-delay: 8009ms;
            animation-delay: 8009ms;
        }

    .shooting_star:nth-child(7) {
        top: calc(30% - 95px);
        left: calc(65% - 69px);
        -webkit-animation-delay: 5420ms;
        animation-delay: 5420ms;
    }

        .shooting_star:nth-child(7)::before, .shooting_star:nth-child(7)::after, .shooting_star:nth-child(7)::after {
            -webkit-animation-delay: 5420ms;
            animation-delay: 5420ms;
        }

    .shooting_star:nth-child(8) {
        top: calc(1% - -59px);
        left: calc(60% - 70px);
        -webkit-animation-delay: 9378ms;
        animation-delay: 9378ms;
    }

        .shooting_star:nth-child(8)::before, .shooting_star:nth-child(8)::after, .shooting_star:nth-child(8)::after {
            -webkit-animation-delay: 9378ms;
            animation-delay: 9378ms;
        }

    .shooting_star:nth-child(9) {
        top: calc(45% - 76px);
        left: calc(45% - 238px);
        -webkit-animation-delay: 2845ms;
        animation-delay: 2845ms;
    }

        .shooting_star:nth-child(9)::before, .shooting_star:nth-child(9)::after, .shooting_star:nth-child(9)::after {
            -webkit-animation-delay: 2845ms;
            animation-delay: 2845ms;
        }

    .shooting_star:nth-child(10) {
        top: calc(50% - 83px);
        left: calc(50% - 6px);
        -webkit-animation-delay: 5205ms;
        animation-delay: 5205ms;
    }

        .shooting_star:nth-child(10)::before, .shooting_star:nth-child(10)::after, .shooting_star:nth-child(10)::after {
            -webkit-animation-delay: 5205ms;
            animation-delay: 5205ms;
        }

    .shooting_star:nth-child(11) {
        top: calc(50% - -137px);
        left: calc(50% - 267px);
        -webkit-animation-delay: 808ms;
        animation-delay: 808ms;
    }

        .shooting_star:nth-child(11)::before, .shooting_star:nth-child(11)::after, .shooting_star:nth-child(11)::after {
            -webkit-animation-delay: 808ms;
            animation-delay: 808ms;
        }

    .shooting_star:nth-child(12) {
        top: calc(60% - 12px);
        left: calc(55% - 8px);
        -webkit-animation-delay: 2406ms;
        animation-delay: 2406ms;
    }

        .shooting_star:nth-child(12)::before, .shooting_star:nth-child(12)::after, .shooting_star:nth-child(12)::after {
            -webkit-animation-delay: 2406ms;
            animation-delay: 2406ms;
        }

    .shooting_star:nth-child(13) {
        top: calc(65% - 148px);
        left: calc(65% - 47px);
        -webkit-animation-delay: 7566ms;
        animation-delay: 7566ms;
    }

        .shooting_star:nth-child(13)::before, .shooting_star:nth-child(13)::after, .shooting_star:nth-child(13)::after {
            -webkit-animation-delay: 7566ms;
            animation-delay: 7566ms;
        }

    .shooting_star:nth-child(14) {
        top: calc(70% - -28px);
        left: calc(65% - 75px);
        -webkit-animation-delay: 7634ms;
        animation-delay: 7634ms;
    }

        .shooting_star:nth-child(14)::before, .shooting_star:nth-child(14)::after, .shooting_star:nth-child(14)::after {
            -webkit-animation-delay: 7634ms;
            animation-delay: 7634ms;
        }

    .shooting_star:nth-child(15) {
        top: calc(70% - -37px);
        left: calc(75% - 203px);
        -webkit-animation-delay: 7743ms;
        animation-delay: 7743ms;
    }

        .shooting_star:nth-child(15)::before, .shooting_star:nth-child(15)::after, .shooting_star:nth-child(15)::after {
            -webkit-animation-delay: 7743ms;
            animation-delay: 7743ms;
        }

    .shooting_star:nth-child(16) {
        top: calc(75% - 41px);
        left: calc(80% - 256px);
        -webkit-animation-delay: 2888ms;
        animation-delay: 2888ms;
    }

        .shooting_star:nth-child(16)::before, .shooting_star:nth-child(16)::after, .shooting_star:nth-child(16)::after {
            -webkit-animation-delay: 2888ms;
            animation-delay: 2888ms;
        }

    .shooting_star:nth-child(17) {
        top: calc(80% - -35px);
        left: calc(80% - 121px);
        -webkit-animation-delay: 5864ms;
        animation-delay: 5864ms;
    }

        .shooting_star:nth-child(17)::before, .shooting_star:nth-child(17)::after, .shooting_star:nth-child(17)::after {
            -webkit-animation-delay: 5864ms;
            animation-delay: 5864ms;
        }

    .shooting_star:nth-child(18) {
        top: calc(85% - 73px);
        left: calc(85% - 225px);
        -webkit-animation-delay: 7883ms;
        animation-delay: 7883ms;
    }

        .shooting_star:nth-child(18)::before, .shooting_star:nth-child(18)::after, .shooting_star:nth-child(18)::after {
            -webkit-animation-delay: 7883ms;
            animation-delay: 7883ms;
        }

    .shooting_star:nth-child(19) {
        top: calc(85% - -69px);
        left: calc(90% - 47px);
        -webkit-animation-delay: 3339ms;
        animation-delay: 3339ms;
    }

        .shooting_star:nth-child(19)::before, .shooting_star:nth-child(19)::after, .shooting_star:nth-child(19)::after {
            -webkit-animation-delay: 3339ms;
            animation-delay: 3339ms;
        }

    .shooting_star:nth-child(20) {
        top: calc(40% - 162px);
        left: calc(90% - 129px);
        -webkit-animation-delay: 7963ms;
        animation-delay: 7963ms;
    }

        .shooting_star:nth-child(20)::before, .shooting_star:nth-child(20)::after, .shooting_star:nth-child(20)::after {
            -webkit-animation-delay: 7963ms;
            animation-delay: 7963ms;
        }

@-webkit-keyframes tail {
    0% {
        width: 0;
    }

    30% {
        width: 100px;
    }

    100% {
        width: 0;
    }
}

@keyframes tail {
    0% {
        width: 0;
    }

    30% {
        width: 100px;
    }

    100% {
        width: 0;
    }
}

@-webkit-keyframes shining {
    0% {
        width: 0;
    }

    50% {
        width: 30px;
    }

    100% {
        width: 0;
    }
}

@keyframes shining {
    0% {
        width: 0;
    }

    50% {
        width: 30px;
    }

    100% {
        width: 0;
    }
}

@-webkit-keyframes shooting {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(300px);
        transform: translateX(300px);
    }
}

@keyframes shooting {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(300px);
        transform: translateX(300px);
    }
}

@-webkit-keyframes sky {
    0% {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    100% {
        -webkit-transform: rotate(405deg);
        transform: rotate(405deg);
    }
}

@keyframes sky {
    0% {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    100% {
        -webkit-transform: rotate(405deg);
        transform: rotate(405deg);
    }
}
