@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: 62.5%;
}

body{
    width: 100%;
    height: 100vw;
    overflow-x: hidden;
    background-color: #EBE9E1;
    color: #E43D12;
}

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;
    color: #E43D12;
    font-weight: 800;
    cursor: pointer;
    transition: 0.5s ease;
}

.logo:hover{
    transform: scale(1.1);
}

nav a{
    font-size: 1.8rem;
    color: #D65369;
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active{
    color: #E43D12;
    border-bottom: 3px solid #E43D12;
}

@media(max-width:995px){
    nav{
        position: absolute;
        display: none;
        top: 0;
        right: 0;
        width: 40%;
        border-left: 3px solid blue;
        border-bottom: 3px solid blue;
        border-bottom-left-radius: 2rem;
        padding: 1rem solid;
        background-color: black;
        border-top: 0.1rem solid black;
    }

nav.active{
        display: block;
}

nav a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
}

nav a:hover,
nav a.active{
        padding: 1rem;
        border-radius: 0.5rem;
        border-bottom: 0.5rem solid blue;
}
}

section{
    min-height: 100vh;
    padding: 5rem 9% 5rem;
}

.home{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    background-color: #EBE9E1;
}

.home-about{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    background-color: #EEE2DC;
}

.home-about .about-content h1{
    color: #AC3B61;
}

.home-about .about-content p{
    color: #123C69;
    font-size: 1.6rem;
}

.home .home-content h1{
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.3;
    color: #D65369;
}

.about-content h1{
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;
}

span{
    color: #EFB11D;
}

.home-content h3{
    font-size: 8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.home-content p{
    font-size: 1.6rem;     
}

.about-content h3{
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.about-content p{
    font-size: 2.6rem;     
}

.home-img{
    border-radius: 50%;
}

.home-img img{
    position: relative;
    width: 32vw;
    border-radius: 50%;
    border: 3px solid #123C69;
    box-shadow: 0 0 25px solid blue;
    cursor: pointer;
    transition: 0.2s linear;
}

.home-img img:hover{
    font-size: 1.8 rem;
    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 #D65369;
    font-size: 2rem;
    border-radius: 50%;
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
    color: black;
}

.social-icons a:hover{
    color: black;
    transform: scale(1.3) translateY(-5px);
    background-color: #EBE9E1;
    box-shadow: 0 0 25px #D65369;
}

.contact{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2.8rem;
    background-color: #EBE9E1;
    border-radius: 4rem;
    font-size: 1.6rem;
    color: black;
    letter-spacing: 0.3rem;
    font-weight: 600;
    border: 2px solid #D65369;
    transition: 0.3s ease;
    cursor: pointer;
}

.contact:hover{
    transform: scare3d(1.03);
    background-color: #EBE9E1;
    color: black;
    box-shadow: 0 0 25px #D65369;
}

/* TYPING TEXT SKIBIDI EFFECT IN HOME */

.typing-text{
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;

}

.typing-text span{
    position: relative;
}

.typing-text span::before{
    content:"";
    color: #EFB11D;
    animation: words 20s infinite;
}

.typing-text span::after{
    content:"🖐";
    background-color: #EBE9E1;
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid #EBE9E1;
    right: -8;
    animation: first 0.6s infinite;
}   

@keyframes first{

    to{
        border-left: 3px solid #EFB11D;
    }
}

@keyframes words{
    0%, 20%{
        content: "Hello.";
    }
    21%, 40%{
        content: "Ni hao.";
    }
    41%, 60%{
        content: "Bonjour.";
    }
    61%, 80%{
        content: "Hola.";
    }
    81%, 100%{
        content: "Namaste.";
    }
}

@media (mad-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;
    }
}

/* TYPING TEXT SKIBIDI EFFECT IN HOME */

/* ABOUT */ /* ABOUT */ /* ABOUT */ /* ABOUT */

/* ABOUT */ /* ABOUT */ /* ABOUT */ /* ABOUT */

.typing-text-about{
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
    color: #123C69;
}

.typing-text-about span{
    position: relative;
}

.typing-text-about span::before{
    content:"";
    color: #AC3B61;
    animation: about 20s infinite;
}

.typing-text-about span::after{
    content:"";
    background-color: #EEE2DC;
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid #EEE2DC;
    right: -8;
    animation: second 0.6s infinite;
}

@keyframes second{

    to{
        border-left: 3px solid #AC3B61;
    }
}

@keyframes about{
    0%, 20%{
        content: "Student.";
    }
    21%, 40%{
        content: "Cyclist.";
    }
    41%, 60%{
        content: "Pc Building Enthusiast.";
    }
    61%, 80%{
        content: "Support.";
    }
    81%, 100%{
        content: "Midlaner.";
    }
}

@media (mad-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;
    }
}

/* ABOUT */ /* ABOUT */ /* ABOUT */ /* ABOUT */