@charset "UTF-8";

/* PAGE NAVBAR */
.navbar {
    width: 100%;
    padding: 15px 20px;
    background-color: var(--bg-soft);
    border-bottom: 2px solid var(--accent-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

/* NAVBAR BUTTONS */
.navbar a {
    color: var(--text-main);
    text-decoration: none;
    font-family: "JetBrains Mono", monospace;
    white-space: nowrap;
    padding: 10px 16px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 120px;
    transition:
        background-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease,
        color 0.3s ease;
}

.navbar a:hover {
    color: var(--accent-primary);
    background-color: rgba(32, 226, 200, 0.08);
    box-shadow: 0 0 12px rgba(32, 226, 200, 0.2);
    transform: translateY(-2px);
}

/* BUTTON NOT VIEW ON DESKTOP */
.menu-toggle {
    display: none;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999;
    font-size: 24px;
    background: transparent;
    border: none;
    color: white;
}

/* MOBILE */
@media (max-width: 1000px) {

    .menu-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
        background: transparent;
        border: none;
        outline: none;
        position: fixed;
        top: 10px;
        left: 10px;
        width: 40px;
        height: 40px;
        z-index: 10001;
        backdrop-filter: blur(10px);
        border-radius: 10px;
        padding: 2px;
    }

    .menu-toggle:active {
        transform: scale(.95);
    }

    .menu-toggle img {
        width: 32px;
        height: 32px;
        filter: invert(1);
    }

    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 60%;
        background-color: var(--bg-soft);
        backdrop-filter: blur(10px);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        border-radius: 2px;
        border-color: var(--bg-soft);
        padding: 50px 15px 15px 15px;
        z-index: 9999;
    }

    .navbar a {
        width: 100%;
        text-align: left;
        border: none;
        background: transparent;
        border-radius: 0;
        padding: 15px 10px;
    }

    .navbar.active {
        transform: translateX(0);
    }
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    background-color: var(--bg-secondary);
    padding: 40px;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
    border: 5px solid var(--accent-primary);
    border-radius: 10px;
    box-shadow: 0 0 15px var(--shadow-primary);
}

.header-text {
    flex: 1;
    min-width: 0;
}

/*HEADER NAME*/
#name {
    font-family: "JetBrains Mono", monospace;
    font-weight: 800;
    font-size: clamp(36px, 5vw, 60px);
    padding: 0px;
    margin-bottom: 30px;
    line-height: 1.2;
}

/* HEADER PROFESION */
#profession {
    font-family: "JetBrains Mono", monospace;
    font-style: italic;
    font-weight: 600;
    font-size: clamp(18px, 2.5vw, 26px);
    padding: 0px;
    margin-bottom: 20px;
}

/* PROFESION ANIMATION */
#profession::after {
    content: "_";
    animation: blink 0.6s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* LINKS ICONS */
#links {
    display: flex;
    gap: 30px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.linksicons {
    width: clamp(28px, 5vw, 35px);
    height: clamp(28px, 5vw, 35px);
    color: var(--accent-links);
}

/* LINKS ANIMATION */
a, .linksicons {
    transition: all 0.3s ease;
}

.linksicons:hover {
    transform: scale(1.1);
}

/* PROFILE PICTURE */
#photo {
    width: clamp(120px, 30vw, 230px);
    max-width: 100%; 
    height: auto;
    border-radius: 5px;
}

/* TITLES */
.titles {
    font-family: "JetBrains Mono", monospace;
    font-weight: 600;
    font-size: clamp(18px, 3vw, 28px);
    text-align: center;
    margin-bottom: 20px;
    background: var(--bg-secondary);
    padding: 10px;
    border-radius: 7px;
}

/* SUBTITLES */
.subtitles{
    font-family: "JetBrains Mono", monospace;
    font-weight: 600;
    font-size: clamp(16px, 2vw, 22px);
    text-align: center;
    padding: 15px;
    margin-bottom: 15px;
    border: 2px solid var(--border-subtitles);
    border-radius: 10px;
}

/* FOOTER PAGE */
#page_footer {
    width: 100%;
    font-weight: 600;
    font-family: "JetBrains Mono", monospace;
    text-align: center;
    margin-top: 40px;
    padding: 20px 0 5px 0;
    font-size: clamp(10px, 2vw, 16px);
    background-color: var(--bg-soft);
}

/* FOOTER TEXT */
.footer-text {
    font-weight: 600;
    font-family: "JetBrains Mono", monospace;
    font-size: clamp(10px, 2vw, 16px);
    margin-bottom: 15px;
}
