@font-face {
  font-family: 'Boticario';
  src: url(../fonts/Boticario.ttf);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";;
  overflow-x: hidden;
  overflow-y: scroll;
}

h1 {
  font-size: 3em;
  font-weight: 600;
}

img {
  width: 100%;
}


.equis {
  font-family: 'Inter', Helvetica, sans-serif;
  font-weight: 600;
  line-height: 0.8em;
}

.header {
  pointer-events: none;
}

.eme-index, .nav-item {
  pointer-events: auto;
}

.container-about, .container-contact, .container-home {
    max-width: 1600px;
  }

.container-about, .container-contact {
  margin-bottom: 6vw;
}

.container-home, .container-proyecto, .container-about, .container-contact {
    max-width: 86%;
  }

.container-proyecto {
    width: 1400px;
  }

.eme-index {
  width: 180px;
  height: auto;
  display: block;
  margin: auto;
}

.eme-index-gif {
    width: 100%;
    height: 100%;
}

.portfolio-proyecto {
  transition: all 0.5s;
}

.portfolio-proyecto:hover {
  opacity: 0.8;
}

.container-home .grid .grid-item:hover>span,
.container-home .grid .grid-item:hover>a img {
 opacity:1;
 transition:opacity 1000ms;
}

.container-home .grid .grid-item span {
 opacity:0;
 transition:opacity 1000ms;
}

.portfolio-thumb-proyecto {
  width: 100%;
}

.navbar-nav a {
  font-family: 'Boticario';
  font-size: 3em;
  line-height: 1em;
  color: #37622f!important;
}

header .navbar-nav a:after {
  content: '';
  width: 0px;
  height: 4px;
  display: block;
  background: #37622f;
  /* transition: 0.25s; */
}

.navbar-nav a:hover:after {
  width: 100%;
}

.navbar-nav a:first-child {
  position: absolute;
  left: 1.5rem;
}

.navbar-nav a:last-child {
  position: absolute;
  right: 1.5rem;
}

.menu-intro a:first-child {
  width: 2.5rem;
  left: 1.5rem;
  top: 1.5rem
}

.menu-intro a:last-child {
  width: 2.5rem;
  right: 1.5rem;
  top: 1.5rem
}

/* .menu-intro a:last-child {
  right: 1.3rem;
} */

.portfolio-nombre-proyecto {
  font-size: 1.3em;
}

.portfolio-proyecto a:hover {
  text-decoration: none!important;
}

.album-gallery {
  margin-bottom: 6vw;
}

/* ISOTOPE */

/* ---- grid ---- */

/* clear fix */
.isotope:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .grid-item ---- */

/* 5 columns, percentage width */
.grid-item,
.grid-sizer {
  width: 45%;
}

.grid-item {
  float: none;
  height: auto;
  margin-bottom: 15vw;
}

.grid-item:nth-last-of-type(2), .grid-item:last-of-type {
  margin-bottom: 6vw;
}

.gutter-sizer { width: 10%; }

@media (max-width: 1639.98px) {
  .eme-index {
    width: 120px;
  }
  .texto-verde, .texto-negro {
  max-width: 100%!important;
} 
}

@media (max-width: 1199.98px) {
  .equipo-about p {
  font-size: 0.85em!important;
  line-height: 1.8em!important;
  }
  .doc-link span {
  font-size: 0.85em!important;
  line-height: 1.2em!important;
  }
  .portfolio-nombre-proyecto {
    font-size: 1em;
  }
  .eme-index {
    width: 100px;
  }
  .row-datos-proyecto {
    font-size: 0.85em;
    line-height: 1em;
  }
  .album-tags {
    line-height: 1.35em!important;
  }
  h1 {
    font-size: 2em;
  }
}

@media (max-width: 991.98px) {
  .grid-item,
  .grid-sizer {
    width: 100%;
  }
  
  .header {
    position: relative;
  }
  .navbar-nav a, .index-link {
    font-size: 2em!important;
  }
}

