/* START CSS Reset */
abbr,address,article,aside,audio,b,blockquote,body,canvas,caption,cite,code,dd,del,details,dfn,div,dl,dt,em,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,p,pre,q,samp,section,small,span,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,ul,var,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:0 0}body{line-height:1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}nav ul{list-style-type:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:0 0}table{border-collapse:collapse;border-spacing:0}input,select{vertical-align:middle}a{color:inherit;text-decoration:none;}
/* END CSS Reset */
@font-face {
    font-family: 'Nunito-Regular';
    src: url(../fonts/Nunito-Regular.ttf) format('truetype');
  }
@font-face {
    font-family: 'fontello';
    src: url(../fonts/fontello.ttf) format('truetype');
}
[class^="icon-"]:before, [class*=" icon-"]:before {
    font-family: "fontello";
    /* speak: never; */
    display: inline-block;
    text-decoration: none;
    vertical-align: middle;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.icon-behance:before { content: '\e800'; } /* '' */
.icon-email:before { content: '\e801'; } /* '' */
.icon-facebook:before { content: '\e802'; } /* '' */
.icon-lnkedin:before { content: '\e803'; } /* '' */
.icon-ologo:before { content: '\e804'; } /* '' */
.icon-quoteend:before { content: '\e805'; } /* '' */
.icon-quotestart:before { content: '\e806'; } /* '' */
.icon-whatsapp:before { content: '\e807'; } /* '' */
.icon-zoom:before { content: '\e808'; } /* '' */
.icon-alert:before { content: '\e809'; } /* '' */
.icon-angle-left:before { content: '\f104'; } /* '' */
.icon-angle-right:before { content: '\f105'; } /* '' */
html {
    scroll-behavior: smooth;
}
body{
    font-family: 'Nunito-Regular', sans-serif;
    line-height: 1.1em;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    text-align: center;
    max-width: 1980px;
    margin: 0 auto;
}
h1{
    font-size: 2em;
    font-weight: normal;
}
h2{
    font-size: 1.6em;
    font-weight: normal;
}
.section-divide{
    display: block;
}
.section-arrow{
    display: block;
    position: relative;
    bottom: -3px;
    width: 100px;
    margin: 0 auto;
}
.content-container{
    margin: 0 auto;
}
section{
    overflow: hidden;
}
.bg-blue{
    background-color: #011837;
}
/* ------------NAV---------- */
#main-menu{
    display: block;
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 1;
}
#main-menu input{
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
    -webkit-touch-callout: none;
}
#main-menu > span{
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: #011837;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                opacity 0.55s ease;
}
#main-menu span:first-child{
    transform-origin: 0% 0%;
}
#main-menu span:nth-last-child(2){
    transform-origin: 0% 100%;
}
#main-menu input:checked ~ span{
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #011837;
}
#main-menu input:checked ~ span:nth-last-child(3){
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}
#main-menu input:checked ~ span:nth-last-child(2){
    transform: rotate(-45deg) translate(0, -1px);
}
#menu{
    position: fixed;
    top: 15px;
    right: 21px;
    width: 70px;
    height: 70px;
    background: #ffffff;
    border-radius: 50%;
    transition-duration: .5s, 1s;
    box-shadow: 0px 0px 6px 3px rgba(0,0,0,0.1);
    overflow: hidden;
    display: grid;
    justify-content: center;
    align-content: center;
}
#main-menu input:checked ~ #menu{
    width:200vw;
    height:200vh;
    top:-50%;
    right:-50%;
    transition-duration: .5s, 1s;
    box-shadow: 0px 0px 6px 3px rgba(0,0,0,0.0);
}
#menu-list{
    display: none;
}
#menu-list a{
    transition-duration: .5s, 1s;
}
.menu-item{
    font-size: 2em;
}
#menu-list li{
    padding: 20px 0;
}
#main-menu input:checked ~ #menu #menu-list{
    display: block;
    margin-left: 12px;
}
/* ------------ABOUT SECTION---------- */
#profile .container{
    background: #f9dc5c;
}
#profile .header{
    padding-top:60px;
}
#profile .section-divide, #profile .section-arrow{
    fill: #f9dc5c;
}
.header-pic img{
    margin: 0 auto;
    width: 250px;
}
#profile .header-pic img{
    position: relative;
    bottom: -35px;
}
.content-container{
    max-width: 870px;
    width: 100%;
    padding: 80px 0;
}
.profile-text{
    width: 60%;
    display: inline-block;
    vertical-align: middle;
}
.profile-text p{
    padding-top: 10px;
}
.profile-text-container span{
    color: #ed244e;
    font-size: 1.5em;
    vertical-align: middle;
    padding: 0 15px;
}
.read-more{
    display: block;
    margin-top: 30px;
}
/* ------------WORK SECTION---------- */
#portfolio .section-arrow, #portfolio .section-divide{
    fill: #011837;
}
#portfolio .container{
    padding: 0 0;
    background-color: #011837;
}
#portfolio .profile-text{
    color: #ffffff;
}
#portfolio h1{
    padding: 20px 0;
}
#gallery{
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    grid-gap:0.8em;
    padding-bottom: 80px;
}
#gallery .thumbnail{
    position: relative;
    box-shadow: 0px 4px 4px rgba(20, 20, 20, 0.5);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
}
#gallery .thumbnail img{
    width: 100%;
    height: 100%;
    transition: all;
    transition-duration: .5s, 1s;
}
#gallery .thumbnail p{
    text-align: center;
    line-height: 2.5em;
    color: #011837;
    width: 100%;
    height: 2.5em;
    background-color: #f9dc5c;
    position: absolute;
    bottom:0;
    opacity: 0;
    transition: all;
    transition-duration: .5s, 1s;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
