@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
}

/* css for navbar */
nav {
  position: fixed;
  width: 100%;
  padding: 20px 0;
  font-family: 'Ubuntu', sans-serif;
}

nav .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
  width: 90%
}

nav .navbar .logo a {
  font-weight: 500;
  font-size: 35px;
  color: #4070f4;
}

nav .navbar .menu {
  display: flex;
  position: relative;
}

nav .navbar .menu li {
  list-style: none;
  margin: 0 8px;
}

.navbar .menu a {
  font-size: 18px;
  font-weight: 500;
  color: #0E2431;
  padding: 6px 0;
}

.navbar .media-icons a {
  font-size: 18px;
  margin: 0 8px;
  color: #4070f4;
}

.navbar .menu-btn, .navbar .cancel-btn {
  display: none;
  color: #fff;
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 20px;
}

.navbar .menu-btn {
  color: #4070f4
}

section.home {
  height: 100vh;
  width: 100%;
  background: #edf4f5;
}

section.home .home-content {
  display: flex;
  width: 90%;
  height: 100%;
  margin: auto;
  flex-direction: column;
  justify-content: center;
}

section.home .text {
  font-family: 'Ubuntu', sans-serif;
}

section.home .text .text-one { 
  font-size: 25px;
  color: #0E2431;
}

section.home .text .text-two {
  font-size: 75px;
  font-weight: 600;
  color: #0E2431;
  margin-left: 3px;
}

section.home .text .text-three { 
  font-size: 40px;
  margin: 5px 0;
  color: #4070f4;
}

section.home .text .text-four { 
  font-size: 23px;
  margin: 5px 0;
  color: #0E2431;
}

/* Responsive navbar */
@media (max-width: 650px) {
  nav .navbar .menu {
    position: absolute;
    top: 0;
    left: -100%;
    height: 100vh;
    max-width: 400px;
    width: 100%;
    padding-top: 60px;;
    background: #0E2431;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s ease;
  }

  .navbar .menu a {
    font-size: 23px;
    display: block;
    color: #fff;
    margin: 10px 0;
  }

  nav .navbar.active .menu {
    left: 0;
  }

  .navbar .media-icons a {
    display: none;
  }

  .navbar .menu-btn, .navbar .cancel-btn {
    display: block;
  }
}
