@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');

* {
    font-family: 'JetBrains Mono', monospace;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'JetBrains Mono', monospace;
    background-color: #282c34;
    color: #ffffff;
}

h1 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #ffffff;
}


h2 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #ffffff;
}


    .navbar-nav .nav-item .nav-link {
            position: relative;
            transition: box-shadow 0.2s;
        }
        .navbar-nav .nav-item:hover .nav-link,
        .navbar-nav .nav-item:focus-within .nav-link {
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        .navbar-nav .nav-item .nav-link::after {
            content: "";
            display: block;
            position: absolute;
            left: 0;
            right: 0;
            bottom: 2px;
            height: 3px;
            background: #0d6efd;
            opacity: 0;
            transition: opacity 0.2s;
            border-radius: 2px;
        }
        .navbar-nav .nav-item:hover .nav-link::after,
        .navbar-nav .nav-item:focus-within .nav-link::after {
            opacity: 1;
        }

.title-section {
    margin-bottom: 2rem;
}

.capa {
    height: 50vh;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('./assets/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 2rem;
}

.name-developer {
    font-size: 5rem;
    font-weight: 700;
}

.function-developer {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    font-weight: 400;
}


.navbar.scrolled {
    background-color: #212529 !important;
    /* bg-dark */
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: #212529 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.scroll-warning {
    cursor: pointer;
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
    animation: blink 1s steps(2, start) infinite;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}


.underline-highlight {
    position: relative;
    display: inline-block;
}

.underline-highlight::after {
    content: "";
    display: block;
    height: 4px;
    background: #007bff;
    border-radius: 2px;
    margin-top: 2px;
}



.name-developer {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.function-developer {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.85);
}

.loading {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}


/*Scroll bar color*/
/* Custom scrollbar styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background: #212529;
}

::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

::-webkit-scrollbar-track {
    background: #282c34;
    border-radius: 4px;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #007bff #282c34;
}


/* Animations */

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
}

@media (max-width: 576px) {
    #scroll-warning {
        font-size: 0.95rem;
        padding: 8px 12px;
        right: 8px;
        bottom: 8px;
    }
}