body {
    font-family: 'Samim', 'IRyekan', 'b yekan', tahoma, sans-serif;
}
.displaynone {
    display: none;
}

body {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    margin: 0;
}
body:before {
    content: "";
    position: fixed;
    background: url('img/office.jpg');
    background-size: cover;
    z-index: -1; /* Keep the background behind the content */
    height: 20%;
    width: 20%; /* Using Glen Maddern's trick /via @mente */
    /* don't forget to use the prefixes you need */
    transform: scale(5);
    transform-origin: top left;
}

a {
    text-decoration: none;
}
.rtl {
	direction: rtl;
}
.distance {
	padding: 0 30px;
}
.main {
    margin: 1em auto auto;
    text-align: center;
	/* padding-bottom: 120px; */
}

.main h1 {
    color: #0082ff;
}

#parent {
    display: inline-flex;
    vertical-align: middle;
}

.child {
    margin-left: 20px;
    padding: 5px;

}

.title {
    width: 100%;
    text-align: center;
    margin: 3em auto auto;
    background-color: aliceblue;
    padding: 30px 0;
    opacity: 0.7;
}
.project {
    border: solid 2px #fff;
    border-radius: 10px;
    width: 45%;
    text-align: center;
    margin: 3em auto auto;
    background-color: aliceblue;
    padding: 30px;
    opacity: 0.9;
}
.project h2 {
    border-bottom: solid 1px black;
    width: 35%;
}
.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #52b0f2;
    color: white;
    opacity: 0.9;
	margin-bottom: -16px;
}
.space {
    height: 150px;
}

.footer p {
    text-align: left;
    margin-left: 50px;
    margin-top: 0;
}

.footer div {
    text-align: right;
    margin-right: 100px;
    margin-top: 15px;
    line-height: 2.1;
}
.footer a {
	color: #efefef;
}

@media (max-width: 820px) {
	.child img{
		width: 120px;
	}
	.footer, .footer p, .footer div {
		text-align: center;
		margin-right: 5px;
		margin-left: 5px;
	}
	.distance {
        padding: 0;
        display: block;
    }
    .space {
        height: 230px;
    }
}