h1 {
    font-weight: 800;
    text-align: center;
    font-size: 50px;
    font-family: sans-serif;
}

h2 {
    margin-top: 3%;
    text-align: center;
    font-size: 40px;
    font-family: sans-serif;
}

.cards {
    text-align: center;
}

button {
    margin-top: 2%;
    width: 15vw;
    height: 6vh;
    background-color: rgb(250, 44, 44);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: large;
    cursor: pointer;
}

input {
    font-size: 20px;
    text-align: center;
    width: 500px;
    height: 7vh;
}

input:focus {
    outline: none;
}

.label {
    font-weight: bold;
    font-size: 20px;
}

.result {
    margin-top: 2%;
    height: 40vh;
}

.area {
    justify-content: space-evenly;
    display: flex;
    height: 8vh;
    width: 100%;
}

.first {
    align-items: center;
    display: flex;
    justify-content: center;
    height: 100%;
    width: 40vw;
}

#box {
    font-size: 20px;
    align-content: center;
    margin-left: 5%;
    border-radius: 4px;
    width: 10vw;
    height: 5vh;
    border: 1px solid black;
}

.second {
    align-items: center;
    display: flex;
    justify-content: center;
    height: 100%;
    width: 40vw;
}

#box-1 {
    font-size: 20px;
    align-content: center;
    margin-left: 10%;
    border-radius: 4px;
    width: 10vw;
    height: 5vh;
    border: 1px solid black;
}

#box-2 {
    font-size: 20px;
    align-content: center;
    margin-left: 10.5%;
    border-radius: 4px;
    width: 10vw;
    height: 5vh;
    border: 1px solid black;
}

#box-3 {
    font-size: 20px;
    align-content: center;
    margin-left: 5%;
    border-radius: 4px;
    width: 10vw;
    height: 5vh;
    border: 1px solid black;
}

#box-4 {
    font-size: 20px;
    align-content: center;
    margin-left: 11.5%;
    border-radius: 4px;
    width: 10vw;
    height: 5vh;
    border: 1px solid black;
}

#box-5 {
    font-size: 20px;
    align-content: center;
    margin-left: 6.5%;
    border-radius: 4px;
    width: 10vw;
    height: 5vh;
    border: 1px solid black;
}

#box-6 {
    font-size: 20px;
    align-content: center;
    margin-left: 6%;
    border-radius: 4px;
    width: 10vw;
    height: 5vh;
    border: 1px solid black;
}

@media (min-width: 344px) and (max-width: 359px) {
    h1 {
        margin-top: 16%;
        font-weight: 800;
        text-align: center;
        font-size: 14px;
        font-family: sans-serif;
    }

    h2 {
        margin-top: 25%;
        text-align: center;
        font-size: 20px;
        font-family: sans-serif;
    }

    .cards {
        height: 600px;
        width: 100%;
        text-align: center;
    }

    button {
        margin-top: 5%;
        width: 120px;
        height: 33px;
        background-color: rgb(250, 44, 44);
        color: white;
        border: none;
        border-radius: 5px;
        font-size: 15px;
        cursor: pointer;
    }

    input {
        font-size: 18px;
        text-align: center;
        width: 240px;
        height: 36px;
    }

    input:focus {
        outline: none;
    }

    .label {
        font-weight: bold;
        font-size: 17px;
    }

    .result {
        margin-top: 18%;
        height: 450px;
    }

    .area {
        justify-content: space-evenly;
        display: flex;
        flex-direction: column;
        height: 100px;
        width: 100%;
    }

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

    #box {
        font-size: 15px;
        align-content: center;
        margin-left: 5%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }

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

    #box-1 {
        font-size: 20px;
        align-content: center;
        margin-left: 17%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }

    #box-2 {
        font-size: 20px;
        align-content: center;
        margin-left: 13%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }

    #box-3 {
        font-size: 20px;
        align-content: center;
        margin-left: 10%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }

    #box-4 {
        font-size: 20px;
        align-content: center;
        margin-left: 13.5%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }

    #box-5 {
        font-size: 20px;
        align-content: center;
        margin-left: 12.5%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }

    #box-6 {
        font-size: 20px;
        align-content: center;
        margin-left: 8%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }
}

