@import url('https://fonts.googleapis.com/css?family=Kanit:200,500');
@import url('https://fonts.googleapis.com/css?family=Luckiest+Guy');

/* GENERAL */

:root{
  --celeste: #40a8bf;
  --celeste2: #338899;
  --naranja: #eda906;
  --naranja2: #bd8605;
  --bodyfont: 'Kanit', sans-serif;
  --headingfont: 'Luckiest Guy', cursive;
  --iconfont: 'Font Awesome\ 5 Pro';
}

.bg-naranja{
  background: var(--naranja);
}

.btn {font-weight: 200;}

* {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: var(--bodyfont);
  font-weight: 200;
  line-height: 1.8;
}

#site {
  background: #fff;
  min-height: 100%;
}

/* NAVBAR  */

nav.navbar {
  background: var(--celeste) !important;
  z-index: 999;
}

.dropdown-toggle::after {
  content:"\f107";
  font-family: var(--iconfont);
  border: none;
  vertical-align: baseline;
}

.dropdown-menu {
  background: var(--celeste);
  border: none;
}

.dropdown-item {
  color: rgba(255,255,255,.75);
  padding: .5rem 1rem;
  font-weight: 300;
}

.dropdown-item:hover {
  color: rgba(255,255,255,1);
  background-color: transparent;
}

.navbar-toggler {
  border: none;
  outline: none !important;
}

.nav-item {
  text-align: center;
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (max-width:992px){
  .dropdown-menu {
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
  }
  
  .dropdown-item {
    color: rgba(255,255,255,.5);
    padding: .5rem 1rem;
    text-align: center;
  }
  
  .dropdown-item:hover {
    color: rgba(255,255,255,.75);
    background-color: transparent;
  }
}

/* HOME */

.swiper-container {
  width: 100%;
  height: 50vh;
  min-height: 400px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.swiper-bg{
  position: absolute;
  width: 110%;
  height: 120%;
  display: block;
  top: 0;
  left: 0;
}

.swiper-bg .bg{
  position: absolute;
  width: 110%;
  height: 110%;
  display: block;
  top: -5%;
  left: -5%;
  background:url("../images/sliders/2.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.swiper-slide h1{
  font-family: var(--headingfont);
  font-size: 5rem;
  color: #fff;
  text-align: center;
  line-height: 1;
  margin-bottom: 1rem;
  text-shadow:
       3px 3px 0 #000,
     -1px -1px 0 #000,  
      1px -1px 0 #000,
      -1px 1px 0 #000,
       1px 1px 0 #000;
  font-weight: 400;
}

.swiper-slide h2{
  text-align: center;
  line-height: 1;
  display: inline-block;
  padding: .5rem 1rem;
  color: #fff;
  font-size: 2rem;
  font-family: var(--headingfont);
  transform: rotate(-2deg);
  text-shadow: 2px 3px 0 var(--celeste2);
}

.swiper-slide h2::before{
  content:"";
  display: block;
  position: absolute;
  top: -5%;
  left: -5%;
  right: -5%;
  bottom: -5%;
  background: var(--celeste);
  z-index: -1;
  transform: skew(-10deg);
  box-shadow: 2px 3px 0 var(--celeste2), 10px 5px 10px rgba(0,0,0,.3);
}

@media (max-width:992px){
  .swiper-slide h1{
    font-size: 4rem;
  }
  .swiper-slide h2{
    font-size: 1.8rem
  }
}

/* CATEGORIAS HOME */

#categorias {
  width: 100%;
  position: relative;
  overflow: hidden;
}

#categoria .categoria {
  cursor: auto;
}

.categoria {
  position: relative;
  display: block;
  /* overflow: hidden; */
  cursor: pointer;
}

.categoria .base{
  display: block;
  position: relative;
  width: 100%;
}

.categoria .base img{
  width: 100%;
  height: auto;
  display: block;
  position: relative;
}

.categoria .over, .categoria .over img{
  display: block;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.categoria a{
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
}

/* NOSOTROS */

#nosotros .heading{
  min-height: 150px;
  background: var(--naranja);
}

#nosotros .heading .inner, #contacto .heading .inner{
  width: 80%;
  margin: 0 auto;
}

#nosotros .heading h1, #contacto .heading h1{
  font-size: 4rem;
  text-transform: capitalize;
  color: #fff;
  margin: 80px auto 0 auto;
  line-height: 1;
  font-weight: 400;
  word-spacing: -10px;
  letter-spacing: -2px;
  z-index: 99;
	position: relative;
	text-shadow: 2px 2px 0px var(--naranja2);
}

