#content {
  display: flex;
  flex-direction: column;
}

#modalMobile {
  z-index: 1000;
  position: absolute;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  text-align: center;
  /* top: 40%;
  bottom: 40%;
  right: 5%;
  left: 5%; */
  /* margin-left: 5%;
  margin-right: 5%;
  margin-top: 5%;
  margin-bottom: 5%; */
  width: 85%;
  /* height: 85%;  */
  max-height: 85%;
  border-radius: 4px;
  border-style: dotted;
}

 /* #modalTextMobile, #modalMobileButtons, .mobile {
  display: none ;
} */

.loader {
  display: flex;
  font-family: 'Concert One';
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /* background-color: white; */
  background: radial-gradient(circle, rgba(0,212,255,1) 0%, rgba(5,111,188,1) 50%, rgba(0,9,68,1) 100%);
  width: 100%;
  height: 100%;

  /* background: linear-gradient(90deg, #f4033f, #f441ee, #3bffff, #03a9f4, #f4033f); */
  /* background:   repeating-linear-gradient(
    90deg,
    #f4033f 0%,
    #f441ee 20%,
    #3bffff 40%,
    #03a9f4 60%,
    #f4033f 80%,
    #f4033f 100%
  );; */
  /* background-size: 100%; */
  /* background-size: 50%; */
  /* animation: loadingGradient 5s linear infinite; */
}

/* @keyframes loadingGradient {
  0% {
      background-position: 0%, 0;
  }
  100% {
      background-position: 100%, 0;
  }
} */

  /* background: rgb(0,212,255);
  background: radial-gradient(circle, rgba(0,212,255,1) 0%, rgba(5,111,188,1) 50%, rgba(0,9,68,1) 100%); */
  /* position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); */

  /* border: 16px solid #f3f3f3; 
  border-top: 16px solid #3498db; 
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite; */
/* @keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
} */


.title{
  font-size: 1.3em;
  text-decoration: underline;
  /* margin-right: 10px; */
}
.company {
  font-size: 1.3em;
  display: inline-block;
}

