:root{
    --main-font: sans-serif;
    --font-size: 16px;
    --main-color: rgb(22, 87, 177);
    --second-color:  rgb(255, 255, 255);
    --main-modal-color:  rgba(22,87,177,0.85);
    --second-modal-color: rgba(0, 81, 255, 0.214);
    --tercer-modal-color: rgba(252, 209, 209, 0.961);
    --container-width: 2400px;  
}

html{
    box-sizing: border-box;
    font-family:var (main-font);
    font-size: var(font-size);
    scroll-behavior: smooth;
}

*,
*:before,
*:after{
    box-sizing: inherit;
    
}

body{
    margin: 10;
    overflow-x: hidden;
    font-family: 'Noto Serif Display', serif;
    min-height: 100vh;
    }

img{
    max-width: 100%;
    height: auto;
}

.header{
    position: sticky;
    z-index: 997;
    top: 0;
    padding: 0.2rem;
    background-color: var(--main-color);
    color: var(--second-color);
    display: flex;
}
.header h1{
    margin: auto;
    text-align: center;
}

/* Menu */

.menu-fixed{
   position:fixed;
   z-index: 1000;
   top:0;
 }

 nav{
    /* separacion superior */
    top: 10px;
    position:absolute;
    /* centramos el contenido */
    left: 0;
    right: 0;
    margin: 70px auto;
    width:90%;
    max-width: 1000px;
    border-radius: 8px;
    transform: translate(0);
    
}

    nav > ul{
    
    list-style: none;
    display: table;
    overflow: hidden;                                                       
    width: 100%;
    background-color: #88cdf7a1;
    position: relative;
    border-radius: 0 0 8px 8px;
	padding-left: 0;
    }

    nav > ul li {
    display: table-cell;
	width: calc(100%/5);
    }

    nav > ul li a {
      color:rgb(5, 5, 5);
      display:block;
      line-height:20px;
      padding:20px;
      position: relative;
      

      text-align:center;
      text-decoration:none;
      -webkit-transition: all .3s ease;
      -moz-transition: all .3s ease;
      -ms-transition: all .3s ease;
      -o-transition: all .3s ease;
      transition: all .3s ease;
    }

    nav > ul > li > ul > li a:hover {
        background:#5da5a2;
    }

    nav > ul > li > a span  {
          background:#f0f2f3;

          display:block;
          height: 100%;
          width: 100%;
          left: 0;
          position: absolute;
          top: -55px;
          -webkit-transition: all .3s ease;
      -moz-transition: all .3s ease;
      -ms-transition: all .3s ease;
      -o-transition: all .3s ease;
       transition: all .3s ease;
    } 

    nav > ul > li > a span .img {
          display:block;
          line-height:60px;
          margin:0;
    }
      
        nav > ul > li > a:hover > span {
          top:0;
          margin: auto;
          border-radius: 0 0 8px 8px;
        }

        nav ul li a .primero {
            background:#8d72e0;
        }

        nav ul li a .segundo {
            background:#1abc9c;
        }

        nav ul li a .tercero {
            background:#ee9b3d;
        }

        nav ul li a .cuarto {
            background:#3498db}

        nav ul li a .quinto {
            background:#5fee80;
        }


  /* slider */

  .slider{
    position:relative;
    width: 100%;
    height: calc(90vh - 10px);
    /* color de fondo */
    background-color:rgba(192, 198, 202, 0.421);
     background-blend-mode: soft-light;
    background-color: rgb(101, 133, 230 .6);
   /* el taño de nuestra imagen */
    background-size: cover;
   /* posicion de la imagen */
     background-position: center;
   /* movimiento de imagen */
     transition: all.1s;
   /* la ruta de las imagenes */
    background-image:url(../imagenes/dr1.jpeg);
    animation: banner 40s infinite linear;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    position: relative;
    margin: auto;
 }

       /* resolucion pantalla 1920x1080*/
       @keyframes banner{
         0%{
           background-image:url(../imagenes/dr1.jpeg);

         }
         20%{
           background-image:url(../imagenes/dr2.jpg);
         }
         40%{
           background-image:url(../imagenes/dr3.jpeg);
         }
         60%{
           background-image:url(../imagenes/dr4.jpg);
         }
         80%{
           background-image:url(../imagenes/dr1.jpeg);
         }

       }

.slider img{
    
    height: 10%;
    position:relative;
    top: 0;
    left: 0;
    transition: opacity 1s ease;
}



@keyframes scroll {
    0% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
              
    }
    100% {
      -webkit-transform: translateX(calc(-250px * 7));
              transform: translateX(calc(-250px * 7));
             
    }
  }
  
  
  .slide {
    background: rgb(255, 254, 254);
    /*box-shadow: 0 10px 20px -5px rgba(0, 0, 0, .125);*/
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
  }
  .slide::before, .slide::after {
    background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 100px;
    position: absolute;
    width: 200px;
    z-index: 2;
  }
  .slide::after {
    right: 0;
    top: 0;
    -webkit-transform: rotateZ(180deg);
            transform: rotateZ(180deg);
  }
  .slide::before {
    left: 0;
    top: 0;
  }
  .slide .slider-track {
    -webkit-animation: scroll 100s linear infinite;
            animation: scroll 100s linear infinite;
    display: flex;
    width: calc(250px * 14);
  }
  .slide .ami {
    height: 50px;
    width: 250px;
  }
  
  

