*{box-sizing: border-box;}
html,body{
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: Verdana,sans-serif;
    font-size: 15px;
    line-height: 1.5;
    background-color: #ced8ce;
    color: black;
    scroll-behavior: smooth;
}
h1{
  font-family: Verdana, sans-serif;
  font-size: 2.2rem;
  font-style: normal;
  font-weight: normal;
  line-height: 1.3;
  text-align: center;
    
}
h2{
  Font-size: 1.5rem;    
  font-weight: normal;
  margin-block-end: 0.83em;
  margin-block-start: 0.83em;
}
h3{
    font-family: Verdana, sans-serif;
    display: block;
    font-size: 1.17em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}
hr{
    height: 1px;
    background-color: rgb(197, 179, 88);
    width: 100%;
    border: none;
    Opacity: 1;
}
nav{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #014402;
    color: rgb(37, 31, 31);
    width: 100%;
    height: 85px;
    padding: 0px 10%;
    box-sizing: border-box;
    letter-spacing: 2px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    position: fixed;
    top: 0;
    z-index: 3;

   }
#logo{
  display: flex;
  flex-direction: row;
  padding: 0px 0;
}
#logo img{
  margin-top: 3px;
  vertical-align: middle;
}
#logo a{
  text-decoration: none;
  color: black;
  margin-top: 20px;
  margin-left: 20px;
}
ul {
  list-style-type: none;
  padding: 0;
  margin-top: 13px;
  display: flex;
}
ul li a {
  display: block;
  color: #f3dc6a;
  padding: 8px 16px;
  text-decoration: none;
}
ul li a:hover {
  background-color: #3c693d;
  border-radius: 15px;
}
.active{
  background-color: #1a648e;
  border: solid 1px rgb(197, 179, 88);
  color: aliceblue;
  border-radius: 15px;
  font-weight: bold;
}
.nav-visited{
  background-color: #f0f0f0;
  color: rgb(161, 158, 161);
  border-radius: 15px;
  font-weight: bold;
}
.btn-nav-phone{
  background-image: linear-gradient(to top, rgb(178, 113, 31), rgb(248, 218, 139)95%);
  border-radius: 10px;
  padding: 1px 12px;
  font-size: 23px;
  font-weight: bold;
  color:#363636;
  text-decoration: none;
}
.btn-nav-phone:hover{
  background-image: linear-gradient(to top, rgb(240, 240, 240), rgb(240, 240, 240) 100%);
  color: rgb(173, 173, 173);
  cursor: pointer;
}
.sidenav{
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
    background-color: rgba(41, 41, 41, 0.95);
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 15px;
    text-align: center;
}
.sidenav a{
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 22px;
    color: white;
    display: block;
    transition: 0.3s;
}
.sidenav a:hover{
    color: #f1f1f1;
}
.sidenav .closebtn{
    text-align: right;
    font-size: 50px;
    margin-right: 30px;
}
header{
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: flex-start;
  background-image: url(/img/marca-de-agua61.png);
  background-repeat: no-repeat;
}
.img-title{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.img-title>img{
  width: 50%;
  border-radius: 10px;
}
.title1{
  background: linear-gradient(to top, rgb(178, 113, 31), rgb(248, 218, 139)95%);
  -webkit-background-clip: text;
  background-clip: text;
}
.title2{
    background: linear-gradient(to top, rgb(255, 255, 255), rgb(255, 255, 255)95%);
    -webkit-background-clip: text;
    background-clip: text;
}
.title1,.title2{
  font-weight: bold;
  margin-top: 0;
  position: absolute;
  -webkit-text-stroke: 1px rgb(0, 0, 0);
  -webkit-text-fill-color: transparent;
}
.text1Header p{
  text-align: justify;
}
.btn-service{
  width: 100%;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 15px;
  background-color:#012702;
  border: solid 1px rgb(197, 179, 88);
  color: aliceblue;
  font-size: 1.4em;
  font-weight: bold;
  cursor: pointer;
}
.btn-get-quote{
  background-color: #1a648e;
}
.btn-service:hover{
  background-color: rgb(240, 240, 240);
  color: rgb(173, 173, 173);
  cursor: pointer;
}
.a-getQuote{
  color: #1887C5;
  font-size: 1.5rem;
  text-decoration: none;
  margin-top: 0px;
}
.a-getQuote:hover{
  color: rgb(173, 173, 173);
}
#card-conteiner{
    display: flex;
    flex-wrap: wrap;
}
.card{
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgb(197, 179, 88);
    background-color: #014402;
    margin: 4vh auto 4vh auto;
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-style: none;
    animation: appear  linear;
    animation-timeline:view();
    animation-range: entry 0% cover 40%;
}
.imageCard{
overflow: hidden;
height: 47%;
margin: 10px;
border-radius: 5%;
}
.descriptionCard{
    width: 100%;
    height: 46%;
    border-radius: 5%;
    /*overflow-y:scroll;*/
}
.descriptionCard h2{
    font-weight: bold;
    text-align: center;
    color: rgb(243, 220, 106);
    padding: 0 2%;
    text-transform: uppercase;
    margin: 5px 0 0 0;
}
.descriptionCard p{
    padding: 0 15px;
    text-align: justify;
}
#service3,#service5>.descriptionCard{
    line-height: 1.25;
  }