@media (max-width: 575.98px) {
  p, .bloques-album li { font-size: 0.85em; line-height: 1.8em };
  .navbar-nav a { font-size: 3rem;};
  .album-categoria, .album-ubicacion h5 {font-size: 1em}
  .container-proyecto {
    width: auto;
    max-width: 100vw;
    padding-right: 0;
    padding-left: 0;
  }
  .navbar-nav a:first-child {
    left: 2rem;
  }
  .navbar-nav a:last-child {
    right: 2rem;
  }
  .menu-intro a:first-child {
    width: 1em;
    left: 1rem;
  }
  .menu-intro a:last-child {
    width: 1em;
    right: 1rem;
  }
  .album-item {
  margin-bottom: 0px!important;
}
  .album-title h1 {
    /* font-size: 2.5em!important; */
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}
  .album-tags {
    font-size: 0.882em !important;
    /* background-color: #efefef;
    padding: 0.2em 0.75em;
    border-radius: 1em; */
  }

  .album-tags:last-of-type {
    margin-right: 0em!important;
  }

.grid-item:nth-last-of-type(2), .grid-item:last-of-type {
  margin-bottom: 15vw;
}
}

.row-datos-proyecto {
  min-height: 140px;
}

.album-title  h1 {
  font-size: 3em;
  font-weight: 600;
  line-height: 1.1em;
}

.album-categoria, .album-ubicacion, .album-tags {
  font-size: 1.125em;
  line-height: 1.5rem;
}

.album-lista-tags:last-child {
  margin-right: auto!important;
}

.bloque-datos-contact {
  font-size: 1.2em;
}

.bloque-datos-contact a {
  color: black;
}

.bloques-album, .texto-about, .equipo-about {
  font-size: 1.125em;
  line-height: 1.8em;
}

.doc-link, .equipo-about p {
  margin-bottom: 1.8em;
}

.doc-link {
  font-size: 1.125em;
  line-height: 1.8em;
  transition: all 0.5s;
}

.doc-link:hover {
  opacity: 0.8;
}

.doc-link span, .doc-link span:hover, .doc-link a, .doc-link a:hover {
  color: black
}

.bloques-album li {
  color: gray;
  display: inline-block;
  margin-right: 1.5em;
}

.album-item {
  margin-bottom: 15px;
}

.texto-verde {
  color: #37622f !important;
}

/* INTRO */

.intro {
  opacity: 1;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  -moz-transition: height 1s ease-out, opacity 2s ease-in;
  -webkit-transition: height 1s ease-out, opacity 2s ease-in;
  -o-transition: height 1s ease-out, opacity 2s ease-in;
  transition: height 1s ease-out, opacity 2s ease-in;
}

.eme-intro img {
  max-height: 70vh;
  width: auto;
  max-width: 60vw;
  margin: auto;
}

.menu-intro .nav-item {
  /* text-orientation: upright;
  writing-mode: vertical-rl;
  line-height: 0em;
  letter-spacing: 0.25rem; */
  transition: all 0.5s;
}

.menu-intro .nav-item:hover {
  opacity: 0.8;
}

.index-link {
  font-size: 3em;
  font-family: 'Boticario';
  color: #37622f!important;
}

.index-p-link a {
transition: color 0.5s;
}

.index-link a:hover {
  text-decoration: none;
  color: #37622f !important
}

.index-p-link, .index-p-link a, .index-p-link:hover {
  color: #f2603b!important;
}

.eme-intro {
  pointer-events: none;
}

#i-l-about, #i-l-contact {
  width: 3rem;
  height: max-content;
}

/* anim flecha */
.index-link{
animation: float 1s ease-in-out infinite;
}

@keyframes float {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-10px);
	}
	100% {
		transform: translatey(0px);
	}
}

/* footer */

footer {
  height: 5rem;
}

footer a, footer a:hover {
  color: black
}

/* fade */

/* .animate-in {
    -webkit-animation: fadeIn 1s ease-in;
    animation: fadeIn 1s ease-in;
}

.animate-out {
    -webkit-transition: opacity 2s;
    transition: opacity 2s;
    opacity: 0;
}

@-webkit-keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
} */

.hero-hidden {
  height: 0;
  opacity: 0;
}

/* FORM */

.uniform__potty {
    position: absolute;
    left: -9999px;
}

.form-control {
  border: 3px solid #cdcbcc;
  border-radius: 0;
}
.form-control:focus {
  border-color: #f58a7c;
  box-shadow: none;
}
textarea {
  resize: none;
}

input[type=submit] {
  background-color: #cdcbcc;
}


.active:after {
  content: ''!important;
  height: 4px!important;
  width: 100%!important;
  display: block!important;
  background: #37622f!important;
}

/* about */

.container-about .texto-verde, .container-about .texto-negro {
  /* max-width: 85%; */
}

.offset {
  margin-bottom: 10vw!important;
}

/* menu sticky */
.menu-sticky {
 word-wrap: anywhere;
 text-align: center;
}