* {
    font-family: 'Monserrat', sans-serif;
   

}

.navbar {
    background-color: rgba(255, 255, 255, 0.7);
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    z-index: 3;
}

.item1 {
    text-align: center;
}

.item2,
.item3 {
    padding-top: 20px;
    text-align: center;
}

.item2 a {
    text-decoration: none;
    color: #000;
    padding: 10px;
}

.item3 a {
    text-decoration: none;
    color: #fff;
}

.img-principal {
    height: 900px;
    background-image: url(../img/trabajando2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;

}

.img-principal::before {
    position: absolute;
    content: "";
    inset: 0;
    background-color: rgba(0, 0, 0, .50);
}

#content {
    position: relative;
}

#contenido1 {
    padding-top: 10rem;
    margin-left: 20rem;

}

.img-principal h1 {
    color: white;
    font-size: 50px;
}

#contacto2 {
    background-color: #fff;
    border-style: none;
    border-radius: 15px;
    color: #000;
    padding: 15px 23px;
    margin-top: 15px;
    font-size: 15px;
    cursor: pointer;
}

#contacto1 {
    background-color: #847562;
    border-style: none;
    border-radius: 15px;
    color: #000;
    padding: 15px 23px;
    margin-top: -15px;
    font-size: 15px;
    cursor: pointer;
}

#servicios {
    width: 90%;
    margin: 0 auto;
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
}

#descripcion {
    padding-top: 15rem;
}

#descripcion h3 {
    color: #847562;
}

#descripcion h1 {
    font-size: 40px;
}



/*#fabricacion #bloque1{
    margin-top: 15rem;
    background-color: #dfd9d9;
    display: grid;
    grid-template-columns: repeat(2,1fr);
}

#fabricacion #bloque2{
    background-color: #dfd9d9;
    display: grid;
    grid-template-columns: repeat(2,1fr);
}*/

.parent {
    margin-top: 15rem;
    background-color: #dfd9d9;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.div1 {
    grid-area: 1 / 1 / 2 / 2;
}

.div2 {
    grid-area: 1 / 2 / 2 / 3;
}

.div3 {
    grid-area: 2 / 1 / 3 / 2;
}

.div4 {
    grid-area: 2 / 2 / 3 / 3;
}

.div2 img {
    width: 100%;
    transition: 1s;
}

.div2 img:hover {
    width: calc(100% + 60px);
    margin: -30px 0 0 -30px;
}

.texto {
    padding: 5rem 15rem;
    line-height: 2rem;
}

.texto h1 {
    font-size: 2rem;
}

#contacto3 {
    border-style: none;
    border-radius: 15px;
    color: #000;
    padding: 15px 23px;
    font-weight: bolder;
    cursor: pointer;
}

a {
    text-decoration: none;
    color: black;
    font-weight: bolder;
}

#imagina {
    margin-top: 50px;
}

.imagenes {
    background-image: url(../img/panel1version.jpg);
    width: 100%;
    height: 40rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px;
    transition: 1s;
}

#imagina:hover .imagenes {
    background-image: url(../img/panel2version.jpg);
}

#contenido2 {
    padding-top: 15rem;
    background-color: rgba(0, 0, 0, .50);
    color: #fff;
    text-align: center;
}

#contenido2 h1 {
    font-size: 40px;
}

#contenido2 p {
    font-size: 20px;
}

.contacto {
    background-color: bisque;
}

#contactos {
    width: 40%;
}


.slider {
    text-align: center;
    width: 75vw;
    height: auto;
    margin: auto;
    overflow: hidden;
}

.slider .slide-track {
    display: flex;
    animation: scroll 80s linear infinite;
    -webkit-animation: scroll 80s linear infinite;
    width: calc(300px * 12);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(-300px * 3);
        transform: translateX(calc(-300px * 3));
    }
}

.slider .slide {
    padding: 20px 30px;
    line-height: 1.5rem;
    width: 300px;
}

.slide .texto1 {
    font-size: larger;
}

.slide .nombre {
    font-weight: bolder;
}

.comentario {
    text-align: center;
}

.comentario h2 {
    color: #6D5F52;
}

#formulario {
    position: relative;
    left: 80%;

}

#formulario h1 {
    text-align: center;
    padding: 0 10px;
    margin: 50px 0 10px 0;
}

input {
    background-color: white;
    padding: 10px;
    font-size: 15px;
    margin-bottom: 10px;
    width: 100%;
}

#miInput.error {
    border: 2px solid red;
    background-color: #ffe5e5;
  }

  #mensajeError {
    color: red;
    font-size: 0.9em;
    display: none;
    margin-top: 4px;
  }

  #mensajeError.visible {
    display: block;
  }

select {
    background-color: white;
    padding: 10px;
    font-size: 15px;
    margin-bottom: 0.5rem;
}

textarea {
    background-color: white;
    padding: 10px;
    font-size: 15px;
    width: 100%;
    height: 80px;
}

#botonEnviar {
    background-color: #6D5F52;
    border-style: none;
    border-radius: 15px;
    font-weight: bolder;
    color: white;
    padding: 15px 23px;
    font-weight: bolder;
    cursor: pointer;
}

footer {
    margin-top: 5px;
    padding: 0.5rem;
    color: #fff;
    background: #000;
    width: 100%;
}

footer p {
    text-align: center;
    font-size: 15px;
}

footer p a {
    text-decoration: none;
    color: white;
}

.fa-arrow-up-from-bracket {
    font-size: 20px;
}

.fa-facebook {
    font-size: 30px;
    color: blue;
}

.fa-tiktok {
    font-size: 30px;
    color: #b02156;
}

@media screen and (max-width:800px) {
    .navbar {
        position: relative;
        display: block;
    }

    .item1 img {
        width: 20%;
    }

    .item3 {
        margin-bottom: 1rem;
    }

    .img-principal {
        background-image: url(../img/trabajando1.jpg);
        width: 100%;
        background-size: cover;
        background-repeat: no-repeat;
    }

    #contenido1 {
        padding-top: 10rem;
        margin-left: 2rem;
    }

    #servicios {
        margin-top: 0;
        display: block;
    }

    #descripcion {
        padding-top: 1rem;
    }

    .parent {
        margin-top: 2rem;
        display: block;
    }

    .texto {
        padding: 1rem;
    }

    textarea {
        height: 100px;
    }

    .g-recaptcha {
        transform: scale(0.74);
        transform-origin: 0 0;
    }

    .g-recaptcha,
    #rc-imageselect {
        transform: scale(0.74);
        transform-origin: 0 0;
    }

}