body {
  border-style: double;
  /* disable text select on mobile! */
  -webkit-user-select: none;
  user-select: none;
  /* disable text select on mobile! */

  margin: 0;
  /* background-color: #119a8f; */
  background: rgb(0,212,255);
  background: radial-gradient(circle, rgba(0,212,255,1) 0%, rgba(5,111,188,1) 50%, rgba(0,9,68,1) 100%);
  /* background-color: lightgreen; */
  /* display: flex;
  align-items: center;
  justify-content: center; */
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.screenDiv {
    display: flex;
    align-items: center;
    justify-content: center;
}

.buttonsDiv {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* justify-content: space-between; */
}

.button-link {
  margin: auto;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}

.button-link:hover {
  background-color: #6de7ff;
  border-color: #000000;
  border-style: dotted;
}

canvas {
        box-sizing: border-box;
        background-color: blue;
        width:calc(100%);
        min-width: 300px;
        max-width: 1000px;
        /* min-width:(ABOVE) - is just in case window gets really small */
        border-radius: 30px;
        border: 5px solid black;
        margin-left: 10%;
        margin-right: 10%;
        margin-top: 1%;
        margin-bottom: 1%;
    } 

.circle1 {
    width: 100px;
    height: 100px;
    background-color: green;
    border-radius: 50%;
}

.circle2 {
    width: 100px;
    height: 100px;
    background-color: red;
    border-radius: 50%;
}

.oval1 {
    width: 100px;
    height: 25px;
    background-color: orange;
    border-radius: 50%;
}

.oval2 {
    width: 100px;
    height: 25px;
    background-color: blue;
    border-radius: 50%;
}

.rect1 {
    width: 50px;
    height: 150px;
    background-color: gray;
}

.rect2 {
    width: 150px;
    height: 50px;
    background-color: gray;
}


.flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.pushable {
    background: hsl(340deg 100% 32%);
    border-radius: 12px;
    border: none;
    padding: 0;
    cursor: pointer;
    outline-offset: 4px;
}
.front {
    display: block;
    padding: 12px 42px;
    border-radius: 12px;
    font-size: 1.25rem;
    background: hsl(345deg 100% 47%);
    color: white;
    transform: translateY(-6px);
}

.pushable:active .front {
    transform: translateY(-2px);
}

/* MODAL ------------------- */
html {
    font-size: 22px;
  }

  .modal {
    z-index: 500;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* max-width: calc(100% - 40px); */
    width: 80%;
    /* display: inline-flex; */ 
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 1.6rem 3rem;
    border: 3px solid black;
    border-radius: 5px;
    background: white;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.2);
    margin-top: 0em; 
    font-family: 'Concert One';
    
    /* font-family: aldrich; */
    /* font-family: "DotGothic16"; */
    /* font-family: 'Pixelify Sans', sans-serif; */
  }
  .message {
    font-size:1.1rem;
    margin-bottom: 1rem;
    margin-top: 0rem;
    line-height: 1;
  }
  .messageHelp {
    font-size:1.1rem;
    margin-bottom: 0rem;
    margin-top: 0rem;
    line-height: 1;
  }
  .messagePrime {
    font-size:1rem;
    margin-bottom: 0rem;
    margin-top: 0rem;
    line-height: .7;
  }
  .btn {
    color:inherit;
    font-family:inherit;
    font-size: inherit;
    background: white;
    padding: 0.3rem 2rem;
    border: 3px solid black;
    /* margin-right: 2.6rem; */
    box-shadow: 0 0 0 black;
    transition: all 0.2s;
    font-family: 'Press Start 2P';
    text-align: center;
    width: 10em;
    /* text-decoration:none; */
    font-family: 'Concert One';
  }
  #btnCloseHelp {
    background: #00FF00;
  }
  #btnCloseHGA, #btnClosePrime, #btnCloseCBRE, #btnCloseFreelance, #btnCloseCoyote, #btnCloseRestaurant, #btnCloseMCTC, #btnCloseWin {
    background: #00FF00;
  }
  
  .btn:last-child {
    margin: 0;
  }
  
  .btn:hover {
    box-shadow: 0.4rem 0.4rem 0 black;
    transform: translate(-0.4rem, -0.4rem);
  }
  
  .btn:active {
    box-shadow: 0 0 0 black;
    transform: translate(0, 0);
  }
  
  .buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
  .buttons-prime {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  h3 {
    margin: 0px;
    /* text-decoration: underline; */
  } 
  h4 {
    /* text-decoration: underline; */
    margin-top: .2em; 
    margin-bottom: 0em; 
    margin-left: 0em;
    margin-right: 0em;
  }
  
  p {
    /* margin: 0.5em; */
    margin-top: 0.3em; 
    margin-bottom: 0.3em; 
  }

  ul {
    list-style-type: circle;
    margin-top: .3em; 
    margin-bottom: 0em; 
      /* margin-left: 0em;
    margin-right: 0em; */
  }
  li {
    margin-top: 0.1em; 
    margin-bottom: 0.1em; 
    margin-left: 0em;
    margin-right: 0em;
  }
  
  .tech {
    /* font-weight: bold; */
  }

  
  #modalHelp {
    z-index: 500;
    /* font-family: 'Press Start 2P'; */
    font-family: 'Concert One';
    /* font-family: 'Sniglet'; */
    /* font-family: 'Silkscreen'; */
    /* font-family: 'Concert One'; */
    display: inline-flex; 
    text-align: center; 
    line-height: .3;
    overflow: auto;
  }

  #controls {
    margin: 1em;
    /* outline-style: auto; */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 50%;
    /* line-height: 5; */
  }
  .controlsItem {
    line-height: 1.3;
  }
  
  #intro {
    line-height: 1.3;
  }
  #hello {
    line-height: 1.3;
  }
  
.underline {
  text-decoration: underline;
}
#helpButton {
  z-index: 100;

}
#btnHelp {
  /* position: absolute;
  top: 750px;
  left: 100px; */
  
  /* z-index: 100; */
  margin: 0em;
  size: 100%;
  padding: 0.3rem .4rem;
}

