/* TABLE OF CONTENTS:
--------------------------------------------------------------
1) General
2) Header
3) Typhography
4) Helper
5) Banner
6) About me
7) Special Skills
8) Sections
9) Work
 */
/* -------------------------- 1) General ------------------------------------ */
*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

body,
html {
  left: 0;
  top: 0;
  margin: 0px;
  padding: 0px;
  overflow-x: hidden;
  font-family: 'Roboto', sans-serif;
  height: 100%;
  width: 100%;
}

body {
  color: #2f2f2f;
  font-size: 16px;
  line-height: 1.7;
  background-color: #fff;
  overflow: initial;
}

.m-x-0 {
  margin-right: 0px !important;
  margin-left: 0px !important;
}

.p-0 {
  padding: 0;
}

/* Scroll */
.image-bg::-webkit-scrollbar {
  width: 8px;
}

.image-bg::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.image-bg::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}

a {
  color: #2f2f2f;
  text-decoration: none;
  transition: ease .6s;
  -webkit-transition: ease .6s;
  -moz-transition: ease .6s;
  -o-transition: ease .6s;
  -ms-transition: ease .6s;
}

a:hover {
  text-decoration: none;
  color: #818181;
}

a:focus {
  outline: none;
  color: #999999;
  text-decoration: none;
}

iframe {
  border: none;
  width: 100%;
}

img {
  max-width: 100%;
}

*:focus {
  outline: none;
}

/* Carousel */
.carousel-inner img {
  width: 100%;
  height: 500px;
}

@media only screen and (min-width: 768px) {
  .carousel-inner img {
    height: 700px;
  }
}

.carousel-indicators li {
  border-radius: 50%;
  height: 15px;
  width: 15px;
  background-color: rgba(47, 47, 47, 0.103);
}

.carousel-indicators .active {
  background-color: #2f2f2f;
}



.carousel-arrow{
  color: #2f2f2f;
}


/* -------------------------- 2) Header ------------------------------------ */
.header {
  width: 100%;
  z-index: 9999;
}

.for-sticky {
  position: fixed;
  bottom: 0;
  width: 100%;
  opacity: 0.9;
  z-index: 1;
  top: 0;
  left: 0;
  height: 50px;
  border-bottom: 1px solid #f1f1f1;
  display: block;
  padding: 0px 15px 5px 15px;
  background: #ffffff;
}

.logo-nav {
  padding: 6px 0px 0px 2px;
  width: 48px;
  display: block;
}

.opacity-nav {
  opacity: 0.8;
  z-index: 2;
}
.navBar {
  justify-content: center;
  display: flex;
  align-items: center;
  background: #ffffff;
  height: 50px;
}

.nvavBarElement {
  flex: 1;
  text-align: center;
  border-left: 1px dotted rgba(0, 0, 0, 0.5);
}

.navBar .nvavBarElement:nth-child(2) {
  border-left: none;
}
.navBar .icon {
  display: none;
}

.navBar .icon .fa{
  font-size: 25px;
}

/* Navbar mobile version closed */
@media screen and (max-width: 768px) {
  .navBar a:not(:first-child) {
    display: none;
  }
  .navBar {
    float: left;
    display: block;
    height: 50px;
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
  }
  .navBar a.icon {
    opacity: 1;
    display: flex;
    position: absolute;
    right: 0;
    top: 0;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
  }
}

/* Navbar mobile version open */
@media screen and (max-width: 768px) {
  .navBar.open {
    position: relative; 
    width: 100%; 
    height: 358px; 
    overflow: hidden;
     -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    -ms-transition: height 0.3s;
    -o-transition: height 0.3s;
    transition: height 0.3s;
  }
  .navBar.open .nvavBarElement {
    float: none;
    display: block;
    text-align: left;
    padding: 7px 5px;
    border: none;
    border-top: 3px solid rgba(129, 129, 129, 0.3);
  }
  .navBar.open .nvavBarElement:nth-child(2) {
    margin-top: 7px;
  }
}

/* -------------------------- 3) Typhography ------------------------------------ */
h1,
h2,
h3,
h4,
h5 {
  letter-spacing: 0.8px;
  font-family: 'Roboto Slab', serif;
}

p {
  letter-spacing: 0.5px;
  font-size: 13px;
  line-height: 34px;
  font-weight: 300;
}

#home h1 {
  line-height: 40px;
  letter-spacing: 0.6px;
}

#home .typed {
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 1.5px;
  margin: 0 auto;
  opacity: 0.6;
}

.year {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 10px;
  font-family: 'Roboto', sans-serif;
}

.job {
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #cccccc;
}

.company {
  font-size: 14px;
  line-height: 14px;
  color: #2F2F2F;
  display: inline-block;
  font-weight: 400;
  margin-bottom: 0;
}

.imgcompany {
  width: 50px;
}

