/*==============download===============*/
.download-content {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 200px auto;
}

.download-gallery {
    position: relative;
    width: 60%;
    height: 100%;
    margin: 100px auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.download-card {
    width: 100px;
    margin: 80px auto 0;
    background: linear-gradient(to right top, #de00ff, #410091 60%);
    backdrop-filter: blur(5px);
    animation: loadImgCard .5s;
    animation-delay: .75s;
    animation-fill-mode: forwards;
    opacity: 0;
    text-decoration: none;
    border-radius: 3px 3px 10px 10px;
    transition: none;
}

.download-card a {
    width: 85%;
    display: flex;
    justify-content: center;
    margin: -50% auto 5%;
}

.download-card img {
    width: 100%;
    border-radius: 8px 8px 3px 3px;
    margin: auto;
    z-index: 2;
    background-color: #dadada;
    box-shadow: 0 7px 7px rgba(0, 0, 0, .5);
}

.dl-caption {
    width: 100%;
    font-family: KalamehRegular;
    text-align: center;
    font-size: .9rem;
}

.dl-caption h5 {
    color: #fff;
}

.dl-caption h4 {
    color: #fae603;
    line-height: .8;
    padding-bottom: 10%;
}

@media (width <= 600px) {
    .download-title-body {
        margin-top: -10%;
    }

    .download-gallery {
        margin-top: 120px;
    }
}
/*==============download===============*/

/*==============download-file===============*/
.download-post-content {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 150px auto 20px;
    display: flex;
    flex-wrap: wrap;
}

.download-post-title-body,
.download-post-comment-content-title-body {
    position: relative;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    right: 0;
    left: 0;
}

.download-post-title-body {
    margin: auto;
}


.download-post-span,
.download-post-comment-content-span {
    position: absolute;
    width: 20px;
    height: 20px;
    clip-path: circle();
    background: linear-gradient(#EDAD2B, #D95E00);
    right: 5%;
    animation: loadTitleSpan 1s;
    animation-delay: .25s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes loadTitleSpan {
    0% {
        right: -20%;
        opacity: 0;
    }
    100% {
        right: 5%;
        opacity: 1;
    }
}

.download-post-title,
.download-post-comment-content-title {
    position: absolute;
    right: 10%;
    animation: loadTitle 1s;
    animation-delay: .25s;
    animation-fill-mode: forwards;
    opacity: 0;
    display: flex;
    flex-wrap: wrap;
}

@keyframes loadTitle {
    0% {
        right: 60%;
        opacity: 0;
    }
    50% {
        opacity: 0;
    }
    100% {
        right: 10%;
        opacity: 1;
    }
}

.download-post-card {
    width: 90%;
    height: auto;
    margin: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.dl-post-img-preview {
    position: relative;
    width: 250px;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: loadDlImg 1s;
    animation-delay: .5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes loadDlImg {
    0% {
        margin-left: 10%;
        opacity: 0;
    }
    100% {
        margin-left: 0;
        opacity: 1;
    }
}

.download-post-img {
    width: 90%;
    z-index: 9999;
    margin: auto;
    left: 0;
    right: 0;
    border-radius: 15px;
}

.dl-post-img-gallery {
    position: relative;
    width: 100%;
    border-radius: 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: rgba(0, 0, 0, .6);
    padding: 2%;
    z-index: -999;
    margin: 10px auto;
}

.dl-post-img-gallery::after {
    content: "";
    border-radius: 10px;
    padding: 2px;
    inset: 0;
    position: absolute;
    background: linear-gradient(45deg, #D95E00, transparent 50%, #D95E00);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -9999;
}

.dl-post-img {
    width: 40px;
    border-radius: 5px;
    cursor: pointer;
    margin: auto;
    filter: grayscale(100%);
}

.download-post-card-subscribe {
    width: 45%;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    backdrop-filter: blur(5px);
    padding: 2%;
    background-color: rgba(0, 0, 0, .1);
    display: flex;
    flex-direction: column;
    animation: loadDlSubCard  1s;
    animation-delay: .5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes loadDlSubCard {
    0% {
        margin-right: 10%;
        opacity: 0;
    }
    100% {
        margin-right: 0;
        opacity: 1;
    }
}

.download-post-card-subscribe::after {
    content: "";
    border-radius: 10px;
    padding: 2px;
    inset: 0;
    position: absolute;
    background: linear-gradient(45deg, #D95E00, transparent 50%, #D95E00);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.download-post-card-subject {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    width: 90%;
    margin: 3px;
    z-index: 9999;
}

.post-dl-link {
    width: 50%;
    height: 40px;
    margin: 20px auto 0;
    text-align: center;
    vertical-align: middle;
    background-color: #009414;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    text-decoration: none;
    z-index: 9999;
}

.post-dl-link i {
    margin: 5px;
    font-size: 1.2rem;
}

.post-dl-link:active {
    transform: scale(.9);
}

.download-post-gallery {
    position: absolute;
    width: 80%;
    top: 20%;
    right: 0;
    left: 0;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.download-post-comment-card {
    position: relative;
    width: 90%;
    height: auto;
    border-radius: 10px;
    left: 0;
    right: 0;
    margin: 50px auto 200px;
    background-color: rgba(0, 0, 0, .6);
}

.download-post-comment-card::after {
    content: "";
    border-radius: 10px;
    padding: 2px;
    inset: 0;
    position: absolute;
    background: linear-gradient(45deg, #D95E00, transparent 50%, #D95E00);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.download-post-comment-content-title-body {
  height: 100px;
}

.download-post-comment-form {
    position: relative;
    width: 95%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 999;
}

.download-post-comment-details {
    position: relative;
    width: 100%;
    left: 0;
    right: 0;
    margin: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.download-post-comment-details input {
    width: 49.5%;
    height: 40px;
    border-radius: 10px;
    border: none;
    outline: none;
    padding: 2%;
    margin: 0 0 1%;
    font-family: 'KalamehMedium';
}

.download-post-comment-comment {
    width: 100%;
    height: 150px;
    border-radius: 10px;
    border: none;
    outline: none;
    padding: 2%;
    font-family: 'KalamehMedium';
}

.download-post-comment-btn {
    width: 150px;
    height: 50px;
    background-color: #009414;
    color: #fff;
    border-radius: 5px;
    outline: none;
    border: none;
    cursor: pointer;
    margin: 20px 0;
    font-family: 'KalamehMedium';
    font-size: 1rem;
}

.download-post-comment-btn:active {
    transform: scale(.9);
}

.download-post-comment-error {
    width: 100%;
    height: 30px;
    margin: auto;
    background-color: red;
    color: #fff;
    display: none;
    justify-content: center;
    align-items: center;
}

@media (width <= 990px) {

    .download-post-title-body {
        margin-bottom: 10%;
    }

    .download-post-card {
        position: relative;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 25%;
        margin-top: 30%;
    }

    .dl-post-img-preview {
        position: relative;
        margin: 110px auto;
        width: 70%;
        height: 100px;
    }

    .download-post-img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        margin: 10px auto;
        z-index: 9999;
        animation: loadDlImg 1s;
        animation-delay: .5s;
        animation-fill-mode: forwards;
        opacity: 0;
    }

    @keyframes loadDlImg {
        0% {
            margin-top: -10%;
            opacity: 0;
        }
        100% {
            margin-top: 0;
            opacity: 1;
        }
    }

    .download-post-card-subscribe {
        width: 70%;
        left: 0;
        right: 0;
        margin: 250px auto 0;
        height: auto;
        border-radius: 10px;
        overflow: hidden;
        backdrop-filter: blur(5px);
        padding: 2%;
        background-color: rgba(0, 0, 0, .6);
        animation: loadDlSubCard 1s;
        animation-delay: .5s;
        animation-fill-mode: forwards;
        opacity: 0;
    }

    @keyframes loadDlSubCard {
        0% {
            margin-top: -100px;
            opacity: 0;
        }
        100% {
            margin-top: 250px;
            opacity: 1;
        }
    }

    .download-post-card-subject {
        width: 95%;
        margin: auto;
    }

    .download-post-comment-card {
        width: 70%;
    }
}

@media (width <= 600px) {
    .download-post-content {
        position: relative;
        width: 300px;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
    }

    .download-post-title-body {
        margin-bottom: 0;
    }

    .download-post-card {
        position: relative;
        width: 90%;
        padding: 0;
    }

    .dl-post-img-preview {
        position: relative;
        width: 100%;
        height: 400px;
        top: 0;
        left: 0;
        right: 0;
        margin: 0 auto 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .download-post-img {
        position: absolute;
        top: 0;
        width: 60%;
    }

    .dl-post-img-gallery {
        position: absolute;
        bottom: 0;
        width: 70%;
        height: 100px;
        justify-content: center;
        align-items: center;
    }

    .download-post-card-subscribe {
        position: relative;
        width: 80%;
        margin: 150px auto 0;
        animation: none;
        opacity: 1;
        left: 0;
        right: 0;
    }

    .download-post-card-subject {
        width: 90%;
        margin: auto;
    }

    .post-dl-link {
        width: 90%;
        margin-bottom: 5%;
    }

    .download-post-comment-card {
        position: relative;
        width: 60%;
    }

    .download-post-comment-details {
        position: relative;
        width: 100%;
        left: 0;
        right: 0;
        margin: 0 auto 2%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .download-post-comment-details input {
        width: 100%;
        height: 40px;
        border-radius: 10px;
        border: none;
        outline: none;
        padding: 2%;
        margin-top: 2%;
    }

    .download-post-comment-btn {
        width: 100px;
        left: 0;
        right: 0;
        margin: 30px auto;
    }
}
/*==============download-file===============*/