html {
  scroll-behavior: smooth;
}

body {
  color: #fff;
  background-color: #111827;
}

/* navbar styles */

.header-nav-items {
  background: #1d2432;
  position: fixed;
  display: flex;
  align-items: center;
  top: 0;
  z-index: 5;
  width: 100vw;
  height: 70px;
}

.active {
  background: #1d243290;
}

.header-nav-items ul {
  display: flex;
  list-style: none;
  justify-content: space-evenly;
  margin: auto;
  gap: 30px;
}
.header-nav-items ul li {
  color: #fff;
  font-family: "Goldman", cursive;
  font-size: 1.5em;

  height: 70px;
  border: 4px solid transparent;

  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-nav-items ul li:hover {
  border-bottom:4px solid #777;
}

.header-nav-items ul li a {
  text-decoration: none;
  color: white;
}

.mobile-menu {
  display: none;
  padding-left: 20px;
  font-size: 2.5rem;
}
.mobile-navbar {
  display: none;
  align-items: center;
  justify-content: center;
  
  position: fixed;
  z-index: 55;
  top: 70px;
  left: -250px;
  bottom: 0;

  background-color: #1d2432;
  

  width: 250px;
  height: 100vh;
  opacity: 0.9;
  transition: 0.6s ease-in;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;

  & ul {
    width: 80%;
    font-size: 1.5rem;
    
    
    & li {
      padding: 20px;
      gap: 10px;

      a {
        color: #fff;
      }
    }
  }




}
.open {
  left: 0;
}

/* Main page Styles */

.main-page {
  display: flex;
  margin-top: 70px;
  height: calc(100vh - 70px);
  align-items: center;
  justify-content: center;

  background-color: #111827;
  background-image: url("../assets/bg.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.main-page::before {
  content: "";
  width: 100vw;
  height: calc(100vh - 70px);
  position: absolute;
  background-color: #111827;
  opacity: 0.9;
}

.main-content,
.profile-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-content {
  flex-direction: column;
  position: relative;
  width: 100%;

  & .main-text {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 80px;
  }
  & .main-title {
    padding-right: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: end;
    text-align: right;

    & div {
      width: 256px;
    }
  }
  & hr {
    height: 90px;
  }

  & h1 {
    font-size: 3.5rem;
    color: #c0eef2;
    width: 50%;

    
  }
  & h2 {
    font-size: 1.5rem;
    align-items: flex-start;
    width: 100%;
  }

  & .main-role {
    display: flex;
    flex-direction: column;
    padding-left: 20px;
    flex: 1;
  }
  & .main-role p {
    font-size: 2rem;
  }
  & .main-role p:last-child {
    color: #537fe7;
  }


  & .main-action-buttons {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    
    & button {
      background-color: #fff;
      border: 1px solid #537fe7;
      padding: 5px;
      position: relative;
      width: 8.7em;
      height: 2em;
      transition: 0.5s;
      font-size: 1rem;
      border-radius: 0.4em;
      cursor: pointer;

      & i {
        position: absolute;
        top: 0.45em;
        right: 0.5em;
        margin: 0;
        padding: 0;
        opacity: 0;
        transition: 0.5s;
        height: 1em;
        color: #fff;
      }
      

      & p {
        position: absolute;
        top: 0.4em;
        left: 1.2em;
        margin: 0;
        padding: 0;
        transition: .5s;
        color: #537fe7;
    
      }
    


    }

    & button:hover {
      background-color: #537fe7;
    }
    & button:hover p {
      left: 0.8rem;
      color: #fff
    }
    & :hover i {
      opacity: 1;
    }
    
  }
}

.text-animated {
  white-space: nowrap;
  overflow: hidden;    
}

/* Animation */
.text-animated {
  animation: animated-text 2s steps(40,end) forwards; 
}

/* text animation */

@keyframes animated-text{
  from{width: 0;}
  to{width:100%;}
}



/* Social Media Section */

.main-page .social-media {
  margin-top: 50px;
  background: none;
  width: 100%;
  display: flex;
  justify-content: center;
}

.social-media ul {
  display: flex;
  gap: 25px;
  position: relative;
}

.social-media ul li {
  display: flex;
  justify-content: center;
  align-items: center;

  background: #fff;
  border-radius: 60px;
  border: 1px solid white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  height: 60px;
  list-style: none;
  position: relative;
  transition: 0.5s;
  width: 60px;
}
.social-media ul li:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0);
  width: 130px;
}
.social-media ul li::before {
  background: linear-gradient(45deg, var(--i), var(--j));
  border-radius: 60px;
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: 0.5s;
}
.social-media ul li:hover::before {
  opacity: 1;
}
.social-media ul li::after {
  background: linear-gradient(45deg, var(--i), var(--j));
  content: "";
  filter: blur(15px);
  height: 100%;
  opacity: 0;
  position: absolute;
  top: 10px;
  transition: 0.5s;
  width: 100%;
  z-index: -1;
}
.social-media ul li:hover::after {
  opacity: 0.5;
}

.social-media ul li span i {
  color: #777;
  font-size: 1.75rem;
  transition: 0.5s;
}
.social-media ul li:hover .icon {
  color: #fff;
  transform: scale(0);
  transition-delay: 0;
}
.social-media ul li span {
  position: absolute;
}
.social-media ul li .text {
  color: #fff;
  font-size: 1.25rem;
  letter-spacing: 0.1rem;
  transform: scale(0);
  transition-delay: 0s;
  transition: 0.5s;
}
.social-media ul li:hover .text {
  transform: scale(1);
  transition-delay: 0.25;
}
