@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

header {
  display: flex;
  padding: 0.7em 2em;
  position: fixed;
  width: 100%;
  z-index: 5;
}

@media screen and (min-width: 769px) {
  header {
    background-color: #141E30;
  }
}


.logo img {
  width: 5em;
  height: auto;
}

nav {
  width: 100%;
}

nav ul {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  margin: 0;
  padding: 0 2em;
  height: 100%;
  align-items: center;
}

.nav-link {
  display: block;
  text-align: center;
  width: 8rem;
}

.nav-link a {
  text-decoration: none;
  width: 100%;
  color: rgba(255, 255, 255, 0.773);
}

.nav-link a:hover {
  color: #fff;
  border-bottom: 2px solid;
}

.color-gradient-text {
  background: linear-gradient(235deg, #A500FF, #000, #5AFF00);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.spacer {
  padding: 3em;
}

footer {
  padding: 5px 10px;
  font-size: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: #141E30;
  color: #f2f2f2;
}

footer .communication-channels {
  list-style-type: none;
}

footer .communication-channels a {
  text-decoration: none;
  color: #f2f2f2;
}

bolder {
  font-weight: bolder;
}

/* Mobile CSS */

.mobile {
  display: none;
}

@media screen and (max-width: 768px) {
  header {
    background: none !important;
  }

  .mobile {
    display: block;
  }

  .close-menu {
    display: none;
  }

  .mobile-menu {
    position: fixed;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: row;
    padding: 1em;
    width: 100%;
    justify-content: space-around;
    background-color: #0e141ed6;
    color: #fff;
    z-index: 5;
  }

  .open-menu button,
  .close-menu button {
    margin: 0;
    padding: 0;
    outline: none;
    border: none;
    background: none;
    color: #fff;
  }


  .mobile-menu>span,
  .mobile-menu div a {
    color: #fff;
  }

  nav {
    background-color: #000000;
    position: fixed;
    height: 100vh;
    width: 100%;
    top: 0;
    right: 0;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
  }

  nav ul {
    padding: 2em 0;
    flex-direction: column;
    justify-content: start;
  }

  nav .nav-link {
    padding: 1em 0;
    border-bottom: 1px solid gray;
    width: 100%;
  }

  .open {
    transform: translateX(0%);
  }

  footer {
    flex-direction: column;
    padding-bottom: 60px;
  }
}