@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Comfortaa:wght@300..700&family=Press+Start+2P&family=Story+Script&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  padding: 2rem;
  background: #ffffff;
  color: #111111;
}

@property --angle{
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

@keyframes rotate-gradient {
  from {
    --angle: 0deg;
  }
  to {
    --angle: 360deg;
  }
}

.header {
    display: flex;
    position: relative;
    padding: 25px 8px;
    width: fit-content;
    height: 50px;
    box-sizing: border-box;
    border-radius: 18px;
    background-image: linear-gradient(Var(--angle),white, #E7E7E7);
    overflow: hidden;
    margin: 0 auto;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    animation: rotate-gradient 3s linear infinite;
}

.header a{
    font-family: "Comfortaa", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    color: #333333;
    font-size: 18px;
    font-weight: 500;
    width: fit-content;
    background-color: white;
    border-radius: 12px;
    padding: 0px 10px;
    height: 40px;
    align-content: center;
    box-sizing: content-box;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4.5px);
    -webkit-backdrop-filter: blur(4.5px);
    border: 1px solid rgba(255, 255, 255, 0.58);
}

.header a.active {
    font-weight: 700;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
}

.header a:hover{
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
