*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

img, a, button{
    -webkit-tap-highlight-color: transparent;
}
img:focus{
    outline: none;
}

.header{
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    gap: 45px;

    background: rgba(11, 17, 32, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(76, 201, 240, 0.08);
    border-radius: 100px;
    z-index: 999;
}
.header h1{
    font-family: "Barlow Condensed";
    font-weight: 400;
    color: white;
    font-size: 23px;
    white-space: nowrap;
}

.header .nav{
    white-space: nowrap;
}
.header .nav a{
    text-decoration: none;
    font-family: "IBM Plex Sans";
    font-weight: 500;
    color: #235edd;
    margin-right: 15px;
}
.header .nav a:hover{
    color: #3172ff;
}

.linea {
  position: relative;
  width: 100%;
  height: 2px;
  background-color: #0B1120;
  overflow: hidden; 
}

.linea::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 40%;
  height: 100%;
  

  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0) 0%,   
    rgba(59, 130, 246, 0.8) 50%,
    rgba(59, 130, 246, 0) 100%
  );
  

  filter: blur(2px); 
  
  animation: slide-glow 3s linear infinite;
}

footer{
    height: 80px;
    background-color: #0D1726;
    display: flex;
    justify-content: center;
    align-items: center;
}
footer p{
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    font-family: "Open Sans", sans-serif;
}

@keyframes slide-glow {
  0% {
    left: -50%;
  }
  100% {
    left: 100%;
  }
}

@media (max-width: 768px){
    .header .nav{
        display: none;
    }
    .header h1{
        font-size: 20px;
    }
}