@charset 'UTF-8';

@font-face
{
   font-family: "Origin";
   src: url("../fonts/Origin-Regular.ttf") format("truetype");
}

@font-face
{
   font-family: "Myriad Pro";
   src: url("../fonts/MyriadPro-Regular.otf") format("opentype");
}

 /* ------------------ */
 /*   GENERAL CSS      */
 /* ------------------ */

body {
	background: white;
	color: white;
	font-size: 14pt;
	margin: 0;
	font-family: 'Optima', 'Serif';
}

a {
	text-decoration: none;
}

h1 {
  font-family: 'Cinzel', 'Serif';
  border-bottom: 1px solid #54284e;
  font-weight: normal; 
  color: #54284e;
  padding: 0.5em;
}

h2, h3, h4, h5, h6 {
  font-family: 'Cinzel';
  text-align: center;
  font-weight: normal;
  color: #54284e;
  margin: 0.5em 0;
}

img {
  width: 100%;
}

hr {
  border: 1px solid #02cba7;
  margin: 0;
}

ul {
  margin: 0;
  padding: 0 0.5em;
}

li {
  list-style: none;
  line-height: 1.5em;
}

p {
  font-size: 1em;
  padding: 0;
}

input, textarea {
  width: 90%;
  border: 1px solid grey;
  padding: 0.3em;
  font-size: 0.9em;
  margin: 0.25em 0; 
}

textarea {
  height: 10em;
  max-height: 10em;
  resize: none;
}

button {
  font-family:'Cinzel';
  background: #54284e;
  font-size: 0.9em;
  padding: 0.5em 1em;
  margin: 1em 0;
  text-align: center;
  cursor: pointer;
  color: white;
  border: 2px solid #54284e;
}

form {
  margin: 0.5em auto;
}

button:hover {
  background: white;
  color: #54284e;
  transition: 0.25s;
}

button:disabled {
  background: grey;
  color: #141414;
}

.text-centered {
  text-align: center;
}

.right {
  text-align: right;
}

 /* ------------------ */
 /*       COLUMNS      */
 /* ------------------ */

.col-100 {width: 100%;}
.col-33 {width: 33%;}

.col-50 img {width: 75%; margin: 0 auto;}


 /* ------------------ */
 /*  	DESKTOP CSS	   */
 /* ------------------ */

.head {
  width: auto;
  display: flex;
  justify-content: space-around;
  padding: 0 2em;
  border-bottom: 1px solid #54284e;
  height: 15vh;
}

.head img {
  width: 6em;
  margin: 0.5em 0;
}

.head .logo {
  width: auto;
  margin: 0 1em;
}

/* NAV */

.menu {
  width: 100%;
  padding: 0;
  display: flex;
  justify-content: flex-end;
}

.menu ul {
  margin: 0 1em;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: space-between;
  font-family: 'Cinzel', 'Serif';
  width: 60%;
}

.menu li {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #54274e;
  font-size: 1em;
  height: 4em;
}

.menu li a {
  color: #54274e;
  z-index: 100;
}

.menu li:hover {
  color: #071e51;
  background: white;
  cursor: pointer;
  transition: 0.25s; 
}

.menu p {
  color: #071e51;
  text-align: center;
}

.menu i {
  font-size: 1.5em;
  margin-right: 0.25em;
}

.mobile {
  display: none;
}

.mobilenav {
  color: #54284e;
  position: absolute;
  padding: 0.25em;
  margin: 0.25em 0.5em;
  border: 3px solid #54284e;
  font-size: 1.75em;
  background: white;
  cursor: pointer; 
}

.mobilenav:hover {
  background: #54284e;
  color: white;
  border: 3px solid #54284e;
}

/* CANVAS */

 #bg {
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 1)),url('../images/main.jpg');
    width: 100%;
    height: 100vh;
    background-size: cover;
    text-align: center;
    display: flex;
    justify-content: center;
    }

 #bg img {
    padding: 7em 0 1em 0;
    width: 50%;
    margin: 0 auto;
 }

 .logo {
    width: 50%;
    color: #54274e; 
    display: flex;
    flex-direction: column;
 }

.container {
    width: 100%;
    color: #414141;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.hidden {
  display: none;
}

/* MAIN */

.central {
  margin: 1em;
}

.center {
  display: flex;
  justify-content: center;
  width: 100%;
}

.inner {
  margin: 0 3em;
}

