
body {
  background-color: black;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;          
}

header {
  width: 100%;
  background-color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0;
  box-sizing: border-box;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

h1 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border: 2px solid white;
  padding: 20px 22px;
  border-radius: 15px;
  font-weight: bold;
  font-size: 30px;
  color: white;
  
  background: linear-gradient(90deg, red, orange, yellow, lime, cyan, blue, magenta, red);
  background-size: 400% 400%;
  animation: rgbBackground 6s linear infinite;

  box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
  font-family: "Aldrich";
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 0;
  width: 100%;
  box-sizing: border-box;
}

h1:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

@keyframes rgbBackground {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

nav a {
  border: 2px solid white;
  font-family: "Pixelify Sans", sans-serif;
  text-decoration: none;
  color: white;
  padding: 11px 12px;
  border-radius: 15px;
  font-weight: bold;
  background-color: black;
  font-size: 15px;
  box-shadow: 0 0 8px rgba(218, 100, 100, 0.1);
  transition: transform 0.2s, background 0.2s;
}

nav a:hover {
  text-decoration: underline;
  transform: translateY(-2px);
}

h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border: 2px solid white;
  padding: 20px 22px;
  border-radius: 15px;
  font-weight: bold;
  font-size: 15px;
  color: white;
  background-color: black;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  font-family: "Pixelify Sans";
  transition: transform 0.2s, background 0.2s;

  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
h3:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(231, 227, 227, 0.25);
}

p {
  color: white;
}
.rainbow-mode{
    animation: rainbow 5s linear infinite;
}

@keyframes rainbow{
    0%{background:#ff0000;}
    16%{background:#ff8000;}
    33%{background:#ffff00;}
    50%{background:#00ff00;}
    66%{background:#00bfff;}
    83%{background:#8a2be2;}
    100%{background:#ff0000;}
}
.features {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 20px;
  flex-wrap: wrap;
}

.feature-card {
  border: 2px solid white;
  border-radius: 15px;
  padding: 20px;
  background-color: black;
  width: 250px;
  text-align: center;
  font-family: "Pixelify Sans", sans-serif;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 12px rgba(231, 227, 227, 0.25);
}

.feature-card h4 {
  color: white;
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-button {
  border: 2px solid white;
  font-family: "Pixelify Sans", sans-serif;
  text-decoration: none;
  color: white;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: bold;
  background-color: black;
  font-size: 14px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.15);
  transition: transform 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
  display: inline-block;
}

.footer-button:hover {
  transform: translateY(-2px);
  background-color: white;
  color: black;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
  text-decoration: none;
}
.computer-image {
  display: block;
  width: 80%;
  max-width: 700px;
  height: auto;
  margin: 40px auto;
  border-radius: 20px;
  border: 3px solid white;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.computer-image:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(0, 255, 255, 0.6);
}
.computer-image {
  display: block;
  width: 80%;
  max-width: 700px;
  height: auto;
  margin: 40px auto;
  border-radius: 20px;
  border: 3px solid white;
  animation: glow 4s linear infinite;
  transition: transform 0.3s ease;
}

.computer-image:hover {
  transform: scale(1.05);
}

@keyframes glow {
  0% {
    box-shadow: 0 0 15px red;
  }
  20% {
    box-shadow: 0 0 15px orange;
  }
  40% {
    box-shadow: 0 0 15px yellow;
  }
  60% {
    box-shadow: 0 0 15px lime;
  }
  80% {
    box-shadow: 0 0 15px cyan;
  }
  100% {
    box-shadow: 0 0 15px magenta;
  }
}
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.computer-image {
    animation: float 5s ease-in-out infinite;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main {
    animation: fadeUp 0.8s ease;
}
@keyframes glow {

    0% {
        box-shadow: 0 0 8px rgba(255,255,255,.1);
    }

    50% {
        box-shadow: 0 0 20px rgba(0,255,255,.4);
    }

    100% {
        box-shadow: 0 0 8px rgba(255,255,255,.1);
    }

}

.feature-card,
.budget-card,
.result-card{
    animation: glow 4s infinite;
}
@keyframes pulse {

    0%{
        transform: scale(1);
    }

    50%{
        transform: scale(1.05);
    }

    100%{
        transform: scale(1);
    }

}

.buy-btn:hover,
.mybutton.selected{
    animation: pulse .7s infinite;
}
@keyframes rainbowBorder {

    0%{
        border-color:red;
    }

    16%{
        border-color:orange;
    }

    33%{
        border-color:yellow;
    }

    50%{
        border-color:lime;
    }

    66%{
        border-color:cyan;
    }

    83%{
        border-color:blue;
    }

    100%{
        border-color:magenta;
    }

}

h1{
    animation:
    rgbBackground 6s linear infinite,
    rainbowBorder 6s linear infinite;
}
.feature-card,
.budget-card,
.result-card{

    opacity:0;
    animation:fadeUp .8s forwards;

}

.feature-card:nth-child(1){
    animation-delay:.2s;
}

.feature-card:nth-child(2){
    animation-delay:.4s;
}

.feature-card:nth-child(3){
    animation-delay:.6s;
}
@keyframes backgroundMove{

    0%{
        background-position:0% 50%;
    }

    50%{
        background-position:100% 50%;
    }

    100%{
        background-position:0% 50%;
    }

}

body{

    background:
    linear-gradient(-45deg,#000,#111,#080808,#000);

    background-size:400% 400%;

    animation:backgroundMove 20s ease infinite;
}