body {
    background-color: #6A994E;
    margin: 0px;
    height: 100%;
    width: 100%;
    font-family: "Lato", sans-serif;
    user-select: none;
}

.top {
    padding: 70px 70px;
    height: 35%;
    background-color: #F2E8CF;
    color: #6A994E;
    font-size: 50px;
    font-weight: bold;
}

.top h1 {
    font-size: 70px;
    margin: 0px;
}

.top p {
    font-size: 30px;
    font-weight: normal;
    margin: 0px;
}

.numofquestionsinput {
    position: relative;
    right: 40px;
    top: 70px;
    float: right;
    width: 400px;
    height: 65px;
    padding: 7px;
    font-size: 15px;
    border: #F2E8CF 4px solid;
}

button {
    margin-left: 70px;
    margin-top: 70px;
    color: #F2E8CF;
    font-size: 25px;
    text-decoration: none;
    padding: 25px;
    border: #F2E8CF 4px solid;
    background-color: #6A994E;
}

.testarea button {
    margin-left: 0px;
    margin-right: 30px;
    border: #6A994E 4px solid;
    background-color: white;
    color: #6A994E;
}

button:hover {
    background-color: #386641;
    cursor: pointer;
}

.testarea button:hover {
    background-color: #386641;
    color: white;
}

.testarea {
    margin-top: 70px;
    background-color: white;
    color: black;
    padding: 100px;
    font-size: 30px;
    display: none;
}

input[type="radio"] {
    appearance: none;
    border: 2px solid black;
    border-radius: 50%;
    color: black;
    width: 26px;
    height: 26px;
    transform: scale(0.75) translateY(4px);
    transition: 120ms transform ease-in-out;
}

input[type="radio"]:checked {
    background: #6A994E;
    transform: scale(1);
}

@media only screen and (max-width: 800px) {
    .top {
        text-align: center;
        padding: 30px 30px;
    }

    .top h1 {
        font-size: 60px;
        margin: 0px;
    }

    .top p {
        font-size: 20px;
        font-weight: normal;
        margin: 0px;
    }

    button {
        margin: 15px auto 15px;
        display: flex;
        justify-content: center;
    }

    .testarea {
        margin-top: 50px;
        background-color: white;
        color: black;
        padding: 30px;
        font-size: 22px;
    }

    .testarea p {
        margin: 50px auto 0px;
    }

    input[type="radio"] {
        width: 32px;
        height: 32px;
    }

    .numofquestionsinput {
        position: static;
        float: none;
        display: block;
        margin: 30px auto;
        text-align: center;
        width: 300px;
        height: 65px;
        padding: 3px;
        font-size: 12px;
    }

    .generatetestbtn {
        margin: 0px auto;
        width: 320px;
    }

    .testarea button {
        margin: 50px auto;
    }
}