@charset "UTF-8";

@font-face {
    font-family: "myfont";
    src: url(BestTen-DOT.otf);
}

html {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    overflow: auto;
}

body {
    background-color: rgb(48, 50, 58);
    background-image: url(pics/webbackground.png);
    background-repeat: no-repeat;
    background-position: top;
    background-size: contain;
    text-align: center;
    font-family: 'myfont', sans-serif;

}


header {
    width: 80%;
    height: 190px;
    background-image: url(pics/titlelogo.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin: 0 auto;

}

.instruction {
    font-size: 1.3rem;
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    text-align: center;
    margin: 0rem 0.5rem 0rem 0.5rem;
}

#question {
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    margin: 2rem 0.5rem 0rem 0.5rem;
    text-align: center;

}

.eachq {
    text-align: center;
    font-size: 1.5rem;
    width: 100%;
    line-height: 1;
}

.answer {
    font-size: 1.5rem;
}

#diagnosis {
    padding: 18px 30px;
    transition: .3s;
    margin-top: 5%;
}

#diagnosis :hover {
    transform: scale(1.1);
}



input {
    transform: scale(1.5);

}

input[type="radio"] {
    margin-right: 0.8rem;
}

#button {
    padding: 0;
    font-family: 'myfont';
    font-size: 1.7rem;
    letter-spacing: 0.5rem;
    width: 7rem;
    height: 3.5rem;
    white-space: nowrap;

}

#links {
    font-family: sans-serif;
    font-size: 0.8rem;
    width: 100%;
    text-align: center;
    margin: 2.5rem 0 0 0;
    color: white;
    background-color: rgb(46, 46, 46);

}

@media (min-width:500px) {
    body {
        background-size: auto;
    }

    header {
        width: 40%;
    }

    .instruction {
        width: 60%;
        margin: 0 auto;
    }

    #question {
        width: 60%;
        margin: 2rem auto 0rem auto;
    }


}