.section{
    padding: 2rem;
    padding-top: 4rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: var(--container-width);
    min-height: 60vh;
    text-align: left;
}

.panel{
    position: fixed;
    z-index: 998;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: 15vh;
    transition: transform 0.5s ease, opacity 0.5s ease;
    transform: translate(-100%,0);
}

.panel.is-active{
    transform: translate(0,0);
    opacity: 1;
}

    
.panel-btn{
    position: fixed;
    z-index: 999;
    bottom: 1vh;
    right: 1vw;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--main-color);
    color: rgb(255, 255, 255);
 }

.menu{
    width: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;}

.menu a{
    padding: 2rem;
    width: inherit;
    display: block;
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--main-color);
    transition: all 0.3 ease;
}

.menu a:hover{
    font-weight: bold;
    color: var(--second-color);
    background-color: var(--main-modal-color);
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after{
    background-color: rgb(255, 255, 255);
}

.hamburger.is-active .hamburger-inner, 
.hamburger.is-active .hamburger-inner:after, 
.hamburger.is-active .hamburger-inner:before {
    background-color:  rgb(255, 255, 255);
}

.scroll-top-btn {
    position: fixed;
    z-index: 999;
    bottom: 1vh;
    right: calc(4.25rem + 1vw);
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: bold;
    background-color: var(--main-color);
    color: var(--second-color); 
    cursor: pointer;
    outline: 0;
    border: 0;
    transition: all 0.3 ease-out;
}

.scroll-top-btn:hover {
    background-color: var(--second-color);
    color: var(--main-color);
}

.hidden {
    visibility: hidden;
    opacity: 0;
}

.tema-inversa-btn {
    z-index: 999;
    bottom: 1vh;
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: bold;
    background-color: var(--main-color);
    color: var(--second-color); 
    cursor: pointer;
    outline: 0;
    border: 0;
    transition: all 0.3 ease-out;
}

.tema-inversa-btn:hover {
    background-color: var(--main-color);
    color: var(--main-color);
}


.modo-Oscuro{
    background-color: black;
    color: rgba(254, 254, 254, 0.841);
}

#borde {
    border-radius: 50px; 
    overflow: hidden; 
}

.whatsapp-icon{
    margin-top:5px 
}

.btn-wsp{
    position:fixed;
    z-index: 999;
    width: 4rem;
    height: 4rem;
    line-height: 60px;
    bottom: 1vh;
    left: 1vh;
    background-color:#30e873;
    color:rgb(251, 249, 249);
    border-radius:50px;
    text-align:center;
    font-size:30px;
    box-shadow: 0px 1px 10px rgb(red, green, blue);
    z-index:100;

  }
  .btn-wsp:hover{
   text-decoration:none ;
   color: #1abc9c;
   background-color: #fff;

  }


.online,
.offline{
    position: fixed;
    z-index: 999;
    bottom: 1vh;
    left: 1vh;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    font-size: 2.8rem;
    font-weight: bold;
    text-align: center;
    background-color: var(--main-modal-color);
    color: var(--second-color); 
    cursor: pointer;
}

.offline{
    background-color: red;
}

.tarjetas{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    border: thin solid var(--second-modal-color);
    padding: 3rem;
}

.tarjeta{
    transition: all 0.3s ease-out;
}

.tarjeta iframe{
    width: 100%;
    height: 300px;
}

.tarjeta caption{
    padding: 1rem;
}

.filtro{
    visibility: hidden;
    opacity: 0;
    order: 1;
}


/* @media screen and (min-width: 1024px){
    body{
        display: grid;
        grid-template-columns: 88% 12%;
        grid-template-rows: 4rem auto;
        grid-template-areas: 
        "header header"
        "main   panel"
        ;
    }

    main{
        grid-area: main;
    }

   .header {
        grid-area: header;
   }

   .panel{
        grid-area: panel;
        align-self: start;
        position: sticky;
        top: 4rem;
        justify-content: flex-start;
        /* background-color: var(--second-color);
        transform: translate(0, 0);
        opacity: 1;
        visibility: visible; 
   } 

   .menu{
        justify-content: start;
        text-align: right;
   }

   .menu a{
        font-size: 1rem;
        padding: 0.75rem;
   }

   .menu a:hover,
   .menu a.active{
    color: var(--second-color);
    background-color: var(--main-color);
   }
} */

