@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 0.8;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes glitch {
  0% {
    clip-path: inset(0 0 0 0);
    transform: translate(0);
  }
  5% {
    clip-path: inset(5% 0 30% 0);
    transform: translate(-2px, -2px);
  }
  10% {
    clip-path: inset(20% 0 5% 0);
    transform: translate(2px, 2px);
  }
  15% {
    clip-path: inset(20% 0 20% 0);
    transform: translate(-1px, 1px);
  }
  20% {
    clip-path: inset(10% 0 20% 0);
    transform: translate(1px, -1px);
  }
  25% {
    clip-path: inset(20% 0 5% 0);
    transform: translate(0);
  }
  30% {
    clip-path: inset(0 0 0 0);
    transform: translate(0);
  }
}

body {
  height: 100%;
  font-family: Calluna, Arial, sans-serif;
  text-align: left;
  background: url("background.png"), #05091c;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: #e8ffff;
}

.container {
  max-width: 100%;
  text-align: left;
  background: rgba(0, 1, 49, 0.45);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.navbar {
  background: rgba(0, 1, 49, 0.2);
  color: #003;
  padding: 10px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar a {
  text-decoration: none;
  margin-right: 15px;
}

.navbar a:hover {
  color: #e8ffff;
  text-decoration: underline;
}

.post {
  margin-bottom: 20px;
  padding-left: 1%;
}

h3 {
  text-shadow: -1.5px -1.5px 0 #003, 1.5px -1.5px 0 #003, -1.5px 1.5px 0 #003, 1.5px 1.5px 0 #003;
  text-align: left;
  padding-left: 1%;
  padding-top: 10px;
}

h5 {
  animation: fadeOut 7s linear infinite;
  text-align: left;
  font-size: 1em;
  text-shadow: 1px 1px 2px #003, 0 0 5px #003;
  font-weight: 100;
  padding-left: 1%;
}

.glitchy-gradient {
  font-family: 'Rubik 80s Fade', serif;
  font-size: 4.5rem;
  background: linear-gradient(322deg, #001, #009, #00ff, #006ae4);
  background-size: 300% 300%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 7s ease infinite;
  display: block;
  position: relative;
  text-align: left;
  font-weight: 500;
  padding-left: 1%;
  margin-top: 15px;
  margin-bottom: 15px;
}

.glitchy-gradient::before {
  content: attr(data-text);
  position: absolute;
  color: #000;
  animation: glitch 3s infinite;
  pointer-events: none;
  opacity: 0.3;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
}

.fade-in-text {
  animation: fadeIn 7s;
  background: rgba(0, 21, 58, 0.2);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  display: flex;
  justify-content: left;
  align-items: left;
  flex-direction: column;
  width: 100%;
}

input[type="text"],
textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  box-sizing: border-box;
}

a {
  text-align: left;
  color: #e8ffff;
  text-decoration: none;
}

a:hover {
  text-shadow: 0.5px 0.5px 0 #006;
}

.pagination {
  margin-top: 5%;
  margin-left: 1%;
  padding-bottom: 10px;
}

.pagination a {
  text-align: left;
  text-decoration: none;
  color: #e8ffff;
}

.pagination a:hover {
  text-decoration: underline;
}

form label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #e8ffff;
}

form button {
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #0077cc;
  color: #e8ffff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

form button:hover {
  background-color: #005fa3;
}

@media only screen and (max-width: 900px) {
  body {
    background: url("background.png"), #05091c;
    padding: auto;
  }

  h1 {
    font-size: 3rem;
  }

  h5 {
    font-size: 0.7em;
    margin: auto;
  }

  .fade-in-text {
    padding: auto;
    margin: auto;
  }

  .container {
    padding: auto;
  }
}