body {
    background-color: rgb(77, 77, 231);
}

/* header section  */
.header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.headingText {
    width: 300px;
    color: rgb(231, 225, 230);
    text-align: center;
}

/* app section  */
.tele-app-container {
    background-color: rgb(29, 28, 28);
    width: 300px;
    height: 400px;
    margin: 12px auto 60px auto;
    border-radius: 12px;
    padding: 40px 15px 15px 15px;
}

.formContainer {
    background-color: rgb(211, 211, 218);
    height: 80%px;
    text-align: center;
    padding-top: 15px;
}

label {
    font-size: 20px;
    user-select: none;
}

#user-input {
    margin: 12px auto 20px auto;
    width: 80%;
    height: 30px;
    padding: 2px 12px;
    font-size: 16px;
    border-radius: 6px;
}

#results-div {
    color: green;
    font-size: 20px;
    height: 240px;
    overflow-y: auto;
}

/*--- Added dynamic class from javascript --- */
.validity {
    margin: 0;
}

.btn {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 12px;
}

#check-btn,
#clear-btn {
    padding: 6px 12px;
    font-family: monospace;
    font-size: 18px;
    cursor: pointer;
}

#check-btn:hover,
#clear-btn:hover {
    background-color: rgb(158, 158, 192);
}


/* making responnsive  */
@media only screen and (max-width: 400px) {

    /* header section  */
    .headingText {
        font-size: 14px;
    }

    /* app section  */
    .tele-app-container {
        width: 200px;
        height: 250px;
    }

    .formContainer {
        height: 75%;
    }

    label {
        font-size: 15px;
    }

    #user-input {
        border-radius: 8px;
        width: 75%;
        height: 16px;
        font-size: 12px;
        padding-left: 6px;
    }

    #results-div {
        font-size: 13px;
        height: 60%;
    }

    #check-btn,
    #clear-btn {
        font-size: 10px;
    }
}