@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700|Montserrat:400,700);
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');


*{
    margin: 0;
    padding: 0;
}
:root{
    --color-principal:#FF3B3F;
    --color-white:#ffff;
    --color-cream:#efefef;
    --color-whatsapp:#25d366;
    
}

body{
    font-family: sans-serif;
    background-image: radial-gradient(circle at 50% -20.71%, #ffffff 0, #f3f1f1 16.67%, #eceaea 33.33%, #dadada 50%, #c9c7c7 66.67%, #b6b6b6 83.33%, #000000 100%);
    font-size: 16px;
}

 .footer{
    padding: 0,0;
    background-color: var(--color-white);
}
.footer{
    margin-top: 0em;
}
h2{
    color: var(--color-principal);
    text-align: center;
    margin-bottom: 1vh;
    padding-top: 1vh;
    font-size: 2.1em;
    Font-family: Copperplate, Copperplate Gothic Light, fantasy;
}
h3{
  font-size: 1.7em;
}
p{
  font-family: var(--font-family);
}
/* header and nav */

header{
    position:sticky;
    background-color:var(--color-principal);
    top:0;
    height: 2.5rem;
    box-shadow: 0 4px 4px #71717136;
    justify-content: space-between;
    z-index: 3;
}
.nav-link{color: black !important;}
.nav-link:hover{color: var(--color-principal)!important;}
/* main */
.main{
    display: flex;
    position: relative;
    height: 100vh;
    background: linear-gradient( 135deg,  rgba(3, 3, 3, 0.5)  0%, rgba(3, 3, 3, 0.5) 100% ), url("img/portada.jpg");
   /* filter: brightness(50%); */
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    font-family:"Montserrat", sans-serif;
    text-align: center;
    flex: 1;

}
.main .span{
    position: absolute;
    color:  var(--color-white);
    font-size: 100px;
    margin-top: 25vh;
    margin-left: 10vw;    
    text-align: center;
    flex: auto;
    align-content: stretch;
    justify-content: center;  	
    flex-wrap: wrap;
    display: flex;
}
.main .span2{
    position: absolute;
    color: var(--color-white);
    font-size: 80px;
    margin-top: 40vh;
    margin-left: 35vw;
    text-align: center;
    flex: auto;
  	justify-content: center;  	
    flex-wrap: wrap;
    display: flex;
}
.main .imgc{
     width:576px;
     height: 388px;
      margin-top: 0vh;
      margin-left: 15vw;
}
/* Nosotros*/
.nosotros .row-nosotros{
    display: flex;
    flex-direction: inherit;
    width: 75%;
  	margin: auto;
  	margin-top: 0.6rem;  	
  	align-items: stretch;
  	align-content: stretch;
  	justify-content: center;  	
    flex-wrap: wrap;
    gap: 3vw;
}
.item-nosotros{
    padding: 1.2rem 0.6rem;
	  font-size: medium;	
    width: 25%;
	  align-self: stretch;
    text-align: justify;
    border-radius: 10%;
}
.item-nosotros > .svg-nosotros, .item-nosotros > .texto-nosotros{
    margin-bottom: 0.5rem;
    text-align: center;
}
.svg-nosotros{
    color: var(--color-principal);
    font-size: 8rem;
  }
/*nosotros1*/
.project {
    display: grid;
    grid-template-areas: "image" "description";
    background-color:var(--color-white);
  }

  .project-image {
    grid-area: image;
    text-align: center;
    margin-block-end: .5em;;
  }
  .project-description {
    grid-area: description;
    text-align: center;

  }
  .project img {
    max-width: 100%;
    height: auto;
  }
  
  .tag span {
    margin-top: 0.6rem;
    padding: 1em;
    color: var(--color-principal);
    margin-block-start: 3em;
    font-family: var(--font-family);
  }
  
  .project-copy {
    padding: 2em;
    line-height: 25px;
    letter-spacing: 1.5%;
    margin-block-start: 0em;
  }

  .project-cta button + button {
    margin-block-start: 1em;
  }
  .project, .contacto {
    margin-block: 0em;
  }
  .project-cta .btnsl{
    margin-top: 0vh ;
    margin-left: 15vw ;     
  }
/* Contacto*/
.form {
  height: 100vh;
    max-inline-size: 550px;
    margin: auto;
    margin-top: -15vh;
  }
  .form tag {
    margin-top: 0ch;
  }

  .form label {
    display: block;
    margin-block-start: 0em;
    margin-block-end: .5em;
    padding-inline-start: .5em;
  }
  
  .form label span {
    color: var(--color-principal);
  }
  
  .form input, .form textarea {
    box-sizing: border-box;
    width: 100%;
    font-size: 1rem;
    padding: .8em;
    border-radius: .5em;
    border: 1px solid #858C94;
  }
  .form textarea {
    margin-block-end: 2em;
    font-family: inherit;
  }
  
  input::-webkit-input-placeholder {
    color: #0F0A0A88;
  }
  
  .contact {
    margin-block-end: 1em;
  }

  #romail {
    opacity: 0;
  }