/*----------------------------------------- 4) Helper --------------------------------------------------*/
.column-mobile {
  display: flex;
  flex-direction: column;
  margin-bottom: 0px;
}

@media only screen and (min-width: 768px) {
  .column-mobile {
    flex-direction: row;
    margin-bottom: 30px;
  }
}

.no-pad {
  padding: 0 !important;
  margin: 0 !important;
}

.pad-80 {
  padding-top: 80px;
}

.mar-t-50 {
  margin-top: 50px !important;
}

.mar-tm-10 {
  margin-top: -10px;
}

.white-col {
  background: #ffffff;
  padding: none;
}

/*---- span -----*/
.title-small span {
  position: relative;
}

.title-small span:after {
  content: "";
  position: absolute;
  bottom: -20px;
  height: 3px;
  background: #DEDEDE;
  width: 48px;
  left: 0;
}

.title-small-center span {
  position: relative;
}

.title-small-center span:after {
  content: "";
  display: block;
  margin: 0 auto;
  margin-top: 20px;
  height: 3px;
  background: #DEDEDE;
  width: 28px;
  left: 0;
}

/*----- background ------*/
.grey-bg {
  background: #f6f6f6;
  padding: 120px 0;
  display: block;
}

.white-bg {
  background: #ffffff;
  padding: 120px 0;
  display: block;
}

/*-------- content --------*/
.content-detail {
  font-weight: 400;
  margin-top: 70px;
  line-height: 30px;
  font-size: 14px;
  letter-spacing: 0.4px;
}

.content-details {
  font-weight: 400;
  margin-top: 40px;
  line-height: 30px;
  font-size: 14px;
}

.pad-bottom {
  padding-bottom: 80px;
}

.text-detail {
  margin-top: 30px;
  color: #5f5f5f;
}

.listing-item {
  list-style: none;
  display: inline-block;
  width: 100%;
  padding: 0;
  margin: 0;
}

.head-sm {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 10px;
  margin-bottom: 20px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
}

.text-grey {
  color: #434343;
  line-height: 26px;
  margin-bottom: 60px;
}

.icon-use {
  font-family: 'Glyphter';
  font-size: 30px;
  line-height: 20px;
  color: #818181;
  margin: 0;
}

/*-------- content --------*/
.content-detail {
  font-weight: 400;
  margin-top: 70px;
  line-height: 30px;
  font-size: 14px;
  letter-spacing: 0.4px;
}

.content-details {
  font-weight: 400;
  margin-top: 40px;
  line-height: 30px;
  font-size: 14px;
}

.pad-bottom {
  padding-bottom: 80px;
}

.text-detail {
  margin-top: 30px;
  color: #5f5f5f;
}

.listing-item {
  list-style: none;
  display: inline-block;
  width: 100%;
  padding: 0;
  margin: 0;
}

.head-about {
  font-size: 13px;
  line-height: 34px;
  letter-spacing: 0.5px;
  font-weight: 300;
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  height: 500px;
}

/* -------------------------- 5) Banner ------------------------------------ */
#imagebanner {
  background-image: url("img/banner.png");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  height: 100vh;
  /* se pone el 100% del viewport horizontal (Pantalla completa)*/
  width: 100%;
  display: block;
  position: relative;
  /* es necesario poner relative para que en los hijos el absolute se ajuste a este. */
}