/* @font-face {
  font-family: 'Press Start 2p';
} */
.buttonsDiv {
  /* background-color: black; */
  font-size: 30pt;
  font-family: 'Press Start 2p';
}
.video-game-buttonA {
	text-shadow: 1px 1px #90EE90, -1px -1px maroon;

	line-height: 1.5em;
	text-align: center;
	display: flex;
  align-items: center;
  justify-content: center;
	/* width: 1.5em; */
  min-width: 3em;
  min-height: 3em;
	-webkit-border-radius: .75em;
	-moz-border-radius: .75em;
	-o-border-radius: .75em;
		border-radius: 1.75em;
	background-color: red;
	-webkit-box-shadow:  0 .2em #023020;
	-moz-box-shadow:  0 .2em #023020;
	-o-box-shadow:  0 .2em maroon;
	box-shadow:  0 .2em #023020;
	color: #90EE90;
	margin: 5px;
	background-color: red;
	background-image: -o-linear-gradient(left top, #90EE90 3%, green 22%, 	#006400 99%);
	background-image: -moz-linear-gradient(left top, #90EE90 3%, green 22%, 	#006400 99%);
	background-image: -webkit-linear-gradient(left top, #90EE90 3%, green 22%, 	#006400 99%);
	background-image:           linear-gradient(left top, #90EE90 3%, green 22%, 	#006400 99%);
	cursor: pointer;
  padding-left: 5px;
}



.video-game-buttonX {
	text-shadow: 1px 1px #90EE90, -1px -1px maroon;
	line-height: 1.5em;
	text-align: center;
	display: flex;
  align-items: center;
  justify-content: center;
	/* width: 1.5em; */
  min-width: 3em;
  min-height: 3em;
	-webkit-border-radius: .75em;
	-moz-border-radius: .75em;
	-o-border-radius: .75em;
		border-radius: 1.75em;
	background-color: red;
	-webkit-box-shadow:  0 .2em #023020;
	-moz-box-shadow:  0 .2em #023020;
	-o-box-shadow:  0 .2em maroon;
	box-shadow:  0 .2em #023020;
	color: #90EE90;
	margin: 5px;
	background-color: red;
	background-image: -o-linear-gradient(left top, #ADD8E6 3%, Blue 22%, 	#00008B 99%);
	background-image: -moz-linear-gradient(left top, #ADD8E6 3%, Blue 22%, 	#00008B 99%);
	background-image: -webkit-linear-gradient(left top, #ADD8E6 3%, Blue 22%, 	#00008B 99%);
	background-image:           linear-gradient(left top, #ADD8E6 3%, Blue 22%, 	#00008B 99%);
	cursor: pointer;
  padding-left: 5px;
}
.start-btn{
    text-align: center;
    display: inline-block;
    margin:5px;
    /* font-weight: bold; */
    padding: 10px 10px 10px 10px ;
    background-color: lightgray;
    text-shadow: -1px -1px black, 1px 1px white;
    color: gray;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    -o-border-radius: 7px;
    border-radius: 7px;
    box-shadow: 0 .2em gray; 
    cursor: pointer;
    /* font-weight: bold; */
    font-family: 'Press Start 2p';
} 
.video-game-buttonA:active, .video-game-buttonX:active, .start-btn:active {
	box-shadow: none;
	position: relative;
	top: .2em;
}

.arrowsMain {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 5%;
}

#arrowsLeftRight {
  width: 110%;
  display: flex;
  flex-direction: row;
  align-items: space-between;
  justify-content: center;
  margin-left: 0em;
  margin-top: 0em;
  margin-bottom: .5em;
}

#arrowsRight {
  font-size: 100px;
  /* width: 80px;
  height: 50px; */
  margin-left: 18%;
  width: 2em;
  height: 1.2em;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}

#arrowsLeft {
  font-size: 100px;
  /* width: 80px;
  height: 50px; */
  margin-right: 18%;
  transform: scaleX(-1);
  width: 2em;
  height: 1.2em;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}

#arrowsUp, #arrowsDown {
  font-size: 100px;
  /* width: 90px; */
  width: 1.4em;
  height: 1.2em;
  margin-top: 0px;
  margin-bottom: 0px;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  /* min-width: 80px; */
}

#buttonHelp {
  margin-left: 5%;
  margin-right: 5%;
}

.buttonsMain{
  /* border-style: solid; */
  display: flex;
  flex-direction: column;
  min-width: 300px;
  margin-right: 10px;
  margin-left: 0em;
}

.video-game-buttonX {
  border-style: solid;
  margin-right: 10%;
  margin-left: 250px;
  margin-top: 10%;
  margin-bottom: 5%;
}

.video-game-buttonA {
  border-style: solid;
  margin-left: 10%;
  margin-right: 250px;
  margin-top: 5%;
  margin-bottom: 10%;
}

#buttonHelp {
  width: 150px;
  position: relative;
  top: -65px;
  left: -20px;
}

#btnSpace {
  /* min-width: 150px; */
  min-width: 1em;  
}

#pressX {
  z-index: 200;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
  position: relative;
  top: 160px;
  left: 200px;
  border-style: solid;
  border-color: #000000;
  background-color: #f3f3f3;
  font-family: 'Concert One';
  /* font-size: 50px */
  transform: scale(1.75)

  /* font-family: 'Silkscreen'; */
}

