@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap');
body {
    background-color: #3a3a3a;
    color: #fff;
    font-family: arial;
    font-size: 20px;
}
h1 {
    text-align: center;
    font-family: 'Dancing Script', cursive;
}
form {
    width: 500px;
    margin: auto;
}
fieldset {
    border-radius: 10px;
    border: 1px solid #adaf0a;
    margin-bottom: 15px;
    color: #adaf0a;
}
legend {
    font-weight: bold;
}
input[type="text"], input[type="tel"], input[type="date"] {
    width: 85%;
    border-radius: 25px;
    outline: none;
    border: none;
    background-color: #d5d5d5;
    height: 30px;
}
input[type="text"]:hover, input[type="tel"]:hover, input[type="date"]:hover {
    background-color: #ffffff;
}
.nom {
    background-image: url('nom.png');
    background-repeat: no-repeat;
    padding-left: 40px;
}
.tel {
    background-image: url('tel.png');
    background-repeat: no-repeat;
    background-position: left;
    padding-left: 40px;
}
.date {
    background-image: url('date.png');
    background-repeat: no-repeat;
    background-position: left;
    padding-left: 40px;
}
select {
    width: 50%;
    height: 30px;
    border-radius: 25px;
    border: none;
    padding-left: 20px;
    background-color: #d5d5d5;
}
p {
    text-align: center;
}
input[type="submit"] {
    padding: 20px;
    border-radius: 50px;
    background-color: #adaf0a;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}
input[type="submit"]:hover {
    background-color: #fff;
    color: #adaf0a;
}
input[type="radio"].demo5 {
    display: none;
}
input[type="radio"].demo5 + label {
    position: relative;
    padding-left: 1.5rem;
    margin: 20px;
}
input[type="radio"].demo5 + label::before,
input[type="radio"].demo5 + label::after {
    display: block;
    position: absolute;
    box-sizing: border-box;
    bottom: 5px;
    left: 0px;
    content:'';
    width: 15px;
    height: 15px; 
    border-radius: 50%;
}
input[type="radio"].demo5 + label::before {
    border: 1px solid #adaf0a;
    background-color: #d5d5d5;
}
input[type="radio"].demo5:checked + label::after {
    background-color: #adaf0a;
    content: '\2713';
    text-align: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
}
