@font-face {
  font-family: 'Fredoka';
  src: url('Fredoka.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Fredoka';
  src: url('Fredoka.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

body {
  background-color: #0c0d0e;
  color: #fff;
  padding: 0;
  margin: 0;
  font-family: 'Fredoka', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100vh;
}

body * {
  padding: 0;
  margin: 0;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  opacity: 1;
  transition: 0.3s opacity;
}

.container.loading {
  opacity: 0;
}

.container h1 {
  font-weight: bold;
  font-size: 70px;
}

.container .ip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15px;
  min-width: 300px;
  background-color: #1a1a1a;
  border-radius: 999px;
  border: 2px #999 solid;
  cursor: pointer;
  transition: 0.2s background-color;
}

.container .ip:hover {
  background-color: #2a2a2a;
}

.container .ip .ip-text {
  font-size: 20px;
}

.online {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5px 10px;
  margin: 5px;
  font-size: 17px;
  gap: 5px;
}

.online .status {
  width: 12px;
  height: 12px;
  background-color: #fff;
  border-radius: 50%;
  animation: pulse 3s infinite;
}

.online .status.success {
  background-color: #078825;
}

.online .status.error {
  background-color: #c40707;
}

.discord {
  color: #fff;
  font-size: 17px;
}

@keyframes pulse {
  0% { 
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

@media screen and (orientation: portrait) and ((pointer:none) or (pointer:coarse)) {
  .container h1 {
    font-size: 150px;
  }

  .container .ip .ip-text {
    font-size: 60px;
  }

  .container .ip {
    padding: 15px 30px;
    min-width: 500px;
    border: 10px #999 solid;
  }

  .online {
    font-size: 50px;
    gap: 15px
  }

  .discord {
    font-size: 50px;
  }

  .online .status {
    width: 30px;
    height: 30px;
  }
}