body{
    font-size: 20px;
    font-family: monospace;
}

#portrait{
    display: none;
}

/* iphone 5 portrait */

@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait) {
    #container {
        display: none;
    }

    #portrait{
        display: block;
    }
}

/* iphone 6, 6s, 7, 8 portrait */

@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait) {
    #container {
        display: none;
    }

    #portrait{
        display: block;
    }
}

/* iphone 6+, 6s+, 7+, 8+ portrait */

@media only screen and (min-device-width: 414px) and (max-device-height: 737px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait) {
    #container {
        display: none;
    }
    #portrait{
        display: block;
    }
}

/* iphone X and iphone XS portrait */

@media only screen and (min-device-width: 375px) and (min-device-height: 740px) and (max-device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait) {
    #container {
        display: none;
    }
    #portrait{
        display: block;
    }
}


/* iphone XR portrait */

@media only screen and (min-device-width: 414px) and (min-device-height: 740px) and (max-device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait) {
    #container {
        display: none;
    }
    #portrait{
        display: block;
    }
}


/* iphone XS Max portrait */

@media only screen and (min-device-width: 414px) and (min-device-height: 740px) and (max-device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait) {
    #container {
        display: none;
    }
    #portrait{
        display: block;
    }
}

/* ipad  portrait*/

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    #container {
        display: none;
    }
    #portrait{
        display: block;
    }

}

/* ================================ */
/* LandScape Device Midea Queries */
/* ================================ */

/* iphone 5 landscape   (1)*/

@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (orientation: landscape) {
    #container {
        margin : 3% auto;
        background-color: white;
        height: 500px;
        width : 95%;
        border-radius: 5px;
        box-shadow: 0px 5px 15px 0px;
        position: relative;
    }

    #start, #newid{
        font-size: 1.5em;
        font-weight: bolder;
        word-break: break-all;
        width:100px;
        height:150px;
        border : 2px solid lightgrey;
        text-align: center;
        cursor: pointer;
        position: absolute;
        left:395px;
        top:150px;
        color : lightgrey;
    }
    #scoreContainer{
        margin : auto auto;
        background-color: white;
        /* opacity: 0.8; */
        /* height: 300px;
        width : 700px; */
        height: 100%;
        width: 100%;
        border-radius: 5px;
        box-shadow: 0px 5px 15px 0px;
        position: relative;
        display: none;
    }


}

/* iphone 6, 6s, 7, 8 landscape (2)*/

@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (orientation: landscape) {
    #container {
        margin : 3% auto;
        background-color: white;
        height: 500px;
        width : 95%;
        border-radius: 5px;
        box-shadow: 0px 5px 15px 0px;
        position: relative;
    }

    #start{
        font-size: 1.5em;
        font-weight: bolder;
        word-break: break-all;
        width:100px;
        height:150px;
        border : 2px solid lightgrey;
        text-align: center;
        cursor: pointer;
        position: absolute;
        left:390px;
        top:150px;
        color : lightgrey;
    }
    #scoreContainer{
        margin : auto auto;
        background-color: white;
        /* opacity: 0.8; */
        /* height: 300px;
        width : 700px; */
        height: 100%;
        width: 100%;
        border-radius: 5px;
        box-shadow: 0px 5px 15px 0px;
        position: relative;
        display: none;
    }

}

/* ipad landscape (3)*/

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
    #container {
        margin : 3% auto;
        background-color: white;
        height: 700px;
        width : 95%;
        border-radius: 5px;
        box-shadow: 0px 5px 15px 0px;
        position: relative;
    }

    #start{
        font-size: 1.5em;
        font-weight: bolder;
        word-break: break-all;
        width:100px;
        height:150px;
        border : 2px solid lightgrey;
        text-align: center;
        cursor: pointer;
        position: absolute;
        left:395px;
        top:250px;
        color : lightgrey;
    }
    #scoreContainer{
        margin : auto auto;
        background-color: white;
        /* opacity: 0.8; */
        /* height: 300px;
        width : 700px; */
        height: 100%;
        width: 100%;
        border-radius: 5px;
        box-shadow: 0px 5px 15px 0px;
        position: relative;
        display: none;
    }

    #scoreContainer img{
        position: absolute;
        /* top:120px; */
        top:25%;
        left:420px;
    }
    #scoreContainer p{
        position: absolute;
        display: block;
        width : 100px;
        height :100px;
        /* top:160px; */
        top:30% !important;
        left:400px !important;
        font-size: 1.5em;
        font-weight: bold;
        text-align: center;
    }
    
    #scoreContainer .test{
        position: absolute;
        display: block;
        width : 800px;
        height :59px;
        top:40% !important;
        left:30px !important;
        font-size: 1.5em;
        font-weight: bold;
        text-align: center;
    }
    
    #scoreContainer .Startquiz{
        position: absolute;
        display: block;
        width: 40%;
        height: 8%;
        line-height: 8%;
        top: 70% !important;
        left: 30%;
        font-size: 20px;
        font-weight: bold;
        text-align: center;
        background-color: #4CAF50; /* Green */
        border: none;
        color: white;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        border-radius: 8px;
    }

}

/* iphone X and iphone XS landscape (4)*/

