.btn-xl {
  color: var(--bs-purple);
  background: #7d7aff;
}

.btn:hover {
  color: var(--bs-btn-hover-color);
  background-color: #5653cf;
  border-color: #5653cf;
}

.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
  background-color: #7d7aff !important;
  border-color: #7d7aff !important;
  color: #fff;
}

.btn-primary:active, .btn-primary:focus {
  box-shadow: 0 0 0 .2rem #5653cf !important;
}

#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
  color: #7d7aff;
}

.bg-dark {
  background-color: #ffffff !important;
}

::selection {
  background: #7d7aff;
  text-shadow: none;
}


@keyframes backgroundAnimation {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes ruffleFeathers {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.02) rotate(-2deg); }
  50% { transform: scale(1.03) rotate(1deg); }
  75% { transform: scale(1.01) rotate(-1deg); }
}

body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: 'Arial', sans-serif;
}

.background {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(-45deg, rgba(255,105,97,0.3), rgba(102,212,207,0.3), rgba(218,143,255,0.3));
  background-size: 400% 400%;
  animation: backgroundAnimation 15s ease infinite;
}

.container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: #333;
  text-align: center;
}

.logo {
  width: 200px;
  animation: ruffleFeathers 3s ease-in-out infinite;
}

h1 {
  font-size: 2rem;
  margin-top: 20px;
  letter-spacing: 1.2px;
}


.typewriter h1 {
  overflow: hidden; /* Ensures the content is not revealed until the animation */
  border-right: .15em solid rgb(252, 252, 252); /* The typwriter cursor */
  white-space: nowrap; /* Keeps the content on a single line */
  margin: 0 auto; /* Gives that scrolling effect as the typing happens */
  letter-spacing: .15em; /* Adjust as needed */
  animation: 
    typing 3.5s steps(40, end),
    blink-caret .75s step-end infinite;
}

img{
  width: auto;
}
.intro-heading span{
  font-weight: 600;
    font-size: 4rem;

}
/* The typing effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: rgba(255, 166, 0, 0); }
}

@media only screen and (max-width: 600px) {
  img {
    width: 650px;
  }
  .intro-heading span{
  
    font-size: 1.55rem;
    font-weight: 800;

}
}