@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
* {
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background: #000;
}

.nav-bar {
  display: flex;
  padding: 2% 4%;
}
.nav-logo img {
  width: 135px;
}

.nav-links {
  flex: 1;
  text-align: right;
}

.nav-links ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 12px;
}
.nav-links ul a {
  color: #ffea00;
  text-decoration: none;
  font-size: 18px;
  text-transform: uppercase;
}

.hero {
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  position: absolute;
}

h1 {
  font-size: 60px;
  color: transparent;
  -webkit-text-stroke: 1px #ffea00;
  background: url(img/back.png);
  -webkit-background-clip: text;
  background-position: 0 0;
  animation: back 20s linear infinite;
  margin-bottom: 4%;
}

@keyframes back {
  100% {
    background-position: 2000px 0;
  }
}

.btn {
  width: 160px;
  height: 50px;
  border: 1px solid#ffea00;
  color: #ffea00;
  margin: auto;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn p {
  font-size: 20px;
  padding-top: 12px;
  font-weight: bold;
  transition: 1s;
}
span {
  width: 80px;
  height: 80px;
  top: 80px;
  position: absolute;
  background: #ffea00;
  border-radius: 50%;
  z-index: -1;
  transition: 0.7s;
}

span:nth-child(1) {
  left: -20px;
  transition-delay: .1s;
}
span:nth-child(2) {
  left: 30px;
  transition-delay: .3s;
}
span:nth-child(3) {
  left: 80px;
  transition-delay: .5s;
}
span:nth-child(4) {
  left: 125px;
  transition-delay: .7s;
}
.btn:hover span {
  top: -10px;
}

.btn:hover p{
  color: #000;
  transition-delay: 0.5s;
}

.menu-icon{
  width: 26px;
  display: none;
}

@media (max-width: 700px){
  .hero h1{
    font-size: 26px;
    margin-bottom: 10%;
  }
  .nav-links ul li{
    display: block;
  }
  .nav-links ul{
    padding: 20px 5px;
  }
  .nav-links{
    margin-top: 30px;
  }
  .nav-logo{
    margin-top: 10px;
    margin-left: 10px;
  }
  .menu-icon{
    display: block;
    top:20px;
    right: 35px;
    position: absolute;
    cursor: pointer;
  }
  .nav-links{
    height: 0;
    overflow: hidden;
  }
}

