@import url('https://fonts.googleapis.com/css2?family=Amiri+Quran&family=Cairo:wght@300;400&display=swap');
@font-face {font-family: MCS-Basmalah-normal; src: url(../fonts/MCS-Basmalah-normal.ttf); }
 /* The side navigation menu */
.sidenav {
  height: 70%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 10001; /* Stay on top */
  top: 20%;
  left: 0;
  overflow-y: auto;
  background-color: #c00009; /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 60px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}
.mynav {
	background: #F2B63D;
	display: flex;
	align-items: center;
    writing-mode: vertical-lr;
	top: 30%;
    left: 0;
	padding: 10px 0;
    position: fixed;
	cursor: pointer;
  font-weight:bold;
  z-index:100;
  border-radius: 0 6px 6px 0;
  box-shadow: rgba(45, 35, 66, .4) 2px 0 4px,rgba(45, 35, 66, .3) 7px 0 13px ,rgba(58, 65, 111, .5) -3px 0 0 inset;
  box-sizing: border-box;
  color: #000;
}
.mynav:hover {
  box-shadow: rgba(45, 35, 66, .4) 0 4px 8px, rgba(45, 35, 66, .3) 0 7px 13px -3px, #C00009 -3px 0 inset;
  transform: translateY(-2px);
}

/* The navigation menu links */
.sidenav a {
  padding: 5px 30px 5px 10px;
  text-decoration: none;
  font-size: 16px;
  color: #ffffff;
  display: block;
  transition: 0.3s;;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  border-right: 4px solid #f2b63d;
  padding-right: 16px;
  margin-right: 12px;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: fixed;
top: 140px;
font-size: 36px;
width: 100%;
background-color:#c00009;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
  transition: margin-left .5s;
  padding: 20px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav {top: 12%;}
  .sidenav a {font-size: 18px;}
}


* {
  box-sizing: border-box;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.9em;
  text-align: right;
  word-spacing:1px;
}

.image.fit {
    display: block;
    margin: 0 0 2em 0;
    width: 100%;
}

.image.fit li {
	list-style:none;
	padding-right:10px;
	padding-top: 10px;
}

.flex-item-left {
	width: 600px;
 	 padding: 10px;
 	 flex: 33%;
}

.flex-item-right {
	width: 600px;
  	padding: 10px;
  	flex: 33%;
}

/* Responsive layout - makes a one column-layout instead of a two-column layout */
@media screen and (max-width: 767px) {
  .flex-item-right, .flex-item-left {
    flex: 100%;
  }
  .sidenav {top: 14%;}
  .sidenav .closebtn {
  	position: fixed;
	top: 80px;
	font-size: 36px;
    background-color: #c00009;
  }
}

@media (min-width: 768px) and (max-width: 1024px){
  .sidenav {top: 10%; background-color: #c00009;}
  .sidenav a {font-size: 18px;}
  
}