#gallery .thumbnail p:before{
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 10px solid #f9dc5c;
    top: -8px;
  }
#gallery .thumbnail .light-box{
    transition: all;
    transition-duration: .5s, 1s;
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    left:0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(-10px);
}
#gallery .thumbnail .light-box span{
    font-size: 3em;
    color: #ffffff;
}
/* ------------------ Lightbox ------------------ */
#lightbox {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: white;
    background: linear-gradient(90deg, rgba(158,158,175,1) 0%, rgba(232,232,238,1) 8%, rgba(255,255,255,1) 15%, rgba(255,255,255,1) 85%, rgba(232,232,238,1) 92%, rgba(158,158,175,1) 100%);
    overflow-y: scroll;
    transition: height 0.5s ease, transform 0.5s ease;
    transform: translateY(100%);
    z-index: 1000;
  }
  #lightbox.lightbox-open {
    height: 100%;
    transform: translateY(0%);
  
  }
  .close-btn, .prev-btn, .next-btn {
    position: fixed;
    cursor: pointer;
    z-index: 1001;
    display: none;
    border-radius: 100%;
    height: 50px;
    width: 50px;
    background-color: #011837a9;
    color: #fff;
    font-size: 2.6em;
    justify-content: center; /* Align horizontal */
    align-items: center; /* Align vertical */
  }
  .close-btn {
    top: .5em;
    right: .5em;
  }
  .prev-btn {
    top: 50%;
    left: .5em;
    transform: translateY(-50%);
  }
  .prev-btn::before{
    padding-right: .1em;
  }
  .next-btn {
    top: 50%;
    right: .5em;
    transform: translateY(-50%);
  }
  .next-btn::before{
    padding-left: .1em;
  }
  .lightbox-content {
  display: none;
  animation-duration: 0.5s;
  animation-fill-mode: both;
  line-height: 0;
  }
  .fade-in-bottom {
  animation-name: fade-in-bottom;
  animation-delay: .3s;
  }
  .fade-in-right {
  animation-name: fade-in-right;
  }
  .fade-in-left {
  animation-name: fade-in-left;
  }
  .dm-visit-button{
    background-image: url("../images/digital-mache-branding7.jpg");
    margin: 0 auto;
    height: 100px;
    line-height: 100px;
    font-size: 1.8em;
  }
  .dm-visit-button a{
    color: #f9dc5c;
    line-height: 3.1em;
  }
  .dm-visit-button a:hover{
    color: #ffffff;
  }
  .lightbox-content{
    max-width: 1400px;
    margin: 0 auto;
  }
  .lightbox-content img{
    width: 100%;
  }
  
/* ------------CONTACT SECTION---------- */
#contact .section-divide{
    fill: #f9dc5c;
}
#contact .section-arrow{
    fill: #f9dc5c;
    transform: rotate(180deg);
    bottom: 3px;
}
#contact .container{
    background-color: #f9dc5c;
}
#contact .content-container{
    max-width: 600px;
    padding: 30px 0;
}
.contact-header{
    text-align: center;
    padding-top: 30px;
    padding-bottom: 20px;
}
.contact-header p{
    width: 65%;
    display: inline-block;
    vertical-align: middle;
}
.contact-header span{
    color: #ed244e;
    font-size: 1.5em;
    padding: 0 15px;
    vertical-align: middle;
}
form .email-field{
    font-family: 'Nunito-Regular', sans-serif;
    font-size: 1em;
    margin-top: 10px;
    margin-bottom: 30px;
    width: 80%;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}
