
body {
    background-color: white;
    font-family: 'Inconsolata', monospace;
    font-size: 1.1rem;
    line-height: 1.3em;
    color: #828e9e;
}

.container-fluid,
.container {
  margin-right: auto;
  margin-left: auto;
  padding-right: 1rem;
  padding-left: 1rem;
}

a {
    color:#0f41e6;
    text-decoration: none;
    opacity: 1;
}

/* ------helpers---------*/

.hidden {
    display: none;
    visibility: hidden;
}

.row-no {
  margin-right: 0;
  margin-left: 0;
}

.col-no {
  padding-right: 0;
  padding-left: 0;
}

.image {
    background-repeat: no-repeat;
    background-color: transparent;
    margin: 0;
    padding: 0;
    outline: none;
    font-size: 0px !important;
    line-height: 0em !important;
    letter-spacing: -20px;
    text-indent: -2px;
    display: inline-block;
    overflow: hidden;
    text-align: left;
    border: none;
    color: transparent; 
}

.image a {
    display: block;
    width: 100%;
    height: 100%;
    height: inherit;
}

.btn {
    padding: .3rem 1.6rem;
    background: #0f41e6;
    border: 2px solid #0f41e6;
    color: white;
    display: inline-block;
    text-decoration: none;
    border-radius: 4px;
    font-size: .9rem;
}

.btn:hover {
    background: white;
    border-color: #0f41e6;
    color:  #0f41e6;
}

.btn-secondary {
    border-color: #392478;
    background: #392478;
    color: white;
}

.btn-secondary:hover {
    background: transparent;
    border-color: white;
    color: white;
}

.img-responsive {
    height: auto;
    max-width: 100%;
}

.header-main {
    border-bottom: 1px solid #e5eeee;
    padding: .8rem 2rem .2rem 2rem;
    box-sizing: border-box;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    background: white;
}

.site-logo {
    background:url('../img/ayma-logo.svg') no-repeat;
    width: 100px;
    height: 48px;
    cursor: pointer;
}

.ml-presentation .presentation-text {
    padding: 0 .5rem 1rem .5rem;
    box-sizing: border-box;
    text-align: center;
    color: #828e9e;
    font-size: 1rem;
    line-height: 1.3;
}
.ml-presentation .presentation-img {
    text-align: center;
    padding: 2rem 0 0 0;
    width: 90%;
    margin: 0 auto;

}

.ml-presentation .site-title {
    font-size: 1.6rem;
    color: #0f41e6;
}

.ml-work {
    padding: 4rem 0 4rem 0;
    line-height: 0;
}

/* ------menu---------*/

.menu-toggle {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
}

.menu-toggle.on {
    background: none;
}

.menu-toggle.on .one {
    transform: rotate(45deg) translate(7px, 7px);
    background: white;
}

.menu-toggle.on .two {
    opacity: 0;
}

.menu-toggle.on .three  {
    transform: rotate(-45deg) translate(8px, -10px);
    background: white;
}

.one,
.two,
.three{
    width: 100%;
    height: 5px;
    background: #0f41e6;
    margin: 6px auto;
    backface-visibility: hidden;
    -webkit-transition-duration: 0.3s; /* Safari */
    transition-duration: 0.3s;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  margin: 9rem auto;
  text-align: center;
  font-weight: 700;
}
  
nav ul.hidden {
    display: none;
}

nav ul a {
    text-decoration: none;
    color: white;
    line-height: 1.5;
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
    width: 70%;
    font-size: 2rem;
    padding: .5rem 1rem;
    box-sizing: border-box;
    transition: all 1s;
}

nav ul a:hover {
    opacity: .3;
    padding-left: 4rem; 
    transition: all 1s;
}

.menu-section {
    height: 0;
}

.menu-section.on {
    z-index: 100;
    width: 100%;
    height: 100%;
    display: block;
    background-color: #0f41e6;
    position: fixed;
    top: 0;
    transition: all 0.2s;
}

/* projects */

.at-project {
    display: block;
    overflow: hidden;
    position: relative;
    overflow: hidden;
    color: black;
}

.at-project header {
    position: absolute;
    top: -15rem;
    left: 1rem;
    transition: top .5s ease-in-out;
    max-width: 100%;
    z-index: 100;
}

.at-project header h1 {
    font-size: 1.6rem;
    line-height: 1.3em;
    color: white;
    padding: 1rem 2rem 0 2rem;
}

.at-project header h2 {
    font-size: 1rem;
    line-height: 1.3em;
    color: white;
    padding: 0 2rem;
    opacity: .7;
    font-weight: 300;
}

.at-project:hover header {
    top: 3rem;
}

.at-project:hover::before {
    background: #0f41e6;
    background-size: 200%;
    animation: horizontalBackgroundScroll 5s linear 0s infinite;
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    opacity: .9;
}

.credits-wrapper {
    border-top: 1px solid #e2eaf5;
    border-bottom: 1px solid #e2eaf5;
     margin-bottom: 2rem;
}

