*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

body {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

body {
  background-color: #000000;
  overflow-y: scroll;
  overscroll-behavior: none;
  overflow: hidden;
}

@media (max-width: 800px) {
  /* MOBILE version */

  #moreSpace {
    color: white;
    width: 100vw;
    height: 200dvh;
    background-color: #000000;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .space {
    display: none;
  }

  #mainScreen {
    display: grid;
    grid-template-columns: 49.5vw 49.5vw;
    grid-template-rows: repeat(12, 50vw);
  }

  .coinSide img {
    width: 50vw;
  }

  .coinSide {
    transition: opacity 0.5s ease-in-out;
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  #textBox {
    display: grid;
    grid-template-columns: 100vw;
    grid-template-rows: 1fr 1fr 1fr;
    /* background-color:red; */

    width: 100vw;
    height: 45dvh;

    position: relative;
  }

  #theFish {
    width: 50vw;
    margin-bottom: 5vh;
    animation: fishSun 3s infinite;
  }

  @keyframes fishSun {
    100% {
      transform: rotate(1turn);
    }
  }

  #progressContainer {
    width: 80%;
    height: 10px;
    background: gray;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 10px;
  }
  #progressBar {
    width: 0%;
    height: 100%;
    background: silver;
    transition: width 0.1s linear;
  }

  #loaderPage {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #000000;
    color: white;
    font-family: Arial, sans-serif;
    z-index: 999;
  }

  #englishTxt {
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5dvh;
    /* border-bottom: 3px solid rgb(255, 255, 255); */
    text-align: center;
    padding: 9px;
    margin: 3px;
    font-family: sans-serif;
    margin-top: 2dvh;
    margin-bottom: 3dvh;
  }

  #latinTxt {
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5.5dvh;
    /* border-bottom: 3px solid rgb(255, 255, 255); */
    text-align: center;
    padding: 5px;
    font-family: sans-serif;
    margin-bottom: 1vh;
  }

  #originalTxt {
    margin-top: 5dvh;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 7vh;
  }

  #zedaShuala {
    color: white;
    display: none;
    top: 0;
    left: 0;
    position: fixed;
    width: 100vw;
    height: 60dvh;
    background-color: transparent;
    /* opacity: 0.5; */
    z-index: 100;
    position: fixed;
  }

  #qvedaShuala {
    display: none;
    top: 60dvh;
    left: 0;
    position: fixed;
    width: 100vw;
    height: 40dvh;
    background-color: transparent;
    /* opacity: 0.5; */
    z-index: 100;
    position: fixed;
  }
}

@media (min-width: 800px) and (max-width: 1400px) {
  /* Laptop version */

  #mainScreen {
    display: grid;
    grid-template-columns: 1.5vw 15vw 15vw 3vw 15vw 15vw 3vw 15vw 15vw 1.5vw;
    grid-template-rows: repeat(4, auto);
  }

  .coinSide img {
    width: 100%;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  .coinSide img:hover {
    transform: scale(1.05);
  }

  .coinSide {
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  #zedaShuala {
    display: none;
    top: 0;
    left: 0;
    position: fixed;
    width: 100vw;
    height: 65vh;
    background-color: transparent;

    z-index: 100;
  }

  #qvedaShuala {
    display: none;
    top: 65vh;
    left: 0;
    position: fixed;
    width: 100vw;
    height: 35vh;
    background-color: transparent;

    z-index: 100;
  }

  #textBox {
    display: grid;
    grid-template-columns: 100vw;
    grid-template-rows: 1fr 1fr 1fr;
    /* background-color:red; */

    width: 100vw;
    height: 45vh;
    margin-top: 3vh;
    position: relative;
  }

  #theFish {
    width: 15vw;
    margin-bottom: 5vh;
    animation: fishSun 3s infinite;
  }

  @keyframes fishSun {
    100% {
      transform: rotate(1turn);
    }
  }

  #progressContainer {
    width: 80%;
    height: 10px;
    background: gray;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 10px;
  }
  #progressBar {
    width: 0%;
    height: 100%;
    background: silver;
    transition: width 0.1s linear;
  }

  #loaderPage {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #000000;
    color: white;
    font-family: Arial, sans-serif;
    z-index: 999;
  }

  #englishTxt {
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.8em;
    /* border-bottom: 3px solid rgb(255, 255, 255); */
    text-align: center;
    padding: 9px;
    margin: 3px;
    font-family: sans-serif;
    margin-top: 0dvh;
    margin-bottom: 3dvh;
  }

  #latinTxt {
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.8em;
    /* border-bottom: 3px solid rgb(255, 255, 255); */
    text-align: center;
    padding: 5px;
    font-family: sans-serif;
    margin-bottom: 3dvh;
  }

  #originalTxt {
    margin-top: 23px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3.5em;
  }

  #moreSpace {
    display: none;
  }
}

@media (min-width: 1400px) {
  /* PC version */

  #mainScreen {
    display: grid;
    grid-template-columns: 1.5vw 15vw 15vw 3vw 15vw 15vw 3vw 15vw 15vw 1.5vw;
    grid-template-rows: repeat(4, auto);
  }

  .coinSide img {
    width: 100%;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  .coinSide img:hover {
    transform: scale(1.05);
  }

  .coinSide {
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  #zedaShuala {
    display: none;
    top: 0;
    left: 0;
    position: fixed;
    width: 100vw;
    height: 65vh;
    background-color: transparent;

    z-index: 100;
  }

  #qvedaShuala {
    display: none;
    top: 65vh;
    left: 0;
    position: fixed;
    width: 100vw;
    height: 35vh;
    background-color: transparent;

    z-index: 100;
  }

  #textBox {
    display: grid;
    grid-template-columns: 100vw;
    grid-template-rows: 1fr 1fr 1fr;
    /* background-color:red; */

    width: 100vw;
    height: 45vh;
    margin-top: 3vh;
    position: relative;
  }

  #theFish {
    width: 15vw;
    margin-bottom: 5vh;
    animation: fishSun 3s infinite;
  }

  @keyframes fishSun {
    100% {
      transform: rotate(1turn);
    }
  }

  #progressContainer {
    width: 80%;
    height: 10px;
    background: gray;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 10px;
  }
  #progressBar {
    width: 0%;
    height: 100%;
    background: silver;
    transition: width 0.1s linear;
  }

  #loaderPage {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #000000;
    color: white;
    font-family: Arial, sans-serif;
    z-index: 999;
  }

  #englishTxt {
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4em;
    /* border-bottom: 3px solid rgb(255, 255, 255); */
    text-align: center;
    padding: 9px;
    margin: 3px;
    font-family: sans-serif;
    margin-top: 0dvh;
    margin-bottom: 5dvh;
  }

  #latinTxt {
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4em;
    /* border-bottom: 3px solid rgb(255, 255, 255); */
    text-align: center;
    padding: 5px;
    font-family: sans-serif;
    margin-bottom: 3dvh;
  }

  #originalTxt {
    margin-top: 23px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 6em;
  }

  #moreSpace {
    display: none;
  }
}
