.outfit {
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}
html, body, *, #game-canvas, #upgrades {
  touch-action: manipulation;  /* Prevent double-tap zoom */
  -ms-touch-action: manipulation; /* Older IE/Edge */
  user-select: none;           /* Disable text selection */
  -webkit-user-select: none;   /* Safari */
  -ms-user-select: none;       /* Old IE/Edge */
  -webkit-touch-callout: none; /* Disable long-press menu on iOS */
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight on iOS */
}
body {
    position: relative;
     background: radial-gradient( lightgoldenrodyellow, lightgoldenrodyellow, green);
    width: 100%;
    height: 100vh;
    margin: auto;
    background-repeat: no-repeat;
    overflow: hidden;
}

#title {
    text-align: center;
    font-size: clamp(0px, 8vw, 5vh);
    width: 100%;
}
#wrong {
    position: absolute;
    top: 35%;
    left: 15%;
    font-size: 7vw;
    color: red;
     text-align: center;
    display: none;
}
#right {
    position: absolute;
    top: 35%;
    left: 15%;
    font-size: 7vw;
     text-align: center;
    color: green;
    display: none;
}
#quit-now {
    position: absolute;
    display: block;
    top: 3vw;
    right: 3vw;
    background-color: rgb(0, 0, 0);
    color: white;
    font-size: 4vw;
}
#question-board {
    background-color: wheat;
    width: 80vw;
    height: 100%;
    border-radius: 2vw;
    position: absolute;
    z-index: 4;
    display: none;
}
#question-board h2 {
    text-align: center;
    margin-top: 5vw;
    font-size: 5vw;
}
#answer-choices {
    width: 80vw;
    height: 100vw;
    position: absolute;
    bottom: 10vw;
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
}
#answer-choices div {
    border-radius: 3vw;
    margin: 3px;
    border: 1vw double black;
display: flex;
justify-content: center;
align-items: center;
}
#question-price {
    margin-left: 3vw;
}
#A1 {
    background-color: rgb(228, 108, 108);
}
#A2 {
    background-color: rgb(108, 228, 108);
}
#A3 {
    background-color: rgb(108, 228, 228);
}
#A4 {
    background-color: rgb(108, 108, 228);
}
#notification {
    background-color: lightgoldenrodyellow;
    border: 3px solid orange;
border-radius: 3vw;
display: none;
z-index: 3;
padding: 1vw;
position: absolute;
top: 25vw;
right: 13vw;
flex-direction: column;
justify-content: center;
align-items: center;
font-size: 10px;
}
#notification button {
    all: unset;
    background-color: rgb(254, 181, 45);
    padding: 5px;
    border-radius: 3px;
    border: 2px solid black;
    margin-bottom: 5px;
}
#dna-amount-title {
    margin-top: 6vh;
margin-bottom: 2vh;
 position: relative;
}
#game-canvas {
    touch-action: manipulation;  /* Prevent double-tap zoom */
  -ms-touch-action: manipulation; /* Older IE/Edge */
  user-select: none;           /* Disable text selection */
  -webkit-user-select: none;   /* Safari */
  -ms-user-select: none;       /* Old IE/Edge */
  -webkit-touch-callout: none; /* Disable long-press menu on iOS */
  -webkit-tap-highlight-color: transparent;
    width: 80vw;
    height: 85vh;
    border: 3px solid black;
    border-radius: 3vw;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    background: radial-gradient(rgb(255, 255, 255), rgb(150, 255, 255))
}
#descriptor {
    position: absolute;
    background-color: rgba(20, 20, 20, 0.8);
    padding: 5px;
color: white;
z-index: 2;
}
#upgrades {
    background: linear-gradient(90deg, rgb(255, 100, 100), rgb(125, 255, 100));
    width: 100%;
    height: 40vw;
    border-radius: 0 0 2vw 2vw;
margin-top: auto;
display: flex;
overflow-x: auto;
align-items: center;
}
#helicase {
    flex: 0 0 auto;
    position: relative;
    background-color: rgb(250, 100, 100);
    border: 2px solid black;
    border-radius: 4vw;
    width: 35vw;
    height: 70%;
    display: grid;
