.contact {
    background-image: url(../img/piano.png);
    background-size: cover;
    background-repeat: repeat-x;
    background-position: bottom;
    height: 100vh;
    display: grid;
    width: 100%;

}

.shadowContact a:hover {
    letter-spacing: 0em;
    font-weight: normal;
}

h1 {
    color: rgb(157, 52, 52);
    opacity:80%;
}

.contenedor-campos h3 {
    color: rgb(167, 167, 167);
}

.contenedor-campos .title-error{
    color: #cf3030;
}

.shadowContact p {

    color: rgb(167, 167, 167);    
}




.shadowContact a {
    font-size: 15px;
    text-decoration: underline;
    color: var(--blanco);
    color: #000000;
}

.shadowContact {
    position: absolute;
    background: linear-gradient(to left, rgb(0, 0, 0) 30%, rgba(0, 0, 0, 0.5) 55%, transparent 100%);
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    backdrop-filter: blur(7px);
    justify-content: space-between;

}

.left, .right{

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

}

.left {
   
    padding-left: 8rem;
    gap: 1rem;
}


.right {
    padding-right: 15rem;   
}


@keyframes slideFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100%) scale(0.5);
        /* Comienza desde fuera de la pantalla a la izquierda */
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
        /* Llega a su posición final y tamaño original */
    }
}

.contenedorcontact {
    width: 25rem;
    height: 27rem;
    border-radius: 2rem;
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* Inicialmente invisible y desplazado hacia la izquierda */
    opacity: 0;
    transform: translateX(-100%) scale(0.5);
    /* Inicialmente más pequeño y fuera de la pantalla */
    animation: slideFromLeft 0.5s ease-in forwards;
    gap: 1rem;


}

.contenedor-campos {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;

}


#message {
    resize: none;
}


.input-text {
    border: none;
    border-bottom: 1px solid #000000;
    width: 100%;
    padding: 1rem;
}

.input-text:focus {
    outline: none;
}

.input-text::placeholder {
    color: rgb(167, 167, 167);

}

.btnSend {
    background-color: #000000;
    color: var(--blanco);
    border-radius: 0.5rem;
    cursor: pointer;
    width: 100%;
    height: 3rem;
    border: none;
    transition: background-color 0.1s ease-in-out;
    /* Transición de 0.5s para el color y el borde */
}

.btnSend:hover {
    background-color: rgb(255, 255, 255);
    color: #000000;
    border: #000000 solid 1px;
}

/*validaciones form*/

.input-text-error {
    border: none;
    border-bottom: 1px solid #cf3030;
    padding: 1rem;
    width: 100%;
    color: #cf3030;
}

.input-text-error::placeholder {
    color: #cf3030;
    opacity: 1;
    /* Asegura que el color se vea bien */
}

.input-text-error:focus {
    outline: none;
}

/*MOBILE*/

@media (max-width: 481px) {

    .shadowContact {
       
        flex-direction: column;
        height: 100vh;
        justify-content: space-around;
          
    }

  
    .left {
   
        padding-left: 0rem;
        gap: 1rem;
   
        margin-top: 5rem;
        justify-items: center;
        padding: 1rem;
    
    
    }

    .left h1 {
        font-size: 1.2rem ;    
     }

    .left h2 {
   
       font-size: 12px ;
       color: rgb(211, 211, 211);
    
    
    }
    
    
    .right {

        padding-right: 0;
        padding-bottom: 2.5rem;
  
       
    }

    .contenedorcontact {
        width: 85%;
        height: 25rem;
        border-radius: 2rem;
        background-color: rgb(255, 255, 255);
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        /* Inicialmente invisible y desplazado hacia la izquierda */
        opacity: 0;
        transform: translateX(-100%) scale(0.5);
        /* Inicialmente más pequeño y fuera de la pantalla */
        animation: slideFromLeft 0.5s ease-in forwards;
        box-sizing: border-box;    
    }

    .contenedor-campos {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

   



}