
@media all and (max-width: 1040px) { /* mobile; why so large? */
    #message {
	font-size:55px;
    }

    #goalTable, #stepsTable {
	font-size:55px;
    }

    #goalWord, #startWord, #goalText, #startText, #shareSpace {
	font-size:55px;
    }

    #stepInput {
	margin-left:43%;
	width:25%;
	height:75px;
	font-size:55px;
    }
    #puzzleNumber, #next, #hint, #downArrow {
	width:8%;
    }
    #downArrow {
	font-size: 65px;
    }
}


@media all and (min-width: 1040px) { /* DESKTOP */
    #message {
	font-size:35px;
    }

    #goalTable, #stepsTable {
	font-size:35px;
    }

    #goalWord, #startWord, #goalText, #startText, #shareSpace {
	font-size:35px;
    }

    #stepInput {
	margin-left:47%;
	width:15%;
	height:55px;
	font-size:35px;
    }
    #puzzleNumber, #next, #hint, #downArrow {
	width:4%;
    }
    #downArrow {
	font-size: 45px;
    }

}


#body {
    background-color: rgb(220, 220, 255);
}

#puzzleNumber {
    font-size: 45px;
    float:left;
}

#infoLink {
    float: left;
}

#next {
    float: right;
}

#hint {
    float:right;
}

#downArrow {
    float: left;
    font-weight:bold;
}
    
#message {

    background-color:#F3F3F3;
    border-radius:15px;
    border: 2px solid gray;
    padding:1%;
    margin-top:2%;
    text-align:center;
    display:none;
    margin-left:15%;
    margin-right:15%;
}

#goalTable, #stepsTable {
    width:100%;
}

#goalTable {
    padding-top:3%;
}

#topRung, #bottomRung {
    width: 100%;
}

.rung {
    width: 100%;
    padding: 5px;
}

#goalText, #startText {
    width:45%;
    text-align: right;
}

#goalWord, #startWord {
    width:55%;
    text-align: left;
    font-weight:bold;
}

#startWord {
    color: #44F;
}

#goalWord {
    color:green;
}
    
#inputDiv {
    margin-left: 0;
    width:88%;
}

#stepInput {
    left:45%;
    border: 3px solid blue;
    border-radius: 3px;
    outline: none;
    padding: 5px;
}

.letterWrong {
    color: #44F;
    font-weight: bold;
}

.letterRight {
    color: green;
    font-weight: bold;
}

.redX {
    height:30px;
    margin-top:5px;
    margin-right:5px;
    float:right;
}

#repeat {
    float:left;
    width: 8%;
}

canvas {
    position: absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
}

#shareSpace {
    width:80%;
    margin-top:5%;
    margin-left:10%;
    margin-right:10%;
    background-color:#F3F3F3;
    border: 2px solid gray;
    border-radius:15px;
    padding:2%;
    text-align:center;
    align:center;
    
    display:none;
}

#shareTopLine {
    margin:3%;
    margin-bottom:5%;
}

#playAgain {
    padding-right:0;
    background-color:#C3F1C3;
    padding:2%;
    border:1px solid gray;
    border-radius:10px;
}

#shareButton {
    text-align:center;
    width:fit-content;
    background-color:#C6C6FF;
    border-radius:10px;
    border: 1px solid gray;
    padding:2%;
    margin: 0 auto;
    margin-bottom:2%;
}

#shareIcon {
    height:45px;
}
