/*
Theme Name: Bijan Child
Theme URI: https://www.rtl-theme.com/bijan-wordpress-theme/
Author: MohammadJafar Khajeh
Author URI: https://www.rtl-theme.com/author/ironatoms2/
Description: Child theme for Bijan
Version: 1.0.0.5
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.3
Text Domain: bijan-child
Template: bijan
*/


.page-template-intro #site-footer {
    display: none;
}

.intro-page {
    display: grid;
    height: 100vh;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}



.intro-page .home-items {
    padding: 0;
    height: 100vh;
    vertical-align: top;
    background: #000;
    color: #FFF;
    position: relative;
    overflow: hidden;
    pointer-events: auto;
}

.cover-img {
    position: absolute;
    width: 100%;
    height: 100vh;
    transition: opacity 3s cubic-bezier(.19, 1, .22, 1), transform 15s cubic-bezier(.19, 1, .22, 1);
    opacity: 0.3;
}

.first-cover-img {
    opacity: 0.6
}

.home-items:hover .cover-img {
    transform: scale(1.15, 1.15);
    opacity: 1;
}

.home-items .cover-txt h3 {
    height: 5rem;
}

.intro-page .home-items .cover-img img {
    height: 100%;
    margin-top: 0 !important;
    width: 100%;
    object-fit: cover;
}

.intro-page .home-items .cover-txt {
    padding: 40px 0 0;
    overflow: hidden;
    white-space: normal;
    display: flex;
    height: calc(100vh - 40px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    font-size: 12px;
    mix-blend-mode: exclusion;
    transition: 1s cubic-bezier(.19, 1, .22, 1) 0s;
}

.intro-page .home-items:hover .cover-txt h3 span {
    top: -120px;
    transition: 1s cubic-bezier(.19, 1, .22, 1) 0s;
}

.intro-page .home-items:hover .ptp-home-text h3 span {
    top: -60px;
}

.intro-page .home-items:hover .airfiber-text h3 span {
    top: -75px;
}

.intro-page .home-items:hover .tdlte-text h3 span {
    top: -80px;
}

.intro-page .home-items:hover .cover-txt {
    mix-blend-mode: lighten;
}

.intro-page .home-items .cover-txt {
    position: relative;
    z-index: 1;
}

.intro-page .home-items .cover-txt h2.x-mouve img {
    width: 120px;
}

.ptp-home-text h3 {
    height: 3rem;
}

.intro-page .home-items .cover-txt a {
    text-decoration: none;
    color: #fff;
}

h3 span {
    position: relative;
    top: 0;
    transition: 1s cubic-bezier(.19, 1, .22, 1) 0.2s;
    mix-blend-mode: difference;
    padding: 5px 10px;

    letter-spacing: initial;
    font-size: 21px;
    color: #fff;
    line-height: 35px;
    font-weight: 300;
}

h3 span:nth-child(2) {
    top: 13px;
}

h3 {
    font-size: 34px;
    letter-spacing: 2px;
    overflow: hidden;
    padding: 10px 14px 10px 14px;
    height: 8rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    font-weight: 400;
}

.home-items:hover h3 span:nth-child(2):before {
    top: 0;
    transition: 1s cubic-bezier(.19, 1, .22, 1) 0.2s;
}

h3 span:nth-child(2):before {
    content: '';
    background: #FFF;
    position: absolute;
    top: 40px;
    left: -10px;
    right: -10px;
    height: 100%;
    transition: 1s cubic-bezier(.19, 1, .22, 1) 0s;
    mix-blend-mode: difference;
}

.home-items .cover-txt p {
    top: 60%;
    padding: 0 80px;
    overflow: hidden;
    height: auto;
    transition: 1s cubic-bezier(.19, 1, .22, 1);
    margin-top: 0;
    max-height: 0;
    font-size: 28px;
    color: #ffffff;
    font-weight: bold;
}

.home-items:hover .cover-txt p {
    max-height: 50px;
}

.home-items:hover .cover-txt p {
    max-height: 100px;
    color: #fff;
}

h1.solgan-text-home strong.tedxtehran {
    font-size: 40px !important;
}

h1 {
    font-weight: 400;
    font-size: 3em;
    text-align: center;
}

.home-items .cover-txt .solgan-text-home {
    padding: 30px 15px;
    transition: 1s cubic-bezier(.19, 1, .22, 1) 0s;
    font-size: 28px;
    line-height: 54px;
    -webkit-transition: all 1s linear;
    -moz-transition: all 1s linear;
    -o-transition: all 1s linear;
    transition: all 0.5s ease-out;
    color: #ffffff;
}

.home-items .cover-txt .solgan-text-home strong {
    font-weight: bold;
    font-size: 70px;
}

.intro-page .home-items:hover h1.solgan-text-home {
    /* background: #ffffffd4; */
    /* color: #000; */
    /* transition: 1s cubic-bezier(.19, 1, .22, 1) 0s; */
}

.spinner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    height: 100vh;
    text-align: center;
    background: #000000;
}

.spinner img {
    margin-top: 50vh;

}

.fp-tableCell {
    vertical-align: inherit !important;
}

a.scroll-down-main {
    position: absolute;
    bottom: 3em;
    right: 5px;
    display: none;
    transition: all 0.5s ease-out;
}

a.scroll-down-main img {
    width: 3rem;
}

#overlay {
    display: none;
    width: 100%;
    position: fixed;
    height: 100vh;
    top: 0;
    background: #000000b3;
    z-index: 9999;
}

#overlay img {
    position: absolute;
    top: 28%;
    z-index: 9999;
    border-radius: 5px;
    right: 28%;
}

@media screen and (max-width: 960px) {
    .intro-page {
        display: inherit;
        height: auto;
    }

    #overlay img {
        width: 300px;
        right: 20%;
    }

    .intro-page .home-items .cover-img img {
        width: inherit;
    }

    .spinner {
        display: none;
    }

    a.scroll-down-main {
        display: block;
    }

    .home-items .cover-txt p {
        font-size: 19px;
    }
}

@media only screen and (max-width: 700px) {
    .home-items .cover-txt p {
        font-size: 19px;
    }

    main {
        direction: rtl;
    }
}

@media (max-width: 1400px) {
    .home-items .cover-txt .solgan-text-home {
        font-size: 16px;
        line-height: 35px;
    }

    .home-items .cover-txt .solgan-text-home strong {
        font-size: 32px !important;
    }

    .home-items .cover-txt p {
        font-size: 19px;
    }

}

.intro-page__social {
    position: fixed;
    color: #FFF;
    z-index: 2;
    bottom: 60px;
    left: 79px;
    font-weight: 700;
    transition: 1s cubic-bezier(.19, 1, .22, 1);
    display: flex;
    align-items: center;

}

.intro-page__social:hover {
    left: 90px;
}

.intro-page__social:before {
    content: '';
    position: absolute;
    background: #0E67AA;
    top: calc(50% - 1px);
    left: -100px;
    width: 100px;
    height: 1px;
}

.intro-page__social a {
    padding: 10px;
}

.intro-page__social__icon {
    height: 18px;
    filter: brightness(0) invert(1) contrast(100%);
    transition: 1s cubic-bezier(.19, 1, .22, 1);
}

.intro-page__social__icon:hover {
    filter: none;
}