#nosotros .content, #contacto .content {
  width: 80%;
  margin: 0 auto;
  background: #fff;
  transform: translateY(-80px);
  font-size: 1.2rem;
  line-height: 2;
}

#nosotros .content::before, #contacto .content::before{
	content: "";
	position: absolute;
  top: 0;
	left: 0;
	right: 0;
	display: block;
	height: 100%;
	-webkit-transform: skewY(-2deg);
	transform: skewY(-2deg);
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
	background: inherit;
}

/* TRABAJO */

#trabajo .heading{
  min-height: 200px;
  background: var(--naranja);
}

#trabajo .heading .inner{
  width: 80%;
  margin: 0 auto;
}

#trabajo .heading h1{
  font-size: 3rem;
  text-transform: capitalize;
  color: #fff;
  margin: 80px auto 0 auto;
  line-height: 1;
  font-weight: 400;
  word-spacing: -10px;
  letter-spacing: -2px;
  z-index: 99;
	position: relative;
	text-shadow: 2px 2px 0px var(--naranja2);
}

#trabajo .heading h2{
  font-weight: 200;
  font-size: 2rem;
  text-transform: capitalize;
  color: #666;
  margin: 0 auto;
  line-height: 1;
  word-spacing: -5px;
}

#trabajo .heading img{
  max-width: 20rem;
  /* position: absolute; */
  margin-top: -30px;
  /* right: 0; */
  /* z-index: 0; */
}

#trabajo .content {
  width: 80%;
  margin: 0 auto;
  background: #fff;
  transform: translateY(-80px);
}

#trabajo .content::before{
	content: "";
	position: absolute;
  top: 0;
	left: 0;
	right: 0;
	display: block;
	height: 100%;
	-webkit-transform: skewY(-2deg);
	transform: skewY(-2deg);
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
	background: inherit;
}

#trabajo .detalle h2 {
  font-weight: 200;
  color: #666;
  font-size: 1.5rem;
}

#trabajo .detalle .cliente {
  position: relative;
  color: var(--celeste)!important;
  font-family: var(--headingfont);
  font-size: 2rem;
  text-shadow: 1px 1px 0 var(--celeste2);
}

#trabajo .detalle a.enlace {
  color: #fff;
  background-color: var(--naranja);
  border-radius: 0;
  box-shadow: 2px 2px 0 var(--naranja2);
  padding: .5rem 1rem;
  text-decoration: none;
}

#trabajo .detalle a.enlace:hover {
  background-color: var(--naranja2);
  box-shadow: 2px 2px 0 #333;
  text-decoration: none;
}

#trabajo .detalle .btns {
  display: flex;
  justify-content: space-between ;
  margin-top: 4rem;
  padding-top: 1rem;
}

#trabajo .detalle .btns a {
  color: #fff;
  background-color: #343a40;
  border-radius: 0;
  box-shadow: 2px 2px 0 #ccc;
  padding: .25rem .5rem;
  text-decoration: none;
}

@media (max-width:992px){
  #trabajo .content {
    width: 90%;
  }
  #trabajo .heading h1{
    margin: 30px auto 0 auto;
  } 
  #trabajo .heading .inner{
    width: 100%;
  }
}

@media (min-width:992px){
  #trabajo .heading{
    min-height: 300px;
  }
  #trabajo .heading h1{
    font-size: 4rem;
    margin: 40px auto 150px auto;
  }
  #trabajo .heading img{
    top: 0px;
  }
}

/* CATEGORIA */

#categoria .heading{
  min-height: 25rem;
  background: var(--naranja);
}

#categoria .heading .categoria{
  margin-top: -5rem;
  margin-bottom: 0rem;
  overflow: hidden;
}

#categoria .heading h1{
  font-size: 4rem;
  text-transform: capitalize;
  color: #eee;
  margin: 6rem auto 0 auto;
  line-height: 1;
  font-weight: 400;
  word-spacing: -1rem;
	letter-spacing: 0;
}

#categoria .content {
  width: 80%;
  margin: 0 auto;
  background: #fff;
  transform: translateY(-80px);
}

#categoria .content::before{
	content: "";
	position: absolute;
  top: 0;
	left: 0;
	right: 0;
	display: block;
	height: 100%;
	-webkit-transform: skewY(-2deg);
	transform: skewY(-2deg);
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
	background: inherit;
}

#categoria .content .galeria h4 {
  position: relative;
  color: var(--celeste)!important;
  font-family: var(--headingfont);
  font-size: 2rem;
  text-shadow: 1px 1px 0 var(--celeste2);
}

.trabajo a{
  display: block;
  position: relative;
  margin: 1rem auto;
}