@media (min-width: 360px) and (max-width: 374px) {
    h1 {
        margin-top: 10%;
        font-weight: 800;
        text-align: center;
        font-size: 15px;
        font-family: sans-serif;
    }

    h2 {
        margin-top: 10%;
        text-align: center;
        font-size: 20px;
        font-family: sans-serif;
    }

    .cards {
        height: 600px;
        width: 100%;
        text-align: center;
    }

    button {
        margin-top: 2%;
        width: 120px;
        height: 33px;
        background-color: rgb(250, 44, 44);
        color: white;
        border: none;
        border-radius: 5px;
        font-size: 15px;
        cursor: pointer;
    }

    input {
        font-size: 18px;
        text-align: center;
        width: 240px;
        height: 36px;
    }

    input:focus {
        outline: none;
    }

    .label {
        font-weight: bold;
        font-size: 17px;
    }

    .result {
        margin-top: 8%;
        height: 450px;
    }

    .area {
        justify-content: space-evenly;
        display: flex;
        flex-direction: column;
        height: 100px;
        width: 100%;
    }

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

    #box {
        font-size: 15px;
        align-content: center;
        margin-left: 5%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }

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

    #box-1 {
        font-size: 20px;
        align-content: center;
        margin-left: 17%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }

    #box-2 {
        font-size: 20px;
        align-content: center;
        margin-left: 13%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }

    #box-3 {
        font-size: 20px;
        align-content: center;
        margin-left: 10%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }

    #box-4 {
        font-size: 20px;
        align-content: center;
        margin-left: 13.5%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }

    #box-5 {
        font-size: 20px;
        align-content: center;
        margin-left: 12.5%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }

    #box-6 {
        font-size: 20px;
        align-content: center;
        margin-left: 8%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }
}

@media (min-width: 375px) and (max-width: 389px) {
    h1 {
        font-weight: 800;
        text-align: center;
        font-size: 16px;
        font-family: sans-serif;
    }

    h2 {
        margin-top: 5%;
        text-align: center;
        font-size: 20px;
        font-family: sans-serif;
    }

    .cards {
        height: 600px;
        width: 100%;
        text-align: center;
    }

    button {
        margin-top: 2%;
        width: 120px;
        height: 33px;
        background-color: rgb(250, 44, 44);
        color: white;
        border: none;
        border-radius: 5px;
        font-size: 15px;
        cursor: pointer;
    }

    input {
        font-size: 20px;
        text-align: center;
        width: 240px;
        height: 36px;
    }

    input:focus {
        outline: none;
    }

    .label {
        font-weight: bold;
        font-size: 17px;
    }

    .result {
        margin-top: 8%;
        height: 450px;
    }

    .area {
        justify-content: space-evenly;
        display: flex;
        flex-direction: column;
        height: 100px;
        width: 100%;
    }

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

    #box {
        font-size: 15px;
        align-content: center;
        margin-left: 5%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }

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

    #box-1 {
        font-size: 20px;
        align-content: center;
        margin-left: 17%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }

    #box-2 {
        font-size: 20px;
        align-content: center;
        margin-left: 13%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }

    #box-3 {
        font-size: 20px;
        align-content: center;
        margin-left: 10%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }

    #box-4 {
        font-size: 20px;
        align-content: center;
        margin-left: 13.5%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }

    #box-5 {
        font-size: 20px;
        align-content: center;
        margin-left: 12.5%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }

    #box-6 {
        font-size: 20px;
        align-content: center;
        margin-left: 8%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }
}

