* {
    -o-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Source Sans Pro', sans-serif;
}

* body {
    margin:0 auto;
    background-color: #ecedef;
}

/**
  Header css
 */
.header-container {
    width: 100%;
    height: 500px;
    margin: 0 auto;
    background-image: url("img/header_bg2.jpg");
    background-position: right;
    background-size: auto;
    background-repeat: no-repeat;
}

.header-content-container {
    width: 80%;
    margin: 0 auto;
    padding-top: 10px;
}

.links-container {
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: left;
}

.nav-links {
    list-style: none;
    margin: 0 ;
}

.nav-links li {
    float: left;

}

.nav-links li :hover {
    color: #a3c8b1;
}

.nav-links li a {
    font-weight: 100;
    text-decoration: none;
    text-transform: uppercase;
    padding-right: 20px;
    color: #527a61;
    font-size: 28px;
    transition: all .4s ease;
}

/**
  Body css
 */

.body-container {
    padding: 0 10%;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.article-container {
    width: 55%;
    float: left;
    position: relative;
    height: 360px;
}

.item-1,
.item-2,
.item-3 {
    position: absolute;
    display: block;
    left: 20%;
    width: 60%;
    text-align: left;
    font-size: 4em;
    animation-duration: 20s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.item-1{
    animation-name: anim-1;
}

.item-2{
    animation-name: anim-2;
}

.item-3{
    animation-name: anim-3;
}

@keyframes anim-1 {
    0%, 8.3% { left: -100%; opacity: 0; }
    8.3%,25% { left: 25%; opacity: 1; }
    33.33%, 100% { left: 110%; opacity: 0; }
}

@keyframes anim-2 {
    0%, 33.33% { left: -100%; opacity: 0; }
    41.63%, 58.29% { left: 25%; opacity: 1; }
    66.66%, 100% { left: 110%; opacity: 0; }
}

@keyframes anim-3 {
    0%, 66.66% { left: -100%; opacity: 0; }
    74.96%, 91.62% { left: 25%; opacity: 1; }
    100% { left: 110%; opacity: 0; }
}

.article-container h1 {
    color: #527a61;
    font-size: 36px;
    margin: 0;
    margin-bottom: 20px;
    font-weight: 400;
    font-family: 'Source Sans Pro', sans-serif;
}

.article-container p {
    color: #527a61;
    font-size: 23px;
    font-weight: 300;
    padding: 0 ;
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
}

.item-2 img {
    height: 80px;
    width: 280px;
    margin-right: 5px;
    margin-top: 10px;
}

.item-3 img {
    height: 80px;
    width: 80px;
    margin-right: 5px;
}

.gallery-button {
    padding-top: 60px;
    width: 45%;
    height: 360px;
    float: right;
    position: relative;
}

.btn-light {
    padding: 25px 80px;
    color: #479163;
    cursor: pointer;
    font-size: 30px;
    font-weight: 300;
    line-height: 45px;
    max-width: 160px;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    width: 100%;
    border: 0 solid;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0);
    outline: 1px solid;
    outline-color: #479163;
    outline-offset: 0px;
    text-shadow: none;
    transition: all 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    font-family: 'Montserrat', sans-serif;
}

.btn-light:hover {
    border: 1px solid;
    box-shadow: inset 0 0 20px #ccdcd2, 0 0 20px #ccdcd2;
    outline-color: rgba(255, 255, 255, 0);
    outline-offset: 15px;
    text-shadow: 1px 1px 2px #c0cac4;
}

/**
 About Me
 */

.aboutme-main-container {
    margin-top: 300px;
    padding: 0 2%;
    width: 88%;
}

.aboutme-article {
    padding: 10px;
    margin: 0;
    height: 370px;
    box-shadow: rgba(0, 0, 0, 0.13) 0px 35px 20px -20px, rgba(0, 0, 0, 0.13) 30px 0px 30px -30px;

}

.aboutme-article1 {
    position: relative;
    right: 0;
}

.aboutme-article1 h1 {
    text-align: left;
    font-size: 48pt;
    padding: 0;
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #3f7b56;
    border-bottom: #3f7b56 1.5px solid;
    background-image: url("img/bg-aboutme-text2.png");
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.aboutme-article1-container {
    padding: 10px;
}

.aboutme-article1-container-left {
    float: left;
    width: 30%;
    padding: 0;
    margin: 0;
    padding-left: 30px;
    text-transform: uppercase;
}

.aboutme-article1-container-left p {
    font-size: 26pt;
    padding: 2px;
    margin: 0;
    font-weight: 100;
    color: #b9b8b8;
}

.aboutme-article1-container-right {
    float: right;
    width: 70%;
    padding: 0;
    margin: 0;
}

.aboutme-article1-container-right p {
    margin: 0;
    font-size: 18pt;
    font-weight: 300;
    color: #717171;
}

.aboutme-article2 {
    position: relative;
    left: 15%;
    top: -20px;
}

.aboutme-article2 h1 {
    font-size: 48pt;
    padding: 0 80px 0 0;
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #3f7b56;
    border-bottom: #3f7b56 1.5px solid;
    text-align: right;
    background-image: url("img/bg-aboutme-text2.png");
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.aboutme-article2-container {
    margin: 0;
    font-size: 17pt;
    font-weight: 300;
    color: #717171;
}

.aboutme-article2-container-content {
    float: left;
    padding: 0 10px;
    width: 33.3%;
}

.aboutme-article2-container-content img {
    height: 70px;
    width: 70px;

}

.aboutme-article2-container-content p {
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0;
}

.aboutme-article3 {
    position: relative;
    left: 8%;
    top: -35px;
}

.aboutme-article3 h1 {
    text-align: left;
    font-size: 40pt;
    padding: 10px;
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #3f7b56;
    border-bottom: #3f7b56 1.5px solid;
    line-height: 90%;
    background-image: url("img/bg-aboutme-text2.png");
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.aboutme-article3-container {
    padding: 10px;
    margin: 0;
}

.aboutme-article3-container-left {
    float: left;
    width: 60%;
    padding: 0;
    margin: 0;
}

.aboutme-article3-container-left p {
    margin: 0;
    font-size: 18pt;
    font-weight: 300;
    color: #717171;
}

.aboutme-article3-container-right {
    float: right;
    width: 40%;
    margin: 0;
    text-transform: uppercase;
}

.aboutme-article3-container-right-list {
    margin: 0;
    list-style: none;
    vertical-align: middle;
}

.aboutme-article3-container-right-list-element {
    vertical-align: middle;
    margin: 0 0 10px 0;
    color: #717171;
    font-weight: 200;
    font-size: 18pt;
}

.aboutme-article3-container-right a {
    text-decoration: none;
    margin: 0;
    vertical-align: middle;
    color: #717171;
    transition: all .4s ease;
}

.aboutme-article3-container-right a:hover {
    color: #bbbbbb;
}

.aboutme-article3-container-right img {
    margin-right: 10px;
    height: 40px;
    width: 40px;
    vertical-align: middle;
}

.aboutme-article3 {
    margin-bottom: 60px;
}

/**
 Images Gallery
 */
.trans {
    transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    -webkit-transition: all 1s ease;
}

.img-gallery-section {
    margin: 0 auto;
    width: 90%;
    height: 100%;
}

.img-gallery-section-title-design-page {
    position: sticky;
    width: 100%;
    z-index: 2;
    top: 0;
    height: 80px;
    background-color: #ecedef;
    text-align: left;
    font-size: 32pt;
    margin-top: 140px;
    padding: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    color: #3f7b56;
}

.img-gallery-section-title {
    text-align: center;
    font-size: 40pt;
    padding: 0;
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    color: #3f7b56;
}

.img-gallery-section-des {
    width: 50%;
    display: block;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 20px;
    font-size: 18pt;
    font-weight: 300;
    color: #717171;
}

.img-gallery-container {
    display: flex;
    width: inherit;
    height: 80vh;
    padding: 0;
    margin: 0 auto;
}

.img-gallery-container-designs-page {
    display: flex;
    width: inherit;
    height: auto;;
    padding: 0;
    margin: 0 auto;
}


.img-gallery-colum {
    flex: 25%;
    width: 25%;
    padding: 0;
    marign: 0;
}

.note-text {
    display: block;
    margin: 0 auto;
    text-align: center;
}

.img-gallery-colum ul {
    list-style: none;
    width: 100%;
    height: 100%;
    z-index: 1;
    box-sizing: border-box;
    margin: 0;
    padding: 2.5px;
}

.img-gallery-colum ul li {
    position: relative;
    float: left;
    width: 100%;
    overflow: hidden;
    margin-bottom: 5px;
}

.img-gallery-colum ul li::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #727272;
    content: '';
    color: white;
    opacity: 0.7;
    text-align: center;
    box-sizing: border-box;
    pointer-events: none;
    transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}

.img-gallery-colum ul li:hover::before {
    opacity: 0;
    background-color: rgba(0,0,0,0.90);
}

.img-gallery-colum ul li img {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.lightbox {
    position: fixed;
    width: 100%;
    height: 100%;
    text-align: center;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.75);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    position: relative;
    top: -100%;
    /* Transition */
    transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    -webkit-transition: all 1s ease;
}

.lightbox:target {
    outline: none;
    top: 0;
    opacity: 1;
    pointer-events: auto;
    transition: all 1.2s ease;
    -moz-transition: all 1.2s ease;
    -ms-transition: all 1.2s ease;
    -o-transition: all 1.2s ease;
    -webkit-transition: all 1.2s ease;
}

.lightbox:target img {
    top: 0;
    top: 50%;
    transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.design-button {
    text-align: center;
    padding-top: 60px;
    padding-bottom: 20px;
    width: 100%;
    height: auto;
}

/**
 Footer css
 */
.footer-container {

    width: 100%;
    height: 550px;
    background-size: auto;
    background-image: url("img/footer_bg.jpg");
    background-repeat: no-repeat;
    background-position: left;
    position: relative;
    padding: 0;
    margin: 0;
}

.footer-content-container {
    width: 100%;
    padding: 0;
    position: absolute;
    bottom: 0;
}

.footer-left-container {

    width: 50%;
    float: left;
}

.footer-left-container img {
    height: 80px;
    width: 160px;
    margin: 0;
    padding: 0;
}

.footer-left-container p {
    font-size: 15pt;
    padding: 0;
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0;
    font-weight: 300;
    color: #adadad;
}

.footer-right-container {
    width: 100%;
    text-align: center;
}

.footer-right-container img {
    margin: 0 2px;
}

.footer-right-icon {
    width: 30px;
    height: 30px;
}


.footer_icon_mail {
    width: 35px;
    height: 25px;
}

.ahmed-alexander {
    font-weight: 400;
    text-decoration: none;
    transition: all .25s ease;
    color: #adadad;
}

.ahmed-alexander:hover {
    color: #a3c8b1;
}

.footer-right-container p {
    border-top: #c1c1c1 0.5px solid;
    font-size: 14pt;
    padding: 15px 0;
    margin: 0;
    font-weight: 300;
    color: #adadad;
}

.footer-links {
    padding-top: 10px;
    padding-bottom: 20px;
    text-align: center;
    list-style: none;
    margin: 0;
}

.footer-links li {
    display: inline-block;
}

.footer-links li :hover {
    color: #a3c8b1;
}

.footer-links li a {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 100;
    text-decoration: none;
    text-transform: uppercase;
    color: #527a61;
    font-size: 18px;
    transition: all .25s ease;
}

.footer-links li span {
    padding: 0 20px;
}

.footer-linkedin-icon {
    height: 30px;
    width: 30px;
    background-image: url("icons/link_in_96.png");
}

/**
 Clearfix
*/

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

/**
 Media Queries
*/

@media all and (max-width: 1200px) {
    .btn-light {
        padding: 20px 70px;
        font-size: 26px;
    }

    .article-container h1 {
        font-size: 32px;
    }

    .article-container p {
        font-size: 20px;
    }

    .aboutme-article1 h1 {
        font-size: 44pt;
    }

    .aboutme-article1-container-left p {
        font-size: 22pt;
    }

    .aboutme-article1-container-right p {
        font-size: 16pt;
    }

    .aboutme-article2 h1 {
        font-size: 44pt;
    }

    .aboutme-article2-container {
        font-size: 15pt;
    }

    .aboutme-article3 h1 {
        font-size: 44pt;
    }

    .aboutme-article3-container-left p {
        font-size: 16pt;
    }

    .aboutme-article3-container-right a {
        font-size: 16pt;
    }

    .aboutme-article3-container-right img {

    }
}

@media all and (max-width: 900px) {
    .btn-light {
        padding: 18px 15px;
        font-size: 20px;
    }

    .article-container h1 {
        font-size: 28px;
    }

    .article-container p {
        font-size: 16px;
    }

    .aboutme-article1 h1 {
        font-size: 40pt;
    }

    .aboutme-article1-container-left p {
        font-size: 16pt;
    }

    .aboutme-article1-container-right p {
        font-size: 12pt;
    }

    .aboutme-article2 h1 {
        font-size: 40pt;
    }

    .aboutme-article2-container {
        font-size: 13pt;
    }

    .aboutme-article2-container-content img {
        height: 50px;
        width: 50px;
    }

    .aboutme-article3 h1 {
        font-size: 40pt;
    }

    .aboutme-article3-container-left p {
        font-size: 13pt;
    }

    .aboutme-article3-container-right a {
        font-size: 13pt;
    }

    .aboutme-article3-container-right img {

    }

    .header-container {
        background-image:none;
    }
}

@media all and (max-width: 600px) {
    .btn-light {
        padding: 15px 5px;
        font-size: 16px;
    }

    .article-container h1 {
        font-size: 24px;
    }

    .article-container p {
        font-size: 14px;
    }

    .aboutme-article1 h1 {
        font-size: 36pt;
    }

    .aboutme-article1-container-left p {
        font-size: 12pt;
    }

    .aboutme-article1-container-right p {
        font-size: 8pt;
    }

    .aboutme-article2 h1 {
        font-size: 24pt;
    }

    .aboutme-article2-container {
        font-size: 10pt;
    }

    .aboutme-article2-container-content img {
        height: 24px;
        width: 24px;
    }

    .aboutme-article3 h1 {
        font-size: 34pt;
    }

    .aboutme-article3-container-left p {
        font-size: 12pt;
    }

    .aboutme-article3-container-right a {
        font-size: 12pt;
    }

    .aboutme-article3-container-right img {

    }

    .header-container {
        background-image:none;
    }
}