html {
    scroll-behavior: smooth;
}

html ,body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    font-weight: bolder;
    font-family: 'Comfortaa', cursive;
    line-height: 1.6rem;
    margin: 0;
    background: rgb(230, 230, 230);
}


h3 {
    font-size: 50px;
    padding-bottom:2rem;
    color: darkblue;
}

@media (max-width: 720px) {
    h3 {
        font-size: 6vw;
        padding-bottom: 0.8rem;
    }
}

h4 {
    padding-bottom:1rem;
    color: darkblue;
}

@media (max-width: 720px) {
    h4 {
        font-size: 4vw;
        padding-bottom: 0.5rem;
    }
}

nav {
    position: fixed;
    width: 100%;
    z-index: 10;
}

nav ul {
    list-style: none;
    background-color: rgba(27, 45, 80);
    overflow: hidden;
    padding: 0;
    text-align: center;
    margin: 0;
    transition: 1s;
}

nav ul li {
    display: inline-block;
    padding: 10px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 15px;
    font-family: sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;

}

.menu a {
    position: relative;
    display: block;
    padding: 0.5rem;
    text-decoration: none;
    color: white;
  }
  
  .menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    text-decoration: none;
    background: linear-gradient(to right, #d41414, #d41414, #d41414);
    z-index: 1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease-in-out;
  }
  
  .menu a:hover::before {
    transform: scaleX(1);
  }

  .menu[data-animation="center"] a::before {
    transform-origin: center;
  }

  .toggle {
    flex: 1;
    text-align: right;
    visibility: hidden;
    order: 1;
  }

  @media all and (max-width: 720px) {
    .menu {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }
    .logo {
      flex: 1;
    }
    .toggle {
        visibility: visible;
      flex: 1;
      text-align: right;
      order: 2;
    }
    .navitem {
        width: 100%;
        text-align: center;
        order: 3;
        display: none;
      }
      .navitem.active {
        display: block;
      }
  }

.btn-top {
    position: fixed;
    width: 3rem;
    height: 3rem;
    line-height: 2rem;
    bottom: 2rem;
    right: 2rem;
    text-decoration: none;
    background: darkblue;
    color: #fff;
    text-align: center;
    border-radius: 50%;
    font-size: 2rem;
    z-index: 100;
    box-shadow:  0 2px 2px 2px rgb(0, 0, 0, 0.7);
}

.btn-top:hover {
    text-decoration: none;
    color:rgba(255, 255, 255, 0.97);
    background: rgba(0, 0, 200, 0.89);
}

.sect-nosotros {
    text-align: justify;
    padding-top: 6rem;
    background: whitesmoke;
}

.sect-nosotros img {
    width: 100%;
    height: 65%;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.7));
}

@media (max-width: 720px) {
    .sect-nosotros{
        padding-top: 2rem;
        font-size: 4vw;
        width: auto;
        height: auto;
        text-align: justify;
     }

     .sect-nosotros img {
         width: 100%;
         height: auto;
         padding-bottom: 1rem;
     }
    
}

.sect-servicios {
    text-align: justify;
    padding-top: 6rem;
    background:  rgb(230, 230, 230);
}

.sect-servicios li {
    background:  rgb(230, 230, 230);
}

.sect-servicios img {
    width: 100%;
    height: 75%;
    padding-top: 5rem;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.7));
}

@media (max-width: 720px) {
    .sect-servicios {
        font-size: 4vw;
        padding-top: 2rem;
        width: auto;
        height: auto;
     }
     .sect-servicios img {
         display: none;
     }
    
}

.sect-servicios-2 {
    padding-top: 2rem;
}

.sect-servicios-2 img {
    width: 100%;
    height: 90%;
    padding-top: 3rem;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.7));
}

@media (max-width: 720px) {
    .sect-servicios-2 {
        font-size: 4vw;
        padding-top: 2rem;
        width: auto;
        height: auto;
     }
    
}

.sect-serv-esp {
    text-align: justify;
    padding-top: 3rem;
    background: whitesmoke;
}

.sect-serv-esp li {
    background: whitesmoke;
}

.sect-serv-esp li p {
    padding-left: 1rem;
}

.sect-serv-esp .img {
    width: 100%;
    height: auto;
    padding-top: 1rem;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.7));
}

@media (max-width: 720px) {
    .sect-serv-esp {
        text-align: justify;
        font-size: 0;
        padding-top: 2rem;
        margin-top: 2rem;
        margin-bottom: 1rem;
        width: auto;
        height: auto;
    }
    .sect-serv-esp br {
        display: none;
    }

    .sect-serv-esp p{
        font-size: 4vw;
    }
}

.sect-contacto {
    padding-top: 6rem;
}

@media (max-width: 720px) {
    .sect-contacto {
        font-size: 4vw;
        padding-top: 2rem;
        margin-top: 2rem;
        width: auto;
        height: auto;
     }

     .sect-contacto .mail {
         font-size: 3.7vw;
     }
     .sect-contacto br {
         display: none;
     }
}

footer {
    width: 100%;
    height: 35%;
    background: rgb(12, 12, 12);
}

@media (max-width: 720px) {
    footer {
        width: 100%;
        height: auto;
    }
}

.logof {
    width: 150px;
    height: 130px;
    padding-top: 2rem;
}

.foot-text {
    padding-top: 2rem;
}

.foot-text h5 {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.foot-text p {
    font-size: 0.8rem;
    text-align: justify;
    color: rgba(255, 255, 255, 0.8);
}

.copy-text {
    color: black;
}

.copy-text p {
    font-size: 0.75rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.486);
}

.copy-text p a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.486);
}

body::-webkit-scrollbar {
    width: 12px;
    background: rgb(230, 230, 230);
}

body::-webkit-scrollbar-thumb{
    border-radius: 6px;
    border-left: 1px solid lightgray;
    border-right: 1px solid lightgray;
    background: darkblue;
}


.landing {
    color: #fff;
    background-color: rgba(27, 45, 80, 0.9)
}

.landing::before {
    background-image: url("../img/portada.jpg");
}

.landing h2 b {
    background: whitesmoke;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.landing h2 b {
    font-size: 45px;
    font-weight: 900;
}

@media (max-width: 720px) {
    .landing h2 b {
        font-size: 25px;
        padding:1rem;
    }
}

.img-bg-before {
    position: relative
}

.img-bg-before::before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    -ms-background-size: cover;
    background-size: cover;
    -webkit-filter: contrast(150%) grayscale(100%);
    filter: contrast(150%) grayscale(100%);
    transition: 0.5s all ease;
    z-index: -1
}