@media (min-width: 390px) and (max-width: 429px) {
    h1 {
        font-weight: 800;
        margin-top: 15%;
        text-align: center;
        font-size: 16px;
        font-family: sans-serif;
    }

    h2 {
        margin-top: 15%;
        text-align: center;
        font-size: 24px;
        font-family: sans-serif;
    }

    .cards {
        height: 600px;
        width: 100%;
        text-align: center;
    }

    button {
        margin-top: 2%;
        width: 120px;
        height: 33px;
        background-color: rgb(250, 44, 44);
        color: white;
        border: none;
        border-radius: 5px;
        font-size: 15px;
        cursor: pointer;
    }

    input {
        font-size: 20px;
        text-align: center;
        width: 240px;
        height: 36px;
    }

    input:focus {
        outline: none;
    }

    .label {
        font-weight: bold;
        font-size: 20px;
    }

    .result {
        margin-top: 10%;
        height: 450px;
    }

    .area {
        justify-content: space-evenly;
        display: flex;
        flex-direction: column;
        height: 100px;
        width: 100%;
    }

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

    #box {
        font-size: 15px;
        align-content: center;
        margin-left: 5%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }

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

    #box-1 {
        font-size: 20px;
        align-content: center;
        margin-left: 17%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }

    #box-2 {
        font-size: 20px;
        align-content: center;
        margin-left: 13%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }

    #box-3 {
        font-size: 20px;
        align-content: center;
        margin-left: 10%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }

    #box-4 {
        font-size: 20px;
        align-content: center;
        margin-left: 13.5%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }

    #box-5 {
        font-size: 20px;
        align-content: center;
        margin-left: 12.5%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }

    #box-6 {
        font-size: 20px;
        align-content: center;
        margin-left: 8%;
        border-radius: 4px;
        width: 100px;
        height: 28px;
        border: 1px solid black;
    }
}

@media (min-width: 430px) and (max-width: 539px) {
    h1 {
        margin-top: 16%;
        text-align: center;
        font-size: 18px;
        font-weight: 800;
        font-family: sans-serif;
    }

    h2 {
        margin-top: 15%;
        text-align: center;
        font-size: 24px;
        font-family: sans-serif;
    }

    .cards {
        height: 800px;
        width: 100%;
        text-align: center;
    }

    button {
        margin-top: 2%;
        width: 150px;
        height: 35px;
        background-color: rgb(250, 44, 44);
        color: white;
        border: none;
        border-radius: 5px;
        font-size: 15px;
        cursor: pointer;
    }

    input {
        font-size: 20px;
        text-align: center;
        width: 290px;
        height: 45px;
    }

    input:focus {
        outline: none;
    }

    .label {
        font-weight: bold;
        font-size: 23px;
    }

    .result {
        margin-top: 10%;
        height: 500px;
    }

    .area {
        justify-content: space-evenly;
        display: flex;
        flex-direction: column;
        height: 120px;
        width: 100%;
    }

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

    #box {
        font-size: 20px;
        align-content: center;
        margin-left: 5%;
        border-radius: 4px;
        width: 130px;
        height: 28px;
        border: 1px solid black;
    }

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

    #box-1 {
        font-size: 20px;
        align-content: center;
        margin-left: 17%;
        border-radius: 4px;
        width: 130px;
        height: 28px;
        border: 1px solid black;
    }

    #box-2 {
        font-size: 20px;
        align-content: center;
        margin-left: 13%;
        border-radius: 4px;
        width: 130px;
        height: 28px;
        border: 1px solid black;
    }

    #box-3 {
        font-size: 20px;
        align-content: center;
        margin-left: 10%;
        border-radius: 4px;
        width: 130px;
        height: 28px;
        border: 1px solid black;
    }

    #box-4 {
        font-size: 20px;
        align-content: center;
        margin-left: 13.5%;
        border-radius: 4px;
        width: 130px;
        height: 28px;
        border: 1px solid black;
    }

    #box-5 {
        font-size: 20px;
        align-content: center;
        margin-left: 12.5%;
        border-radius: 4px;
        width: 130px;
        height: 28px;
        border: 1px solid black;
    }

    #box-6 {
        font-size: 20px;
        align-content: center;
        margin-left: 8%;
        border-radius: 4px;
        width: 130px;
        height: 28px;
        border: 1px solid black;
    }
}

