:root {
  --dark-Blue: hsl(233, 26%, 24%);
  --lime-Green: hsl(136, 65%, 51%);
  --bright-Cyan: hsl(192, 70%, 51%);

  --grayish-Blue: hsl(233, 8%, 62%);
  --light-Grayish-Blue: hsl(220, 16%, 96%);
  --very-Light-Gray: hsl(0, 0%, 98%);
  --white: hsl(0, 0%, 100%);
}

* {
  box-sizing: border-box;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.f-col {
  display: flex;
  flex-direction: column;
}
.f-row {
  display: flex;
  flex-direction: row;
}

.f-center {
  justify-content: center;
  align-items: center;
}

.header {
  justify-content: space-around;
  padding: 0.5rem 2rem;
  background: var(--white);
  position: relative;
  height: 70px;
  border-bottom: 1px #000 solid;
}

.gap-md {
  gap:2rem;
  margin-top: 0.5rem;
}

.gap-lg {
  gap:4rem;
}

.nav__bar a {
  font-size: 1.1rem;
  color: #000000;
  padding: 0.5rem 0;
  font-weight: 500;
}
.nav__bar a:hover {
  color: #B84CFF;
  border-bottom: 3px #B84CFF solid;
}

.nav__btn-req {
  background: #43cea2;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #185a9d, #43cea2);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #185a9d, #43cea2); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  padding: 12px 34px;
  color: var(--white);
  font-weight: 500;
  letter-spacing: 1px;
  font-size: 1rem;
  color: #FFFFFF;
  border-radius: 20px;
  margin-top: 30px;
}
.nav__btn-req:hover {
  color: #FFFFFF;
  background: #43cea2;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to left, #185a9d, #43cea2);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to left, #185a9d, #43cea2); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.nav__checkbox {
  display: none;
}

.nav__checkbox:checked ~ .nav {
  display: block;
}
.nav__btn-toggle {
  order: 1;
  text-align: center;
  margin-top: 2rem;
  display: none;
}

.nav__icon {
  position: relative;
}

.nav__icon,
.nav__icon::before,
.nav__icon::after {
  width: 3rem;
  height: 3px;
  background: var(--dark-Blue);
  display: inline-block;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.nav__icon::before,
.nav__icon::after {
  content: "";
  position: absolute;
  left: 0;
  transform-origin: top;
}

.nav__icon::before {
  top: -0.8rem;
}
.nav__icon::after {
  top: 0.8rem;
}

.nav__checkbox:checked + .nav__btn-toggle .nav__icon {
  background-color: transparent;
}

.nav__checkbox:checked + .nav__btn-toggle .nav__icon::before {
  top: 0;
  transform: rotate(135deg);
}

.nav__checkbox:checked + .nav__btn-toggle .nav__icon::after {
  top: 0;
  transform: rotate(-135deg);
}

/***************** MEDIA QUERIES **************************/

@media screen and (max-width: 768px) {
  .header {
    height: 70px;
  }

  .nav__btn-req {
    display: none;
  }
  .nav {
    display: none;
  }
  .nav__btn-toggle {
    display: inline-block;
  }
  .nav .nav__bar-mobile {
    background: #9e8cff;
    flex-direction: column;
    position: absolute;
    top: 3.8rem;
    right: 0%;
    padding: 3rem 6rem;
    width: 100%;
    text-align: center;
    margin-left: 2rem;
    color: #ffffff;

  }

  .nav a {
    color: #ffffff;
     font-size: 1.2rem;
  }

  .nav__bar a:hover {
    color: #ffffff;
    border: none;
  }
}