/* botones llamar*/
.btnsl {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  font-size: 26px;
  font-weight: 700;
  color: black;
  border: 3px solid var(--color-principal);
  cursor: pointer;
  position: relative;
  background-color: transparent;
  text-decoration: none;
  overflow: hidden;
  z-index: 1;
  font-family: inherit;
 }
 
 .btnsl::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  color:#efefef;
  background-color: var(--color-principal);
  transform: translateX(-100%);
  transition: all .3s;
  z-index: -1;
 }
 
 .btnsl:hover::before {
  transform: translateX(0);
 }
 
 /* botones whatsapp*/
 .btnsw {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  font-size: 26px;
  font-weight: 700;
  color: black;
  border: 3px solid var(--color-whatsapp);
  cursor: pointer;
  position: relative;
  background-color: transparent;
  text-decoration: none;
  overflow: hidden;
  z-index: 1;
  font-family: inherit;
 }
 
 .btnsw::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-whatsapp);
  transform: translateX(-100%);
  transition: all .3s;
  z-index: -1;
 }
 
 .btnsw:hover::before {
  transform: translateX(0);
 }
  /*botones contacto1*/
.project-cta.btnsl{
  font-size: 40px;
  margin-top: 70vh;
  margin-left: 45vw;
}
.project-cta.btnsw{
  font-size: 40px;
  margin-top: 70vh;
  margin-left: 45vw;
}

  /*botones main*/
.main .botones .btnsl{
  display: flex;
  position: absolute;
  color: var(--color-white);
  font-size: 40px;
  border-radius: 10px;
  margin-top: 67vh;
  margin-left: 45vw;
  text-align: center;
  font-family: 'Arial'!important;
}
.main .botones .btnsw{
  display: flex;
  position: absolute;
  color: var(--color-white);
  font-size: 40px;
  border-radius: 10px;
  margin-top: 83vh;
  margin-left: 45vw;
  text-align: center;
  font-family: 'Arial'!important;
}
/* Boton enviar*/
.form .btnsl{
  color: var(--color-white);
  font-size: 20px;
  margin-top: -1vh;
  margin-left: 10vw;
  font-family: 'Arial'!important;
}
/* Footer*/
.footer{
    text-align: center;
}
/*Boton Footer*/
.fancy {
  background-color: transparent;
  border: 2px solid #000;
  border-radius: 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0;
  outline: none;
  overflow: visible;
  padding: 1.25em 2em;
  position: relative;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  transition: all 0.3s ease-in-out;
  user-select: none;
  font-size: 13px;
 }
 
 .fancy::before {
  content: " ";
  width: 1.5625rem;
  height: 2px;
  background: black;
  top: 50%;
  left: 1.5em;
  position: absolute;
  transform: translateY(-50%);
  transform-origin: center;
  transition: background 0.3s linear, width 0.3s linear;
 }
 
 .fancy .text {
  font-size: 1.125em;
  line-height: 1.33333em;
  padding-left: 2em;
  display: block;
  text-align: left;
  transition: all 0.3s ease-in-out;
  text-transform: uppercase;
  text-decoration: none;
  color: black;
 }
 
 .fancy .top-key {
  height: 2px;
  width: 1.5625rem;
  top: -2px;
  left: 0.625rem;
  position: absolute;
  background: #e8e8e8;
  transition: width 0.5s ease-out, left 0.3s ease-out;
 }
 
 .fancy .bottom-key-1 {
  height: 2px;
  width: 1.5625rem;
  right: 1.875rem;
  bottom: -2px;
  position: absolute;
  background: #e8e8e8;
  transition: width 0.5s ease-out, right 0.3s ease-out;
 }
 
 .fancy .bottom-key-2 {
  height: 2px;
  width: 0.625rem;
  right: 0.625rem;
  bottom: -2px;
  position: absolute;
  background: #e8e8e8;
  transition: width 0.5s ease-out, right 0.3s ease-out;
 }
 
 .fancy:hover {
  color: white;
  background: black;
 }
 
 .fancy:hover::before {
  width: 0.9375rem;
  background: white;
 }
 
 .fancy:hover .text {
  color: white;
  padding-left: 1.5em;
 }
 
 .fancy:hover .top-key {
  left: -2px;
  width: 0px;
 }
 
 .fancy:hover .bottom-key-1,
  .fancy:hover .bottom-key-2 {
  right: 0;
  width: 0;
 }
/* Logo Whatsapp */
.float{
	position:fixed;
	width:120px;
	height:120px;
	bottom:80px;
	right:80px;
	background-color:var(--color-whatsapp);
	color:var(--color-cream);
	border-radius:100px;
	text-align:center;
  font-size:80px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}
.float:hover {
	text-decoration: none;
	color: var(--color-whatsapp);
  background-color:var(--color-cream);
}

.my-float{
	margin-top:10px;
}

/* media querys */

