*{
    font-family: "Nunito",Arial, Helvetica, sans-serif;

}

html {
    scroll-behavior: smooth;
}
.error-message {
    color: red;
    font-size: small; /* Agrega un espacio entre el captcha y el mensaje de error */
    text-align: start;
}

.captcha{
    margin-left: 16px;
}

p{
    font-size: 1.3rem;
    text-align: center;
}

:root{
    --primario-a: #2097CE;
    --secundario-a: rgb(221, 237, 255);
    --primario-b: rgb(255, 255, 255);
    --primario-c: rgb(224, 224, 224);
    --secundario-c: rgb(87, 87, 87);
}

.bg-first{
    background-color: var(--secundario-a);
}

.bg-second{
    background-color: var(--primario-c);
}

.bg-first-b{
    background-color: var(--primario-a) !important;
    height: 80px !important;
    transition: all 1s;
}

.underline {
    display: flex;
    height: .3rem;
    background-color: var(--primario-a);
    margin: 0 auto;
    width: 150px;
    border-radius: 5px;
}

.carousel-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.carousel-inner img {
    max-width: 100%;
    height: auto;
    border-radius: 100%;
}

/* header */
.header-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

header{
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url("../src/header.jpg");
    background-position: center;
    background-size: cover;
    -webkit-box-shadow: 0px 21px 46px -26px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 21px 46px -26px rgba(0,0,0,0.75);
    box-shadow: 0px 21px 46px -26px rgba(0,0,0,0.75);
    
}

nav a{
   font-size: 1.2rem; 
}

.header-contact-bar{
    background-color: var(--primario-a);
    color: var(--primario-b);
    font-weight: bold;
    padding: .6rem;
}

.header-title{
    color: var(--primario-b);
    font-size: 9rem;
}



.header-content{
    height: 90vh;
    color: var(--primario-b);
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100% - 126px);
}


.header-button{
    margin-top: 2.5rem;
    padding: .5rem;
    border: 3px solid var(--primario-b);
    border-radius: 1rem;
    background: none;
    color: var(--primario-b);
    font-weight: bold;
    font-size: 1.3rem;
    transition: all .6s;

}

.header-button:hover{
    background-color: var(--primario-a);
    border-color: var(--primario-a);
    transition: all .6s;
}

.contacto-link{
    margin-left: 7px;
    background-color: var(--primario-b);
    border-radius: 1rem;
    font-weight: bold;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    transition: all .5s;
}

.contacto-link:hover{
    background-color: rgba(0, 118, 253,.0);
    color: var(--primario-a) !important;
    transition: all .5s;
}

/* main */

.div1{
    width: 100px;
    height: 4px;
    background-color: var(--primario-a);
    opacity: .6;
    border-radius: 5px;
}

/* quienes somos */
.section-h1{
    color: var(--secundario-c);
    font-size: 3rem;
    font-weight: bold;
}
.primary-section{
    margin-top: 5rem;
    margin-left: 1rem;
    margin-right: 2rem;
}

.service-item img{
    width: 300px;
    height: 250px;
    object-fit: contain;
}

#services{
    background-color: rgb(224, 224, 224);
}

.img-example{
    width: 300px;
    height: 200px;
    object-fit: contain;
}

/* contacto */


.modificar-ancho {
    width: 100%;
}

.footer {
    width: 100%;
    padding: 10px;
    background-color: rgb(31, 31, 31);
    color: rgb(222, 222, 222);
    text-align: center;
}

/*formulario */

.formulario{
    border-radius: 1rem; 
    border: 1px solid rgb(206, 206, 206);
    -webkit-box-shadow: 0px 0px 32px -14px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 32px -14px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 32px -14px rgba(0,0,0,0.75);
}

.clientes{
    display: flex;
    gap: 2rem;
    overflow: hidden ;
    overflow-x: scroll;
    -webkit-user-select: none;
    user-select: none;
    justify-content: center;
    align-items: center;
    gap: 6rem;
}