.cajas, .cajas2 {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.cajas {
  margin-top: 4em;
}

.cajas2 {
  margin: 0 auto;
  width: 75%;
}

.info-caja, .profile {
  border: 1px solid #54274e;
  margin: 1em  0.25em;
  text-align: justify;
  font-size: 0.9em;
  padding: 0 1.25em;
}

.profile {
  border: none;
  text-align: center;
  width: 100%;
}

.info-caja img, .profile img {
  display: flex;
  justify-content: center;
  object-fit: cover;
  width: 250px;
  height: 250px;
  margin: 1em auto;
}

.profile img {
  border: 1px solid #54274e;
  border-radius: 500px;
}

.branding {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  height: 300px;
}

.branding img {
  width: 150px;
}

.brand1, .brand2 {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-caja .info {
  top: -1em;
}

.icons {
  position: relative;
  border: 1px solid #54274e;
  border-radius: 100px;
  background: white;
  top: -3em;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  cursor: pointer; 
}

.icons i {
  font-size: 2.5em;
  color: #54284e;
}

.icon i .on {
  color: white;
}

.info {
  position: relative;
  margin: 0 auto;
  text-align: center;
  top: 12em;
}

.info2 {
  position: relative;
  top: -4em;
}

.icons {
  display: flex;
  align-items: center;
  justify-content: center;
}

.icons img {
  width: 75%;
}

.index {
  position: relative;
  z-index: 2;
}

.on, .on i {
  color: white;
  background: #54284e;
  transition: 0.5s;
  cursor: pointer;
}

.on:hover {
  color: white;
  background: #54284e;
  transition: 0.5s;
  cursor: pointer;
}

.col-half {
  width: 50%;
}

.col-text {
  width: 50%;
}


/* SECTIONS */

#servicios1_desc, #servicios2_desc, #servicios3_desc, #servicios4_desc, #servicios5_desc {
  background-repeat: no-repeat; 
  background-size: cover;
  width: 100%;
  height: 80vh;
  position: relative;
  top: -6.5em;
}

#servicios1_desc {
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 1)),url('../images/servicios1.jpg');
}

#servicios2_desc {
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 1)),url('../images/servicios2.jpg');
}

#servicios3_desc {
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 1)),url('../images/servicios3.jpg');
}

#servicios4_desc {
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 1)),url('../images/servicios4.jpg');
}

#servicios5_desc {
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 1)),url('../images/servicios5.jpg');
}


#section-proyecto1 {
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 1)),url('../images/proyecto.jpg');
  background-repeat: no-repeat; 
  background-size: cover;
  width: 100%;
  height: 70vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  top: 0em;
}

/* SERVICIOS */

.proyectos {
  position: relative;
  top: -6em;
}

.clientes {
  position: relative;
  top: -2em;
}

.contacto {
  position: relative;
  top: -3em;
}

.contacto img {
  width: 15em;
  margin: 1.5em auto;
}

footer {
  border-top: 1px solid #54284e;
  height: 2em;
}

footer i {
  font-size: 4em;
  color: white;
}


-------------

/*
.caja0 {
  width: 75%;
  margin: 0 auto;
}

.caja, .caja2, .caja3{
  width: 30%;
  cursor: pointer;
  position: relative;
}

.caja3 {
  width: 20%;
  color: #494e68;
  border-bottom: 5px solid #494e68;
  margin: 0 0.1em;
  text-align: center;
}

.caja3 i {
  font-size: 5em;
}

.caja2 {
  color: #494e68;
  border-bottom: 5px solid #494e68;
}

.caja3:hover {
  background: white; 
  color: #02cba7;
  transition: 0.25s;
  border-bottom: 5px solid #02cba7;
} 

.caja2_active {
  background: white; 
  color: #02cba7;
  transition: 0.25s;
} 

.caja2 img, .caja3 img {
  width: 50%;
  margin: 5% 25% 0 25%;
}

.caja2 h3 {
  text-align: center;
}
*/

.overlay {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background-color: #02cba7;
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: .5s ease;
}

.caja:hover .overlay {
  bottom: 0;
  height: 100%;
}

.text {
  font-size: 0.9em;
  width: 90%;
  text-align: left;
}

.small {
  width: 50%;
}

.medium {
  width: 75%;
  margin: 0 auto;
  padding: 0 auto;
}

 /* ------------------ */
 /*     BUTTON CSS     */
 /* ------------------ */

 /*   button     */
#button {
    display: inline-block;
    background-color: #54284e;
    border: 1px solid transparent;
    width: 40px;
    height: 40px;
    text-align: center;
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 0.25em;
    transition: background-color .3s, 
    opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    font-size: 2em;
    transform: rotate(-90deg);
}

#button::after {
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 50px;
    color: white;
}

#button:active {
    background-color: #555;
}

#button.show {
    opacity: 1;
    visibility: visible;
}

 /* -------------------- */
 /*  TABLET-DESKTOP CSS  */
 /* -------------------- */

