* {
    font-family: helvetica;
    padding: 0;
    margin: 0;
}
body {
    background-color: #222;
}
h1,
h2,
p {
    cursor: default;
    color: #383838;
}
header.heading {
    padding: 25px;
    /* background-color: #0bc; */
    opacity: 0;

   background-image: linear-gradient(to right, #0bc 0, rgb(23, 174, 164) 100%);
    position: fixed;
    width: 100%;
    transition: all .2s ease;
    z-index: 100;
}
header.heading-scroll, header.heading-scroll.heading-scroll-deep{
    /* background-color: #ccc; */
    background-image: linear-gradient(to left, #ccc, #aaa);
    position: fixed;
    width: 100%;
    opacity: 0.7;
    box-shadow: 5px 1.4px 17.5px black;
}
header.heading-scroll-deep {
    opacity: 0;
    /* background-color: #ccc; */
    background-image: linear-gradient(to left, #ccc, #aaa);
}
a.title-link {
    text-decoration: none;
    cursor: pointer;
    color: "#0000";
}

h1.title {
    cursor: pointer;
    color: #383838;
    transition: all 0.5s ease;
    display: inline;
}
h1.title > span.highlited {
    transition: all 0.5s ease;
}
h1.title > span.normal {
    transition: all 0.5s ease;
}
h1.title:hover > span.normal {
    opacity: 0;
}
h1.title:hover > span.highlited {
    color: #fc0;
}
header.heading-scroll h1.title:hover > span.highlited {
    color: #000;
}
div.body {
    padding-bottom: 100px;
}
.author-picture {
    /* overflow: hidden; */
    position: relative;
}
div.works-container {
    padding-top: 100px;
    padding-left: 100px;
}
article.description {
    float: left;
    width: 80vw;
    /* background-color: #f8f8f8; */
    background-image: linear-gradient(to right, #f8f8f8 40%, #2222 100%);
    border-radius: 5px;
    padding-bottom: 1px;
    margin: 5vh;
}
.cl {
    display: block;
    clear: both;
}
article.description h2 {
    margin-bottom: 10px;
}
article.description p {
    line-height: 30px;
}
footer {
    position: fixed;
    z-index: 100;
    bottom: 0;
    right: 0;
    left: 0;
    /* background-color: #383838; */
    background-color: #222;
    color: #ccc;
}
span.contact a, span.jump-to-bio a {
    text-decoration: none;
    color: #f8f8f8;
    font-weight: bold;
    display: block;
    padding: 20px;
    transition: all 0.2s ease;
}
span.jump-to-bio.hidden {
    display: none;
}
span.jump-to-bio {
    background-color: #eee;
}
span.jump-to-bio a {
    color: #383838;
}
span.copy {
    padding: 20px;
    cursor: default;
}
span.copy.mobile {
    display: none;
}
span.contact {
    transition: all 0.2s ease;
}
span.contact:hover {
    background-color: #eee;
}
span.contact:hover a {
    color: #383838;
}
footer span.contact,
footer span.copy,
footer span.jump-to-bio  {
    float: left;
    display: block;
}
article.description section {
    float: left;
    margin-bottom: -5px;
}

.bio-background {

    position: absolute;
    z-index: 2;
    /* top: 221px; */
    bottom: 0;
    display: flex;
    /* justify-content: flex-end; */
    width: 100%;
    /* right: 279px; */
}

.glasses {
    width: 111%;
    height: 800px;
    position: absolute;
    top: 0;
}

.glasses .row {
    display: flex;
    flex-direction: row;
    width: 111%;
    height: 200px;
    transition: all .6s ease;
    z-index: 0;
}

.glasses .row .window {
    width: 25px;
    height: 25px;
    background-color: #fff;
    transition: all .6s ease;
}

.glasses .row.d-0 {
    background-color: #fff;
}
.glasses .row.d-25 {
    background-color: #aaa;
}
.glasses .row.d-75 {
    background-color: #444;
}
.glasses .row.d-100 {

    background-color: #222;
}

.glasses .row:hover {
    background-color: #030303;
    opacity: 0;
}

.author-bio {
    background-color: white;
    padding: 30px;
    /* border-radius: 17px; */
    /* border-top-right-radius: 0;
    border-bottom-right-radius: 0; */
    opacity: 0.7;
    height: 360px;
    /* box-shadow: 0px 2px 10px #0009; */
    line-height: 1.6;
    transition: all .7s ease;
    width: 100%;
    /* margin: 500px auto 0 auto; */
}

.author-bio:hover {
    /* background-color: rgb(0, 150, 207); */
    background-color: #222;
    opacity: 1;
}

.author-bio:hover h2,
.author-bio:hover .bio-paragraph {
    color: white;
}

.author-bio h2.persian {
    margin-top: 30px;
    font-size: 17px;
}

.author-bio .persian {
    text-align: right;
    font-family: IRANYekan, 'Apple Symbols', Tahoma, sans-serif;
    direction: rtl;
    line-height: 1.4;
}

.bio-paragraph {
    font-size: 13px;
    color: #383838;
}

.bio-container {
    /* background-color: #fff; */
    padding: 0;
}
.author-picture img {
    /* transform: scaleX(-1);
    object-position: 70px 85px; */
    /* width: 111%;
    height: 800px; */
    /* object-fit: fit; */
    /* filter: blur(6px); */
    width: 100%;
    /* padding-top: 80px; */
    display: block;
}
section.picture img {
    height: 300px;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
}
section.bio {
    padding: 15px;
}
a.article-container {
    color: inherit;
    cursor: pointer;
}
a.article-container p.article-paragraph,
a.article-container h2.article-title {
    cursor: pointer;
}

a.article-container h2.article-title .date {
    font-size: 12px;
    font-style: italic;
    font-weight: lighter;
    color: #aaa;
}

p.article-paragraph {
    font-size: 2vmin;
}
@media only screen and (max-device-width: 1025px)
{
    .bio-background {
        top: 500px;
    }
    /* .works-container {
        padding-left: 0;
    } */
}
@media only screen and (max-device-width: 820px)
 {
    .bio-background {
        position: unset;
        top: 500px;
        bottom: unset;
    }
    div.works-container {
        padding-left: 0;
        /* padding-top: 200px; */
        padding-top: 0;
    }
    p.article-paragraph {
        font-size: 14px;
    }
    h1.title {
        display: block;
        text-align: center;
    }
    header.heading {
        padding: 25px 0;
    }
    header.heading-scroll, header.heading-scroll.heading-scroll-deep{
        background-image: none;
        background-color: #222;
    }
    h1.title {
        color: #f8f8f8;
    }

    div.body {
        padding-left: 0;
        padding-top: 0;
        padding-bottom: 0;
    }

   
    .author-picture img {
        
        /* padding-top: 80px; */
    }

    .author-bio {

        /* border-top-right-radius: 17px;
        border-bottom-right-radius: 17px; */
        padding: 15px;
    }

    section.bio p {
        text-align: justify;
    }
    section.author-bio {

        /* width: 77%; */
        height: auto;
        /* background-color: #222;
        opacity: 1; */
    }
    section.picture img {
        height: auto;
        /* width: 14vw; */
        width: 100vw;
        border-radius: 0;
    }
    footer {
        position: static;
    }
    footer span.copy,
    footer span.contact {
        float: none;
        display: block;
        text-align: center;
    }
    footer span.jump-to-bio {
        display: none;
    }
    span.copy.desktop {
        display: none;
    }
    span.copy.mobile {
        display: block;
    }
    article.description {
        width: 100%;
        margin: 0;
        background-image: none;
        /* background-color: #f8f8f8; */
        background-color: #222;
        /* margin-top: 1px; */
        border-radius: 0;
    }
    article.description h2 {
        margin-bottom: 10px;
        color: #f8f8f8;
    }
    article.description p {
        line-height: 30px;
        color: #f8f8f8;
    }
}
@media only screen and (max-device-width: 432px)
{
    h1.title {
        text-align: center;
    }
    header.heading {
        padding: 25px 0;
    }
    div.works-container {
        /* padding-top: 681px; */
    }

    .author-bio {
        height: unset;
    }

    section.picture img {
        width: 100vw;
    }

    .author-picture img {
        /* margin-top: 80px; */
    }

    .bio-background {
        top: 380px;
    }
    
}
