* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Pixelify Sans', sans-serif;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-size: cover;
    background-color: rgb(53, 53, 53);
}
.Index_dr {
        width: 500px; 
        margin: 100px; 
        padding: 50px; 
        background-color: #ffffff;
        border-radius: 20px;
}
.Index_dr h2 {
    font-size: 2rem;
    padding-bottom: 40px;
}
.contenedor-menu{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contenedor-menu a {
    color: #000000;
    text-decoration: none;
    font-size: 1.5rem;
    
}
.contenedor-menu a:hover {
    color: red;
}
.contenedor-consulta {
        width: 700px; 
        margin: 800px; 
        padding: 80px; 
        background-color: #fd4949;
        border-radius: 20px;
}
.contenedor-consulta h2{
    font-size: 2rem;
    padding-bottom: 20px;   
}
.contenedor-consulta label {
    display: flex;
    align-items: center;
    padding: 2px;
    margin-bottom: 5px;
    border-radius: 10px;
    background-color: #ffffff;
    font-size: 1.5rem;
}
.contenedor-consulta label input {
    width: 100%;
    padding: 5px;
    background-color: #fff;
    border: none;
    outline: none;
    border-radius: 10px ;
}
.contenedor-consulta a {
    color: black;
    text-decoration: none;

}
.servi-regresar a{
    color: #000000;
    text-decoration: none;
    font-size: 1.5rem;
}
.contenedor-consulta input[type="submit"]:hover{
    background-color: rgb(21, 0, 255);
}
.contenedor-consulta a:hover {
    color : rgb(21, 0, 255);
}
.servi-regresar a:hover{
    color: red;
}
.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background-color: white; 
    border: 2px solid #000; 
    border-radius: 10px; 
    padding: 20px; 
    width: 90%; 
    max-width: 300px; 
}

.form-control {
    margin-top: 20px;
    position: relative;
    margin: 30px 0;
    width: 100%; 
}

.form-control input {
    background-color: transparent;
    border: 0;
    border-bottom: 2px #000 solid; 
    display: block;
    width: 100%;
    padding: 15px 0;
    font-size: 18px;
    color: #000; 
}

.form-control input:focus, .form-control input:valid {
    outline: 0;
    border-bottom-color: rgb(0, 0, 0); 
}

.form-control label {
    position: absolute;
    top: 15px;
    left: 0;
    pointer-events: none;
}

.form-control label span {
    display: inline-block;
    font-size: 18px;
    min-width: 5px;
    color: #000; 
    transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.form-control input:focus + label span,
.form-control input:valid + label span {
    color: rgb(0, 0, 0); 
    transform: translateY(-30px);
}
.button {
margin-top: 20px;
padding: 10px 15px;
font-size: 16px;
background: transparent;
border: none;
position: relative;
color: #f0f0f0;
z-index: 1;
}

.button::after,
.button::before {
content: '';
position: absolute;
bottom: 0;
right: 0;
z-index: -99999;
transition: all .4s;
}

.button::before {
transform: translate(0%, 0%);
width: 100%;
height: 100%;
background: #28282d;
border-radius: 10px;
}

.button::after {
transform: translate(10px, 10px);
width: 35px;
height: 35px;
background: #ffffff15;
backdrop-filter: blur(5px);
border-radius: 50px;
}

.button:hover::before {
transform: translate(5%, 20%);
width: 110%;
height: 110%;
}

.button:hover::after {
border-radius: 10px;
transform: translate(0, 0);
width: 100%;
height: 100%;
}

.button:active::after {
transition: 0s;
transform: translate(0, 5%);
}