@import url("https://fonts.googleapis.com/css2?family=Licorice&family=Nothing+You+Could+Do&family=Quicksand:wght@300;400;500;600;700&family=The+Nautigal&family=Waterfall&display=swap");
@font-face {
  font-family: aqua;
  src: url(aqua.ttf);
}

* {
  font-family: "Quicksand", sans-serif;
  overflow-x: hidden !important;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  background-color: #55205a;
  background-image: url(assets/sky2.png);
  background-size: cover;
}

.container {
  display: flex;
  justify-content: center;
}

h1,
p {
  z-index: 2;
  text-align: center;
  position: relative;
}

h1 {
  text-transform: uppercase;
  animation: birgir 6s ease-in-out infinite;
  font-family: aqua;
  font-size: 4rem;
  margin: 15px;
  color: transparent;
  background: -webkit-linear-gradient(right, #fc9b2d, #cc186b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 8px transparent;
  }

  h3 {
    color: #fc9b2d;
  }

p {
  font-size: large;
  margin: 0;
  color: #ff9cee;
  font-weight: 700;
 }

.game {
  overflow: hidden;
  border-radius: 25px;
  border: 10px solid #330d32;
  width: 800px;
  height: 600px;
  z-index: 10;
  position: fixed;
  left: 12%;
  margin: 15px;
  background: radial-gradient(
        circle at 100% 100%,
        transparent 0,
        transparent 15px,
        transparent 15px
      )
      0% 0%/25px 25px no-repeat,
    radial-gradient(
        circle at 0 100%,
        transparent 0,
        transparent 15px,
        transparent 15px
      )
      100% 0%/25px 25px no-repeat,
    radial-gradient(
        circle at 100% 0,
        transparent 0,
        transparent 15px,
        transparent 15px
      )
      0% 100%/25px 25px no-repeat,
    radial-gradient(
        circle at 0 0,
        transparent 0,
        transparent 15px,
        transparent 15px
      )
      100% 100%/25px 25px no-repeat,
    linear-gradient(transparent, transparent) 50% 50% / calc(100% - 20px)
      calc(100% - 50px) no-repeat,
    linear-gradient(transparent, transparent) 50% 50% / calc(100% - 50px)
      calc(100% - 20px) no-repeat,
    linear-gradient(0deg, #fc9b2d 0%, #cc186b 100%);
  padding: 0;
  box-sizing: border-box;
}

.illu img {
  z-index: 0;
  max-height: 1000px;
  position: fixed;
  top: -5%;
  right: 0;
  padding-top: 20px;
}

footer {
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px;
  z-index: 50;
}

footer a {
  text-decoration: none;
  color: #fc9b2d;
  font-weight: 700;
}

#orientationWarning {
  display: none;
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 20px);
  margin-top: 15px;
  padding: 10px 18px;
  background-color: #330d32ad;
  border-radius: 12px;
  font-size: 15px;
  text-align: center;
  z-index: 9999;
  pointer-events: none;
  box-sizing: border-box;
}

#orientationWarning h1,
#orientationWarning p,
#orientationWarning img {
  display: none;
}

#orientationWarning h3 {
  margin: 0;
  color: #ff9cee;
  font-weight: 600;
}

@media screen and (orientation:portrait) {
  body {
    background-image: url(assets/sky3.webp);
    background-size: cover;
    background-repeat: no-repeat;
  }

  .game {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
  }

.illu img, footer {
    display: none;
    visibility: hidden;
  }

  .about {
    opacity: 70%;
  }

  .about p {
     display: none;
    visibility: hidden;
  }

  p {
    color: #cc186b;
  }
 }

@media only screen and (orientation: landscape) and (pointer: coarse) {

  body {
    margin: 0;
    background-image: url(assets/sky3.webp);
    background-size: cover;
    background-repeat: no-repeat;
  }

  .game {
    position: fixed;
    top: 1;
    left: 0;
    width: 100%;
    height: 87%;
    margin: auto;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    border: 0px solid;
  }

 footer {
    display: none;
    visibility: hidden;
  }

  .about h1 {
    font-size: 35px;
    margin-bottom: 0;
    margin-top: 5px;
  }

  .about p {
    font-size: 10px;
    margin-bottom: 5px;
  }

  .illu img {
    margin-right: -350px;
    margin-top: -100px;
  }
}

@media (pointer: fine) and (max-height: 820px) {
  .about, .illu img {
    display: none;
    visibility: hidden;
  }

  .game {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
  }
}


@keyframes birgir {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}
