@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap');

*, *::before, *::after {
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

body {
    background-color: #16161a;
    color: #fff;
    font-family: "Poppins", sans-serif;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url('../imgs/gif.gif');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    filter: blur(2px) brightness(0.35);
    z-index: -1;
    transform: scale(1.05);
}

/* =====================
   NAV BAR
   ===================== */

header nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    animation: fadeInDown .8s;
}

header nav a {
    text-decoration: none;
}

header nav a h1 {
    font-size: 25px;
    color: #39ff14;
}

header nav .header_links ul {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

header nav .header_links ul li,
section.main ul li {
    list-style-type: none;
}

header nav .header_links ul li a {
    outline: none;
    text-decoration: none;
    color: #39ff14;
    padding: 5px 12px;
    transition: 0.3s all;
    font-size: 15px;
}

header nav .header_links ul li a:hover {
    color: white;
}

header nav .header_logo img {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    object-fit: cover;
    border: 2px solid #ffffff;
    cursor: pointer;
}

/* =====================
   MAIN SECTION
   ===================== */

section.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 70vh;
    padding: 40px 20px;
    animation: fadeInUp .8s;
}

section.main h2 {
    font-size: clamp(36px, 10vw, 80px);
    font-style: italic;
}

section.main h2 span {
    color: #39ff14;
}

section.main > img {
    width: 180px;
    height: 180px;
    border-radius: 100%;
    object-fit: cover;
    border: 3px solid #39ff14;
    cursor: pointer;
    margin-bottom: 10px;
    animation: glow-pulse 2.5s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow:
            0 0 8px  2px #39ff1499,
            0 0 20px 6px #39ff1455,
            0 0 45px 10px #39ff1422;
    }
    50% {
        box-shadow:
            0 0 12px  4px #39ff14cc,
            0 0 30px 10px #39ff1488,
            0 0 60px 18px #39ff1444;
    }
}

section.main p {
    border-right: 2px solid rgba(255, 255, 255, .75);
    white-space: nowrap;
    overflow: hidden;
    color: #39ff14;
    font-size: 25px;
    width: max-content;
    max-width: 100%;
    animation: typewriter 4s steps(50) 1s 1 normal both, blinkTextCursor 600ms steps(50) infinite normal;
}

/* =====================
   BIO DIV
   ===================== */

section.main .bio {
    color: #cccccc;
    font-size: 14px;
    max-width: 580px;
    width: 100%;
    margin: 10px auto 0;
    text-align: justify;
    padding: 0 16px;
    line-height: 1.7;
}

/* =====================
   SOCIAL ICONS
   ===================== */

section.main ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

section.main ul li a {
    color: #a6a8b8;
    display: flex;
    text-decoration: none;
    margin: 20px 5px;
    font-size: 25px;
    padding: 5px;
    transition: 0.2s all;
}

section.main ul li a i {
    width: 40px;
    height: 40px;
    background: #000000bd;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 5px;
}

section.main ul li a:hover {
    transition: 0.2s all;
    color: #39ff14;
}

/* =====================
   ANIMATIONS
   ===================== */

@keyframes typewriter {
    from { width: 0; }
    to { width: 23em; }
}

@keyframes blinkTextCursor {
    from { border-right-color: #39ff14; }
    to { border-right-color: transparent; }
}

@keyframes fadeInUp {
    from { transform: translate3d(0, 150px, 0); opacity: 0; }
    to   { transform: translate3d(0, 0, 0);    opacity: 1; }
}

@keyframes fadeInDown {
    from { transform: translate3d(0, -150px, 0); opacity: 0; }
    to   { transform: translate3d(0, 0, 0);      opacity: 1; }
}

/* =====================
   TABLET — max 768px
   ===================== */

@media only screen and (max-width: 768px) {
    header nav {
        padding: 15px 20px;
    }

    header nav a h1 {
        font-size: 20px;
    }

    header nav .header_links ul li a {
        font-size: 13px;
        padding: 4px 8px;
        display: none;
    }

    section.main {
        padding: 20px 16px;
        min-height: 75vh;
    }

    section.main > img {
        width: 130px;
        height: 130px;
    }

    section.main ul li a {
        font-size: 20px;
    }

    section.main .bio {
        font-size: 13px;
        max-width: 100%;
    }
}

/* =====================
   MOBILE — max 630px
   ===================== */

@media only screen and (max-width: 630px) {
    header nav {
        display: flex;
        flex-direction: column;
    }

    header nav .header_logo {
        margin-bottom: 20px;
    }
}

/* =====================
   MOBILE — max 480px
   ===================== */

@media only screen and (max-width: 480px) {
    header nav {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
        text-align: center;
    }

    header nav .header_logo {
        margin-bottom: 0;
    }

    header nav .header_links ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px;
    }

    header nav .header_links ul li a {
        font-size: 12px;
        padding: 4px 7px;
        display: none;
    }

    section.main {
        padding: 30px 16px;
        min-height: 80vh;
        gap: 8px;
    }

    section.main h2 {
        font-size: clamp(30px, 9vw, 50px);
        line-height: 1.2;
    }

    section.main > img {
        width: 110px;
        height: 110px;
        margin-bottom: 8px;
    }

    section.main p {
        font-size: 15px;
        width: 100%;
        max-width: 100%;
        overflow: visible;
        text-align: center;
        padding: 0 8px;
        white-space: normal;
        border-right: none;
        animation: none;
    }

    section.main .bio {
        font-size: 12px;
        padding: 0 12px;
        max-width: 100%;
        color: #bbbbbb;
        margin-top: 6px;
    }

    section.main ul {
        flex-wrap: wrap;
        gap: 4px;
    }

    section.main ul li a {
        font-size: 18px;
        margin: 10px 4px;
    }

    section.main ul li a i {
        width: 36px;
        height: 36px;
    }

    body::before {
        background-size: cover;
        background-position: center;
    }
}

/* =====================
   SMALL — max 360px
   ===================== */

@media only screen and (max-width: 360px) {
    header nav a h1 {
        font-size: 17px;
    }

    section.main h2 {
        font-size: 28px;
    }

    section.main p {
        font-size: 13px;
    }

    section.main .bio {
        font-size: 11px;
    }

    section.main ul li a {
        font-size: 16px;
    }
}

/* =====================
   VERY SMALL — max 320px
   ===================== */

@media only screen and (max-width: 320px) {
    header nav .header_links ul {
        display: flex;
        justify-content: center;
        text-align: center;
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
    }

    section.main .bio {
        font-size: 11px;
        padding: 0 8px;
    }
    
}

 .disable-interaction {
  pointer-events: none;
  user-select: none; /* Recommended to also prevent text copying */
}