.contacto-form{
    --form-ok-color: #4caf50;
    --form-error-color: #f44336;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    
}

.contacto-form > *{
    padding: 0.5rem;
    margin: 1rem auto;
    display: block;
    width: 100%;
}

.contacto-form textarea{
    resize: none;
}

.contacto-form legend,
.contacto-form-response{
font-size: 1.5rem;
font-weight: bold;
text-align: center;
}

.contacto-form input,
.contacto-form textarea{
    font-size: 1rem;
    font-family: sans-serif;
}

.contacto-form input[type="submit"]{
    width: 30%;
    font-weight: bold;
    cursor: pointer;
}

.contacto-form [required]:valid {
    border:thin solid var(--form-ok-color);
}

.contacto-form [required]:invalid{
    border: thin solid var(--form-error-color);
}

.contacto-form-error{
    margin-top: -1rem;
    font-size: 80%;
    background-color: var(--form-error-color) ;
    color: blanchedalmond;
    transition: all 800ms ease;
}

.contacto-form-error.is-active{
    display: block;
    animation: show-mensaje 1s 1 normal 0s ease-out both;
}

.contacto-form-loader{
    text-align: center;
}

.none{
    display: none;
}

@keyframes show-mensaje {
    0%{
        visibility: hidden;
        opacity: 0;
    }
    100%{
        visibility: visible;
        opacity: 1;
    }
}


footer{
    width: 100%;
    background: #2a2a2b;
    color: rgb(242, 228, 228);
    line-height: 1.5;
    flex-wrap: wrap;
  }
  .contenedor-total{
  width: 100%;
  display: flex;
  justify-content:space-evenly;
  
  }
  .contenido-body{
  margin: 30px auto;
   /* si no cabe que baje */
  }
  .columna1 img{
  width: 30%;
  display: flex;
  margin:  auto;
  }
  
  
  .ft-main {
  padding: 1.25rem 1.875rem;
  display: flex;
  flex-wrap: wrap;
  
  }
  @media only screen and (min-width: 29.8125rem /* 477px */) {
  .ft-main {
  justify-content: space-evenly;
         }
                                                  }
  
  @media only screen and (min-width: 77.5rem /* 1240px */) {
  .ft-main {
  justify-content: space-evenly;
           }
                                                 }
  
  .ft-main-item {
         padding: 1.25rem;
         min-width: 12.5rem;
        
  
     }
  
  ul {
  list-style: none;
  padding-left: 0;
  }
  
  ul li a{
  color: #e8e3ed;
  }
  
  
  .ft-social {
  padding: 0 1.875rem 1.25rem;
  }
  .ft-social-list {
  display: flex;
  justify-content: center;
  border-top: 1px rgb(212, 192, 192) solid;
  padding-top: 1.25rem;
  }
  .ft-social-list li {
  margin: 0.5rem;
  font-size: 1.25rem;
  }
  
  .ft-legal {
  padding: 0.9375rem 1.875rem;
  background-color: rgb(155, 138, 138);
  }
  .ft-legal-list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  }
  .ft-legal-list li {
  margin: 0.125rem 0.625rem;
  white-space: nowrap;
  }
  
  .ft-legal-list li:nth-last-child(2) {
  flex: 1;
  }
  
.contenedor-flexbox{
    display: flex;
    justify-content:center;
    align-items: center;
}

.subtitulo{
    color: #9f8ad0;
    font-size: 40px;
    text-align: center;
    font-weight: 300;
   margin-bottom: 30px;
 }




 .contenedor-servicio{
    height: calc(60vh - 10px);
    display: flex;
        /* espacio equitativo espacio horizontal */
    justify-content: space-evenly;
    align-items: center;
        /* si no cabe y baje */
    flex-wrap: wrap;
 }

.contenedor-servicio img{
       width: 25%;
     }

.checklist-servicio{
 width: 45%;


 }

.servicios{
margin-bottom: 20px;
}


.n-servicios{
margin-bottom: 7px;
color: #5266b3;
}

.number{
display: inline-block;
background-image: linear-gradient(to top, #afcbdf 0%, #8aa2ea 100%);
line-height: 30px;
text-align: center;
border-radius: 50%;
margin-right: 5px;
width: 30px;
height: 30px;
color: #fff;
font-weight: 700;
}