.servicio-body{
    min-width: 350px;
    max-width: 350px;
    min-height: 350px;
    max-height: 350px;
    border-radius: 1rem;
    -webkit-box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.100);
    -moz-box-shadow: 0px 0px 18px 0px rgba(0,0,0,0.100);
    box-shadow: 0px 0px 18px 0px rgba(0,0,0,0.100);
}


.no-click {
    pointer-events: none;
}

.trabajo{
    color: var(var(--primario-b));
    background-color: var(--primario-a);
    padding: 0;
}

.button-trabajo{
    max-width: 500px;
    padding: 1rem 2rem;
    background-color: var(--primario-a);
    border-radius: .5rem;
    margin: 0 auto;
    cursor: pointer;
    margin-top: 50px;
}

@media (max-width: 568px) { 
    .button-trabajo{
        max-width: 80vw;
    }
}

.button-trabajo p{
    color: var(--primario-b);
    font-weight: bold;
    font-size: 1.7rem;
}

.trabajo-img{
    background-image:linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url("../src/header.jpg");
    -webkit-box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 0px 18px 0px rgba(0,0,0,0.4);
    box-shadow: 0px 0px 18px 0px rgba(0,0,0,0.4);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* servicios */

.contenedor {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
}

@media (max-width: 1024px) { /* Estilos para tablet */
    .contenedor {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) { /* Estilos para celular */
    .contenedor {
        grid-template-columns: repeat(1, 1fr);
    }

    .header-title{
    font-size: 20vw;
    }

    .item{
        border: 1px solid rgb(222, 222, 222);
        -webkit-box-shadow: 0px 0px 9px 1px rgba(224, 224, 224, 0.5);
        -moz-box-shadow: 0px 0px 9px 1px rgba(224, 224, 224, 0.5);
        box-shadow: 0px 0px 9px 1px rgba(224, 224, 224, 0.); 
    }

}

/* Estilos para los divs */
.item {
    background-color:var(--primario-b);

    padding: 20px;
    /* border: 1.5px solid #ccc; */
    border-radius: 10px;

}

.item:hover{
    border: 1px solid rgb(222, 222, 222);
    -webkit-box-shadow: 0px 0px 9px 1px rgba(224, 224, 224, 0.5);
    -moz-box-shadow: 0px 0px 9px 1px rgba(224, 224, 224, 0.5);
    box-shadow: 0px 0px 9px 1px rgba(224, 224, 224, 0.); 
}



/* modal */
.modal {
    display: inline;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: #fefefe;
    margin: 1.5rem auto;
    padding: 20px;
    border:none;
    width: 80%;
    max-width: 70%;
    position: relative;
    overflow-y: auto; /* Esto habilitará el desplazamiento vertical si el contenido es demasiado largo */
    max-height: 95vh; /* Establece la altura máxima del modal para que no ocupe toda la pantalla */
}

/* Para navegadores webkit (Chrome, Safari) */
.modal-content::-webkit-scrollbar {
    width: 10px; /* Ancho del scrollbar */
}

.modal-content::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Color de fondo del track */
    border-radius: 0 5px 5px 0; /* Borde redondeado del track */
}

.modal-content::-webkit-scrollbar-thumb {
    background-color: #cecece; /* Color del thumb (barra de desplazamiento) */
    border-radius: 10px; /* Borde redondeado del thumb */
}

/* Para navegadores Firefox */
.modal-content {
    scrollbar-width: thin;
    scrollbar-color: #ccc #f1f1f1;
}

.close {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 28px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
}

/* form */

.contact-form .form-field {
    position: relative;
    margin: 32px 0;
  }
  .contact-form .input-text {
    display: block;
    width: 100%;
    height: 36px;
    border-width: 0 0 2px 0;
    border-color: #5543ca;
    font-size: 18px;
    line-height: 26px;
    font-weight: 400;
  }
  .contact-form .input-text:focus {
    outline: none;
  }
  .contact-form .input-text:focus + .label,
  .contact-form .input-text.not-empty + .label {
    -webkit-transform: translateY(-24px);
            transform: translateY(-24px);
  }
  .contact-form .label {
    position: absolute;
    left: 20px;
    bottom: 11px;
    font-size: 18px;
    line-height: 26px;
    font-weight: 400;
    color: #5543ca;
    cursor: text;
    transition: -webkit-transform .2s ease-in-out;
    transition: transform .2s ease-in-out;
    transition: transform .2s ease-in-out, 
    -webkit-transform .2s ease-in-out;
  }
  .contact-form .submit-btn {
    display: inline-block;
    background-color: #000;
    background-image: linear-gradient(125deg,#a72879,#064497);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 16px;
    padding: 8px 16px;
    border: none;
    width:200px;
    cursor: pointer;
  }
  

  /* logo slider */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    background: #f2f2f2;
  }
  
  @keyframes slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
  
  .logos {
    overflow: hidden;
    padding: 60px 0;
    white-space: nowrap;
    position: relative;
  }
  
  /* .logos:before,
  .logos:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
  }
  
  .logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), #f3f3f3);
  }
  
  .logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #f3f3f3);
  } */
  
  .logos:hover .logos-slide {
    animation-play-state: paused;
  }
  
  .logos-slide {
    display: inline-block;
    animation: 35s slide infinite linear;
  }
  
  .logos-slide img {
    height: 50px;
    margin: 0 40px;
  }

.color-1{
    color: var(--primario-b);
}

.navbar-fixed{
    position: fixed !important;
    width: 100%;
    top: 0 !important;
    left: 0;
    background-color: var(--primario-a);
    z-index: 100;
    transition: all .4s;
}

.contenedor-nav{
    padding-left: 60px;
    padding-right: 60px;
    display: flex;
    justify-content: space-between;
    width: 100vw;
}

@media (min-width:990px) {
    .idiomas{
        margin-left: 50px;
    }
    .navbar-fixed{
        background:none;
        height: 130px;
    }
    #navbarNav{
        width: auto;
    }
}

