img, legend {
    border: 0
}

legend, td, th {
    padding: 0
}
*, sub, sup {
    position: relative
}
html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    font-weight: 200;
    color: #7f8c8d;
    letter-spacing: -.04em
}
body {
    margin: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    min-height: 100vh
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block
}

audio, canvas, progress, video {
    display: inline-block;
    vertical-align: baseline
}

@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir.eot');
    src: url('../fonts/Vazir.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Vazir.woff2') format('woff2'),
    url('../fonts/Vazir.woff') format('woff'),
    url('../fonts/Vazir.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir-Bold.eot');
    src: url('../fonts/Vazir-Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Vazir-Bold.woff2') format('woff2'),
    url('../fonts/Vazir-Bold.woff') format('woff'),
    url('../fonts/Vazir-Bold.ttf') format('truetype');
    font-weight: bold;
}

.profile img, [hidden], template {
    display: none
}

audio:not([controls]) {
    display: none;
    height: 0
}

a {
    background-color: transparent
}

a:active, a:hover {
    outline: 0
}

abbr[title] {
    border-bottom: 1px dotted
}

b, optgroup, strong {
    font-weight: 700
}

dfn {
    font-style: italic
}

h1 {
    font-size: 2em
}

mark {
    background: #ff0;
    color: #000
}

small {
    font-size: 80%
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline
}

sup {
    top: -.5em
}

sub {
    bottom: -.25em
}

svg:not(:root) {
    overflow: hidden
}

figure {
    margin: 1em 40px
}

hr {
    box-sizing: content-box;
    height: 0
}

pre, textarea {
    overflow: auto
}

code, kbd, pre, samp {
    font-family: monospace, monospace;
    font-size: 1em
}

button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0
}

button {
    overflow: visible
}

button, select {
    text-transform: none
}

button, html input[type=button], input[type=reset], input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer
}

button[disabled], html input[disabled] {
    cursor: default
}

button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0
}

input {
    line-height: normal
}

input[type=checkbox], input[type=radio] {
    box-sizing: border-box;
    padding: 0
}

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
    height: auto
}

input[type=search] {
    -webkit-appearance: textfield;
    box-sizing: content-box
}

input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

fieldset {
    border: 1px solid silver;
    margin: 0 2px;
    padding: .35em .625em .75em
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

* {
    box-sizing: border-box;
    font-family: Vazir;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: inherit;
    margin: 0
}

.profile {
    background-image: url(/assets/img/ehsan-sabet-2020.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1
}

@media screen and (max-width: 900px) {
    body {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: start;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start
    }

    .profile {
        position: relative;
        background: 0 0;
        margin-bottom: -15vw;
        z-index: 0
    }

    .profile:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 60%, #fff);
        background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 60%, #fff);
        pointer-events: none
    }

    .profile img {
        display: block;
        width: 100%
    }
}

article {
    background: rgba(255, 255, 255, .7);
    -webkit-flex-basis: 57vw;
    -ms-flex-preferred-size: 57vw;
    flex-basis: 57vw;
    padding: 6vw;
    z-index: 1;
    direction:rtl;
}

@media screen and (max-width: 900px) {
    article {
        padding: 6vw;
        -webkit-box-flex: 0;
        -webkit-flex: 0;
        -ms-flex: 0;
        flex: 0;
        background: 0 0
    }
}

.greeting {
    font-size: 2.5vw;
    line-height: .75
}

@media screen and (max-width: 600px) {
    article {
        padding-bottom: 0
    }

    .greeting {
        font-size: 1.1em
    }
}

.name {
    color: #233140;
    font-weight: bold;
    font-size: 4.5vw;
    margin-bottom: 3vw
}

@media screen and (max-width: 600px) {
    .name {
        font-size: 1.9em
    }
}

.message {
    font-size: x-large;
    line-height: initial;
    margin-bottom: 4vw
}

h6.message {
    font-size: large;
}

.message a {
    color: #2980b9;
    text-decoration: none;
    border-bottom: .15vw solid #e7f2fa;
    -webkit-transition: border-color .1s ease-in-out;
    transition: border-color .1s ease-in-out;
    direction:ltr;
}

.message a:hover {
    border-color: #94c6e7
}



@media screen and (max-width: 600px) {
    .message {
        font-size: 1.1em;
        margin-bottom: 6vw
    }
}