/* styles.css */

body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    /* background: linear-gradient(135deg, #ff7e5f, #feb47b); */
    background-image: url(ii.png);
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    text-align: center;
}

header {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px 0;
}

nav h1 {
    margin: 0;
    font-size: 2em;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 600px;
}
/* .vid {
    align-items: center;
    height: 90%;
    width: 90%;
} */
 .vik {
    height: 10%;
    border-radius: 70%;

 }
 .typewriter {
    overflow: hidden; /* Ensures the content is not revealed until the animation */
    border-right: .15em solid orange; /* 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(100, end),
      blink-caret .75s step-end infinite;
  }
  
  /* 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: orange; }
  }
.about {
    width: fit-content;
}
#about h2 {
    color: rgb(20, 20, 19);
}

#projects h2 {
    color: black;
}
section {
    padding: 60px 20px;
}



footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px 0;
    /* position: fixed; */
    width: 100%;
    bottom: 0;
}

@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }
}
