/* SCREEN */
@media 

/* Medium */
only screen and (max-width: 754px) and (min-width: 447px)

{
    div.header { padding-left: 0px;
                padding-bottom: 0px;
                margin-bottom: 5px;}
    #top, #bottom, #left, #right { display: none; }
    h1#bigTitle { font-size: 1.5em;}
    h2#subTitle { font-size: 0.75em;
                padding-right: 10px;
                margin-right: 0px;}
}

/* Small */
@media only screen and (max-width: 446px)

{
    div.header { padding-left: 0px;
                padding-bottom: 0px;
                margin-bottom: 0px;
            margin-top: 0px;
        height: 82px;}
    #top, #bottom, #left, #right { display: none; }
    h1#bigTitle { font-size: 20px;
    margin-top: 0px;}
    h2#subTitle { font-size: 13px;
                padding-right: 5px;
                margin-right: 0px;
            padding-top: 14px;}
}

/* BACKGROUND PHOTO SWAP */

@media only screen and (min-width: 769px)
{ body { background: url('supermario.jpg');}}

@media only screen and (max-width: 768px) 
{ body {  background: url('mario-mobile.jpg');}}

    /* iPad Pro */
    @media only screen and (min-height: 1366px) 
    { body {  background: url('mario-mobile.jpg');}}

/* OUTSIDE BORDER */
#top, #bottom, #left, #right {

	background: black;
	position: fixed;
	}
	#left, #right {
		top: 0; bottom: 0;
		width: 50px;
		}
		#left { left: 0; }
		#right { right: 0; }
	/* #top, #bottom {
		left: 0; right: 0;
		height: 14px;
		}
		#top { top: 0; }
        #bottom { bottom: 0; }
      */


/* CONTENT */
body {

    font-size: 22px;
    width: 100%;
    height: 400px;
    background-position: center center; 
    background-attachment: fixed; 
    background-repeat: no-repeat;
   
    background-size: cover;
    text-align: center;
    z-index: -1;
}

/*  HEADER  */
.header {

    font-family: 'Press Start 2P', cursive;
    width: 100%;
    height: 120px;
    background-color: black;
    color: white;
    padding-left: 40px;
    padding-bottom: 10px;
    display: inline-block;
    margin-bottom: 15px;
}

#bigTitle {

    padding-top: 20px;
    margin-left: 11px;
    font-size: 230%;
    text-align: left;
    float: left;
    margin-top: 28px;
}

#subTitle {

    padding-right: 40px;
    margin-right: 50px;
    float: right;
    clear: both;
}

/* GENERAL GAME DIV */
#container {

    /* margin-left: 40px; */
    font-family: 'Bungee Inline', cursive;
    text-align: center;
    font-weight: bold;
}

/* SCOREBOARD */

#win-counter {
    font-family: 'Press Start 2P', cursive;
    /* padding: 10px; */
    display: inline-block;
    color: hotpink;
    margin-left: 20px;
}

#winBox {

    color: white;
    /* padding: 10px; */
    font-family: 'Bungee Inline', cursive;
    width: auto;
    height: auto;
    background-color: black;
    margin-top: 2px;
    padding: 17px;
    display: inline-block;
    border-radius: 10px;
}

/* ALREADY GUESSED ARRAY */
#user-guess {

    width: 20rem;
    height: 18px;
    background-color: black;
    color: white;
    margin-top: 2px;
    padding: 25px;
    display: inline-block;
}

/* COUNTING DOWN GUESSES LEFT */
#guesses-left {

    color: hotpink;
    font-family: 'Press Start 2P', cursive;
    font-size: 25px;
    margin-left: 10px;
    margin-top: 15px;
    padding-top: 30px;
}

#answer {
    
    font-size: 25px;
    text-align: center;
}

.wrapper {

    text-align: center;
    padding-top: 40px;
    color: white;
    display: block;
    
}
/* WON GAME */
#game-won {
    
    width: 100%;
    /* height: 400px; */
    height: auto;
    background-color: green;
   
}

#won-text {

    margin: 20px 20px;
    font-size: 50px;
    font-family: 'Press Start 2P', cursive;
}

/* LOST GAME */
#game-lost {

    width: 100%;
    /* height: 100%; */
    height: auto;
    background-color: black;
}

#lost-text {

    z-index: 1;
    font-family: 'Press Start 2P', cursive;
    margin: 80px;
    font-size: 50px;
}

/* #lost-background {

    height: 100%;
    width: 100%;
    z-index: 0;
} */



/*  RESET BUTTON  */
.button {

    top: 50%;
    background-color: #4CAF50;
    border: none;color: white;
    padding: 15px 32px;
    text-decoration: none;
    font-size: 20px;
    cursor: pointer;
    margin: 4px 2px;
    margin-left: 0;
    font-family: 'Press Start 2P', cursive;
}