#header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  padding: 40px 20px;
  background-color: #EDF4FB;
}
#header .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

#header .menu__nav  {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: var(--color-ice);
  display: grid;
  align-items: flex-start;
  justify-content: center;
  grid-template-columns: 1fr 1fr;
  padding: 117px 20px 0 20px;
}
.header__logo {
  z-index: 2;
}
.header__button {
  position: absolute;
  top:40px;
  right: 20px;
  z-index: 2;
  background: transparent;
  border: none;
  cursor: pointer;
}

.gradient__detail {
  position: absolute;
  width: 55%;
  height: 115px;
  right: 0;
  margin: 0 auto;
  left: 0;
  top: -175%;
  pointer-events: none;
  border-radius: 120px 20px;
  box-shadow: #27bcf3 20px 250px 300px;
  transform: rotate(4deg) translateY(-175%) translateZ(0px);
  transition: opacity 1.5s cubic-bezier(0.17, 0.17, 0, 1) 0s;
}

.nav__menu__item {
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  font-family: var(--font-family-inter);
  margin: 6px 0;
  padding: 6px 6px 6px 0;
  text-align: left;
}

.nav__menu__item--active {
  font-weight: 700;
  font-family: var(--font-family-montserrat);
  color: var(--color-expande-blue);
}

#header__actions {
  position: fixed;
  right: 0;
  display: flex;
  width: 100%;
  bottom: 20%;
  flex-direction: column;
  margin: 0 auto;
  padding: 0 20px;
  opacity: 1;
}

#header__actions .btn__client {
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  text-decoration-line: underline;
  color: var(--color-expande-blue);
  margin: 0 0 15px 0;
  text-align: center;
}

#header__actions .btn__contact {
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  border: 1px solid;
  border-radius: 24px;
  padding: 12px 16px;
  text-align: center;
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
  transition: all ease .2s;
}

#header__actions .btn__contact:hover {
  color: var(--color-ice);
  background-color: var(--color-dark-blue);
}

@media screen and (min-width: 1024px) { 
  .gradient__detail {
    right: -50%;
    top: -250%;
    width: 20%;
    height: 103px;
  }

  .header__logo {
    width: 127px;
    height: 100%;
  }

  .header__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  #header__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: initial;
    flex-direction: row;
    right: 0;
    padding: 0;
  }

  #header {
    display: block;
    padding: 30px 20px;
  }

  #header .container {
    display: grid;
    grid-template-columns: auto 1fr 330px;
    align-items: center;
  }

  #header .menu__nav {
    display: flex;
    position: relative;
    width: auto;
    height: auto;
    justify-self: center;
    background: none;
    padding: 0;
  }

  #header .menu__nav ul {
    display: flex;
  }

  .header__button {
    display: none;
  }

  .nav__menu__item {
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    margin-right: 32px;
  }

  .nav__menu__item:last-child{
    margin-right: 0;
  }

  #header__actions .btn__client{
    margin: 0 5px 0 0; 
  }

  #header__actions .btn__contact {
    width: initial;
    margin-right: 0;
  }
}