@media (min-width: 540px) and (max-width: 767px) {
    h1 {
        margin-top: 0;
        text-align: center;
        font-size: 22px;
        font-weight: 800;
        font-family: sans-serif;
    }

    h2 {
        margin-top: 5%;
        text-align: center;
        font-size: 24px;
        font-family: sans-serif;
    }

    .cards {
        height: 800px;
        width: 100%;
        text-align: center;
    }

    button {
        margin-top: 2%;
        width: 150px;
        height: 35px;
        background-color: rgb(250, 44, 44);
        color: white;
        border: none;
        border-radius: 5px;
        font-size: 15px;
        cursor: pointer;
    }

    input {
        font-size: 22px;
        text-align: center;
        width: 290px;
        height: 45px;
    }

    input:focus {
        outline: none;
    }

    .label {
        font-weight: bold;
        font-size: 23px;
    }

    .result {
        margin-top: 10%;
        height: 500px;
    }

    .area {
        justify-content: space-evenly;
        display: flex;
        flex-direction: column;
        height: 120px;
        width: 100%;
    }

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

    #box {
        font-size: 20px;
        align-content: center;
        margin-left: 5%;
        border-radius: 4px;
        width: 130px;
        height: 28px;
        border: 1px solid black;
    }

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

    #box-1 {
        font-size: 20px;
        align-content: center;
        margin-left: 17%;
        border-radius: 4px;
        width: 130px;
        height: 28px;
        border: 1px solid black;
    }

    #box-2 {
        font-size: 20px;
        align-content: center;
        margin-left: 13%;
        border-radius: 4px;
        width: 130px;
        height: 28px;
        border: 1px solid black;
    }

    #box-3 {
        font-size: 20px;
        align-content: center;
        margin-left: 10%;
        border-radius: 4px;
        width: 130px;
        height: 28px;
        border: 1px solid black;
    }

    #box-4 {
        font-size: 20px;
        align-content: center;
        margin-left: 13.5%;
        border-radius: 4px;
        width: 130px;
        height: 28px;
        border: 1px solid black;
    }

    #box-5 {
        font-size: 20px;
        align-content: center;
        margin-left: 12.5%;
        border-radius: 4px;
        width: 130px;
        height: 28px;
        border: 1px solid black;
    }

    #box-6 {
        font-size: 20px;
        align-content: center;
        margin-left: 8%;
        border-radius: 4px;
        width: 130px;
        height: 28px;
        border: 1px solid black;
    }
}

