* {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    box-sizing: border-box;
}

body {
    height: 100%;
    background-color: #1f5a82;
}

.header p {
    margin: 30px auto 0 auto;
    font-size: 36px;
    text-align: center;
    font-weight: 700;
    color: #ffffff;
}

.main-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
}

.container {
    width: 500px;
    padding: 25px;
    margin: 50px 10px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 15px 30px 35px rgba(0, 0, 0, 0.1);
}

.element {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.text {
    width: 100%;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 5px;
}

.input {
    width: 100%;
    height: 40px;
    outline: none;
    font-size: 16px;
    border: 1px solid grey;
    border-radius: 5px;
    padding: 2px 8px;
}

.input-exceeded {
    border-color: red;
}

.button {
    width: 100%;
    font-size: 18px;
    font-weight: 500;
    background: #10ac37;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 12px;
}

.result-card {
    /* display: none; */
    width: 500px;
    padding: 25px;
    margin: 50px 10px;
    border-radius: 10px;
    background: #ffffffd7;
    box-shadow: 15px 30px 35px rgba(0, 0, 0, 0.1);
}

.result-header {
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
}

.result-text {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 6px;
}

.result {
    font-size: 30px;
    font-weight: 700;
}

@media only screen and (max-width: 450px) {
    .header p {
        font-size: 40px;
    }

    .container {
        width: 350px;
    }

    .result-card {
        width: 350px;
    }

    .main-container {
        flex-direction: column;
    }
}
