/* RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* BODY */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    color: white;
    background-color: black;
}
.contenedorBloque{
    display: flex;
    position: relative;
    height: 900px;
}
.contenidoBloque{
    display: flex;
    margin: 150px auto 0 auto;
    flex-direction: column; 
    gap: 20px;
    max-width: 1200px;
    align-items: center;
}
.contenedor{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url("/img/contacto-abogado-penalista.jpg");
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    color: white;
    padding: 120px 20px 40px;
    margin-top: 0;
}
.servicios{
    color: gold;
}

/* Página contacto */
.contenedor .main-contacto{
    position: relative;
    width: 500px;
    height: 500px;
    top: 0;
    box-shadow: inset 20px 20px 20px rgba(0, 0, 0, 0.2),
    25px 35px 20px rgba(0, 0, 0, 0.5),
    25px 30px 30px rgba(0, 0, 0, 0.5), 
    inset -20px -20px 25px rgba(255,255,255,0.9);
    transition: 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30% 70% 70% 30% / 67% 38% 62% 33% ;


}
.contenedor .main-contacto:hover{
    border-radius: 50%;
}
.contenedor .main-contacto:before{
    content: '';
    position: absolute;
    top: 70px;
    left: 95px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.9;
}
.contenedor .main-contacto:after{
    content: '';
    position: absolute;
    top: 110px;
    left: 120px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.9;
}
.contenedor .main-contacto .contenido-contacto{
position: relative;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;

}
.contenedor .main-contacto .contenido-contacto form {
display: flex;
flex-direction: column;
gap: 20px;
justify-content: center;
align-items: center;
}
.contenedor .main-contacto .contenido-contacto form .input-caja{
    position: relative;
    width: 225px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 
    inset 4px 8px 10px rgba(0, 0, 0, 0.1),
    inset -4px -8px 10px rgba(255,255, 255, 1),
    15px 15px 10px rgba(0, 0, 0, 0.05), 
    15px 10px 15px rgba(0,0,0,0.025);
    border-radius: 25px;
    }
    .contenedor .main-contacto .contenido-contacto form .input-caja::before{
        content: '';
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 65%;
        height: 5px;
        border-radius: 50%;
        background: rgba(255,255,255,0.5);
        border-radius: 5px;
        }

    .contenedor .main-contacto .contenido-contacto form .input-caja input{
       border: none;
       outline: none;
       background: transparent;
       width: 100%;
       font-size: 1em;
       padding: 10px 15px;
    }
    .contenedor .main-contacto .contenido-contacto form .input-caja input[type="submit"]{
      color: #fff;
      text-transform: uppercase;
      font-size: 1em;
      cursor: pointer;
      letter-spacing: 0.1em;
      font-weight:500 ;
     }
     .contenedor .main-contacto .contenido-contacto form .input-caja:last-child{
        width: 120px;
        background: gold;
        box-shadow: 
    inset 2px 5px 10px rgba(0, 0, 0, 0.1),
    inset -2px -5px 10px rgba(255,255, 255, 1),
    15px 15px 10px rgba(0, 0, 0, 0.05), 
    15px 10px 15px rgba(0,0,0,0.025);
    transition: 0.8s;
     }
     .contenedor .main-contacto .contenido-contacto form .input-caja:last-child:hover{
        width: 150px;
     }


/* TITULOS */
h1 {
    color: gold;
}






/* RESPONSIVE */
@media (max-width: 768px) {

    

    /* LAYOUT */
    main {
        display: flex;
        flex-direction: column;
    }

    /* TEXTO */
    main section:first-child {
        padding: 90px 20px 30px;
        text-align: center;
    }



}