@media screen and (max-width: 800px) {
  .main .imgc{
    width:320px;
    height: 220px;
     margin-top: 8vh;
     margin-left: 0vw;
}
  .float{
    bottom: 100px;
    right: 20px;
    width: 80px;
    height: 80px;
    font-size: 56px;
  }

    .main{
        height: 100vh;
    }
    .main .botones{
      font-size: 60px;
      margin-top: 10vh;
      margin-left: 5vw;
    }
    .nosotros .row-nosotros{
        width: 90%;
    }
    .item-nosotros{
        width: 40%;
    }
    .contacto h3{
        overflow: hidden;
    }
    .project img {
      max-width: 100%;
      height: auto;
    }
    .main .span{
      font-family: Arial,Roboto,Helvetica,sans-serif;
      color: var(--color-principal);
      font-size: 33px;
      margin-top: 9vh;
      margin-right: 5vw;
  }
  .main .span2{
      font-size: 47px;
      margin-top: 47vh;
      margin-left: 19vw;
  }
  .main .botones .btnsl{
    margin-top: 56vh;
    margin-left: 19vw;
  }
  .main .botones .btnsw{
    margin-top: 40vh;
    margin-left: 10vw;
  }
  .project-cta .btnsl{
    margin-top: -3vh;
    margin-left: 4vw;
  }
  .project-cta .btnsw{
    margin-top: 2vh;
  }
  .form .btnsl{
    margin-top: -2vh;
    margin-left: 14vw;
    margin: auto;
    display: inline-block;
  }

  .nosotros .row-nosotros{
      justify-content: center;  	
  }
  .item-nosotros{
      width: 80%;
  }
  .form .btnsl{
    margin-top: auto !important;
    margin-left: 24vw;
  }
  .form{
    
    margin-top: 0vh;
    height: 120vh;
  }

}

@media (min-width: 768px) and (max-width: 1023px){
    .project {
        grid-template-areas: "description image";
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 1em;
      }
      .project-cta {
        display: flex;
        align-items: center;
        gap: 1em;
      }
      .project-cta button + button {
        margin: 0;
      }
      .form .tag span {
        display: block;
        text-align: center;
      }

      .footer {
        padding: 1em 3em;
        }
        .header{
            height: auto;
        }
        .nav > a {
            font-size: 2em;
        }
        .main{
            height: 100vh;
        }
        .main .botones{
          font-size: 30px;
          margin-top: -10vh;
          margin-left: -25vw;
        }
        .main .botones .btnsl{
          margin-top: 65vh;
        }

        .main .span{
          font-size: 75px;
          margin-top: 5vh;
          margin-left: 8vw;    
      }
      .main .imgc{
        width:576px;
        height: 388px;
         margin-top: -2vh;
         margin-left: 17vw;
   }
      .main .span2{
          font-size: 75px;
          margin-top: 45vh;
          margin-left: 32vw;
      }
      .float{
        bottom: 30px;
        right: 30px;
      }
    
      /*botones contacto1*/
      .project-cta .btnsl{
      margin-top: auto;
      }
      .project-cta .btnsw{ 
      margin-top:auto;
      }
      .main .botones .btnsl{
        margin-top: 71vh;
        margin-left: 66vw;
      }
      .main .botones .btnsw{
        margin-top: 89vh;
        margin-left: 66vw;
      }
      .form .btnsl{
        display: inline-block;
      }
      .form{
        
        margin-top: -11vh;
        height: 950px;
      }
}
@media (min-width: 1024px){
      /*botones contacto1*/
      .project-cta .btnsl{
        margin-top: -3vh;
        margin-left: 16vw;
        }
        .project-cta .btnsw{ 
          margin-top: -3vh;
          margin-left: 0vw;
        }
        .main .botones .btnsl{
          margin-top: 80vh;
          margin-left: 55vw;
        }
        .main .botones .btnsw{
          margin-top: 80vh;
          margin-left: 74vw;
        }
        .form .btnsl{
          margin-top: auto !important;
          margin-left: 10vw;
        }
        .form{
          
          margin-top: -11vh;
          height: 950px;
        }
        .project {
          grid-template-areas: "description image";
          grid-template-columns: 1fr 1fr;
          grid-column-gap: 1em;
        }
        .project-cta {
          display: flex;
          align-items: center;
          gap: 1em;
        }
        .project-cta button + button {
          margin: 0;
        }
        .form .tag span {
          display: block;
          text-align: center;
        }
  
        .footer {
          padding: 1em 3em;
          }
          .header{
              height: auto;
          }
          .nav > a {
              font-size: 2em;
          }
          .main{
              height: 100vh;
          }
          .main .botones{
            font-size: 30px;
            margin-top: -10vh;
            margin-left: -25vw;
          }
          .main .span{
            font-size: 75px;
            margin-top: 11vh;
            margin-left: 15vw;    
      
        }
        .main .span2{
            font-size: 100px;
            margin-top: 45vh;
            margin-left: 32vw;
        }
}
