/*  */
/*  */
/*  */

@media only screen and (min-device-width: 960px) and (orientation: landscape) {

  html,
  body {
    font-family: sans-serif;
    color: white;
    display: block;
    overflow: hidden;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0 auto;
  }

  #main {
    text-align: center;
    padding: 4px;
  }

  #main_screen {
    display: block;
    background-image:
      radial-gradient(grey,
        black);
    grid-template-rows: 9fr 1fr;
    overflow: hidden;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0 auto;
    justify-content: space-between;
  }

  #main_body {
    padding: 25px;
    border-radius: 35%;
    width: 40vw;
    height: 45vh;
    border: 12px white solid;
    margin: 0 auto;
    position: absolute;
    top: 50vh;
    left: 50vw;
    transform: translate(-50%, -50%);
    text-align: center;
    vertical-align: middle;
  }

  #main h1 {
    font-size: 72px;
  }

  #title {
    text-align: center;
    padding: 4px;
  }

  #title_screen {
    display: none;
    background-image:
      radial-gradient(grey,
        black);
    grid-template-rows: 9fr 1fr;
    overflow: hidden;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0 auto;
  }

  #title_body {
    vertical-align: middle;
  }

  #title h1 {
    font-size: 72px;
  }

  #instructions div {
    text-align: center;
    margin-left: 25%;
    width: 50%;
    margin: 8px auto;
  }

  #instructions ul {
    list-style-type: square;
    text-indent: 5px;
    width: 100%;
  }

  #instructions h2 {
    text-align: center;
    font-size: 2rem;
  }

  #instructions li {
    margin-left: 12%;
    font-size: 14px;
  }

  p {
    font-size: 14px;
  }

  #play_screen h2 {
    font-size: 2.5rem;
    text-align: center;
  }

  #play_screen h5 {
    font-size: 1.5rem;
    text-align: center;
  }

  #menu li {
    width: 70%;
  }

  #play_screen {
    display: none;
    grid-row: 1fr 6fr 1fr;
    min-width: 50%;
    height: 100%;
  }

  main {
    display: grid;
    min-height: 75vh;
    grid-template-columns: 1fr 1fr;
    background-color: black;
  }

  header {
    height: 100%;
    background-image:
      linear-gradient(black,
        grey);
    display: flex;
    align-items: center;
    justify-content: space-around;
  }

  header h2 {
    text-align: center;
  }

  #left,
  #right {
    min-height: 97%;
    max-height: 97%;
    width: 97%;

    margin: auto auto;
    background-image:
      radial-gradient(grey,
        black);
  }

  footer {
    bottom: 0;
    min-height: 10vh;
    background-image:
      linear-gradient(grey,
        black);
  }

  footer div {
    margin-left: 5vw;
    bottom: 3vh;
    left: 10vw;
    right: 10vw;
  }

  #left_box,
  #right_box {
    display: block;
    text-align: center;
    margin-top: 12.5%;
  }

  #left button,
  #right button {
    height: 12vh;
    background-image:
      linear-gradient(silver,
        grey);
    border: 7px solid black;
    border-radius: 5px;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 2.5rem;
    text-align: center;
    margin-top: 12.5%;
  }

  #play {
    height: 12vh;
    background-image:
      linear-gradient(silver,
        grey);
    border: 5px solid black;
    border-radius: 5px;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 2.5rem;
    text-align: center;
  }

  #begin {
    text-align: center;
    padding: 6px;
  }

  #start {
    height: 12vh;
    background-image:
      linear-gradient(silver,
        grey);
    border: 5px solid black;
    border-radius: 5px;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 2.5rem;
    text-align: center;
  }

  #left_line,
  #right_line {
    display: none;
    text-align: center;
    margin-bottom: 12.5%;
    color: black;
  }

  #left_verdict,
  #right_verdict {
    display: none;
    text-align: center;
    margin-bottom: 12.5%;
  }

  #left_response,
  #right_response {
    text-align: center;
    color: black;
    text-transform: uppercase;
  }

  #score_section {
    font-weight: bold;
    top: 0;
    bottom: 0;
  }

}


/*  */
/*  */
/*  */

