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

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

html{
    font-size: 70%;
}

body{
    width: 100%;
    height: 100vh;
    background-color: black;
    color: white;
}

section{
    min-height: 100vh;
    padding: 2rem 9% 2rem;
}

.home{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    background-color: black;
}

.home .home-content h1{
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;
}

span{
    color: #8806CE;
}

.home-content h3{
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.home-content p{
    font-size: 1.6rem;
}



.typing-text{
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
}

.typing-text span{
    position: relative;
}

.typing-text span::before{
    content: "software Developer";
    color: #8806CE;
    animation: words 20s infinite;
}

.typing-text span::after{
    content: "";
    background-color: black;
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid black;
    right: -8;
    animation: cursor 0.6s infinite;
}

@keyframes cursor{
    to{
        border-left: 3px solid #8806CE;
    }
}

@keyframes words{
    0%, 20%{
        content: "Graphic Designer";
              color: #8806CE;

    }
    21%, 40%{
        content: "Photographer";
          color: #ff0000;
    }
    41%, 60%{
        content: "Coder";
         color: #0066ff;
    }
    61%, 80%{
        content: "High School Student";
              color: #00ff00;
    }
  81%, 100%{
    content: "CAT LOVER";
        color: #ff00ff;
  }
}
h2{  font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
   font-family: "Poppins"}

ul {
    font-family: "Poppins";
  list-style: none;
  padding: 0;
}

ul li {
  margin-bottom: 10px;
}

a {
  color: #d6b4fc;
  text-decoration: italics;
  font-family: "Poppins";
  font-size: 2em;
}

a:hover {
  text-decoration: underline;
}


