@import url('https://fonts.cdnfonts.com/css/inter');

:root {
  --favcolor1: skyblue;
  --favcolor2: deepskyblue;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

html {
  background-color: var(--favcolor1);
  background-attachment: fixed;
}

body,
html {
  align-items: center;
  align-content: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100vh;
}

body {
  background: transparent;
  color: white;
  overflow-y: scroll;
}

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

  100% {
    opacity: 1;
  }
}

p {
  font-size: 12px;
  margin: 0;
  padding: 2px;
}

p,
h1 {
  animation: slideLeft 1s ease;
}

i {
  padding: 5px;
}

pre {
  text-align: left;
  color: white;
  padding: 10px;
  border-radius: 10px;
  font-size: 11px;
  border: solid 1px rgba(255, 255, 255, 0.2);
}

code {
  padding: 0;
  margin: 0;
}

h1 {
  font-size: 18px;
  font-weight: 800;
  padding: 0;
  margin: 0;
}

ul {
  text-align: left;
  animation: slideLeft 1s ease;
}

.p-top {
  margin-top: 10px;
}

.container {
  width: 90%;
  height: auto;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.2);
  color: white;
  border-radius: 10px;
  border: solid 1px rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  box-sizing: border-box;
  padding: 10px;
  margin-top: 10px;
  margin: 10px auto;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: solid 1px rgba(255, 255, 255, 0.2);
  margin-left: -10px;
  margin-right: -10px;
}

.img {
  margin: 3px;
  border: solid 1px rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
  border-radius: 100px;
}

.button1 {
  width: 90%;
  height: auto;
  color: white;
  background: transparent;
  border-radius: 10px;
  border: solid 1px rgba(255, 255, 255, 0.2);
  box-sizing: border-box;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin: auto;
  margin-top: 10px;
  margin-left: 10px;
  margin-right: 10px;
  padding: 10px;
  font-size: 13px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, letter-spacing 500ms ease, text-shadow 300ms ease, color 300ms ease, font-weight 300ms ease, outline-offset 300ms ease-in-out, outline-width 300ms ease-in-out;
  overflow: hidden;
  will-change: transform;
  animation: slideIn 1s ease;
}

.button1:hover,
.button1:focus {
  background-color: white;
  color: var(--favcolor2);
  font-weight: 800;
  letter-spacing: 3px;
  outline: none;
}

.button1:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px white;
}

.button1::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--favcolor2), transparent);
  transition: transform 0.5s ease;
  will-change: transform;
}

.button1:hover::before {
  transform: translateX(200%);
}

@keyframes slideIn {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideLeft {
  from {
    transform: translateX(-10px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--favcolor2), transparent 70%);
  will-change: transform;
  transform-origin: center center;
}

@keyframes circle1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(100px, 100px) scale(1.1);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes circle2 {
  0% {
    transform: translate(0, 0) scale(0.9);
  }

  50% {
    transform: translate(-100px, 100px) scale(1);
  }

  100% {
    transform: translate(0, 0) scale(0.9);
  }
}

@keyframes circle3 {
  0% {
    transform: translate(0, 0) scale(1.1);
  }

  50% {
    transform: translate(50px, -100px) scale(1);
  }

  100% {
    transform: translate(0, 0) scale(1.1);
  }
}

@keyframes circle4 {
  0% {
    transform: translate(0, 0) scale(0.8);
  }

  50% {
    transform: translate(-50px, -50px) scale(1);
  }

  100% {
    transform: translate(0, 0) scale(0.8);
  }
}

.circle:nth-child(1) {
  width: 600px;
  height: 600px;
  top: -100px;
  left: -100px;
  animation: circle1 20s infinite ease-in-out;
}

.circle:nth-child(2) {
  width: 500px;
  height: 500px;
  bottom: -100px;
  right: -100px;
  animation: circle2 25s infinite ease-in-out;
}

.circle:nth-child(3) {
  width: 400px;
  height: 400px;
  top: 50%;
  left: 60%;
  animation: circle3 22s infinite ease-in-out;
}

.circle:nth-child(4) {
  width: 300px;
  height: 300px;
  top: 30%;
  left: 20%;
  animation: circle4 28s infinite ease-in-out;
}

.floating {
  animation: floating 3s ease-in-out infinite;
  will-change: transform;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  will-change: transform, opacity;
}

@keyframes particleFloat {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    transform: translate(var(--moveX), var(--moveY));
    opacity: 0;
  }
}