.wrap-hero-content {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-content {
  position: absolute;
  text-align: center;
  min-width: 330px;
  left: 50%;
  top: 50%;
  padding: 65px;
  background: rgba(255, 255, 255, 0.8);
  outline: 4px double #FFFFFF;
  outline-offset: 8px;
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.typed {
  color: rgb(97, 97, 97);
}

.typed-cursor {
  font-size: 20px;
  color: rgb(97, 97, 97);
}

/*mouse*/
.mouse-icon {
  position: absolute;
  border: 2px solid #2f2f2f;
  background: #ffffff;
  opacity: 0.8;
  border-radius: 13px;
  height: 40px;
  width: 30px;
  margin: 0 auto;
  display: flex;
  margin-bottom: 20px;
  left: 0;
  right: 0;
  bottom: 30px;
  z-index: 100;
}

.mouse-icon .scroll {
  -webkit-animation-name: scrolling;
  -webkit-animation-duration: 1s;
  -webkit-animation-timing-function: linear;
  -webkit-animation-delay: 0s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-play-state: running;
  animation-name: scrolling;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-play-state: running;
}

.mouse-icon .scroll {
  position: relative;
  border-radius: 10px;
  background: #2f2f2f;
  width: 4px;
  height: 8px;
  top: 4px;
  margin-left: auto;
  margin-right: auto;
}

@-webkit-keyframes scrolling {
  0% {
    top: 2px;
    opacity: 0;
  }

  30% {
    top: 8px;
    opacity: 1;
  }

  100% {
    top: 16px;
    opacity: 0;
  }
}

@keyframes scrolling {
  0% {
    top: 2px;
    opacity: 0;
  }

  30% {
    top: 8px;
    opacity: 1;
  }

  100% {
    top: 16px;
    opacity: 0;
  }
}


/*------------------------------Arrow---------------------------------*/


/* -------------------------- 6) About Me------------------------------------ */
#aboutme {
  /* max-height: 700px; */
  display: flex;
  flex-direction: row;
  width: 100%;
  overflow: hidden;
}

.myInfo {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  height: 500px;
}

@media only screen and (min-width: 768px) {
  .myInfo {
    height: 700px;
  }
}

.imageaboutme {
  padding: 0;
  margin: 0;
  background-image: url('img/thisisme.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 500px;
}

@media only screen and (min-width: 768px) {
  .imageaboutme {
    height: 700px;
  }
}

.photoMe {
min-width: 100%;
}

.aboutmeInfo{
  font-size: 13px;
  line-height: 34px;
  letter-spacing: 0.5px;
  font-weight: 300;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  
}
.aboutmeInfo p{
  width: 50%;
}

@media only screen and (max-width: 768px) {
  .aboutmeInfo p {
    width: 70%;
  }
}

.myInfoTable td {
  font-size: 13px;
  font-weight: 300;
}

.myInfoTable td.title {
  padding-right: 10px;
  font-weight: 500;
}

.myInfoTable td.break {
  padding-right: 15px;
}

.myInfoTable tr {
  height: 35px;
}

/* -------------------------- 7) Special Skills------------------------------------ */
#SpecialSkills {
  /* max-height: 1024px; */
  display: flex;
  flex-direction: row;
  width: 100%;
  overflow: hidden;
}

.imagesSpecialSkills {
  margin-top: 20px;
  padding: 20px 0 60px;
}

/*----------------------------------------- 8) Sections --------------------------------------------------*/
/*---------- a. portfolio -----------*/
ul.portfolio-image {
  list-style: none;
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
}

ul.portfolio-image li {
  float: left;
  display: block;
  list-style: none;
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding-top: 46%;
}

ul.portfolio-image li:hover {
  cursor: pointer;
}

ul.portfolio-image li:hover img {
  -webkit-filter: grayscale(100%);
  transform: scale(1.15);
}

ul.portfolio-image li:hover .image-bg {
  opacity: 1;
}

ul.portfolio-image li:hover .description-wrap {
  background: rgba(186, 186, 186, 0.6);
}

ul.portfolio-image li img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  /* -webkit-filter: grayscale(100%); */
  transition: filter, transform, 0.5s;
}

ul.portfolio-image li .decription-wrap {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(242, 242, 242, 0.4);
  padding: 20px;
  transition: background, 0.5s;
}

ul.portfolio-image li .image-bg {
  color: #2f2f2f;
  background: #ffffff;
  background: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  width: 100%;
  height: 100%;
  display: inline-block;
  -ms-transform: translate(-50%, -50%);
  /* IE 9 */
  -webkit-transform: translate(-50%, -50%);
  /* Chrome, Safari, Opera */
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  padding: 10px 0;
  position: relative;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  transition: opacity, 0.5s;
  letter-spacing: 1.5px;
  font-weight: 300;
  color: transparent;
  overflow-y: scroll;
}

ul.portfolio-image li .desc {
  margin-top: 20px;
  text-transform: uppercase;
  z-index: 1;
  right: 0;
  text-align: center;
  color: #2f2f2f;
  font-size: 17px;
  font-weight: 700;
}

ul.portfolio-image li .desc2 {
  z-index: 1;
  margin: 20px 20px;
  text-align: center;
  color: #2f2f2f;
  font-size: 14px;
  font-weight: 300;
  line-height: 24px;
  text-align: left;
}

/* ul.portfolio-image li .miniImage {
  max-height: 20%;
  position: inherit;
  -webkit-filter: grayscale(0%) !important;
  margin-left: 20px;
} */
/* pop up */
.white-popup {
  position: relative;
  background: #FFF;
  padding: 20px;
  width: auto;
  max-width: 200px;
  margin: 20px auto;
}

.moreInfo{
  font-size: 12px;
  text-align: center;
  justify-content: center;
  display: flex;
  color: #68a8e4;
  
}

/*---------------------------- Work---------------------------- */
.wrap-card {
  position: relative;
  transition: all 0.2s ease 0s;
  height: 100%;
}

.wrap-card:before,
.wrap-card:after {
  display: inline-block;
  position: absolute;
  content: " ";
  width: 100%;
  height: 3px;
  background: #DEDEDE;
  -webkit-transform: scaleX(0);
  transition: all 0.2s ease;
}

.wrap-card:before {
  top: 0;
  left: 0;
  -webkit-transform-origin: 0 0;
}