@media screen and (max-width:1024px)
{
  .head .logo img{
    margin: 0.5em auto;
    width: 6em;
  }

  nav li {
    display: inline-block;
    padding: 1em 0;
    width: 100%;
  }

  .logo {
    width: 70%;
  }

   #mySidenav {
    display: none;
  }

  #mySidenav.move {
    display: block;
    transition: 0.7s;
    z-index: 3;
  }

 .mobile {
    position: fixed;
    top: 0em;
    left: 0.5em;
    display: block;
    z-index: 4;
  }

  .mobilenav {
      margin: 0.5em 0em;
  }

  .menu {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: none;
  }

  .menu ul {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .menu li {
    background: white;
    height: 2em;
    border-bottom: 1px solid #54284e;
    margin: 0;
  }

 .cajas {
    display: flex;
    flex-wrap: wrap;
  }

  .cajas2 {
    width: 100%;
  }

  .text {
    top: 50%;
  }

  .inner {
    margin: 0 1em;
  }

  .col-text {
    width: 75%;
  }

}

 /* ------------------ */
 /*  TABLET-MOVIL CSS  */
 /* ------------------ */

@media screen and (max-width:640px)
{
#bg {
    height: 80vh;
  }

.portada {
 		padding: 0;
 }

 #bg img {
    margin: 0 auto;
    padding: 4em 0;
 }

 .logo {
  width: 75%;
 }

 	nav li {
 		display: inline-block;
 		padding: 1em 0;
 		width: 100%;
 	}

  .profile {
    margin: 1em 0;
  }

  .cajas2 {
    flex-wrap: wrap;
  }

  .info {
    top: 10em;
  }

	.icons {
    border-radius: 100px;
    top: -2em;
    width: 80px;
    height: 80px;
    margin: 0 auto;
  }

  #servicios1_desc, #servicios2_desc, #servicios3_desc, #servicios4_desc, #servicios5_desc {
    top: -4.5em;
  }

  #section-proyecto1 {
    background-size: 180%;
    background-position: center;
  }

  .col-block {
    width: 100%;
  }

  .inner {
    margin: 0 0.5em;
  }
}

 /* ------------------ */
 /*      MOVIL CSS     */
 /* ------------------ */

 @media screen and (max-width:480px)
{
  .icons i {
    font-size: 1.5em;
  }

  #bg {
    height: 70vh;
  }

  .icons {
    width: 65px;
    height: 65px;
  }

  .cajas {
    width: 100%;
    margin-top: 2.5em;
  }

  #section-servicio1 { 
    background-size: 200%;
    top: -5em;
  }

  #section-proyecto1 {
    top: -2em;
  }

  .info {
    top: 3em;
  }

  #servicios1_desc {
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 1)),url('../images/servicios1.jpg');
  }

  #servicios2_desc {
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 1)),url('../images/servicios2.jpg');
  }

  #servicios3_desc {
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 1)),url('../images/servicios3.jpg');
  }

  #servicios4_desc {
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 1)),url('../images/servicios4.jpg');
  }

  #servicios5_desc {
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 1)),url('../images/servicios5.jpg');
  }

}

.alert {
    display: none;
    flex-direction: row;
    align-items: center;
    border: none; 
    color: white; 
    padding: 14px 28px; 
    cursor: pointer; 
    font-family: 'Myriad Pro', 'Sans-serif';
    position: fixed;
    z-index: 1000;
    top: 5%;
    right: 2.5%;
    font-size: 1em;
}

.close {
  margin: 0 0 0 1em;
  border: 1px solid white;
  padding: 0.2em 0.5em;
  border-radius: 50px;
}

.success {
  background-color: #02cba7;
} 
.success:hover {
  background-color: white;
  color: #02cba7;
  transition: 0.25s;
  border: 2px solid #02cba7;
}

.danger {
  background-color: #f53240;
} 

.danger:hover {
  background-color: white;
  color: #f53240;
  transition: 0.25s;
  border: 2px solid #f53240;
}

/*********************************************************************************/
/* Ir arriba                                                                     */
/*********************************************************************************/

.ir-arriba {
  display: inline-block;
  padding: 24px;
  border-radius: 974px;
  -o-border-radius: 974px;
  -ms-border-radius: 974px;
  -webkit-border-radius: 974px;
  -moz-border-radius: 974px;
  background-color: #02cba7;
  background-image: url('../images/up_arrow.png');
  background-repeat: no-repeat;
  background-position: center;
  font-size: 20px;
  color: #ffffff;
  cursor: pointer;
  position: fixed;
  bottom: 20px;
  right: 20px;
}

.hidden {
  display: none;
}

.alert {
    display: none;
    flex-direction: row;
    align-items: center;
    border: none; 
    color: white; 
    padding: 14px 28px; 
    cursor: pointer; 
    font-family: 'Myriad Pro', 'Sans-serif';
    position: fixed;
    z-index: 1000;
    top: 5%;
    right: 2.5%;
    font-size: 1em;
}

.close {
  margin: 0 0 0 1em;
  border: 1px solid white;
  padding: 0.2em 0.5em;
  border-radius: 50px;
}

.success {
  background-color: #02cba7;
} 

.success:hover {
  background-color: white;
  color: #02cba7;
  transition: 0.25s;
  border: 2px solid #02cba7;
}

.danger {
  background-color: #f53240;
} 

.danger:hover {
  background-color: white;
  color: #f53240;
  transition: 0.25s;
  border: 2px solid #f53240;
}