.antispam{
    display: none;
}
form button{
    font-size: 1em;
    padding: 10px 35px;
    display: block;
    background-color: #011837;
    border-radius: 20px;
    color: white;
    border: none;
    margin: 0 auto;
    transition-duration: .5s, .5s;
    cursor: pointer;
}
input:focus{
    outline: none !important;
    border:2px solid #ed244e;
}
form{
    position: relative;
}
form .validation{
    display: none;
    position: absolute;
    bottom:50px;
    left: 50%;
    transform: translateX(-50%);
    color: #f9dc5c;
    background-color: #011837;
    padding: 5px 20px;
    border-radius: 8px;
}
.social-links{
    text-align: center;
    padding: 20px 0 40px 0;
}
.social-icon{
    display: inline-block;
    width:60px;
    transition: all;
    transition-duration: .5s, .5s;
    text-align: center;
}
.social-icon p{
    color: #ed244e;
    font-size: .7em;
    padding-bottom: 10px;
    opacity: 0;
    transition-duration: .5s, 1s;
}
.social-icon span{
    transition-duration: .5s, 1s;
    color: #011837;
    font-size:40px;
}
#contact .header-pic img{
    width: 160px;
}
/* ------------FOOTER---------- */
footer{
    padding:80px 0 20px 0;
    text-align: center;
}
.footer-menu{
    padding: 30px;
}
.footer-menu li{
    display: inline-block;
    padding: 0 10px;
}
footer .line-divider{
    width: 300px;
    margin: 10px auto;
    border-top: solid 1px #01183748;
}
footer p{
    font-size: .8em;
}
/* -------------About me page----------------------------- */
#about .section-arrow, #about .section-divide{
    fill: #011837;
}
#about .container{
    background-color: #011837;
}
#about .content-container{
    color: #ffffff;
    max-width: 870px;
    padding: 30px 10px;
}
#services .container{
    max-width: 520px;
}
#services h1{
    padding: 20px 0;
    line-height: 1em;
}
#services{
    padding: 50px 10px;
}
#hire-me .section-divide{
    fill: #f9dc5c;
}
#hire-me .container{
    background-color: #f9dc5c;
}
#hire-me .content-container{
    text-align: left;
    max-width: 520px;
    padding: 30px 20px;
}
#hire-me h1{
    padding: 20px 0;
    line-height: 1em;
}
@media (any-pointer: fine), (any-pointer: coarse) {

    #menu-list a:hover{
        transition-duration: .5s, 1s;
        color: #ed244e;
    }
    #gallery .thumbnail:hover > img{
        transition: all;
        transition-duration: .5s, .5s;
        transform: scale(103%);
        filter:brightness(70%);
    }
    #gallery .thumbnail:hover > .light-box{
        transition: all;
        transition-duration: .5s, 1s;
        opacity: 1;
        transform: translateY(0);
    }
    #gallery .thumbnail:hover >  p{
        transition-duration: .5s, 1s;
        opacity: 1;
        bottom: 0;
    }
    form button:hover{
        transition-duration: .5s, 1s;
        background-color: #ed244e;
    }
    .social-icon:hover{
        transform: translateY(8px);
    }
    .social-icon:hover span{
        transition-duration: .5s, 1s;
        color: #ed244e;
    }
    .social-icon:hover > p{
        transition-duration: .5s, 1s;
        opacity: 1;
    }
    .footer-menu a:hover{
        color:#ed244e;
    }
}
@media (hover: none){
    #gallery .thumbnail{
        transition: all;
        transition-duration: .5s, 1s;
        transform: scale(95%);
        filter:brightness(70%);
    }
    #gallery .thumbnail p{
        opacity: 1;
        bottom: 0;
    }
}
@media screen and (max-width: 359px){
    .profile-text{
        width: 100%;
    }
    .profile-text p{
        padding: 10px;
    }
    .contact-header p{
        width: 90%;
        padding: 15px 0;
        background-color: #ed244e;
    }
}
@media screen and (min-width: 490px){
    #gallery{
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        grid-gap:0.8em;
    }
    .contact-header p{
        width: 60%;
    }
}
@media screen and (max-width: 499px){
    .project .header h1{
        width: 90%;
        padding: 0;
    }
    .project .header span{
        display: block;
        padding: 20px 0;
    }
}
@media screen and (min-width: 900px){
}
/* ------------------ Animations ------------------ */
@keyframes fade-in-bottom {
    from {
    opacity: 0;
    transform: translateY(10%);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
    }
    @keyframes fade-in-right {
    from {
    opacity: 0;
    transform: translateX(10%);
    }
    to {
    opacity: 1;
    transform: translateX(0);
    }
    }
    @keyframes fade-in-left {
    from {
    opacity: 0;
    transform: translateX(-10%);
    }
    to {
    opacity: 1;
    transform: translateX(0);
    }
    }

