@import url('https://fonts.googleapis.com/css?family=Asap:400,600|K2D:400,600|Exo 2:400,600&subset=latin-ext');
* {
    margin: 0;
    padding: 0;
}
*, *:before, *:after {
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}
html, body {
    height: 100%;
    width: 100%;
    font-family: 'Asap', 'Arial', sans-serif;
    color: #383838;
    background-color: #f8f9fa;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 100%;
}
.main-container {
    height: auto;
    width: 100vw;
    overflow: hidden;
}
.navbar {
    padding: 0.8rem;
}
.navbar-nav li {
    padding-right: 40px;
}
.nav-link {
    font-family: 'K2D', 'Arial', sans-serif;
    font-size: 1.1em!important;
}
.nav-link:hover {
    color: rgb(0,91,92)!important;
}
/* Header */
.hero-image {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("../img/header.png");
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    font-family: 'K2D', sans-serif;
    color: #afeeee;
    display: flex;
    flex-direction: column ;
    justify-content: center;
    align-items: center;
}
.hero-image > h1 {
    font-size: 6.5em;
    animation:fadeIn;
    -webkit-animation-duration: 1.5s;
            animation-duration: 1.5s;
    -webkit-animation-delay: 0;
            animation-delay: 0;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
}
@keyframes fadeIn {
    0% {
      transform: translateY(1024px);
      opacity: 0;
    }
    50% {
        transform: translateY(0);
        opacity: 0.4;
        scale:1;
      }
    100% {
      transform: translateY(0);
      opacity: 1;
      scale: 1;
    }
}

.hero-image span {
    font-size: 4.00em;
    color: #f8f9fa;
    -webkit-animation:fadeIn;
    animation:fadeIn;
    -webkit-animation-duration: 1.5s;
            animation-duration: 1.5s;
    -webkit-animation-delay: 0;
            animation-delay: 0;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
}

