@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700');
body{
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 19px;
}
a{
    color: #fff;
}
.logote{
    background: url(../images/ound.png) center center no-repeat;
    width: 520px;
    height: 660px;
    top: 0;
    position: absolute;
    left: -160px;
    opacity: 0.2;
    transform: rotate(328deg) scale(1) skew(1deg) translate(0px);
    -webkit-transform: rotate(328deg) scale(1) skew(1deg) translate(0px);
    -moz-transform: rotate(328deg) scale(1) skew(1deg) translate(0px);
    -o-transform: rotate(328deg) scale(1) skew(1deg) translate(0px);
    -ms-transform: rotate(328deg) scale(1) skew(1deg) translate(0px);
}
.intro{
    background: url(../images/background.png) center center no-repeat;
    background-size: cover;
    padding-bottom: 70px;
}
.about img{
    width: auto;
}
.text-hello{
    font-size: 8em;
}
.text-about{
    width: 80%;
    line-height: 180%;
}
.text-skills{
    margin-top: 80px;
}
.text-skills h3{
    font-size: 22px;
    margin-bottom: 40px;
}
.text-skills li{
    float: left;
    width: 33%;
    font-weight: bold;
    list-style-type: none;
    margin-bottom: 25px
}
.text-skills li::before {
    content: "\25E6";
    color: #fe0808;
    display: inline-block;
    width: 2em;
}
.projects{
	background-color: #471e25;
    padding-top: 60px;
    padding-bottom: 60px;
}
.clientes{
    background: #191818;
    padding-top: 50px;
}
.clientes li{
    float: left;
    width: 25%;
    list-style-type: none;
}
.clientes li img{
    opacity: .5;
}
.contacto{
    padding-top: 70px;
    padding-bottom: 150px;
}
.contacto p{
    line-height: 180%;
}
.contacto .gracias{
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    background-color: #a94442;
}
footer{
    background: #000;
    background: #000;
    padding: 30px 0px;
}
.footer p{
    margin:0;
    font-size: 14px;
}
h2{
    font-size: 65px;
    text-transform: lowercase;
    margin-bottom: 20px;
}
#canvas{
    position: absolute;
    width: 100%;
    height: 350px;
}
.form{
    margin-top: 60px;
}
.form input{
    font-size: 16px;
    background: #000;
    border: none;
    padding: 15px;
    width: 100%;
    margin-bottom: 15px;
}
.form textarea{
    font-size: 16px;
    background: #000;
    border: none;
    padding: 15px;
    width: 100%;
    margin-bottom: 15px;
    resize: none;
}
.error-text{
    margin-bottom: 15px;
    font-size: 16px;
    color: #fffb00;
}
button{
    padding: 10px 17px;
    background: transparent;
    border: 3px solid #ca0827;
    width: 100%;
    font-size: 20px;
    -webkit-animation: fadeOut .5s ease;
    -moz-animation: fadeOut .5s ease;
    -o-animation: fadeOut .5s ease;
    animation: fadeOut .5s ease;
}
button:hover{
    background-color: rgba(240, 10, 48, 0.42);
    -webkit-animation: fadeIt .5s ease;
    -moz-animation: fadeIt .5s ease;
    -o-animation: fadeIt .5s ease;
    animation: fadeIt .5s ease;
}

.proyecto .info{
    margin-top: 60px;
}
.proyecto .logo {
    padding-top: 20px;
}
.proyecto h1{
    font-size: 5vw;
    font-weight: 100;
    margin-bottom: 40px;
}
.proyecto .text{
    font-size: 19px;
    line-height: 200%;
}
.proyecto .fotos{
    background: #191818;
    padding-top: 50px;
    padding-bottom: 100px;
}
.proyecto .fotos figure{
    margin-bottom: 20px;
    text-align: center;
}
.proyecto .fotos figure img {
    width: auto !important;
}

/* -----  1.4 Images & Figures  --------------------------------------------- */
ul{
    padding:0;
}
img {
    border-style: none;
    width: 100%;
    height: auto;
}

figcaption {
    font-size: .75rem;
    line-height: 1.5rem;
}

/* =====  2 Layout Helpers & Reusable Components  =========================== */

/* The Clearfix™: A classic … */
.cf::after {
    content: "";
    display: block;
    height: 0;
    overflow: hidden;
    clear: both;
}

/* -----  2.3 Grid & Layout  ------------------------------------------------ */

.grid {
    font-size: 0;
}

.grid.gutter-1 {
    /* We don’t use the shorthand attribute `margin: …` here
       to make vertical margin easily overridable by other
       styles with a lower specifity. */
    margin-left: -.375rem;
    margin-right: -.375rem;
}