grid-template-rows: 1fr 1fr;
grid-template-columns: 1fr 2fr;
}
#helicase-img {
    width: 100%;
    height: auto;
    align-self: center;
}
#helicase-cost {
    position: relative;
    grid-column: 1 / -1;
    justify-self: center;
    align-self: center;
    filter: none;
    color: red;
        margin-top: 0vw;
}
#helicase-label {
    justify-self: center;
    align-self: center;
}
#primase {
    flex: 0 0 auto;
    position: relative;
    background-color: rgb(172, 125, 38);
    border: 2px solid black;
    border-radius: 4vw;
    margin-left: 3vw;
    width: 35vw;
    height: 70%;
    display: grid;
grid-template-rows: 1fr 1fr;
grid-template-columns: 1fr 2fr;
}
#primase-img {
    width: 80%;
    transform: scale(1.2);
    height: auto;
    align-self: center;
}
#primase-cost {
    position: relative;
    grid-column: 1 / -1;
    justify-self: center;
    align-self: center;
    filter: none;
    color: red;
        margin-top: 0vw;
}
#primase-label {
    justify-self: center;
    align-self: center;
}
#topoisomerase {
    flex: 0 0 auto;
    position: relative;
    background-color: rgb(182, 80, 182);
    border: 2px solid black;
    border-radius: 4vw;
    margin-left: 3vw;
    width: 45vw;
    height: 70%;
    display: grid;
grid-template-rows: 1fr 1fr;
grid-template-columns: 1fr 2fr;
}
#topoisomerase-img {
    width: 70%;
    height: auto;
    align-self: center;
    justify-content: center;
    margin-left: 2vw;
        transform: rotate(90deg);
}
#topoisomerase-cost {
    position: relative;
    grid-column: 1 / -1;
    justify-self: center;
    align-self: center;
    filter: none;
    color: red;
        margin-top: 0vw;
}
#topoisomerase-label {
    justify-self: center;
    align-self: center;
}
#SSBP {
    flex: 0 0 auto;
    position: relative;
    background-color: rgb(71, 174, 174);
    border: 2px solid black;
    border-radius: 4vw;
    margin-left: 3vw;
    width: 40vw;
    height: 70%;
    display: grid;
grid-template-rows: 1fr 1fr;
grid-template-columns: 1fr 2fr;
}
#SSBP-img {
    width: 100%;
    margin-left: 2vw;
    transform: scale(1.2);
    height: auto;
    align-self: center;
}
#SSBP-cost {
    position: relative;
    grid-column: 1 / -1;
    justify-self: center;
    align-self: center;
    filter: none;
    color: red;
    margin-top: 0vw;
}
#SSBP-label {
    justify-self: center;
    align-self: center;
}
#increase1 {
    color: green;
    position: absolute;
    display: none;
}
#dna {
    position: relative;
height: 40vh;
width: auto;
    margin-top: 3vh;
    margin-bottom: 0;
    display: block;
    touch-action: manipulation;
    user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
#reset {
    display: none;
}
#quick-hack {
    display: none;
}
@media (min-width: 390px) and (max-width: 767px) {
   body {
    height: 90vh;
   }
    #game-canvas {
        height: 76vh;
    }
    #dna-amount-title {
margin-top: 0;
    }
    #upgrades {
        height: 60vw;
    }
    #upgrades h3 {
        font-size: clamp(0px, 5vw, 25px);
    }
    #topoisomerase img {
max-width: 55px;
    }
    #primase img {
        max-width: 55px;
    }
    #upgrades h4 {
        font-size: clamp(0px, 5vw, 25px);
    }
    #primase-cost {
        font-size: clamp(0px, 4vw, 20px) !important;
    }
    #question-board {
        height: 76vh;
    }
    /*
    #upgrades h3 {
        font-size: 5vw;
        grid-row: 2 / -1;
        grid-column: 1 / -1;
text-align: center;
    }
    
    #upgrades img {
    margin: 0 auto;
    grid-column: 1 / -1;
    width: 50%;
    }
    #upgrades h4 {
        font-size: 4vw;
    }
    #topoisomerase-img {
        width: 40% !important;
    }
    #topoisomerase-label {
margin-top: 0vw;
    }
    #topoisomerase-cost {
        margin-top: 0vw;
    }
    #primase {
        grid-template-rows: 1fr 1fr 1fr;
grid-template-columns: 1fr 2fr;
}
*/
    }
