/*Responsive Grid Media Queries - 1280, 1024, 768, 480
1280-1024   - desktop (default grid)
1024-768    - tablet landscape
768-480     - tablet portrait
480-less    - phone landscape & smaller
--------------------------------------------*/


/*default is small phone portrait*/
#main-box {
    position: absolute;
    left: 50%;
    top: 90px;
    transform: translate(-50%);
    border-radius: 1rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    z-index: 1;
    padding: 10px;
    overflow-y: auto;
    background-color: #ecebeb;
    height: 60vh;
    width: 95vw;
}

#title {
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 18px;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: bold;
    color: #513a24;
    text-align: center;
}

.chk-description {
    font-size: 17px;
    color: brown;
    font-weight: bold;
}

.radio-description {
    font-size: 15px;
    color: DarkSlateBlue;
}



#display-selection {
    margin-top: 5px;
    display: flex;
    justify-content: space-evenly;
}

#location {
    font-size: 15px;
    color: DarkSlateGray;
    font-weight: bold;
    position: relative;
    left: -5px;
}

#area-container {
    display: flex;
    align-items: center;
    flex-direction: column;
}

#instruction {
    width: 90%;
    height: 30px;
    /* background-color: red; */
    margin-top: 5px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: darkblue
}

#form-type {
    text-align: center;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: bold;
    color: sienna;
}

#display {
    width: 90%;
    /* background-color: yellow; */
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 200px;
    margin-bottom: 10px;
}

#question {
    /* background-color: darkmagenta; */
    height: 55px;
    width: 90%;
    display: flex;
    justify-content: center;
}

#answer {
    background-color: white;
    height: 200px;
    width: 90%;
    padding-top: 5px;
    border: 1px solid lightgray;
    border-radius: 10px;
}

#answer-letter {
    margin: 0;
    padding: 0;
    font-family: NotoSans_Regular;
    font-size: 20px;
    color: darkgreen;
    text-align: center;
    margin: 10px 0 5px 0;
    padding-top: 20px;
}

#answer-pronunciation {
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 15px;
    margin-top: 5px;
    line-height: 16px;
    color: rgb(3, 31, 3);
}

#answer-notes {
    margin: 0 5px;
    padding: 0;
    text-align: center;
    font-size: 10px;
    line-height: 12px;
    font-style: italic;
    color: darkblue;
}

#navigation {
    width: 90%;
    height: 50px;
    display: flex;
    justify-content: space-around;
}

#options {
    width: 90%;
    height: 50px;
    /* background-color: blue; */
    margin-bottom: 10px;
    display: flex;
    justify-content: space-around;
}

.btn-adjust1 {
    font-size: 14px;
    padding: 0px 8px 0px 8px;
    height: 25px;
    width: 90px;
}

.btn-adjust2 {
    font-size: 18px;
    padding: 0px 8px 0px 8px;
    height: 35px;
    width: 50px;
}

.btn-adjust3 {
    font-size: 16px;
    padding: 0px 8px 0px 8px;
    height: 35px;
    width: 75px;
}

.btn-adjust4 {
    font-size: 15px;
    padding: 0px 8px 0px 8px;
    height: 35px;
    width: 130px;
}

p {
    margin: 0px;
}

.blue-highlight {
    color: dodgerblue;
    font-weight: bold;
}


/* large phone - portrait */

@media screen and (min-device-width: 374px) and (max-width: 480px) and (orientation: portrait) {}


/* tablet Portrait */

