*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
.formulario{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 650px;
    padding: 20px;
    margin: 0 auto;
    gap: 10px;
    border-radius: 10px;
    box-shadow: 0px 0px 6px #999;
}
.content{
    margin: 125px auto;
    width: 80%;
}
.d_fila{
    display: flex;
    gap:30px;
    align-items: center;
}
.d_fecha{
    width: 250px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.txt_fecha{
    font-size: 22px;
    width: 175px;
    text-align: center;
}
.d_antiguedad{
    width: 50%;
    display: flex;
    justify-content: end;
}
.txt_years{
    font-size: 20px;
    color: red;
}
.btn_calcular{
    width: 100%;
    height: 30px;
}
.d_resultado{
    display: flex;
    flex-direction: column;
}
.txt_h{
    border: none;
    font-size: 20px;
    padding: 3px;
    width: 100%;
    height: 35px;
    border: none;
}
.btn_clean{
    margin-left: 25px;
}
@media screen and (max-width:500px) {

    .content{
        width: 100%;
    }
    .formulario{
        border: none;
        gap: 40px;
        width: 95%;
        margin: 0px auto;
    }
    .formulario h1{
        font-size: 38px;
        text-align: center;
    }
    .d_fila{
        flex-direction: column;
        gap: 0px;
    }
    .d_fecha{
        width: auto;
    }
    .d_fecha label{
        font-size: 25px;
        text-align: center;
    }
    .txt_fecha{
        width: 100%;
        font-size: 35px;
        background-color: #ededed;
        border: none;
    }
    .d_botones{
        width: 100%;
        display: flex;
    }
    .btn_calcular,
    .btn_clean{
        font-size: 25px;
    }
    .exp{
        font-size: 20px;
    }
    .d_resultado{
        gap: 40px;
    }
    .txt_h{
        font-size: 25px;
    }
    .d_antiguedad{
        width: 100%;
        justify-content: center;
    }
    .txt_years{
        font-size: 30px;
        text-align: center;
        margin: 30px 0px 0px;
    }
}