@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;
    font-family: 'Poppins', sans-serif;
    border: none;
    outline: none;
    text-decoration: none;
}

html{
    font-size: 62.5%;
    background-color: transparent;
}

body{
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background: #121212;
    color: #fff;
}

header{
    margin-top: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 9%;
    background-color: transparent;
    filter: drop-shadow(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo{
    font-size: 3rem;
    font-weight: 800;
    color: #ffa600;
    cursor: pointer;
    transition: 0.3s ease;
}

.logo:hover{
    color: #ce0089;
    transform: scale(1.1);
}

nav a {
    font-size: 1.8rem;
    color: #fff;
    margin-left: 4rem;
    transition: 0.3s ease;
    font-weight: 500;
    border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active{
    color: #ce0089;
    border-bottom: 3px solid #ce0089;
}

@media(max-width: 990px){
    nav{
        position: absolute;
        top: 0;
        right: 0;
        width: 40%;
        display: none;
        border-left: 3px solid #ffa600;
        border-bottom: 3px solid #ffa600;
        border-bottom-left-radius: 2rem;
        padding: 1rem solid;
        background: #121212;
        border-top:  0.1rem solid rgba(0, 0, 0, 0.1);
    }

    nav .active{
        display: block;
    }
    nav a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }

    nav a:hover,
    nav a.active{
        padding: 1rem;
        border-bottom: 0.5rem solid #ce0089;
        border-radius: 0.5rem;
    }
}

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

section .home{
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 5rem;
}

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

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

span{
    color: #ffa600;
}

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

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

.hero-image{
    border-radius: 70%;
}

.hero-image img{
    width: 30rem;
    object-fit: cover;
    border-radius: 50%;
    border: 0.5rem solid #ffa600;
    box-shadow: 0 0 2rem #ffa600;
    position: relative;
    transition: 0.2s linear;
    cursor: pointer;
}   

.hero-image img:hover{
    box-shadow: 0 0 3rem #ce0089;
    border: 0.5rem solid #ce0089;
    font-size: 1.8rem;
    font-weight: 500;
}

.social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem solid #ffa600;
    color: #ffa600;
    font-size: 2rem;
    border-radius: 50%;
    margin:3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
}

.social-icons a:hover{
    background-color: #ce0089;
    border: 0.2rem solid #ce0089;
    color: #fff;
    transform: scale(1.3) translateY(-5px);
    box-shadow: 0 0 25px #ce0089;
}

.btn{
    display: inline-block;
    padding: 1rem 3rem;
    background-color: #ffa600;
    font-size: 2rem;
    font-weight: 600;
    border-radius: 4rem;
    cursor: pointer;
    transition: 0.3s ease;
    letter-spacing: 1px;
    border: 2px solid #ce0089;
    transition: 0.3s ease;
    margin-bottom: 5rem;
}

.btn:hover{
    transform: scale3d(1.1);
    box-shadow: 0 0 25px #ce0089;
}

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

.typing-text span{
    position: relative;
}

.typing-text span::before{
    content: "Digital Marketer";
    color: #ce0089;
    animation: words 20s infinite;
}

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

@keyframes cursor {
    to{
        border-left-color: 3px solid #ffa600;
    }
}

@keyframes words {
    0%, 5%{
        content: "Curious Learner";
    }
    20%, 25%{
        content: "Web Developer";
    }
    40%, 45%{
        content: "Digital Marketer";
    }
    60%, 65%{
        content: "Content Creator";
    }
    80%, 85%{
        content: "Tech Enthusiast";
    }
}

@media (max-width: 1000px){
    .home{
        gap: 4rem;
    }
}

@media(max-width:995px){
    .home{
        flex-direction: column;
        margin: 5rem 4rem;
    }

    .home .home-content h3{
        font-size: 2.5rem;
    }

    .home-content h1{
        font-size: 5rem;
    }

    .home-img img{
        width: 70vw;
        margin-top: 4rem;
    }
}

footer{
    justify-content: center;
    text-align: center;
    padding: 2rem;
    height: auto;
    width: 100%;
    font-size: 1.4rem;
    color: #fff;
    border-top: 0.1rem solid rgba(255, 255, 255, 0.1);
    z-index: 100;
}