@media (min-width: 768px) and (max-width: 819px) {
    h1 {
        font-weight: 800;
        margin-top: 0;
        text-align: center;
        font-size: 50px;
        font-family: sans-serif;
    }

    h2 {
        margin-top: 3%;
        text-align: center;
        font-size: 40px;
        font-family: sans-serif;
    }

    .cards {
        text-align: center;
    }

    button {
        margin-top: 2%;
        width: 250px;
        height: 6vh;
        background-color: rgb(250, 44, 44);
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 27px;
        cursor: pointer;
    }

    input {
        font-size: 30px;
        text-align: center;
        width: 500px;
        height: 7vh;
    }

    input:focus {
        outline: none;
    }

    .label {
        font-weight: bold;
        font-size: 26px;
    }

    .result {
        margin-top: 2%;
        height: 500px;
    }

    .area {
        justify-content: space-evenly;
        display: flex;
        flex-direction: row;
        height: 120px;
        width: 100%;
    }

    .first {
        align-items: center;
        display: flex;
        justify-content: center;
        height: 100%;
        width: 300px;
    }

    #box {
        font-size: 25px;
        align-content: center;
        margin-left: 5%;
        border-radius: 4px;
        width: 150px;
        height: 5vh;
        border: 1px solid black;
    }

    .second {
        align-items: center;
        display: flex;
        justify-content: center;
        height: 100%;
        width: 40vw;
    }

    #box-1 {
        font-size: 25px;
        align-content: center;
        margin-left: 17%;
        border-radius: 4px;
        width: 150px;
        height: 5vh;
        border: 1px solid black;
    }

    #box-2 {
        font-size: 25px;
        align-content: center;
        margin-left: 20%;
        border-radius: 4px;
        width: 150px;
        height: 5vh;
        border: 1px solid black;
    }

    #box-3 {
        font-size: 25px;
        align-content: center;
        margin-left: 5%;
        border-radius: 4px;
        width: 150px;
        height: 5vh;
        border: 1px solid black;
    }

    #box-4 {
        font-size: 25px;
        align-content: center;
        margin-left: 23%;
        border-radius: 4px;
        width: 150px;
        height: 5vh;
        border: 1px solid black;
    }

    #box-5 {
        font-size: 25px;
        align-content: center;
        margin-left: 10%;
        border-radius: 4px;
        width: 150px;
        height: 5vh;
        border: 1px solid black;
    }

    #box-6 {
        font-size: 25px;
        align-content: center;
        margin-left: 6%;
        border-radius: 4px;
        width: 150px;
        height: 5vh;
        border: 1px solid black;
    }
}

@media (min-width: 820px) and (max-width: 1023px) {
    h1 {
        font-weight: 800;
        margin-top: 15%;
        text-align: center;
        font-size: 50px;
        font-family: sans-serif;
    }

    h2 {
        margin-top: 10%;
        text-align: center;
        font-size: 40px;
        font-family: sans-serif;
    }

    .cards {
        text-align: center;
    }

    button {
        margin-top: 2%;
        width: 250px;
        height: 6vh;
        background-color: rgb(250, 44, 44);
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 27px;
        cursor: pointer;
    }

    input {
        font-size: 30px;
        text-align: center;
        width: 500px;
        height: 7vh;
    }

    input:focus {
        outline: none;
    }

    .label {
        font-weight: bold;
        font-size: 26px;
    }

    .result {
        margin-top: 5%;
        height: 500px;
    }

    .area {
        justify-content: space-evenly;
        display: flex;
        flex-direction: row;
        height: 120px;
        width: 100%;
    }

    .first {
        align-items: center;
        display: flex;
        justify-content: center;
        height: 100%;
        width: 300px;
    }

    #box {
        font-size: 25px;
        align-content: center;
        margin-left: 5%;
        border-radius: 4px;
        width: 150px;
        height: 5vh;
        border: 1px solid black;
    }

    .second {
        align-items: center;
        display: flex;
        justify-content: center;
        height: 100%;
        width: 40vw;
    }

    #box-1 {
        font-size: 25px;
        align-content: center;
        margin-left: 17%;
        border-radius: 4px;
        width: 150px;
        height: 5vh;
        border: 1px solid black;
    }

    #box-2 {
        font-size: 25px;
        align-content: center;
        margin-left: 20%;
        border-radius: 4px;
        width: 150px;
        height: 5vh;
        border: 1px solid black;
    }

    #box-3 {
        font-size: 25px;
        align-content: center;
        margin-left: 5%;
        border-radius: 4px;
        width: 150px;
        height: 5vh;
        border: 1px solid black;
    }

    #box-4 {
        font-size: 25px;
        align-content: center;
        margin-left: 23%;
        border-radius: 4px;
        width: 150px;
        height: 5vh;
        border: 1px solid black;
    }

    #box-5 {
        font-size: 25px;
        align-content: center;
        margin-left: 10%;
        border-radius: 4px;
        width: 150px;
        height: 5vh;
        border: 1px solid black;
    }

    #box-6 {
        font-size: 25px;
        align-content: center;
        margin-left: 6%;
        border-radius: 4px;
        width: 150px;
        height: 5vh;
        border: 1px solid black;
    }
}