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

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

:root {
    --bg-color: #1f242d;
    --second-bg-color: #323946;
    --text-color: #fff;
    --main-color: #0ef;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: var(--bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 600;
    cursor: default;
}

.navbar a {
    font-size: 1.7rem;
    color: var(--text-color);
    margin-left: 4rem;
    transition: .3s;
}

.navbar a:hover,
.navbar a.active {
    color: var(--main-color);
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
    cursor: pointer;
}

/* Home section */
.home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.home-content {
    flex: 1 1 45rem;
}

.home-content h3 {
    font-size: 3.2rem;
    font-weight: 700;
}

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

span {
    color: var(--main-color);
}

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

/* Blinking animation */
@keyframes blink-glow {
    0%, 100% {
        box-shadow: 0 0 5px var(--main-color),
                    0 0 10px var(--main-color),
                    0 0 20px var(--main-color);
    }
    50% {
        box-shadow: 0 0 20px var(--main-color),
                    0 0 40px var(--main-color),
                    0 0 60px var(--main-color);
    }
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: 0.2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: all 0.3s ease;
    animation: blink-glow 1.5s infinite;
}

.social-media a:hover {
    background: var(--main-color);
    color: var(--second-bg-color);
}

/* Button with blinking */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--main-color);
    color: var(--second-bg-color);
    border-radius: 4rem;
    font-size: 1.6rem;
    font-weight: 600;
    animation: blink-glow 1.5s infinite;
    transition: .3s;
}

.btn:hover {
    box-shadow: none;
}

/* Profile image with blinking border */
.home-img {
    flex: 1 1 40rem;
    display: flex;
    justify-content: center;
}

.home-img img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 20rem;
    border: 4px solid var(--main-color);
    animation: blink-glow 1.5s infinite;
    transition: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    #menu-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-color);
        display: none;
        flex-direction: column;
        text-align: center;
    }

    .navbar.active {
        display: flex;
    }

    .navbar a {
        margin: 2rem 0;
    }

    .home {
        flex-direction: column;
        text-align: center;
    }

    .home-img img {
        width: 70%;
    }
}










