* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: grid;
    height: 100vh;
    width: 100vw;
    justify-content: center;
    align-items: center;
    background-color: #4B4453;
}

.form{
    display: flex;
    flex-direction: column ;
    justify-content: space-around;
    align-items: center;
    height: 20%;
    width: 30rem;
}

.input-box {
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 2.4rem;
}

.tc-input {
    font-size: 1.5rem;
    padding-left: 8px;
    width: 80%;
    height: 100%;
    border: none;
    outline: none;
    border-radius: 8px;
}

tc-input:focus{
    outline: none;
}

.check-button {
    width: 18%;
    border: none;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    background: #5DA0A6;
    font-size: 1.2rem;
    color: white;
    font-weight: bold;
}

.check-button:hover {
    background: black;
}

.show-if-valid {
    color: white;
    height: 5rem;
    text-align: center;
}

@media only screen and (max-width: 576px) {
    .form {
        width: 20rem;
    }
    .input-box {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        height: 6rem;
    }
    .tc-input {
        height: 50%;
        width: 100%
    }
    .check-button{
        height: 50%;
        width: 40%;
    }
    .show-if-valid {
        padding-top: 2rem;
    }
}

