body {
    margin: 0;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    color: white;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input {
    outline: none;
    border: none;
    border-radius: 7px;
    height: 30px;
}

a {
    color: white;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button {
    width: fit-content;
    min-width: 120px;
    height: fit-content;
    min-height: 30px;
    border-radius: 5px;
    border: none;
}

input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-radius: 50%;
    outline: none;
    transition: all 0.3s ease;
}

input[type="radio"] {
    width: 15px;
    height: 15px;
    margin: 0;
    transform: translateY(3px);
    color: white;
}

input[type="radio"]:hover {
    cursor: pointer;
}

#monster label:hover {
    cursor: pointer;
}

#monster {
    border-radius: 5px;
}

input[type="radio"]:checked {
    background-color: transparent;
    border-color: white;
}

input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.custom-radio {
    display: inline-block;
    position: relative;
    cursor: pointer;
}

#monster {
    margin-bottom: 5px;
}

legend {
    padding: 3px 6px;
}

#name {
    width: 240px;
}