* {
    box-sizing: border-box;
}

@font-face {
  font-family: Lateef;
  src: url(Lateef.woff);
}

* {
	font-family: Lateef;
	text-transform:lowercase;
	font-size: 25px;
	color: #ffffff;

}

a { 
	font-family: Lateef;
	text-transform:lowercase;
	font-size: 25px;
	text-decoration: none;
	color: #ffffff;
}



p {text-align:justify;
	text-transform:lowercase;
	text-justify: inter-character; 
	font-size: 25px;
	line-height: 1;
	}



p.rtl {
	direction: rtl;
	}

#header {
	margin: 0 auto;
	padding: 20px;
	min-width: 300px;
	max-width: 900px;
	background-color: transparent;	
}

	
#flex_box {
	margin:0 auto;
	display: flex;
	flex-wrap: wrap;
	background-color: #000000;
	background-image: url(../images/bg.jpg);
	background-position: center;
	background-repeat:no-repeat;
	width: 90%;
	align-items: center;
	justify-content: center;
}	

#break{
	float: left;
	overflow: auto;
	background: transparent;
	width: 100%;
 }
 
#break hr{
	color: transparent;
width: 100%
}

#textbox {
	float: left;
	color: #ffffff;
	overflow: auto;
	margin: 50px;
	min-width: 350px;
	max-width: 500px;
	width: auto;
	height: auto;
	border-width: 5px;
	border-style:solid;
	border-color:#fffffff;
	background: transparent;
	padding:20px;
	clear: right;
 }
 

html, body, div, img {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
	 vertical-align: baseline;
}

body {
		background-color: #000000;
		line-height: 1;
}

h1{text-align: center;}

.flex_image_box {
	position: relative;
	margin: 0 auto;
	min-width: 300px;
	max-width: 900px;
   display: flex;
   flex-wrap: wrap;
}


.imagebox {
	margin: auto 0;
	display: block;
	position: relative;
	width: 300px;
	height: 300px;
	font-size: 25px;
}

.overlay {
	width: 300px;
	position: absolute;
	bottom: 0;
	background: rgb(0, 0, 0);
	background: rgba(0, 0, 0, 0.5); /* Black see-through */
	color: #f1f1f1;
	transition: .5s ease;
	opacity:0;
	color: white;
	font-size: 25px;
	text-align: center;
	padding: 20px;
}

.imagebox:hover .overlay {
  opacity: 1;
}


.flex_photo_box {
	background-color: transparent;
	position: relative;
	margin: 0 auto;
	min-width: 320px;
	max-width: 640px;
   display: flex;
   flex-wrap: wrap;
   padding: 0 4px;

}

.flex_photo_box * {
margin: 0 auto;

}

.photobox {
	margin: auto 0;
	display: block;
	position: relative;
	width: 50%;
	height: 50%;
	font-size: 25px;
	  padding: 0 4px;

}
.photobox img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
  }

.photo_overlay {
	width: 100%;
	position: absolute;
	bottom: 0;
	background: rgb(0, 0, 0);
	background: rgba(0, 0, 0, 0.5); /* Black see-through */
	color: #f1f1f1;
	transition: .5s ease;
	opacity:0;
	color: white;
	font-size: 25px;
	text-align: center;
	padding: 20px;
}

.photobox:hover .photo_overlay {
  opacity: 1;
}

@media only screen and (max-width: 700px) {
  .container {
    width: 600px;
  }
}

@media only screen and (max-width: 500px) {
  .container {
    width: 300px;

  }
}

