@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");
/*google fonts*/

/* base style ---------- */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  background: #181818;
  color: #f5f5f5;
  overflow-x: hidden;
  position: relative;
}

h1 {
  line-height: 1.1;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  display: inline-block;
  text-decoration: none;
  color: tomato;
}

/* end base */

.container {
  width: 1160px;
  max-width: 97%;
  margin: 0 auto;
}

.btn {
  font-size: .9em;
  font-weight: 500;
  color: #fff;
  padding: 10px 34px;
  border: 1px solid #fff;
  transition-duration: .3s;
  transition-property: background border;
}

/* ends basic */

.hero {
  width: 100%;
  height: 100vh;
  position: relative;
}

.hero header {
  width: 100%;
  padding: 30px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.hero header .logo img {
  width: 140px;
  cursor: pointer;
}

.hero header .logo img {
  width: 140px;
  cursor: pointer;
}

.hero header nav ul {
  list-style: none;
}

.hero header nav ul li {
  display: inline-block;
}

.hero header nav ul li a {
  font-size: .9em;
  color: #fff;
  margin: 0px 10px;
  padding: 0 10px 4px 5px;
  position: relative;
}

.hero header nav ul li a:before {
  content: "";
  border-bottom: 2px solid #435af8;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 102%;
  transition: .3s right;
}

.hero header nav ul li a:hover:before {
  right: 0%;
}

.hero header .login a:hover {
  border: 1px solid #435af8;
}

.hero .mid {
  margin-top: 22vh;
}

.hero .mid .container {
  width: 768px;
}

.hero .mid .details {
  text-align: center;
  margin-bottom: 45px;
}

.hero .mid .details h1 {
  font-size: 4.2em;
  font-weight: 500;
  margin-bottom: 30px;
}

.hero .mid .details h1 span {
  color: #fff;
  animation: 2.5s change ease infinite;
}

@keyframes change {
  25% {color: #fff;}
  75% {color: #435af8;}
}

.hero .mid .details p {
  max-width: 530px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #eaeaea;
}

.hero .mid .action {
  text-align: center;
  margin-bottom: 25px;
}

.hero .mid .action a {
  margin: 0 9px;
}

.hero .mid .action a.btn-pri {
  border: 1px solid #435af8;
  background: #435af8;
}

.hero .mid .action a.btn-pri:hover {
  border: 1px solid #fff;
  background: #0d24bf;
}

.hero .mid .action a:nth-child(2):hover {
  border: 1px solid #0d24bf;
}

.hero .mid .pros p {
  display: inline-block;
  margin-right: 20px;
}

.hero .mid .pros p i {
  color: #435af8;
  margin-right: 5px;
}

.hero footer .connect {
  background: #fff;
  width: 130px;
  border-radius: 40px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: absolute;
  bottom: 10%;
  box-shadow: 0 0 10px rgb(255 255 255 / 75%),
              0 0 20px rgb(255 255 255 / 65%),
              0 0 50px rgb(255 255 255 / 75%);
}

.hero footer .connect a {
  color: #333;
}

.hero footer .connect a:hover {
  color: #000;
}

/* adding internal media queries to make it easier to understand ---------- */
@media screen and (max-width: 770px) {
  /* hamburger menu style ---------- */
  .hero header nav {
    width: 70%;
    background: rgb(31 31 31 / 95%);
    padding: 30px 40px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: -100%;
    transition: .3s right;
  }

  .hero header .open {
    right: 0%;
  }

  .hero header nav ul li {
    display: block;
  }

  .hero header nav ul li a {
    font-size: 1.5em;
    margin-bottom: 15px;
  }

  .hero header .login {
    margin-right: 13%;
  }

  .hero .mid {
    margin-top: 15vh;
  }

  .hero .mid .details h1 {
    font-size: 3em;
    margin-bottom: 30px;
  }

  .hero .mid .action {
    margin-bottom: 35px;
  }

  .hamb {
    width: 40px;
    height: 30px;
    cursor: pointer;
    position: absolute;
    top: 43px;
    right: 3%;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hamb span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
  }

  .hamb span:nth-child(2) {
    margin: 2px 0;
    width: 70%;
  }

  .hamb span:nth-child(3) {
    width: 40%;
  }

}