body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

    font-size: 1.2rem;
}

label {
    display: block;
}

.card {
    width: 500px;

    padding: 40px 80px 40px 80px;

    background-color: rgb(20, 22, 24);
    color: white;
}

label {
    /* padding-top: 10px; */
    padding-bottom: 10px;
}

form > label::after {
    content: "\20*";
    color: red;
}

label.error {
    animation: flash 1s;
}

form > label.error::after {
    content: "\20* Please provide a valid input!";
    color: red;

    font-size: 0.9rem;
}

input, textarea {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

    border: none;
    outline: none;

    margin: 0;
    margin-bottom: 20px;
    padding: 4px;

    box-sizing: border-box;

    width: 100%;
    height: 1.7rem;
    min-height: 1.5rem;

    resize: vertical;
}

select {
    margin-bottom: 20px;
}

textarea {
    max-height: 300px;
    height: 3rem;
}

.radio-select {
    display: flex;
    min-height: 1.5rem;
    margin-bottom: 20px;

    gap: 3px;

    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.5px;
}

.radio-select > div {
    width: 100%;
    height: 100%;
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 15px 0 15px 0;

    background-color: rgb(61, 65, 71);
}

.radio-select > div:hover {
    background-color: rgb(78, 82, 88);
}

.radio-select label {
    padding: 0;
}

.radio-select input {
    position: absolute;
    
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    opacity: 0;

    cursor: pointer;
}

.radio-select > div:has(input:checked) {
    background-color: rgb(111, 118, 129);
}

input[type="submit"] {
    display: inline;

    box-sizing: content-box;

    background-color: #4dacce;
    color: white;

    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-weight: bold;

    width: auto;
    padding: 10px 40px 10px 40px;
    margin-top: 10px;

    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: rgb(51, 145, 157);
}

.feedback-box {
    display: block;

    padding: 10px;

    background-color: rgb(34, 38, 41);
}

@keyframes flash {
    0% {
        background-color: transparent;
    }
    50% {
        background-color: rgba(255, 255, 0, 0.233);
    }
    100% {
        background-color: transparent;
    }
}