@media only screen and (min-device-width: 540px) and (max-device-width: 959px) and (orientation: landscape) {

  html,
  body {
    font-family: sans-serif;
    color: white;
    display: block;
    overflow: hidden;
  }

  #main {
    text-align: center;
    padding: 4px;
  }

  #main_screen {
    display: block;
    background-image:
      radial-gradient(grey,
        black);
    grid-template-rows: 9fr 1fr;
    overflow: hidden;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0 auto;
    justify-content: space-between;
  }

  #main_body {
    padding: 25px;
    border-radius: 35%;
    width: 40vw;
    height: 45vh;
    border: 12px white solid;
    margin: 0 auto;
    position: absolute;
    top: 50vh;
    left: 50vw;
    transform: translate(-50%, -50%);
    text-align: center;
    vertical-align: middle;
  }

  #main h1 {
    font-size: 5vh;
  }

  #title {
    text-align: center;
    padding: 4px;
  }

  #title_screen {
    margin: 0 auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 95vw;
    height: 95vh;
    background-image:
      radial-gradient(grey,
        black);
    display: none;
    grid-template-rows: 9fr 1fr;
  }

  #title_body {
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding-left: 15px;
  }

  #title h1 {
    font-size: 5vh;
  }

  #instructions {
    display: block;
    align-content: center;
    margin: 5px auto;
    left: 35%;
    width: 65%;
  }

  #instructions ul {
    list-style-type: square;
    text-indent: 5px;
  }

  #instructions h2 {
    text-align: center;
    font-size: 2.5vh;
  }

  #instructions li {
    text-align: left;
    margin-left: 5%;
    margin: 2px;
    padding: 1px;
    font-size: 1.7vh;
  }

  p {
    font-size: 1.7vh;
  }

  ul {
    margin-left: 0;
  }

  h2 {
    font-size: 5vh;
    text-align: center;
  }

  #play_screen {
    margin: 0 auto;
    width: 95vw;
    height: 95vh;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    grid-row: 1fr 6fr 1fr;
  }

  main {
    display: grid;
    min-height: 75vh;
    grid-template-columns: 1fr 1fr;
    background-color: black;
  }

  header {
    height: 10vh;
    background-image:
      linear-gradient(black,
        grey);
    display: flex;
    align-items: center;
    justify-content: space-around;
  }

  header h2 {
    text-align: center;
  }

  #left,
  #right {
    min-height: 97%;
    max-height: 97%;
    width: 97%;
    margin: auto auto;
    background-image:
      radial-gradient(grey,
        black);
  }

  footer {
    min-height: 10vh;
    background-image:
      linear-gradient(grey,
        black);
  }

  footer div {
    margin-left: 5vw;
    bottom: 3vh;
    left: 10vw;
    right: 10vw;
  }

  #left_box,
  #right_box {
    display: block;
    text-align: center;
    margin-top: 7.5%;
  }

  #left button,
  #right button {
    height: 8%;
    background-image:
      linear-gradient(silver,
        grey);
    border: 5px solid black;
    border-radius: 5px;
    color: white;
    padding: 0 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1.25rem;
    text-align: center;
    margin-top: 7.5%;
  }

  #play {
    height: 12%;
    background-image:
      linear-gradient(silver,
        grey);
    border: 5px solid black;
    border-radius: 5px;
    color: white;
    padding: 0px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    text-align: center;
  }

  #begin {
    padding: 5px;
    text-align: center;
  }

  #start {
    height: 2%;
    background-image:
      linear-gradient(silver,
        grey);
    border: 5px solid black;
    border-radius: 5px;
    color: white;
    padding: 0px 2px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    text-align: center;
  }

  #left_line,
  #right_line {
    display: none;
    text-align: center;
    margin-bottom: 7.5%;
    color: black;
  }

  #left_verdict,
  #right_verdict {
    display: none;
    text-align: center;
    margin-bottom: 7.5%;
  }

  #left_response,
  #right_response {
    text-align: center;
    color: black;
    text-transform: uppercase;
  }

  #score_section {
    font-weight: bold;
    top: 0;
    bottom: 0;
  }
}