
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;
}
main{
text-align: center;
flex: 1;
}
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;}
}
ul{
    color: white;
}
h2{
    color: white;
}
.achievements-section{
      display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 20px;
  flex-wrap: wrap;
  flex: 1;
  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: 30px;
  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;
}
body{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
footer{

    margin-top:60px;
    padding:20px;

    text-align:center;

    background:#111;
    font-family: "Pixelify Sans";

    border-top:3px solid white;

}