@font-face {
  font-family: Thunder;
  src: url(../fonts/a-love-of-thunder.ttf);
}
html, body{
  height:100%;
  width:100%;
}
body.auto-height{
  height:auto;
}

body{
background-color:#000000;
}
div#loader_wrapper {
  position: fixed;
  top: 0;
  left: 0;
  background-color:#000000;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  height:100%;
  width:100%;
}
.loader {
  border: 3px solid #000000;
  border-radius: 50%;
  border-top: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* Navbar Toggle */
.nav-toggle {
  height: 27px;
  width: 35px;
  cursor: pointer;
  z-index: 101;
  -webkit-transition: opacity .25s ease;
  transition: opacity .25s ease;
  /* For this demo */
  position:fixed;
  top:20px;
  right:20px;
  display:inline-block;
}
.nav-toggle:hover {
  opacity: .7;
}
.nav-toggle span {

  border: none;
  height: 3px;
  width: 35px;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transition: all .35s ease;
  transition: all .35s ease;
  cursor: pointer;
}
.nav-toggle-light span {
  background:#FFFFFF;
}
.nav-toggle-dark span {
  background:#333333;
}
.nav-toggle span:nth-of-type(2) {
  top: 8px;
}
.nav-toggle span:nth-of-type(3) {
  top: 16px;
}
.nav-toggle.active span:nth-of-type(1) {
  -webkit-transform: translateY(8px) translateX(0) rotate(45deg);
  transform: translateY(8px) translateX(0) rotate(45deg);
  background: #FFFFFF;
}
.nav-toggle.active span:nth-of-type(2) {
  opacity: 0;
  background: #FFFFFF;
}
.nav-toggle.active span:nth-of-type(3) {
  -webkit-transform: translateY(-8px) translateX(0) rotate(-45deg);
  transform: translateY(-8px) translateX(0) rotate(-45deg);
  background: #FFFFFF;
}


/* Navbar */
.nav {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #000000;
    overflow-x: hidden;
    transition: 0.5s;
    opacity:0;
}
.nav.open{
  opacity:1;
  z-index:100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align:center;
}

.nav ul{
  list-style-type:none;
  padding:0px;
  margin:0px;
}
.nav ul li{
  margin-bottom:10px;
}
.nav ul li a{
  font-family:Thunder;
  text-transform:uppercase;
  font-size:32px;
  line-height:32px;
  color:#ffffff;
}
.nav ul li a:hover{
  opacity:0.7;
  text-decoration:none;
}
.nav .social span{
  padding:10px;
}
.nav .social img{
  width:18px;
}



/*
* Header
*/
.header{
  position:fixed;
  top:0px;
  left:0px;
  width:100%;
  z-index:2;
  padding:10px 20px;
}
.header.dark{
  background-color:#000000;
}
.header .logo img{
  width:120px;
}
.header .inline-nav{
  height:100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header .inline-nav ul{
  list-style-type:none;
  padding:0px;
  margin:0px;
}
.header .inline-nav ul li{
  display:inline;
  padding:0px 5px;
}
.header .inline-nav ul li a{
  font-family:Thunder;
  color:#FFFFFF;
  font-size:12px;
  text-transform:uppercase;
}

@media (max-width: 992px) {
  .inline-nav{
  opacity:0;
  }

}
@media (min-width: 992px) {
  .header{
    padding:10px 20px;
  }
  .header .logo img{
    width:120px;
  }
  .nav-toggle {
    top:20px;
    right:20px;
  }
  .nav-toggle{
    display:none;
  }
  .inline-nav{
  opacity:1;
  }
  .nav-toggle:hover {
    opacity: 0;
  }
  .footer{
    padding:10px 40px;
  }

}


/*
* Footer
*/
.footer.fixed{
  position:fixed;
  bottom:0px;
  left:0px;
}
.footer{
  width:100%;
  z-index:2;
  padding:5px 20px;
  font-family:Thunder;
  color:#FFFFFF;
  font-size:11px;
  text-transform:uppercase;
}
.footer .social{
  margin-bottom:20px;
}
.footer .social ul{
  list-style-type:none;
  padding:0px;
  margin:0px;
}
.footer .social ul li{
  display:inline;
  padding:0px 5px;
}
.footer .social ul li img{
  width:16px;
}
.footer a{
  color:#FFFFFF;
}


@media (max-width: 768px) {
  .footer{
    text-align:center;
  }
  .footer{
    width:100%;
    padding:20px 20px;

  }
  .footer .social{
    margin-bottom:10px;
  }
}
/*
* Home
*/

.page{
height:100%;
Width:100%;
position: relative;
background-position: center;
background-repeat: no-repeat;
background-size: cover;

display: flex;
align-items: center;
justify-content: center;
}

/* About */
.about{
text-align:center;
font-family:Thunder;
color:#ffffff;
font-size:16px;
padding:0px 30px;
}

/* Film In Egypt */
.fie{
text-align:center;
font-family:Thunder;
color:#ffffff;
font-size:16px;
z-index:98;
padding:0px 30px;

}
.fie .sub{
margin-top:20px;
font-size:16px;
}
@media (min-width: 992px) {
  .page{

  justify-content: left;
  }
  .fie{
    text-align:left;
  font-size:28px;
  padding:0px 40px;
  }
  .fie .sub{
  margin-top:50px;
  }
  .fie .sub{
font-size:22px;

  }
  .about{
    text-align:left;
  font-size:28px;
  padding:0px 40px;
  }
}


/* contact */
.contact{
  margin-top:80px;
  color:#ffffff;
}
.contact .map{
margin-bottom:50px;
}
.contact .map iframe{
width:100%;
height:400px;
}
.contact .info{
font-family:Thunder;
text-align:center;
margin-bottom:60px;
font-size:16px;
}


/* Work Page */
.work.container-fluid{
  padding-right:0px;
  padding-left:0px;
}
.work .project img{
  width:100%;
}
.work .projects .project a{
  color:#ffffff;
}
.work .projects .project a:hover{
  color:#ffffff;
  text-decoration:none;
}
.work .projects .project .info{
  position:absolute;
  left:0px;
  top:0px;
  z-index:1;
  height:100%;
  width:100%;
  background-color:rgba(0,0,0,0.4);
  -webkit-transition: all .35s ease;
  transition: all .35s ease;
  opacity:0;
}
.work .projects .project a:hover .info{
  opacity:1;
}
.work .projects .project .info .content{
  position:absolute;
  bottom:0px;
  left:0px;
  padding:0px 50px 10px 20px;
}
.work .projects .project .info h3{
  font-family:Thunder;
  font-size:18px;
  font-weight:400;
  margin-bottom:0px;
}
.work .projects .project .info p{
  font-family:Roboto;
  font-size:12px;
}

#project-modal iframe{
  width:100%;
  height:300px;
}
#project-modal .modal-content {
  width:100%;
  background-color:transparent;
  border: 0px;
  border-radius:0px;
}
#project-modal  .modal-body{
  padding:0px;
}
#project-modal .modal-header {
    border-bottom: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}
#project-modal .close {
    color: #fff;
    text-shadow: none;
    cursor:pointer;
}
#project-modal .modal-dialog-centered {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-align:center;
  -ms-flex-align:center;
  align-items:center;
  min-height:calc(100% - (.5rem * 2));
}

@media (min-width: 576px) {
  #project-modal .modal-dialog-centered {
    min-height:calc(100% - (1.75rem * 2));
  }
}

@media (min-width: 992px) {
  #project-modal iframe{
    height:450px;
  }
}