@media (max-width:990px) {

    .mapa{
        height: 500px !important;
    }
    .contacto-link{
        margin: 0;
        display: initial !important;
    }
    .contacto-button{
        margin: 10px 0;
    }

    #es{
        margin-left: 20px;
    }
    #en{
        margin-left: 10px;
    }

    .volver-arriba{
        position: fixed;
        bottom: 2rem;
        right: -5rem;
        z-index: 99;
    }

    .volver-arriba a{
        padding: .5rem;
        background-color: var(--primario-a);
        border-radius: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }

    .arrowUpAnim1{
        animation: arrowUp 1s forwards;
    }
    .arrowUpAnim2{
        animation: arrowNone 1s forwards;
    }

    .logos:before,
    .logos:after {
        width: 100px;
    }

    .navbar-fixed{
        height: auto !important;
    }

    .contenedor-nav{
        padding-left: 20px;
        padding-right: 20px;
    }

    .modal-content {
        max-width: 100vw;
        margin: 0;
        max-height: 100vh; 
    }
}

@keyframes arrowUp {
    0%{
        right: -5rem;
    }
    100%{
        right: 2rem;
    }
}
@keyframes arrowNone {
    0%{
        right: 2rem;
    }
    100%{
        right: -5rem;
    }
}



.nav-link{
    color: white !important;
}

.contacto-link{
    color: var(--primario-a) !important;
}

.header-brand{
    width: 90%;
    margin-top: 80px;
}

@media (min-width:720px) {
    .header-brand{
        width: 80%;
    }

    
}

.header{
    height: 100vh;
}

@media (max-width:720px) {
    .header{
        height: 40vh;
    }
}