.card button{
  width: 90%;
  border-radius: 12px;
  padding: 10px;
  margin: 0 15px 15px 15px;
  background-color:#012702;
  color: rgb(197, 179, 88);
  border: solid 1px rgb(197, 179, 88);
  font-size: 1.2rem;
}
.card button:hover{
background-color: rgb(240, 240, 240);
  color: rgb(173, 173, 173);
  cursor: pointer;
}
#about-us{
  padding: 5% 10%;
  background-color:#495c49;
  color: white;
}
.about-container{
  display: flex;
}
#location{
  padding: 10%;
}
.location-container{
  display: flex;
  flex-wrap: wrap;
}
.text-conteiner{
  display: flex;
  flex-direction: column;
  width: 50%;
}
.text-conteiner>ul
{
  flex-direction: column;
  align-items: center;
}
.map-container{
  display: flex;
  width: 50%;
}
#pay-method{
  color: white;
  background-color: #495c49;
  padding: 0px 20px;
  text-align: center;
}
section{
  margin-bottom: 3%;
}
footer{
  color: rgb(184, 184, 184);
  background-color: rgb(41, 41, 41);
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  padding:10%;
}
footer>div{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5%;
}
.contact,.schedule p{
  font-size: 1.1rem;
}
.contact p{
  text-align: justify;
}
footer a{
  color: #d9ad26;
  text-decoration: none;
}
footer .fa {
  padding: 15px;
  font-size: 30px;
  width: 60px;
  text-align: center;
  text-decoration: none;
  margin: 0 50px;
  border-radius: 50%;
}
.fa:hover {
    opacity: 0.7;
}
.fa-facebook{
    background-color: #cacaca;
    color: #292929;
  }
.contact{
  width: 30%;
  color: rgb(184, 184, 184);
  background-color: rgb(37, 37, 37);
  border-radius: 20px;
  border: 1px solid rgb(187, 187, 187);
  padding: 20px;
}
.contact button{
  border-radius: 10px;
  border: 1px solid rgb(180, 180, 180);
  padding: 8px 12px;
  margin-right: 7px;
}
 .container-fluid{
    margin: 120px 0 100px 0;
  }
.form-detail{
  font-size: 0.9em;
  font-style: italic;
  color: rgb(170, 170, 170);
}
#floatingTextarea{
  height: 15vh;
  background-color: white;
  }
.form-check{
  color: #014402;
}
/* Animacion para las tarjetas de servicios. */
@keyframes appear
{
    from{
        opacity: 0;
        scale: 0.5;
    }
    to{
        opacity: 1;
        scale: 1;
    }
}  
/* Extra small devices (phones, 576px and down) */
@media (max-width: 576px) {
  html body{
    font-size: 1.1rem;
  }
 p{
    font-size: 1.1rem;
  }
h2{
    font-size: 1.3rem
}
 nav{
    padding: 0 2%;
    justify-content: space-around;
  }
  .hidden{
    display: none;
  }
  header{
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 100px 2% 0 2%;
  align-items: center;
  background-size: 70%;
  background-position: right 80%;
  }
.img-title>img{
    width: 95%;
  }
.text1Header{
    display:flex;
    flex-direction: column;
    align-items: center;
    padding: 0% 2%;
  }
.title1{
    font-size: 3.1rem;
    top: 62%;
  }
.title2{
    font-size: 2.1rem;
    top: 74%;    
  }
.text1Header p{
    font-size: 1.2rem;
  }
.a-getQuote{
  font-size: 1.1rem;
  font-weight: bold;
 }
#flecha{
  font-size:1.8rem;
 }
#services{
    padding: 0 4%;
  } 
.card{
    width: 100%;
    margin: 9% 0;
    height: 600px;
    animation: appear  linear;
    animation-timeline:view();
    animation-range: entry 0% cover 40%;
  }
.descriptionCard p{
    font-size: 1.1rem;
  }
#service1>.descriptionCard{
    line-height: 1.4;
  }
#about-us{
  padding: 5% 2%;
}
.about-container{
    flex-direction: column-reverse;
  }
.about-container img{
    width: 100%;
  }
#location{
    padding: 0 4%;
  }
.text-conteiner, .map-container{
    width: 100%;
    text-align: justify;
  }
.contact{
    width: 100%;
  }
footer{
    padding: 10% 2%;
  }
.footer-content{
    flex-direction: column;
    align-items: center;
  }
.container-fluid{
    margin: 120px 0 100px 0;
  }
#sectionGetQuote> div{
    margin-bottom: 50px;
  }
#floatingTextarea{
  height: 10vh;
  }
}
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {}
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  nav{
    padding: 0 5%;
  }
  .hidden{
    display: none;
  }
  header{
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 120px 2% 0 2%;
  align-items: center;
  background-size: 50%;
  background-position: right 100%;
  }