.trabajo a::before{
  content: "";
	position: absolute;
	background: var(--naranja);
	top: -1%;
	right: 0;
	left: -1%;
	bottom: 0;
	transform: skewY(-3deg) rotate(2deg);
	height: 102%;
  width: 102%;
}

.trabajo a img{
  transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
  position: relative;
  border: 5px solid #fff;
}

.trabajo a .overlay{
  opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
	justify-content: center;
  align-items: center;
  background: var(--celeste);
  color: #fff;
  transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
  padding: 1.5rem;
  text-align: center;
}

.trabajo a .overlay h3{
  font-weight: 200;
}

.trabajo a .overlay .fal{
  transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
  transform: translateX(-100%);
}

.trabajo a:hover .overlay{
  opacity: 1;
  transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.trabajo a:hover .overlay .fal{
  transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
  transform: translateX(0);
}

@media (max-width:992px){
  #categoria .content {
    width: 90%;
  }
  #categoria .heading{
    min-height: 15rem;
  }
  #categoria .heading h1 .fal{
    display: none;
  }
  #categoria .heading h1{
    margin: 2.5rem auto 0 auto;
    font-size: 2rem;
    word-spacing: 999px;
    letter-spacing: unset;
  }
  #categoria .heading .categoria{
    margin-top: -3rem;
    margin-bottom: 2rem;
  }
}

.zoom-overlay {
  z-index: 1031;
  background-color: rgba(0,0,0,.75)
}

.zoom-img, .zoom-img-wrap {
  z-index: 1032;
}

.zoom-img, .zoom-img-wrap img {
  max-width: 1000px!important;
}

/* PRESUPUESTO */

#presupuesto {
  padding: 4rem 0;
  background: url("../images/presupuesto.jpg");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

#presupuesto h1 {
  display: inline-block;
  position: relative;
  color: var(--celeste);
  font-family: var(--headingfont);
  font-size: 2rem;
  text-shadow: 1px 1px 0 var(--celeste2);
}

#presupuesto form {
  display: block;
  position: relative;
  color: var(--celeste);
  background: #fff;
  padding: 2rem;
  box-shadow: 4px 4px 0 var(--celeste2), 10px 5px 10px rgba(0,0,0,.3);
}

form.form input, form.form textarea{
  font-family: var(--bodyfont);
  font-weight: 200 !important;
  background: transparent;
  border-left: 0px;
  border-right: 0px;
  border-top: 0px;
  border-bottom: 2px solid var(--celeste);
  border-radius: 0;
  outline: none;
  box-shadow: none;
}

form.form input:focus, form.form textarea:focus{
  background: transparent;
  border-bottom: 2px solid var(--naranja);
  outline: none;
  box-shadow: none;
}

form.form input:focus::placeholder,
form.form textarea:focus::placeholder,
form.form input:focus:-moz-placeholder,
form.form textarea:focus::-moz-placeholder,
form.form input:focus:-ms-input-placeholder,
form.form textarea:focus::-ms-input-placeholder
 {
  color: #ccc;
}

form.form .btn{
  color: #fff;
  background-color: var(--celeste);
  border-radius: 0;
  box-shadow: 2px 2px 0 var(--celeste2);
}

@media (max-width:768px){
  #presupuesto h1{
    font-size: 1.8rem;
  }
}

/* FOOTER */

footer {
  padding: 2rem 0;
  background: #343a40;
  color: #fff;
}

/* COLORES */

.btn-outline-primary{
  color: var(--celeste);
  border-color: var(--celeste);
}

.btn-outline-primary:hover {
  background-color: var(--celeste2);
  border-color: var(--celeste2);
}

/* ULTIMOS */

#ultimos{
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
  background: var(--celeste);
}

#ultimos h2 {
  color: #fff;
  text-shadow: 2px 2px 0 var(--celeste2);
  font-family: var(--headingfont);
}

.fullheight {
  min-height: 72vh;
}

/* CONTACTO */

#contacto .heading {
  min-height: 150px;
  background: var(--naranja);
  /* background-image: url("../images/contacto.jpg");
  background-size: cover;
  background-position: right top;
  background-repeat: no-repeat; */
}

#contacto a {
  color: var(--celeste);
}

#contacto a:hover {
  color: var(--celeste2);
  text-decoration: none;
}

#contacto .form {
  background: #eee;
  padding: 1.5rem;
}

.wait {
  position: fixed;
  z-index: 9999;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, .8);
  display: none;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.spinner {
  margin: 0 auto;
  width: 70px;
  text-align: center;
}

.spinner>div {
  width: 18px;
  height: 18px;
  background-color: #333;
  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0)
  }
  40% {
    -webkit-transform: scale(1.0)
  }
}

@keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}