* {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

h1 {
  font-size: 36px;
  font-weight: 600;
}

a {
  text-decoration: none;
  color: #555;
}

p {
  color: #777;
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;
}

#preloader {
  background: #000 url(../images/preloader.gif) no-repeat center center;
  background-size: 15%;
  height: 100vh;
  width: 100%;
  position: fixed;
  z-index: 100;
}

.header {
  width: 100%;
  top: 0;
  margin: 0 auto;
  z-index: 2;
  position: fixed;
  background-color: #01011f;
}

nav {
  display: flex;
  padding: 2% 6%;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  background-color: #01011f;
  width: 90%;
  height: 2px;
}

nav img {
  width: 130px;
  padding-top: 3%;
}

.nav-links {
  flex: 1;
  text-align: right;
}

.nav-links ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 12px;
  position: relative;
}

.nav-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
}

.nav-links ul li::after {
  content: '';
  width: 0;
  height: 2px;
  background: #070738;
  display: block;
  margin: auto;
}

/*
.nav-links ul li:hover::after {
  width: 100%;
  transition: 0.5s;
}
*/

.nav-links ul li:hover {
  transition: 0.5s;
  background: #070738;
  color: #fff;
  border-radius: 5px;
}

.active-link {
  transition: 0.5s;
  background: #070738;
  color: #fff;
  border-radius: 5px;
}

.menu-icon {
  width: 28px;
  margin-left: 20px;
  display: none;
}

.close-icon {
  width: 28px;
  margin-left: 20px;
  display: none;
}

.hero {
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(4,9,30,0.7),rgba(40, 49, 83, 0.7)),url(../images/hero_desktop.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Do not repeat the image */
  margin-top: 52.5px;
  background-attachment: fixed;
}

.hero-text-box {
  width: 90%;
  color: #fff;
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.hero-text-box h1 {
  font-size: 62px;
}

.hero-text-box p {
  margin: 5px 0 40px;
  font-size: 14px;
  color: #fff;
  text-transform: uppercase;
}

.main-btn {
  display: inline-block;
  text-decoration: none;
  color: #333;
  padding: 12px 34px;
  font-size: 13px;
  background: #fff;
  position: relative;
  cursor: pointer;
  font-weight: 600;
  width: 130px;
  margin-bottom: 5px;
  border-radius: 10px;
}

.main-btn:hover {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
}


@media (max-width: 700px) {

.hero {
    margin-top: 57px;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(40, 49, 83, 0.7)), url(../images/hero_mobile.jpg);
    background-attachment: scroll;
  }

  .hero-text-box h1 {
    font-size: 20px;
  }

  nav {
    height: 40px;
    
  }

  .nav-links ul li {
    display: block;
  }

  .nav-links {
    position: absolute;
    height: 100vh;
    width: 200px;
    background-color: #070738;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: 1s;
  }

  .menu-icon {
    display: block;
    cursor: pointer;
  }

  .close-icon {
    display: block;
    cursor: pointer;
    margin-left: 33px;
    margin-top: 33px;
  }

  .nav-links ul {
    padding: 30px;
  }


}