html > div > div.hero-image > a {
    text-decoration: none;
}
button[type=btn]:hover {
    background: transparent; 
    border: 2px solid rgba(212, 139, 22, 1);
    opacity: 0.85;
    transform: scale(1.2);
    text-decoration: none;
    font-weight: 600;
}
div>div.hero-text>button>a {
    color: #383838!important;
    opacity: 0.85;
    transform: scale(1.5);
    text-decoration: none;
}
button[type=btn]:active {
    text-decoration: none;
}
button[type=btn]:link {
    text-decoration: none;
}
/* About section */
html .main-contener h2 {
    position: relative;
    text-align: center;
    color: #555;
    line-height: 1.8em;
    padding-top: 3em;
    padding-bottom: 0.625em;
    font-family: 'Asap', sans-serif;
}
.myphoto+p {
    display: block;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
    width: 75%;
    margin: 0 auto;
}
.it-label {
    display: inline-block;
    padding-left: 4em;
    padding-right: 4em;
    padding-top: 2.25em;
}
div.it-label>p {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.8em;
    font-weight: 600;
    padding-bottom: 1.625rem;
    color: #888;
}
.myphoto {
    padding-bottom: 1.625em;
}
.fab {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    transition: 0.2s;
}
.fas {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    transition: 0.2s;
}
.fa-html5 {
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    font-size: 5em;
    content: "\f13b";
    color: #888;  
}
.fa-html5:hover, .fa-html5:focus {
    color: #e54d26;
}
.fa-css3-alt {
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    font-size: 5em;
    content: "\f38b";
    color: #888;
}
.fa-css3-alt:hover {
    color: #2163af;
}
.fa-bootstrap {
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    font-size: 5em;
    content: "\f836";
    color: #888;
}
.fa-bootstrap:hover {
    color: #6f42c1;
}
.fa-git-alt {
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    font-size: 5em;
    content: "\f841";
    color: #888;
}
.fa-git-alt:hover {
    color: #000;
}
.fa-js-square{
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    font-size: 5em;
    content: "\f3b9";
    color: #888;
}
.fa-js-square:hover  {
    color: #ffc107;
}
/* Portfolio */
.portfolio {
    display: flex;
    flex-flow: row wrap;
    max-heighth: calc(100%);
    max-width: calc(100vw);
    overflow: hidden;
}
.overlay-project {
    width: 500px;
    height: 332px;
    overflow: hidden;
    border: 1.8vw solid #f8f9fa;
}
.overlay-project:hover {
    transform: scale(1.06);
}
.overlay-project>button:hover {
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.15);
}
.item1 {
    display: flex;
    background-image: linear-gradient(-135deg,rgba(220, 220, 220, 0.4) 0%,rgba(175, 238, 238, 0.4) 100%), url("../img/project1.png");
    color: #383838;
    height: 332px;
    max-height: 50vh;
    background-size: cover;
    background-position: 100% 75%;
    background-repeat: no-repeat;
    justify-content: center;
    align-items: center;
    transition: all 0.25s ease-in-out;
}
div.portfolio > div > button#portfolio-button1 {
    background-image: -o-linear-gradient(225deg,rgba(220, 220, 220, 0.8) 0%,rgba(175, 238, 238, 0.8) 100%);
    background-image: linear-gradient(-135deg,rgba(220, 220, 220, 0.8) 0%,rgba(175, 238, 238, 0.8) 100%);
    border-radius: 12px;
    border: 1px solid rgba(170, 170, 170, 0.1);
    opacity: 0.9;
    height: 2.4em;
    width: 6em;
    min-height: 25px;
    min-width: 60px;
}
button#portfolio-button1 > a {
    color: #383838;
    text-decoration: none;
    cursor: pointer;
}
.item2 {
    display: flex;
    background-image: linear-gradient(-135deg,rgba(255, 209, 153, 0.4) 0%,rgba(245, 135, 0, 0.2) 100%), url("../img/project2.png");
    color: #383838;
    height: 332px;
    max-height: 50vh;
    background-position: center 17%;
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: center;
    align-items: center;
    transition: all 0.25s ease-in-out;
}
div.portfolio > div > button#portfolio-button2 {
    background-image: -o-linear-gradient(225deg,rgba(255, 221, 179, 0.8) 0%,rgba(252, 197, 131, 0.8) 100%);
    background-image: linear-gradient(225deg,rgba(255, 221, 179, 0.8) 0%,rgba(252, 197, 131, 0.8) 100%);
    border-radius: 12px;
    border: 1px solid rgba(170, 170, 170, 0.1);
    opacity: 0.9;
    height: 2.4em;
    width: 6em;
    min-height: 25px;
    min-width: 60px;
}
button#portfolio-button2 > a {
    color: #383838;
    text-decoration: none;
    cursor: pointer;
}
.item3 {
    display: flex;
    background-image: -o-linear-gradient(225deg,rgba(255, 209, 153, 0.4) 0%,rgba(245, 135, 0, 0.2) 100%), url("../img/project3.png");
    background-image: linear-gradient(-135deg,rgba(255, 209, 153, 0.4) 0%,rgba(245, 135, 0, 0.2) 100%), url("../img/project3.png");
    color: #383838;
    height: 332px;
    max-height: 50vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: center;
    align-items: center;
    transition: all 0.25s ease-in-out;
}
div.portfolio > div > button#portfolio-button3 {
    background-image: -o-linear-gradient(225deg,rgba(255, 221, 179, 0.8) 0%,rgba(252, 197, 131, 0.8) 100%);
    background-image: linear-gradient(225deg,rgba(255, 221, 179, 0.8) 0%,rgba(252, 197, 131, 0.8) 100%);
    border-radius: 12px;
    border: 1px solid rgba(170, 170, 170, 0.1);
    opacity: 0.9;
    height: 2.4em;
    width: 6em;
    min-height: 25px;
    min-width: 60px;
}
button#portfolio-button3 > a {
    color: #383838;
    text-decoration: none;
    cursor: pointer;
}
.item4 {
    display: flex;
    background-image: -o-linear-gradient(225deg,rgba(220, 220, 220, 0.4) 0%,rgba(175, 238, 238, 0.4) 100%), url("../img/project4.png");
    background-image: linear-gradient(-135deg,rgba(220, 220, 220, 0.4) 0%,rgba(175, 238, 238, 0.4) 100%), url("../img/project4.png");
    color: #383838;
    height: 332px;
    max-height: 50vh;
    background-position: center 0%;
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: center;
    align-items: center;
    transition: all 0.25s ease-in-out;
}
div.portfolio > div > button#portfolio-button4 {
    background-image: -o-linear-gradient(225deg,rgba(220, 220, 220, 0.8) 0%,rgba(175, 238, 238, 0.8) 100%);
    background-image: linear-gradient(-135deg,rgba(220, 220, 220, 0.8) 0%,rgba(175, 238, 238, 0.8) 100%);
    border-radius: 12px;
    border: 1px solid rgba(170, 170, 170, 0.1);
    opacity: 0.9;
    height: 2.4em;
    width: 6em;
    min-height: 25px;
    min-width: 60px;
}
button#portfolio-button4 > a {
    color: #383838;
    text-decoration: none;
    cursor: pointer;
}
/* Contact form */
.contactMain {
    padding-bottom: 3rem;
    justify-items: center;
    max-width: 600px;
}
.contactForm {
    display: flex;
    flex-flow: column nowrap;
    padding: 1rem 1.4rem 1.4rem 1.4rem;
    border-radius: 1rem;
    align-items: center;
    justify-content: center;
    align-content: center;
    background-color: rgba(120, 120, 120, 0.1);
    box-shadow: 0.03rem 0.03rem 0.2rem 0.1rem rgba(30, 30, 30, 0.1);
}
.contactForm > * {
    flex: 1;
    align-items: center;
    justify-content: center;
    align-content: center;
}
.contactMain > .contactForm > #email,
.contactMain > .contactForm > #name,
.contactMain > .contactForm > #message {
    border: 1px solid rgba(120, 120, 120, 0.5);
    color: #555;
    box-shadow: none;
    background-color: #fcfcfc;
}
#email:focus,#name:focus,#message:focus {
    outline: 2px solid #FFD199 !important;
    background-color: rgba(252, 248, 243, 1);
    box-shadow: none;
}
#email:active,#name:active,#message:active {
    outline: 2px solid #FFD199 !important;
    background-color: rgba(255, 221, 179, 0.15);
    box-shadow: none;
}
input[type=submit] {
    background-image: -o-linear-gradient(225deg,#FFD199 0%,#F58700 100%);
    background-image: linear-gradient(-135deg,#FFD199 0%,#F58700 100%);
    border-radius: 10px;
    opacity: 0.9;
    color: #383838!important;
    width: 6em;
    height: 2.4em;
    box-shadow: inset 0 0 1px 1px rgba(245, 135, 0, 0.3);
    transition: all 0.05s ease-in-out;
}
input[type=submit]:hover {
    background-image: -o-linear-gradient(225deg,#FFD199 0%,#F58700 100%);
    background-image: linear-gradient(-135deg,#FFD199 0%,#F58700 100%);
    color: #383838!important;
    opacity: 1;
    transform: scale(1.10);
    box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.2);
}
textarea {
    border-radius: 2px;
    text-align: justify;    
}
/* Footer */
footer {
    padding-top:10px;
    background-color: #323232;
    color: #dcdcdc;
    font-family: 'Asap', sans-serif;
    text-align: center;
}
hr.light {
    border-top: 1px solid #dcdcdc;

}
footer .fas {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}
.fa-phone {
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    content: "\f095";
    color: #f8f9fa;
}
.fa-envelope {
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    content: "\f0e0";
    color: #f8f9fa;
}
footer p {
    display: inline-block;
    padding-left: 1rem;
}
/* Media */
@media (max-width: 992px) {
    html {
        font-size: 0.97rem;
    }
    h1 {
        font-size: 3.5em;
    }
    h2 {
        font-size: 2.25em;
    }
}
@media (max-width: 832px) {
    html {font-size: 0.95rem;
    }
    h1 {
        font-size: 2.4em;
    }
    h2 {
        font-size: 0.7em;
    }
}
@media (max-width: 768px) {
    html {font-size: 0.8rem;
    }
    h1 {
        font-size: 2em;        
    }
    h2 {
        font-size: 0.5em;
    }
}
@media (max-width: 576px) {
    html {font-size: 0.7rem;
    }
}