@media screen and (min-device-width: 600px) and (orientation:portrait) {

    #main-box {
        position: absolute;
        left: 50%;
        top: 90px;
        transform: translate(-50%);
        border-radius: 1rem;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        z-index: 1;
        padding: 10px;
        overflow-y: auto;
        background-color: #ecebeb;
        height: 60vh;
        width: 95vw;
    }

    #title {
        font-size: 30px;
    }

    .radio-description {
        font-size: 20px;
    }

    .btn-adjust1 {
        font-size: 16px;
        height: 35px;
        width: 100px;
    }

    .btn-adjust2 {
        font-size: 18px;
        height: 40px;
        width: 80px;
    }

    .btn-adjust3 {
        font-size: 28px;
        height: 70px;
        width: 120px;
    }

    .btn-adjust4 {
        font-size: 18px;
        height: 40px;
        width: 200px;
    }

    #display {
        height: initial;
    }

    #answer {
        margin: 30px 0 30px 0;
    }

    #answer-letter {
        font-size: 70px;
        padding: 10px 0;
        line-height: 60px;
        padding-top: 20px;
    }

    #answer-pronunciation {
        font-size: 20px;
        margin-bottom: 20px;
    }

    #answer-notes {
        font-size: 15px;
    }

    #navigation {
        margin-bottom: 20px;
    }

    #instruction {
        font-size: 25px;
        margin-bottom: 15px;
    }
}


/* tablet - landscape */

@media screen and (min-device-width: 760px) and (orientation:landscape) {
    #main-box {
        position: absolute;
        left: 50%;
        top: 90px;
        transform: translate(-50%);
        border-radius: 1rem;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        z-index: 1;
        padding: 10px;
        overflow-y: auto;
        background-color: #ecebeb;
        height: 70vh;
        width: 65vw;
    }

    #title {
        font-size: 20px;
    }

    .radio-description {
        font-size: 20px;
    }

    .btn-adjust1 {
        font-size: 16px;
        height: 35px;
        width: 100px;
    }

    .btn-adjust2 {
        font-size: 18px;
        height: 40px;
        width: 80px;
    }

    .btn-adjust3 {
        font-size: 28px;
        height: 45px;
        width: 120px;
        padding: 0px;
    }

    .btn-adjust4 {
        font-size: 18px;
        height: 40px;
        width: 200px;
    }

    #display {
        height: initial;
    }

    #answer {
        margin: 10px 0 10px 0;
        height: 200px;
    }

    #answer-letter {
        font-size: 40px;
        line-height: 40px;
        padding: 5px 0;
        padding-top: 20px;
    }

    #answer-pronunciation {
        font-size: 17px;
        margin-bottom: 10px;
    }

    #answer-notes {
        font-size: 15px;
    }

    #navigation {
        margin-bottom: 5px;
    }

    #instruction {
        font-size: 20px;
        margin-bottom: 5px;
    }

    #options {
        height: 35px;
    }
}


/* desktop and laptop */

@media screen and (min-device-width: 1200px) {
    #main-box {
        position: absolute;
        left: 50%;
        top: 90px;
        transform: translate(-50%);
        border-radius: 1rem;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        z-index: 1;
        padding: 10px;
        overflow-y: auto;
        background-color: #ecebeb;
        height: 570px;
        width: 800px;
    }


    #title {
        font-size: 30px;
    }

    .radio-description {
        font-size: 20px;
    }

    .btn-adjust1 {
        font-size: 16px;
        height: 35px;
        width: 100px;
    }

    .btn-adjust2 {
        font-size: 18px;
        height: 40px;
        width: 80px;
    }

    .btn-adjust3 {
        font-size: 28px;
        height: 70px;
        width: 120px;
    }

    .btn-adjust4 {
        font-size: 18px;
        height: 40px;
        width: 200px;
    }

    #display {
        height: initial;
    }

    #answer {
        margin: 20px 0 20px 0;
        height: 170px;
    }

    #answer-letter {
        font-size: 70px;
        line-height: 60px;
        padding-top: 10px;
    }

    #answer-pronunciation {
        font-size: 20px;
        margin-bottom: 20px;
    }

    #answer-notes {
        font-size: 15px;
        line-height: 16px;
    }

    #navigation {
        margin-bottom: 20px;
    }

    #instruction {
        font-size: 25px;
        margin-bottom: 15px;
    }
}