* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Karla", sans-serif;
}

:root {
    --Green-200: hsl(148, 38%, 91%);
    --Green-600: hsl(169, 82%, 27%);
    --Red: hsl(0, 66%, 54%);
    --White: hsl(0, 0%, 100%);
    --Grey-500: hsl(186, 15%, 59%);
    --Grey-900: hsl(187, 24%, 22%);
}

.error {
    display: none;
    color: var(--Red);
    font-size: 0.7rem;
}

.error_input{
    border-color: var(--Red) !important;
}
.show{
    display: block;
}
body {
    background-color: var(--Green-200);
}

.container {
    max-width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    background-color: var(--White);
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 100%;
    width: 28rem;
    position: relative;
}

.card_head {
    color: var(--Grey-900);
}

.card_main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card_name {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;

}

.star {
    color: var(--Green-600);
}

.card_form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.5rem;
}

.card_form label {
    font-size: 0.7rem;
    color: var(--Grey-900);
    font-weight: 600;
}

.card_form input {
    width: 100%;
    max-width: 100%;
    height: 2rem;
    border-radius: 0.3rem;
    border: 0.1rem solid var(--Grey-500);
    /* padding: 0.5rem; */

}
.card_form input:hover{
    border-color: var(--Green-600);
    cursor: pointer;

}

.card_name input {
    width: 12rem;
    max-width: 100%;
    height: 2rem;

}

.card_radio {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.query_title {
    color: var(--Grey-900);
    font-size: 0.7rem;
    font-weight: 700;
}

.general,
.support {
    display: flex;
    flex-direction: row;
    border: 0.1rem solid var(--Grey-500);
    border-radius: 0.2rem;
    width: 100%;
    align-items: center;
    gap: 0.5rem;
    padding: 0.2rem;
    padding-left: 1rem;
    cursor: pointer;
    height: 2rem;
    position: relative;
}
.general:hover,
.support:hover {
    border-color: var(--Green-600);

}

.general input,
.support input {
    width: 0.8rem;

}
.radio_icon{
    width: 0.8rem;
    position: absolute;
    left: 1rem;
    height: 1rem;
    display: none;
}
.check_icon{
    width: 0.8rem;
    position: absolute;
    left: 1.5rem;
    display: none;
    height: 0.9rem;
}
textarea {
    width: 100%;
    height: 5rem;
    border: 0.1rem solid var(--Grey-500);
    border-radius: 0.2rem;
}
textarea:hover{
    border-color: var(--Green-600);

}
.card_end {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card_check {
    display: flex;
    gap: 0.5rem;
    color: var(--Grey-900);
    font-size: 0.7rem;
    font-weight: 600;
}

.card_check input {
    cursor: pointer;
}

#card_button {
    background-color: var(--Green-600);
    color: white;
    padding: 0.5rem;
    border: none;
    border-radius: 0.2rem;
    font-size: 0.7rem;
    cursor: pointer;
}

/*  success */
.success {
    background-color: var(--Grey-900);
    border-radius: 0.5rem;
    width: 25rem;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    color: var(--White);
    gap: 0.9rem;
    position: absolute;
    left: 35.5%;
    z-index: 1;
    margin-top: 0.1rem;
    display: none;
}
    

.success_head {
    display: flex;
    gap: 0.5rem;
}

.success_text {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--White);
}



@media only screen and (max-width:600px) {
    .container {
        width: 90%;
        height: 100%;
    }

    .card {
        width: 15rem;
        margin: 2rem;
    }

    .card_head {
        color: var(--Grey-900);
    }

    .card_name {
        flex-direction: column;
    }

    .card_radio {
        flex-direction: column;
    }

    textarea {
        height: 10rem;
    }


}