@charset "UTF-8";

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

body {
    background-color: hsl(219, 30%, 18%);
}

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

main {
    display: flex;
    width: 60%;
    background-color: #fff;
    border-radius: 15px;
    padding: 25px;
    align-items: center;
    justify-content: space-around;
}

table,
th,
td {
    border: 1px solid #000;
    border-collapse: collapse;
}

th,
td {
    padding: 12px;
}

td {
    text-align: center;
}

#red00 {
    color: #8b0000;
    font-weight: bold;
}

#red01 {
    color: #f38181;
    font-weight: bold;
}

#red02 {
    color: #f04b4b;
    font-weight: bold;
}

#red03 {
    color: #ff0000;
    font-weight: bold;
}

#green {
    color: #1ca71c;
    font-weight: bold;
}

#orange {
    color: #f7a000;
    font-weight: bold;
}

.input {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

h2 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 15px;
}

input {
    outline: none;
    border: none;
    border-bottom: 1px solid #000;
    padding: 8px;
    font-size: 18px;
}

button {
    padding: 10px;
    border: none;
    margin-top: 8px;
    background-color: #000;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.6s;
}

button:hover {
    background-color: hsl(219, 43%, 46%);

}

.result {
    background-color: #2b2727;
    color: #fff;
    padding: 12px;
    border-radius: 5px;
}


@media (max-width: 640px) {

    main {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        padding: 5px;
    }

    .table{
        margin-bottom: 5px;
    }

    .input {
        width: 100%;
    }

    .result {
        height: 90px;
    }

}