.img-title>img{
    width: 90%;
  }
/*.img-title>h1{
    font-size: 4rem;
  }*/
.text1Header{
    display:flex;
    flex-direction: column;
    align-items: center;
    padding: 0% 2%;
  }
.title1{
    font-size: 5.5rem;
    top: 62%;
  }
.title2{
    font-size: 3rem;
    top: 74%;    
  }
.text1Header p{
    font-size: 1.7rem;
  }
  .linksHeader{
    text-align: center;
  }
#services{
    padding: 0 2%;
  } 
#card-container{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
  }
.card{
    width: 48.5%;
    margin: 2% 0;
    height: 590px;
  }
.imageCard{
height: 41%;
  }
.descriptionCard{
    height: 54%;
}
.descriptionCard p{
    font-size: 1.1rem;
  }
   .descriptionCard h2{
    font-size: 1.2rem;
  }
  #about-us{
  padding: 5% 5%;
}
 .about-container img{
    width: 45%;
    margin-right: 5%;
  }
   #location{
    padding: 0 4%;
  }
    .text-conteiner {
    /* width: 100%; */
    padding-right: 3%;
    font-size: 1.1rem;
    text-align: justify;
  }
  .contact{
    width: 80%;
    margin-top: 5%;
  }
  footer{
    padding: 10% 5%;
  }
   .container-fluid{
    margin: 150px 0 150px 0;
  }
}
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
nav{
    padding: 0 3%;
  }
.hidden{
    display: flex;
  }
.btn-nav-phone{
    display: none;
  }
  header{  
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 80vh;
  margin-top: 95px;
  padding: 0 3%;
  justify-content: flex-start;
  background-size: 40%;
  background-position: right 40%;
  }
.img-title{
    width: 40%;
  }
.title1{
    font-size: 3rem;
    top: 62%;
  }
.title2{
    font-size: 2rem;
    top: 74%;    
  }
.text1Header{
    width: 60%;
  }
.text1Header p{
    font-size: 1.2rem;
  }
.linksHeader{
    display: flex;
    text-align: center; 
    width: 100%;
    margin-top: 10%;
  }
.a-getQuote{
  font-size: 1.1rem;
 }
.btn-service{
  display: inline-block; 
  width: 45%;
  font-size: 1rem;
 }
  #services{
    padding: 0 3%;
  }
  .card{
    width: 32%;
    margin: 2% 0;
    height: 500px;
  }
.descriptionCard{
    overflow-y:scroll;
   }
/* Hide scrollbar for Chrome, Safari and Opera */
.descriptionCard::-webkit-scrollbar {
    display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.descriptionCard{
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.descriptionCard p{
    font-size: 1rem;
  }
.descriptionCard h2{
    font-size: 1.1rem;
  }
   #about-us{
  padding: 5% 3%;
}
 .about-container img{
    width: 45%;
    margin-right: 5%;
  }
  #location{
    padding: 0 3%;
  }
  .text-conteiner {
    font-size: 1rem;
  }  
  .contact{
    width: 39%;
    margin-top: 0%;
  }
    footer{
    padding: 5% 3%;
  }
.container-fluid{
    margin: 120px 0 150px 0;
  }
}
/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  nav{
    padding: 0 10%;
  }
.text1Header h1{
    font-size: 2.5rem;
  }
.text1Header p{
    font-size: 1.4rem;
  }
.a-getQuote{
  font-size: 1.3rem;
 }
.btn-service{
  font-size: 1.2rem;
 }
#flecha{
  font-size:40px;
 }
#services{
    padding: 0 5%;
  }
.card{
    width: 31%;
    margin: 2% 0;
    height: 590px;
  }
.imageCard{
height: 50%;
}
.descriptionCard{
    height: 46%;
}
.descriptionCard p{
    font-size: 1rem;
  }
.descriptionCard h2{
    font-size: 1.1rem;
  }
   #about-us{
  padding: 5% 10%;
}
 .about-container img{
    width: 45%;
    margin-right: 5%;
  }
  #location{
    padding: 0 10%;
  }
  .text-conteiner {
    font-size: 1.2rem;
  }
  footer{
    padding: 5% 10%;
  }    
}
 /* XX-Large devices (larger desktops, 1400px and up)*/
@media (min-width: 1400px) {
header{
  margin: 130px 0;
}
.text1Header{
    width: 60%;
  }
.img-title{
    width: 38%;
  }
.title1{
    font-size: 5rem;
    top: 62%;
  }
.title2{
    font-size: 3rem;
    top: 74%;    
  }
section p{
    font-size: 1.3rem;
  }
#services{
    padding: 0 5%;
  }
  .card{
    width: 24%;
    margin-top: 20px;
    height: 610px;
  }
  .descriptionCard p{
    font-size: 1.1rem;
  }
  .descriptionCard h2{
    font-size: 1.4rem;
  }
  section h1{
    font-size: 3rem;
  }
    #location{
    padding: 0 10%;
  }
  .text-conteiner {
    font-size: 1.2rem;
  }
  .contact{
    width: 30%;
  } 
}




