@charset "utf-8";
/* CSS Document
craps6.css
08/12/19
updating the styles to integrate into technovice

*/

/*center the flow chart and make it responsive*/

details figure {
    margin-bottom: 10px;
    text-align: center;
}

details figure img {
    width: 80%;
    height: auto;
    text-align: center;
}


section {
/*    height: 575px;*/
    min-height: 250px;
}

section#gameInfo {
    width: 300px;
    height: 200px;
    border: none;

    /*float:right;
	clear: both;*/
}

canvas {
    width: 100%;
    height: auto;
    border-radius: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
}

table,
td,
tr {
    border: 1px #CCC solid;
}

table {
    background-color: white;
}

table tr th {
    background-color: #FF4F2F;
    color: white;
}

aside {
    float: right;
    /*background-color:#0F6;*/
    margin-right: 250px;
    height: 600px;
}

figure img {
    border: thin double #999;
    box-shadow: 3px 3px 3px 2px gray;
}

/*change positions for the playImage*/
main img#playImage {
    /*float acts like a layering that removes an element from the flow of the page
	and repositions it with respect to other elements*/
    float: right;
    position: relative;
    /*these values were obtained by trial and errors*/
    /*left: 100px;
	top: -100px;
    */
    left: 10%;
    top: -50%;
    width: 35%;
    height: auto;

}

/*right justify the tabular data, multiple selectors*/
td#gameCount,
td#score,
td#status,
td#point,
td#rollCount {
    text-align: right;
    width: 80px;
    background-color: #FF6;
}

/*right justify the table labels*/
td {
    text-align: right;
    /*trbl listing*/
    padding: 2px 2px 2px 0px;

}

span#myRolls {
    margin-left: 10px;
    color: #144C87;
    font-weight: bold;
    font-size: larger;
}

input#button {
    width: 100px;
    height: 50px;
    /*background-color:white;*/
}

td#status {
    font-weight: bold;
    font-size: larger;
    background-color: white;
}

canvas#canvas {
    background-color: #00cc66;
    border-top-width: medium;
    border-right-width: medium;
    border-bottom-width: medium;
    border-left-width: medium;
    border-top-style: double;
    border-right-style: double;
    border-bottom-style: double;
    border-left-style: double;
    border-top-color: #006600;
    border-right-color: #006600;
    border-bottom-color: #006600;
    border-left-color: #006600;
    border-image-source: none;
    border-image-slice: 100% 100% 100% 100%;
    border-image-width: 1 1 1 1;
    border-image-outset: 0 0 0 0;
    border-image-repeat: stretch stretch;
}

main #controls {
    margin-top: 10px;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

/*gray band*/
@media (min-width: 200px) {
    img#playImage {
        left: 0px;
        top: -50%;
        width: 18%;
        height: auto;
    }

    main {
        min-height: calc(100vh - 100px);
        margin-bottom: -20px;

    }
}


/*black band*/
@media (min-width: 400px) {
    main {
        min-height: calc(100vh - 100px);
        padding-bottom: 40px;
    }
}

/*red band*/
@media (min-width: 600px) {
    header #mastheadText p::before {
        content: "";
    }

    main figure.appStyle {
        width: 20%;
    }

    main {
        min-height: calc(120vh - 90px);
        padding-bottom: 40px;
    }
}

/*blue band*/
@media (min-width: 800px) {
    main {
        padding-top: 10px;
        padding-left: 20%;
        padding-right: 20%;
        padding-bottom: 35px;
        min-height: calc(110vh - 85px);
    }


    #bigContent main details p {
        font-size: 16px;
    }

    form fieldset {
        padding-top: 5px;
        padding-bottom: 10px;
    }

    div#current_game h3,
    div#gaming_summary h3 {
        font-size: 20px;
    }

    div#current_game p,
    div#gaming_summary p {
        font-size: 15px;
    }
}

/*green band*/
@media (min-width: 1200px) {

    main {
        padding-left: 30%;
        padding-right: 30%;
    }
}
