/*--------------------------------------------
Filename:     style.css
Description:  Main CSS
Version:      2.1.0 (9-07-2019) MM-DD-YYYY
Author:       Mohammed Abd-Ella (moedella.me)
--------------------------------------------*/

/*General*/
body {
  font-family: Open Sans,Arial,Helvetica,sans-serif;
  background: #f5f6f7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body .wrapper {
  -webkit-transition: all .35s;
  -moz-transition: all .35s;
  -ms-transition: all .35s;
  -o-transition: all .35s;
  transition: all .35s;
}
body.modal-open .wrapper {
  filter: blur(20px);
  -webkit-filter: blur(20px);
  -moz-filter: blur(20px);
  -o-filter: blur(20px);
  -ms-filter: blur(20px);
  filter: url(#blur);
  /*filter: progid: DXImageTransform.Microsoft.Blur(PixelRadius='20');*/
}

a {
  color: #47aed9;
  text-decoration: none;
  font-weight: bold;
  -webkit-transition: color .35s, background .35s, opacity .35s;
  -moz-transition: color .35s, background .35s, opacity .35s;
  -ms-transition: color .35s, background .35s, opacity .35s;
  -o-transition: color .35s, background .35s, opacity .35s;
  transition: color .35s, background .35s, opacity .35s;
}
a:hover, a:active, a:focus {
  color: #20769a;
}

.no-margin {
  margin: 0;
}

.center {
  margin-left: auto;
  margin-right: auto;
  display: block;
  float: none;
}

/*Logo*/
@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?15u1tf');
    src: url('../fonts/icomoon.eot?15u1tf#iefix') format('embedded-opentype'),
        url('../fonts/icomoon.ttf?15u1tf') format('truetype'),
        url('../fonts/icomoon.woff?15u1tf') format('woff'),
        url('../fonts/icomoon.svg?15u1tf#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

.icon-logo {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.icon-logo:before {
    content: "\e904";
}

section {
  padding: 60px 0;
}
section .heading {
  display: block;
  text-align: center;
  font-weight: 800;
  margin: 0 0 50px;
  text-transform: uppercase;
  font-size: 40px;
}

.header {
  padding: 0 2rem;
  min-height: 100vh;
  background: url(../img/image.png) center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
.header .top {
  padding: 3rem 0;
}
.header .top .logo {
  float: left;
  display: block;
  margin: 0;
  font-size: 80px;
}
.header .top .hire-me {
  float: right;
  margin-top: 25px;
  color: #758087;
}
.header .top .hire-me > a {
  color: #47aed9;
  text-decoration: underline;
  font-weight: 700;
}
.header .intro {
  padding: 7rem 0;
  text-align: center;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 14rem);
  width: 100%;
}

.header .intro > p {
  font-size: 40px;
  font-weight: 300;
  line-height: 1.8em;
  color: #48535a;
  max-width: 960px;
  margin: 0 auto;
}
.header .intro > p > a {
  color: #48535a;
}
.header .intro > p > a:hover {
  color: #5babe2;
}

.about {
  padding: 8rem 0 0;
}
.about .location {
  text-align: center;
  padding: 0 2rem;
  margin-bottom: 9rem;
}
.about .location h2 {
  font-size: 34px;
  font-weight: 100;
  color: #48535a;
  margin-bottom: 5rem;
}
.about .location h2 > strong {
  font-weight: bold;
}
.about .location .map {
  background: url(../img/map.png) no-repeat center center;
  background-size: 100%;
  width: 620px;
  height: 418px;
  margin: 0 auto;
  position: relative;
}
.about .location .map-fallback {
  display: none;
}
.about .location .map-fallback > img {
  width: 100%;
}
.about .location .map-pin {
  position: absolute;
  right: 255px;
  top: 205px;
}
.about .bio {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 4rem;
}
.about .bio > p {
  font-size: 20px;
  font-weight: 100;
  line-height: 36px;
  color: #758087;
}

.pulse {
  width: 32px;
  height: 32px;
  background: none;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  line-height: 16px;
  text-align: center;
}
.pulse > * {
  position: relative;
  border: 1px solid #20769a;
  width: 16px;
  height: 16px;
  top: -2px;
  left: -3px;
  display: inline-block;
  vertical-align: middle;
  text-indent: -9000px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  transition-property: top, bottom, left, right, opacity, border-width;
  animation-duration: 2s;
  animation-name: pulse;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0, 0, 0, 1);
}
.pulse.dark > * {
  border-color: #20769a;
}
.pulse.dark:after {
  background: #47aed9;
}
.pulse:after {
  content: '';
  display: block;
  position: absolute;
  width: 10px;
  height: 10px;
  left: 8px;
  top: 2px;
  border-radius: 10px;
  background: #20769a;
  vertical-align: middle;
}

/*
.portfolio{
    .portfolio-area{
        margin: 0 auto;
        max-width:1500px;
        .portfolio-item{
            padding: 0;
            .portfolio-image{
                max-width: 101%;
                width:101%;
            }
            .portfolio-title{
                color:#fff;
            }

            .portfolio-fields {
                color: #fff;
                font-size: 12px;

                .field-list {
                    padding: 0;
                    margin:0;
                }
                .field-item {
                    display: inline-block;
                }
                .field-item:after {
                    content: ' ,';
                }
                .field-item:last-child:after {
                    content: '';
                }
            }
        }
    }
}
.photography{
    text-align:center;
    .heading{
        margin: 0 0 25px;
    }
    h4{
        font-size: 30px;
    }
    .quote{
        font-size: 24px;
        font-weight: 500;
        margin-top: 20px;
        margin-bottom: 40px;
        span{
            clear:both;
            display: block;
            margin-top: 10px;
        }
    }
    .grid { 
        figure{
            img {
                opacity: 1;
            }
        } 
        figure.effect-sadie h2{
            opacity: 0;
        }
        figure.effect-sadie:hover h2{
            opacity: 1
        }
    }

}*/
.social {
  padding: 77px 0 60px;
  text-align: center;
  background: #eceef0;
  -webkit-transition: background .5s;
  -moz-transition: background .5s;
  -ms-transition: background .5s;
  -o-transition: background .5s;
  transition: background .5s;
}
.social p {
  font-weight: 100;
  font-size: 20px;
  margin: 50px auto 0;
}
.social p span {
  font-weight: bold;
}
.social .links {
  list-style: none;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}
.social .links li {
  display: inline-block;
  margin: 0 15px;
  opacity: .4;
  -webkit-transition: opacity .4s;
  -moz-transition: opacity .4s;
  -ms-transition: opacity .4s;
  -o-transition: opacity .4s;
  transition: opacity .4s;
}
.social .links li a {
  display: block;
  font-size: 40px;
  text-decoration: none;
  color: #9d9d9d;
}
.social .links li a:hover {
  opacity: 1;
  color: #111;
}
.social .links li a .icon-px500 {
  font-size: 55px;
  position: relative;
  top: 7px;
}

/* social icon stuff */
.social.active p {
  color: #111;
}

@media only screen and (max-width: 768px) {
  .header {
    background: url(../img/image.png) no-repeat center bottom ;
    background-size: cover;
  }
  .header .top {
    padding: 3rem 0 1rem;
  }
  .header .intro {
    min-height: calc(50rem);
  }
  .header .top .logo {
    float: none;
    margin: 0 auto;
  }
  .header .top .logo .icon-logo {
    display: block;
    text-align: center;
  }
  .header .top .hire-me {
    display: none;
  }
  .header .intro {
    padding: 2rem 0;
  }
  .header .intro > p {
    font-size: 20px;
  }

  .about {
    padding: 3rem 0 0;
  }
  .about .bio {
    margin: 2rem auto 0;
  }
  .about .bio > p {
    font-size: 16px;
    line-height: 32px;
  }
  .about .location {
    padding: 0 2rem;
    margin-bottom: 4rem;
  }
  .about .location h2 {
    font-size: 20px;
    line-height: 1.8em;
    margin-bottom: 2rem;
  }
  .about .location .map {
    display: none;
  }
  .about .location .map-fallback {
    display: block;
  }
  .about .location .map-pin {
    display: none;
  }

  .social {
    padding: 3rem 2rem;
  }
  .social p {
    font-size: 18px;
    line-height: 32px;
    margin-top: 0;
    display: none;
  }
  .social .links > li {
    margin: 0 8px;
    font-size: 28px;
  }
  .social .links > li a {
    font-size: 28px;
  }

  .footer {
    padding: 2rem;
    line-height: 32px;
    text-align: center;
    font-size: 14px;
  }
  .footer .copyright {
    float: none;
    margin: 0;
  }
  .footer .phone {
    float: none;
    margin: 0;
  }
  .footer .address {
    float: none;
    margin: 0;
  }
}