.grid.gutter-1 .column {
    padding-left: .375rem;
    padding-right: .375rem;
}

.column {
    position: relative;
    display: inline-block;
    width: 100%;
    font-size: 1rem;
    vertical-align: top;
}

.wrap {
    box-sizing: content-box;
    margin: 0 auto;
    padding-left: .75rem;
    padding-right: .75rem;
    max-width: 36rem;
}

.wrap.wide {
    max-width: 48rem;
}

@media all and (min-width: 31.5em) {
    .wrap:not(.wide) {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media all and (min-width: 38.25em) {
    .wrap {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    .wrap.wide {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* -----  2.4 Pagination  --------------------------------------------------- */

.pagination {
    margin-bottom: 1.5rem;
}

.pagination-item {
    position: relative;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: #efeeed;
    color: #232428;
    border-bottom: 0;
}

.pagination-item:hover, .pagination-item:focus {
    background: #232428;
    color: #71efac;
}

.pagination-item:active {
    background: #2f3135;
}

.pagination-item.left {
    float: left;
}

.pagination-item.right {
    float: right;
}

.pagination-item svg {
    position: relative;
    top: 50%;
    display: block;
    margin: -6px auto 0;
    width: 24px;
    height: 12px;
}

.pagination-item path {
    fill: currentColor;
}

.pagination-item.is-inactive {
    color: #e4e3e6;
    border: 2px solid currentColor;
    background: transparent;
}

@media all and (min-width: 75em) {
    .pagination-item {
        position: fixed;
        top: 50%;
        margin-top: -.875rem;
    }
    .pagination-item.left {
        float: none;
        left: 2.25rem;
    }
    .pagination-item.right {
        float: none;
        right: 2.25rem;
    }
}

@media all and (pointer: coarse) {
    .pagination-item {
        /* On touch-devices we increase prev/next buttons */
        width: 2.25rem;
        height: 2.25rem;
    }
}

/* ----- 2.5 Projects Showcase ---------------------------------------------- */

.showcase {
    position: relative;
    margin-top: 60px;
    margin-bottom: 40px;
}

.showcase-item {
    list-style: none;
    margin-bottom: .75rem;
    position: relative;
}

@media all and (min-width: 38em) {
    .showcase-item {
        width: 33.33%;
    }
    .showcase-item:nth-last-child(3n+2):first-child,
    .showcase-item:nth-last-child(3n+2):first-child + .showcase-item, .showcase-item:nth-last-child(3n+1):first-child,
    .showcase-item:nth-last-child(3n+1):first-child ~ .showcase-item:nth-child(-n+4) {
        /* x = items
           When x % 3 = 2, select first and second item:
           When x % 3 = 1, select first 4 items: */
        width: 50%;
    }
}

.showcase-link {
    display: block;
    position: relative;
    padding-top: 100%;
    z-index: 0;
    border-bottom: 0;
}

.showcase-caption {
    position: absolute;
    top: .75rem;
    left: .75rem;
    right: .75rem;
    bottom: .75rem;
    color: #eafded;
    letter-spacing: .05em;
    opacity: 0;
    -webkit-transition: .25s opacity;
    transition: .25s opacity;
    will-change: opacity;
    background: rgba(54,53,54,.7);
    background: -moz-linear-gradient(45deg, rgba(54,53,54,.7) 0%, rgba(240,10,48,.7) 100%);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(54,53,54,.7)), color-stop(100%, rgba(240,10,48,.7)));
    background: -webkit-linear-gradient(45deg, rgba(54,53,54,1) 0%, rgba(240,10,48,.7) 100%);
    background: -o-linear-gradient(45deg, rgba(54,53,54,1) 0%, rgba(240,10,48,.7) 100%);
    background: -ms-linear-gradient(45deg, rgba(54,53,54,1) 0%, rgba(240,10,48,.7) 100%);
    background: linear-gradient(45deg, rgba(54,53,54,1) 0%, rgba(240,10,48,.7) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#363536', endColorstr='#f00a30', GradientType=1 );
}

.showcase-title {
    margin-bottom: 0;
    text-align: center;
    text-align: center;
    width: 100%;
    padding: 0 1.5rem;
    /* Vertically center the caption */
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.showcase-image {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

.showcase-link:hover .showcase-caption,
.showcase-link:focus .showcase-caption {
    opacity: 1;
}

@media (any-hover: none) {
    .showcase-caption {
        /* The media query, enclosing these rules matches only
           touch-screen devices that do not support hover due
           to the lack of a pointing device like a mouse.
           It does not work in all mobile browsers, but
           progressively enhances the experience on supported
           devices. Tested in Safari (iOS) 9.3 */
        opacity: 1.0;
        /* Reset will-change property to keep it from eating
           up unneccessary resources on touch-only devices */
        will-change: auto;
    }
    .showcase-title {
        font-size: .85em;
    }
}

/* ----- 3.1  Header  ------------------------------------------------------- */

/* -----  3.2 Menu  --------------------------------------------------------- */

.menu {
    text-align: center;
    font-weight: 500;
    padding-top: 20px;
    padding-bottom: 20px;
}

.menu-item {
    display: inline-block;
    font-size: 22px;
    text-transform: lowercase;
}

.menu-item:not(:last-child)::after {
    content: "/";
    display: inline-block;
    font-size: .75em;
    padding: 0 .2em;
    color: #672731;
}

.menu-item a {
    border-bottom: 0;
    color: #fff;
}
.menu-item a:hover{
    text-decoration: none;
    color: #ffff83;
}

.menu-item.is-active a {
    border-bottom: 2px solid #ef4632;
}

@media all and (min-width: 56em) {
    .menu {
        text-align: right;
    }
}

/* -----  4.1 Homepage  ----------------------------------------------------- */

.projects-section {
    background: #eafded;
    margin-top: 3rem;
    padding-top: 2.25rem;
    padding-bottom: .75rem;
}

.projects-section-more {
    text-align: center;
}

/* -----  4.4 Contact  ------------------------------------------------------ */

.contact-options {
    list-style: none;
    margin-bottom: 3rem;
    margin-left: -.375rem;
    margin-right: -.375rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.contact-item {
    padding: 0 .375rem;
    background: #eafded;
    background-clip: content-box;
    text-align: center;
    font-size: .85rem;
    width: 100%;
    margin-bottom: .75rem;
    /* By using flexbox for a contact option’s content,
       we can ensure, that the action button in each
       box always aligns euqally to the bottom
       of that box. */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

@media all and (min-width: 40em) {
    .contact-item {
        width: 50%;
    }
}

@media (min-width: 62.5em) {
    .contact-item {
        width: 25%;
    }
}

.contact-item-icon {
    max-width: 50%;
    margin-bottom: 1.5em;
}

.contact-item-title {
    margin-bottom: 1.5em;
}

.contact-item-content {
    padding: 1.5rem 2.25em .375em;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.contact-twitter {
    text-align: center;
    font-weight: 500;
    position: relative;
}

.contact-twitter h2 {
    margin-bottom: 3rem;
}

.contact-twitter h2::before {
    content: "";
    display: block;
    width: 3rem;
    height: 3rem;
    background: url(../images/logo.svg) 50% 50%/contain no-repeat;
    margin: 3rem auto 1.5rem;
}

@media all and (min-width: 36em) {
    .contact-twitter p:not(:first-of-type) {
        width: 50%;
        float: left;
    }
}

@media all and (min-width: 46em) {
    .contact-twitter p:not(:first-of-type) {
        width: 33.33%;
    }
}

/*************/
.fadeIn {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: 3s;
    animation-duration: 3s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
@-webkit-keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}
@keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}
.slideInDown {
    -webkit-animation-name: slideInDown;
    animation-name: slideInDown;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
@-webkit-keyframes slideInDown {
    0% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
        visibility: visible;
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}
@keyframes slideInDown {
    0% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
        visibility: visible;
        opacity: 0;
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}

@-webkit-keyframes fadeIt {
    0%   { background-color: transparent; }
    100% { background-color: rgba(240, 10, 48, 0.42); }
}
@-moz-keyframes fadeIt {
    0%   { background-color: transparent; }
    100% { background-color: rgba(240, 10, 48, 0.42); }
}
@-o-keyframes fadeIt {
    0%   { background-color: transparent; }
    100% { background-color: rgba(240, 10, 48, 0.42); }
}
@keyframes fadeIt {
    0%   { background-color: transparent; }
    100% { background-color: rgba(240, 10, 48, 0.42); }
}


@-webkit-keyframes fadeOut {
    0%   { background-color: rgba(240, 10, 48, 0.42);}
    100% { background-color: transparent; }
}
@-moz-keyframes fadeOut {
    0%   { background-color: rgba(240, 10, 48, 0.42);}
    100% { background-color: transparent; }
}
@-o-keyframes fadeOut {
    0%   { background-color: rgba(240, 10, 48, 0.42);}
    100% { background-color: transparent; }
}
@keyframes fadeOut {
    0%   { background-color: rgba(240, 10, 48, 0.42);}
    100% { background-color: transparent; }
}