#healthBarText {
  top: 50px;
  z-index: 1000;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
  position: relative;
  top: 20px;
  /* left: 100px; */
  /* border-style: solid; */
  color: white;
  /* border-color: #000000; */
  /* background-color: #f3f3f3; */
  font-family: 'Concert One';
  /* font-size: 50px */
  /* transform: scale(1.75) */

  /* font-family: 'Silkscreen'; */
}
#modalLose {
  width: 50%;
  /* display: flex; */
}
#modalWin {
  margin: auto;
  max-height: 80%;
  max-width: 80%;
  padding: 1em;
  overflow: auto;
  /* display: flex; */
  align-content: flex-start;
}
#winLinks {
  margin: auto;
  /* outline-style: auto; */
  display: flex;
  flex-direction: column;
    align-items: flex-start;
  align-content: space-around;
  justify-content:space-around;
  line-height: 0.9;
  margin-top: .5em;
  margin-bottom: 0em;
}

.br {
  line-height: 0.1;
}

#links {
  margin: auto;
  /* outline-style: auto; */
  display: flex;
  flex-direction: column;
    align-items: flex-start;
  align-content: space-around;
  justify-content:space-around;
  line-height: 1;
  margin: 0.2em;
}

#modalPrime {
  max-height: 80%; 
  overflow-y: auto; 
}
#modalHGA {
  max-height: 80%; 
  overflow-y: auto; 
}
#gameOver {
  font-size: 2em;
  font-family: 'Press Start 2P';
}
#bm {
  background-color: 'red';
}

#flexDiv {
  margin: auto;
  /* max-width: 100%; */
  /* outline-style: auto; */
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  align-content: space-around;
  justify-content: space-around;
  min-width: 100%;
  /* line-height: 5; */
}
#linksParent {
  min-width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: space-around;
  justify-content: space-between;
}
#controlsParent {
  min-width: 50%;
  display: none;
  flex-direction: column;
  align-items: center;
  align-content: space-around;
  justify-content: space-between;
}

h2 {
  margin-top: .5em;
  margin-bottom: .5em;
}



.player1 {
  background: linear-gradient(90deg, #f4033f, #f441ee, #3bffff, #03a9f4, #f4033f);
  /* background-size: 100%; */
  background-size: 50%;
  animation: p1HealthGradient 5s linear infinite;
}

@keyframes p1HealthGradient {
  0% {
      background-position: 0%, 0;
  }
  100% {
      background-position: 100%, 0;
  }
}

#healthbar {
  position: relative; 
  top: 100px;
  height: 30px; 
  width: 80%;
  display: flex; 
  justify-content: flex-end; 
  border: 4px solid white;

  border-radius: 10px;

  /* position: relative; */
  top: 100px;
  /* left: 200px; */
}

#player1Health {
  position: absolute; 
  background-color: #00FF00; 
  top: 0; bottom: 0; left: 0; 
  width: 100%; 
  /* border-radius: 5px; */
  /* border: 2px solid white; */
}

#healthBar-red {
  background-color: red; 
  height: 30px; 
  width: 100%;
  border-radius: 5px;
}

.fit-picture {
  max-width: 100%;
}

@media (orientation: landscape) {
  #flexDiv {
    flex-direction: row;
    align-items: flex-start;
  }
  #buttonsDiv {
    display: none;
  }
}

@media (orientation: portrait) {
  #flexDiv {
    flex-direction: column;
    align-items: center;
    max-height: 80%;
  }
  #buttonsDiv {
    display: flex;
    justify-content:space-around
  }
  #controller {
    display: none;
  }
  .modal {
    max-height: 85%;
    /* min-height: 50%; */
    font-size: 1.5rem;
    /* height: 85%; */
    overflow: auto;
  }
  .company {
    overflow: auto;
  }
  #modalHelp{
    overflow: auto;
  }
  .messageHelp {
    font-size:1.8rem;
  }
  .message {
    font-size:1.8rem;
    margin-bottom: 1rem;
    margin-top: 0rem;
    line-height: 1;
  }
  
  /* 
  #linksParent {
    margin: 0px;
    padding: 0px;
    gap: 0px;
  }
  #links {
    line-height: 1;
    margin: 0 0 0 0;
  } */


}

/* .border {
    border-radius: 2px;
    border-style: solid;
    border-color: black;
} */