@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape) {
    #container {
        margin : 3% auto;
        background-color: white;
        height: 390px;
        width : 95%;
        border-radius: 5px;
        box-shadow: 0px 5px 15px 0px;
        position: relative;
    }

    #start{
        font-size: 1.5em;
        font-weight: bolder;
        word-break: break-all;
        width:100px;
        height:130px;
        border : 2px solid lightgrey;
        text-align: center;
        cursor: pointer;
        position: absolute;
        left:395px;
        top:120px;
        color : lightgrey;
    }
    #scoreContainer{
        margin : auto auto;
        background-color: white;
        /* opacity: 0.8; */
        /* height: 300px;
        width : 700px; */
        height: 100%;
        width: 100%;
        border-radius: 5px;
        box-shadow: 0px 5px 15px 0px;
        position: relative;
        display: none;
    }


}

/* iphone 6+, 6s+, 7+, 8+  landscape (5)*/

@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (orientation: landscape) {
    #container {
        margin : 3% auto;
        background-color: white;
        height: 500px;
        width : 95%;
        border-radius: 5px;
        box-shadow: 0px 5px 15px 0px;
        position: relative;
    }

    #start{
        font-size: 1.5em;
        font-weight: bolder;
        word-break: break-all;
        width:100px;
        height:150px;
        border : 2px solid lightgrey;
        text-align: center;
        cursor: pointer;
        position: absolute;
        left:395px;
        top:150px;
        color : lightgrey;
    }
    #scoreContainer{
        margin : auto auto;
        background-color: white;
        /* opacity: 0.8; */
        /* height: 300px;
        width : 700px; */
        height: 100%;
        width: 100%;
        border-radius: 5px;
        box-shadow: 0px 5px 15px 0px;
        position: relative;
        display: none;
    }


}



@media only screen and (min-device-width: 1025px) and (max-device-width: 3000px) and (max-device-height: 4000px)  {

    #container{
        margin : 5% auto;
        background-color: white;
        height: 500px;
        width : 900px;
        border-radius: 5px;
        box-shadow: 0px 5px 15px 0px;
        position: relative;
    
    }
    #start{
        font-size: 1.5em;
        font-weight: bolder;
        word-break: break-all;
        width:100px;
        height:150px;
        border : 2px solid lightgrey;
        text-align: center;
        cursor: pointer;
        position: absolute;
        left:380px;
        top:160px;
        color : lightgrey;
    }

    #scoreContainer{
        margin : auto auto;
        background-color: white;
        /* opacity: 0.8; */
        /* height: 300px;
        width : 700px; */
        height: 100%;
        width: 100%;
        border-radius: 5px;
        box-shadow: 0px 5px 15px 0px;
        position: relative;
        display: none;
    }

}



#start:hover{
    border: 3px solid lightseagreen;
    color : lightseagreen;
}

#qImg{
    width : 200px;
    height : 200px;
    position: absolute;
    left : 0px;
    top : 0px;
}
#qImg img{
    width : 200px;
    height : 200px;
    border-top-left-radius: 5px;
}

#question{
    /* width:500px; */
    height : 125px;
    position: absolute;
    /* right:0; */
    left:25%;
    top:0;
}
#question p{
    margin : 0;
    padding : 15px;
    font-size: 1.25em;
}

#choices{
    /* width : 480px; */
    position: absolute;
    /* right : 0; */
    left:25%;
    top : 90px;
    padding : 10px
}
.choice{
    display: inline-block;
    /* width : 135px; */
    width: 600px;
    margin-top:5px;
    text-align: center;
    border : 1px solid grey;
    border-radius: 5px;
    cursor: pointer;
    padding : 5px;
}
.choice:hover{
    border : 2px solid grey;
    font-weight: bold;
}

#timer{
    position: absolute;
    height : 100px;
    width : 200px;
    bottom : 0px;
    text-align: center;
}
#counter{
    font-size: 3em;
}
#btimeGauge{
    width : 150px;
    height : 10px;
    border-radius: 10px;
    background-color: lightgray;
    margin-left : 25px;
}
#timeGauge{
    height : 10px;
    border-radius: 10px;
    background-color: mediumseagreen;
    margin-top : -10px;
    margin-left : 25px;
}
#progress{
    width : 500px;
    position: absolute;
    bottom : 0px;
    right : 0px;
    padding:5px;
    text-align: right;
}
.prog{
    width : 25px;
    height : 25px;
    border: 1px solid #000;
    display: inline-block;
    border-radius: 50%;
    margin-left : 5px;
    margin-right : 5px;
}

#scoreContainer img{
    position: absolute;
    /* top:120px; */
    top:20%;
    left:400px;
}
#scoreContainer p{
    position: absolute;
    display: block;
    width : 100px;
    height :100px;
    /* top:160px; */
    top:30%;
    left:387px;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
}

#scoreContainer .test{
    position: absolute;
    display: block;
    width : 800px;
    height :59px;
    top:40%;
    left:30px;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
}


#scoreContainer .Startquiz{
    position: absolute;
    display: block;
    width: 40%;
    height: 8%;
    line-height: 8%;
    top: 320px;
    left: 30%;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 8px;
}






