.wrap-card:after {
  bottom: 0;
  left: 0;
  -webkit-transform-origin: 100% 0;
}

.wrap-card:hover {
  transition: all 0.2s ease 0.4s;
}

.wrap-card:hover:after,
.wrap-card:hover:before {
  -webkit-transform: scaleX(1);
  z-index: 2;
}

.card {
  background: #ffffff;
  padding: 30px 35px 45px 35px;
  border: 1px solid rgba(129, 129, 129, 0.1);
  min-height: 618px;
  height: 100%;
  margin-bottom: 30px;
}

.card:before,
.card:after {
  display: inline-block;
  position: absolute;
  content: " ";
  width: 3px;
  height: 100%;
  background: #DEDEDE;
  -webkit-transform: scaleY(0);
  transition: all 0.2s ease 0.2s;
}

.card:before {
  top: 0;
  left: -1px;
  -webkit-transform-origin: 0 100%;
}

.card:after {
  top: 0;
  right: -1px;
  -webkit-transform-origin: 0 0;
}

.card:hover:after,
.card:hover:before {
  -webkit-transform: scaleY(1);
}

/*---------------------------- Skill bars---------------------------- */
.skillst {
  margin-top: 30px;
  padding-right: 15px;
}

.skillst .skillbar {
  width: 100%;
  height: 10px;
  background-color: #e8e8e8;
  position: relative;
  margin-bottom: 60px;
  padding: 2px;
  box-sizing: border-box;
}

.count-bar {
  width: 0px;
  height: 6px;
  background-color: #818181;
  position: relative;
  margin-bottom: 60px;
  padding: 2px;
  box-sizing: border-box;
}

.skillst .title {
  position: absolute;
  line-height: 25px;
  top: -35px;
  left: 0;
  padding-left: 10px;
  font-size: 12px !important;
}

/* color bar #818181 */
/*----------------------------  quote section----------------------------  */
.quote {
  position: relative;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 600px;
  justify-content: center;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.quoteImage {
  background-image: url(img/quote.png);
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  filter: blur(5px);
  z-index: 1;
  width: 100%;
  height: 100%;
  filter: grayscale(50%);
}

.quoteText {
  z-index: 1;
  font-size: 16px;
  line-height: 46px;
  letter-spacing: 2px;
  color: white;
  text-align: center;
  width: 50%;
  font-family: 'Roboto Slab', serif;
  position: absolute;
}

@media only screen and (max-width: 768px) {
  .quoteText {
    line-height: 30px;
    width: 80%;
  }
}
/*----------------------------  CONTACT----------------------------  */

.inputclass {
  width: 250px;
  border: none;
  border-bottom: 1px solid #5b566b;
  margin: 15px;
}


#contact .inputclass {
  font-size: 13px;
  padding: 0px 10px 10px 5px;
  display: block;
  width: 100%;
  border: none;
  border-bottom: 2px solid #dedede;
  background: transparent;
  color: #969696;
  font-size: 13px;
  margin-left: 0;
}

#contact textarea.inputclass {
  resize: vertical; 
  padding: 0px 10px 0px 5px;
  line-height: 16px;

}
#contact .inputclass:focus {
  border-bottom: 2px solid #5b566b;
  
}

.inputButton {
  border: solid #5b566b;
  background-color: Transparent;
  background-repeat: no-repeat;
  padding-left: 10px;
  padding-right: 10px;
  cursor: pointer;
  overflow: hidden;
  outline: none;
  margin-top: 20px;
  color:#5b566b;
  letter-spacing: 2px;
  font-family: roboto;
  width: 75%;
 
 
}

.label{
  margin-bottom: 0;
  margin-top: 10px;
}

.inputButton:hover {
  background-color: #5a5a5a;
  color: white;
}

.inputButton:active {
  background-color: #5a5a5a;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}

.formStyle{
  display: flex;
  flex-direction: column; 
align-items: center;
  justify-content: center;
}

.positionForm{
  width: 100%;
}

.toast{
  position: fixed;
  height: 50px;
  display: none;
  bottom: 40px;
  right: 40px;
  width: 300px;
  background:#5a5a5a;
  z-index: 4;
  justify-content: center;
  align-items: center;
  border-left: 20px solid #5eb987;
}
.toastBody{
  color: white;

}
#toastNotificationError.toast{
  border-left: 20px solid #b95e5e;
}


/*------------------------------ Footer ---------------------------------*/

.footer-bottom{
  width: 100%;
  background: #2f2f2f;
  padding: 40px 0;
  color: #636363;
}

.footer-bottom .container .row.footer-center #footerLink{
  color: #636363;
}

.footer-center{

  display: flex;
  justify-content: center;
  align-items: center;

}

.centerYBottom {
  /* para alinear en el eje Y */
  display: flex;
  align-items: center;
}