@media (min-width: 768px) and (max-width: 1073px) {
 #topoisomerase img {
max-width: 65px;
    }
    #helicase img {
        max-width: 100px;
    }
    #primase img {
max-width: 65px;
    }
#game-canvas {
    width: 90vw;
    height: 85vh;
    }
    #dna-amount-title {
        font-size: 6vh !important;
        margin-top: 0 !important;
    }
    #upgrades {
        height: 40vw;
    }
    #dna {
        width: 50vh;
           margin: 0;
        margin-top: 0;
        max-width: 350px;
    }
        #dna-amount-title {
            margin-top: 3vw;
        font-size: 6vw;
    }
    #notification {
          border-radius: 2vw;
    top: 12%;
    right: 7%;
    font-size: 15px;
    }
    #notification button {
        font-size: 20px;
    }
    #upgrades h3 {
        font-size: clamp(3px, 5vw, 25px);
    }
    #upgrades h4 {
        font-size: clamp(3px, 5vw, 25px);
    }
    #question-board {
        width: 90vw;
        height: 85vh;
    }
    #answer-choices {
        width: 90vw;
        height: 60vh;
        bottom: 3vw;
    }
    #answer-choices div {
        font-size: 4vw;
    }
    #descriptor {
         position: absolute;
    background-color: rgba(20, 20, 20, 0.8);
    padding: 2px;
    font-size: 3.5vw;
color: white;
z-index: 2;
    }
        #wrong {
    top: 35%;
    left: 20%;
    text-align: center;
}
#right {
     top: 35%;
    left: 20%;
     text-align: center;

}
  
}
@media (min-width: 1074px) {
    #wrong {
    font-size: 4vw;
    top: 35%;
    left: 35%;
    text-align: center;
}
#right {
    font-size: 4vw;
     top: 35%;
    left: 35%;
     text-align: center;

}
    #answer-choices {
bottom: 3vw;
right: 5vw;
    width: 80vw;
    height: 30vw;
    }
    #answer-choices div {
        font-size: 40px;
    }
    #question-price {
        font-size: 30px;
    }
    #question-board h2 {
    margin-top: 2vw;
    font-size: 3vw;
}
 #quit-now {
        top: 3vw;
    right: 3vw;
    font-size: 3vw;
}
#title {
    font-size: 3vw;
}
#notification {
    border-radius: 2vw;
    top: 15%;
    right: 7%;
    font-size: 15px;
}
#notification button {
    font-size: 20px;
}
#question-board {
    height: 50vw;
    width: 90vw;
    border-radius: 2.5vw;
}
#game-canvas {
    width: 90vw;
    height: 50vw;
    position: relative;
    flex-direction: row-reverse;
max-height: 700px;
}
#dna {
    height: 50vh;
    margin-top: 0vw;
    margin-right: 15vw;
    max-height: 300px;
}
#dna-amount-title {
    margin-top: 0vw;
    font-size: clamp(3px, 4vw, 50px);
position: absolute;
top: 85%;
left: 53%;
}
#upgrades {
    background: linear-gradient(180deg, rgb(255, 100, 100), rgb(125, 255, 100));
    width: 35vw;
    height: 100%;
    border-radius: 0 2vw 2vw 0;
    margin-right: auto;
margin-top: auto;
display: flex;
flex-direction: column;
overflow-x: none;
overflow-y: auto;
align-items: center;
}
#upgrades div {
    margin: 10px auto;
    width: 70%;
    height: 40%;
}
#upgrades h3 {
    font-size: 2.5vw;
}
#upgrades h4 {
    font-size: 2.5vw;
}
#descriptor {
    position: absolute;
    background-color: rgba(20, 20, 20, 0.8);
    padding: 0px;
    font-size: 3vw;
color: white;
z-index: 2;
}
}