@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap");

* {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/*Navbar Code*/
.navbar {
  position: fixed;
  width: 100%;
  z-index: 6969;
  color: #fff;
  padding: 5px 0;
  height: 65px;
  backdrop-filter: blur(15px);
  transition: background-color 0.3s ease;
}
.navbar.scrolled {
  background-color: black; /* Change to the color you want */
}
.navbar .white-text {
  color: white;
}

.media-icons{
  z-index: 999;
  position: absolute;
  display: flex;
  /* flex-direction: column; */
  bottom: 50px; /* Place the icons 20px from the bottom */
  left: 50%; /* Move the icons to the center horizontally */
  transform: translateX(-50%); /* Center the icons horizontally */
  backdrop-filter: blur(10px); /* Apply blur to the container's background */
  border-radius: 10px; /* Add rounded corners for a better visual effect */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4); 
  padding: 0 20px 0 20px;
}
.media-icons a{
  font-size: 2.5em; /* Increase the font size to 2.5em */
  color: white;
  margin: 0 5px;
  gap: 10;
}
.media-icons a:not(:last-child) {
  margin-right: 30px; /* Adjust the gap as needed */
}
.media-icons a:hover {
  color: lightgreen; /* Change to the desired hover color */
  animation: shake 0.5s ease-in-out; 

}
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}
.menu a::after{
  content: '';
  height: 4px;
  width: 0;
  background-color:lightgreen;
  display: block;
  transition: all .3s;
  
}
.menu a:hover::after{
  width: 100%;
}
.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  filter: hue-rotate(3.142rad);
  height: 4rem;
  width: 4rem;
}

.menu {
  transition: 0.7s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu a {
  margin-bottom: 10px;
  color: black;
  text-decoration: none;
  padding: 0px 20px;
}
.menu a:hover{
  /* text-shadow: 1px 1px 1px rgba(33, 185, 255, 0.616); */
  color: lightgreen;
  transition: 0.3s ease-in-out;
}
.hamburger {
  transition: 0.7s ease;
  display: none;
  flex-direction: column;
  cursor: pointer;
  background-color: transparent;
}

.line {
  transition: 0.5s ease;
  width: 30px;
  height: 3px;
  background-color: #fff;
  margin: 5px;
}


/*Main Section*/

#landing-page {
  z-index: -100;
  height: 100vh;
  width: 100vw;
  background-image: url(../bg-2.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

#main {
  height: 100vh;
  display: flex;
  align-items: center;
}
.main-content {
  color: white;
  display: flex;
  align-items: center;
  justify-self: center;
  flex-direction: column;
}

.main-text {
  opacity: 0; 
  animation: fadeIn 2s ease-in-out forwards;
  width: 77.69%;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.main-text h1 {
  font-size: 2.169rem;
}

.main-text span {
  color: black;
}

#landing-p-secondary{
  font-size: 0.9rem;
  line-height: 1.9;
}
#top-p-main {
  animation: typing 4s steps(40), blink-caret 0.75s step-end;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #333;
  }
}

.blurred-bg {
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(3.9px);
}

#landing-main-button{
  margin-top: 1.2rem;
  border: 1px solid black;
  color: black;
  font-weight: 500;
  font-size: 20px;
  padding: 7px 14px;
  background: hwb(0 100% 0%);
  border-radius: 12px;
}

#landing-main-button:hover{
  cursor: pointer;
  color: white;
  background-color: transparent;
box-shadow: 0 0 0.69rem black;
}


@media (max-width: 600px) {


  .menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .menu.active {
    display: flex;
    flex-direction: column;
    /* background-color: lightblue; */
    /* background: rgba(0,0,0,0.8); */
    /* backdrop-filter: saturate(180%) blur(10px); */
    background: lightblue;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px 5px rgba(20, 43, 249, 0.1), 0 0 20px 10px rgba(6, 9, 38, 0.1);
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    border-radius: 15px 0px 15px 15px;
    padding: 20px;
  }

  .menu.active a {
    color: black;
    opacity: 1;
  }

  #top-p-main{
    animation: none;
  }}

@media (max-width: 300px){

  .main-text{
    margin-top: 3rem;
  }
}

@media screen and (max-width:390px) {
  .media-icons a {
   font-size: 1.5rem;
}}

@media screen  and (max-width:1100px){
 
#landing-p-secondary {
  /* font-size: 0.9rem; */
  margin: 0 10px 0 0px;
  line-height: 1.5;
}}
