@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@100..800&display=swap');

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    margin-bottom: 60px;
    background-color: #002147;
    color: white;
    font-family: 'JetBrains Mono', monospace;
    overflow-x: hidden;
}

/* ===========================
   HOME PAGE
=========================== */

.hero-content {
    padding-top: 150px;
    padding-left: 100px;
}

@media (max-width: 768px) {
    .hero-content {
        padding-top: 90px;
        padding-left: 0;
        text-align: center;
    }
}

/* ===========================
   BUTTONS
=========================== */

#getresume:hover {
    background-color: #98000F;
}

/* ===========================
   FOOTER
=========================== */

.footer {
    color: white;
    background-color: #002147;
    padding: 20px 0;
}

/* ===========================
   REMOVE UNWANTED BORDERS
=========================== */

h1,
h1:focus,
h1:focus-visible,
.display-3,
.display-3:focus,
.display-3:focus-visible {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* ===========================
   PROFILE IMAGE
=========================== */

#profile-img {
    max-width: 100%;
    height: auto;
    border: none;
    outline: none;
    box-shadow: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* ===========================
   LINKS
=========================== */

a {
    text-decoration: none;
}

/* ===========================
   CARDS
=========================== */

.card {
    border-radius: 16px;
    overflow: hidden;
}

/* ===========================
   NAVBAR
=========================== */

.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-link.active {
    font-weight: bold;
    color: white !important;
}

/* ===========================
   MOBILE NAVBAR
=========================== */

@media (max-width: 991.98px) {

    .navbar-nav {
        width: 100%;
        text-align: right;
        padding-right: 20px;
    }

        .navbar-nav .nav-link {
            text-align: right;
            padding: 12px 0;
            font-size: 1.2rem;
        }

    .navbar-collapse.show {
        background-color: #dc3545;
        padding-bottom: 15px;
    }

    .navbar-toggler {
        border-color: rgba(255,255,255,.2);
    }

    .hero-content {
        padding-top: 100px;
    }
}

/* ===========================
   DESKTOP NAVBAR
=========================== */

@media (min-width: 992px) {

    .navbar-nav {
        align-items: center;
    }

    .nav-link {
        margin-left: 10px;
    }
}