.at-credits {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.at-credits .credit-title {
    font-size: 1.2rem;
    text-transform: uppercase;
    color: #0f41e6;
    margin-bottom: .5rem;
}

.at-credits p {
    font-size: .9rem;
    margin-top: .5rem;
}

.at-services {
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin-top: 0;
}

.at-services .services-list-title {
    font-size: 1.2rem;
    color: #0f41e6;
    margin-bottom: 1rem;
}

.at-services ul {
    text-align: left;
}

.at-services li {
    font-size: .9rem;
    margin-top: .5rem;
}

.project .project-img {
    background-size: cover;
    height: 50vh;
}

.project-meninomorreu .project-img {
    background-image:url('../img/projects/meninomorreu/img-main.png');
    background-position: center;
}
.project-nomesevoces .project-img {
    background-image:url('../img/projects/nomesevoces/img-main.png');
    background-position: center;

}
.project-lostandfound .project-img {
    background-image:url('../img/projects/lostandfound/img-main.png');
    background-position: center;

}
.project-clara-corbelhe .project-img {
    background-image:url('../img/projects/clara-corbelhe/img-main.png');
    background-position: center;

}
.project-casamuseoepb .project-img {
    background-image:url('../img/projects/casamuseoepb/img-main.png');
    background-position: center;

}
.project-sinsal .project-img {
    background-image:url('../img/projects/sinsal/img-main.png');
    background-position: center;

}
.project-cispac .project-img {
    background-image:url('../img/projects/cispac/img-main.png');
    background-position: center;

}
.project-rapacinas .project-img {
    background-image:url('../img/projects/rapacinas/img-main.png');
    background-position: center;

}
.project-numax .project-img {
    background-image:url('../img/projects/numax/img-main.png');
    background-position: center;

}
.project-salutdretsaccio .project-img {
    background-image:url('../img/projects/salutdretsaccio/img-main.png');
    background-position: center;

}
.project-ans .project-img {
    background-image:url('../img/projects/ans/img-main.png');
    background-position: center;

}
.project-setembro .project-img {
    background-image:url('../img/projects/setembro/img-main.png');
    background-position: center;

}
.project-vinte .project-img {
    background-image:url('../img/projects/vinte/img-main.png');
    background-position: center;

}
.project-praza .project-img {
    background-image:url('../img/projects/praza/img-main.png');
    background-position: center;

}
.project-cgai .project-img {
    background-image:url('../img/projects/cgai/img-main.png');
    background-position: center;

}
.project-aaag .project-img {
    background-image:url('../img/projects/aaag/img-main.png');
    background-position: center;

}

.project  .img-wrapper {
    text-align: center;
    padding: 1rem 0;
}

.project .project-header {
    padding: 2rem 0rem;
}

.project .project-header .project-title {
    color: #0f41e6;
    margin-bottom: 1rem;
    line-height: 1em;
}

.project .project-header .project-role {
    font-size: .9rem;
    font-weight: 400;
    margin-top: 1rem;
    width: 70%;
}

.footer-inner-wrapper {
    border-top: 1px solid #e2eaf5;
}

.contact {
    padding-bottom: 2rem;
}

.contact .btn-wrapper {
    margin-top: 2rem;
}

.contact-title {
    font-size: 1.2rem;
    color: #0f41e6;
    margin-bottom: 1rem;
    border-top: 1px solid #e2eaf5;
    padding-top: 3rem;
    margin-top: 3rem;
}

.contact .social-wrapper {

}

.contact .social-wrapper ul {
    list-style: none;
    margin: 2rem 0 0 0;
    padding: 0;
    text-align: center;
}

.contact .social-wrapper ul li {
    display: inline-block;
} 

.social-wrapper .facebook {
    background-image:url('../img/facebook.svg');
    height: 50px;
    width: 50px;
}

.social-wrapper .linkedin {
    background-image:url('../img/linkedin.svg');
    height: 50px;
    width: 50px;
}

.social-wrapper .instagram {
    background-image:url('../img/instagram.svg');
    height: 50px;
    width: 50px;
}

.social-wrapper a:hover {
    opacity: .6;
}

.ml-projects .col-xs-4 {
    padding: 0;
}


.ml-projects .col-md-4 {
    padding: 0;
}


.projects-list {
    list-style: none;
    margin: 0;
    padding: 0;
}


.at-project-mini {
    display: block;
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.at-project-mini img {
    display: block;
} 

.at-project-mini header {
    position: absolute;
    top: -15rem;
    left: 1.5rem;
    -webkit-transition: top .5s ease-in-out;
    transition: top .5s ease-in-out;
    max-width: 100%;
    z-index: 100;
    font-size: 1.4rem;
    line-height: 1.3em;
    text-align: left;
}

.at-project-mini:hover::before {
    background: #0f41e6;
    background-size: auto;
    background-size: 200%;
    -webkit-animation: horizontalBackgroundScroll 5s linear 0s infinite;
    animation: horizontalBackgroundScroll 5s linear 0s infinite;
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.at-project-mini:hover header{
    top: 4rem;
    color: white;
}



.ml-intro {
    width: 60%;
}



@media screen and (min-width: 980px) {
 
}

@media screen and (min-width: 800px) {

}

@media screen and (min-width: 480px) {
    .ml-presentation .presentation-text {
        padding: 1rem 10rem 4rem 10rem;
        font-size: 1.2rem;
        line-height: 1.6;
    }

    .project .project-header {
    }

    .container-fluid,
    .container {
      padding-right: 2rem;
      padding-left: 2rem;
      max-width: 1500px;
    }

    .project  .img-wrapper {
        text-align: center;
        padding: 2rem 0;
    }

    .at-credits {
        margin-bottom: 0;
    }

    .ml-presentation .presentation-img {
        text-align: center;
        padding: 2rem 0 0 0;
        width: 40%;
        margin: 0 auto;
    }
}