@media screen and (min-width: 0px) {
  header {
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 1rem 0;
    position: fixed;
    z-index: 5;
  }
  .scroll-background {
    background-color: var(--blue-color-1);
  }
  #header-menu {
    width: 90vw;
    max-width: 1700px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  #header-menu ul {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: fixed;
    margin-top: 29rem;

    background-color: var(--blue-color-1);
    border: var(--blue-color-2) solid 1px;
    border-radius: var(--border-radius-1);
    padding: 2rem 4rem 2rem 2rem;
    margin-left: 1rem;
    gap: 1rem;
    transition: animation 0.5s ease;
    animation: opening ease-in-out 0.5s;
    background-image: url('/img/svg/blur-background.svg');
    background-position: top -4rem left -7rem;
    background-size: 12rem;
    background-repeat: no-repeat;
    border-bottom: var(--blue-color-2) solid 3px;
  }
  @keyframes opening {
    from {
      opacity: 0;
      margin-left: 2rem;
    }

    to {
        opacity: 1;
        margin-left: 1rem;
    }
}

#header-menu ul li > a {
    font-size: 0.9rem;
}
#header-menu ul li button a {
    font-size: 0.9rem;
}
  #header-menu .list-btn {
    display: none;
  }
  #header-menu .button-burger {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    gap: 1rem;
  }
  #header-menu .button-burger button a {
    font-size: 0.9rem;
  }
  #header-menu .burger-toggle {
    width: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 0.5rem;
    cursor: pointer;
  }
  #header-menu .burger-toggle span {
    background-color: var(--white-color-1);
    width: 100%;
    height: 2px;
  }
  #header-menu .navmovil-event {
    display: flex;
  }
}
@media screen and (min-width: 0px) and (max-width: 450px) {
  #header-menu .button-burger button {
    display: none;
  }
  #header-menu .list-btn {
    display: flex;
  }
}
@media screen and (min-width: 900px) {
  #header-menu ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: inherit;
    margin: 0;
    background-color: transparent;
    background-image: none;
    border: none;

    gap: 1rem;
  }
  #header-menu .button-burger {
      display: none;
    }
    #header-menu .list-btn {
        display: flex;
    }
}
@media screen and (min-width: 1040px) {
  #header-menu ul li a {
    font-size: 1rem;
  }
}
