:root {
    --title: 'Montserrat';
    --main-font: 'Inter';

    --blue: #0A2342;
    --char: #2B2B2B;
}

* { scroll-behavior: smooth; }

::-webkit-scrollbar {
    width: 10px;
    height: 8px;
  }
  ::-webkit-scrollbar-track {
    background: var(--blue); 
  }
  ::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.205);
    border-radius: 10px;
    transition: background 0.3s;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.624); 
  }

html {
    margin: 0;
    padding: 0;
    scroll-behavior: auto !important;
}

body {
    font-family: var(--main-font);
    background: url("../assets/images/texture.png");
    background-size: 100%, 100%;
    background-position: center, center;
    background-attachment: fixed;
    background-color: var(--blue);
    margin: 0;
    padding: 0;
    scroll-behavior: auto !important;
}

h1, h2, h3, h4 {
    font-family: var(--title);
    margin: 0;
    line-height: 1;
    color: white;
}
h1 {font-size: 80px;}
h2 {font-size: 60px;}
h3 {font-size: 40px;}
h4 {font-size: 30px;}

p { 
    color: white;
    font-size: 1.25rem;
}

.navbar {
    display: flex;
    position: fixed;
    justify-content: space-between;
    align-items: center;
    top: 0;
    width: 100vw;
    height: auto;
    padding: 1rem 0;
    z-index: 10;
    img {
        height: auto;
        width: 200px;
        padding-left: 2rem;
        z-index: auto;
    }
}

.right {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 50;
    margin: 0;
    max-width: 389.28px;
    outline: 1px solid white;
    border-radius: 100px;
    overflow: hidden;
    li {
        display: inherit;
        align-items: center;
        list-style: none;
        a {
            text-decoration: none;
            font-weight: 300;
            color: white;
            font-size: 1.25rem;
            padding: 1rem 2rem;
            border-radius: 100px;
            filter: drop-shadow(0px 0px 8px black);
            transition: font-weight 0.2s ease-in-out;
        }
        :hover {
            font-weight: bold;
        }
    }
}

.nav-links li a.active {
    font-weight: bold;
    color: var(--blue);
    background-color: white;
}


.lets-talk {
    display: inherit;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--blue)!important;
    background-color: white;
    padding-right: 2rem;
    border-radius: 50px;
    margin-right: 2rem;
    text-decoration: none;
    height: 3.5rem;
    transition:  transform 0.3s ease-in-out;
    img {
        width: 48px;
        height: 48px;
    }
}

.lets-talk:hover {
    transform: scale(1.1);
}

.lets-talk-btn-mobile {
    display: none;
    color: white;
    padding: 1rem;
    text-decoration: none;
    text-align: center;
    border-radius: 50px;
}

.navbar-toggler {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 4.5rem;
    height: 3.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.navbar-icon {
    width: 100%;
    height: 0.15rem;
    right: 0px;
    background-color: white;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-toggler .navbar-icon::before, .navbar-toggler .navbar-icon::after {
    right: 0px;
    content: '';
    position: absolute;
    width: 100%;
    height: 0.15rem;
    background-color: white;
    transition: all 0.3s ease;
}
.navbar-toggler .navbar-icon::after {top: 0.30rem;}
.navbar-toggler .navbar-icon::before {top: -0.30rem;}

@media (max-width: 940px) {
    .navbar {
        justify-content: space-between;
        height: 4rem;
        img { width: 160px; }
    }

    .navbar-toggler {
        display: flex;
        padding-right: 2rem;
        color: white;
    }
    .navbar-toggler.active { display: none !important; }
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        flex-direction: column;
        align-items: center;
        z-index: 50;
        display: none;
        padding: 0;
        margin: 0;
        border-radius: 0;
        outline: none;
        li {
            a {
            font-weight: 400;
            padding: 0;
            }
        }
    }

    .nav-links li {
        height: auto;
        margin: 0.5rem 0;
    }

    .nav-links.show {
        display: flex;
        align-items: flex-end;
        background-image: url('../assets/images/bg.png');
        background-color: var(--char);
        padding: 2rem;
        outline: 1px solid white;
        border-radius: 0 0 0 1rem;
        gap: 0;
    }

    .nav-links li a.active {
        font-weight: 400;
        color: white;
        background-color: transparent;
    }

    .lets-talk {display: none;}

    .lets-talk-btn-mobile {
        font-family: var(--primary-font);
        font-weight: 400;
        display: block;
        font-size: 1.25rem;
        padding: 0.5rem 0;
    }
}

@media (max-width: 546px) {
    .navbar { 
        height: 60px;
        img { width: 120px; } 
    }
}