@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');


:root {
    --grey: #333;
    --white: #fff;
    --purple: #A020F0;
    --blue: #4169e1;
}

::-webkit-scrollbar {
    width: 10px;
  }
::-webkit-scrollbar-track {
    background: #b3b3b3;
  }
::-webkit-scrollbar-thumb {
    background: #6e6e6e;
    border-radius: 3px;
  }
::-webkit-scrollbar-thumb:hover {
    background: #555;
    cursor: pointer;
  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

header a {
    color: var(--grey);
    text-decoration: none;
    font-family: "Rubik", sans-serif;
    font-weight: bolder;
}

body {
    padding-top: 5.625rem;
}

.nav ul {
    list-style: none;
}

.header {
    position: fixed;
    z-index: 1000;
    width: 100%;
    top: 0;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.top-bar {
    background-color: #EDEDED;
}

.top-content {
    color: var(--grey);
    font-size: 12px;
    display: flex;
    justify-content: end;
    align-items: center;
    column-gap: 1.25rem;
    height: 1.875rem;
    margin: 0 auto;
    padding: 0 30px;
    max-width: 115rem;
}

.icon {
    margin-right: 3px;
}

.bottom-bar {
    background-color: #F0F0F0;
}

.bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3.75rem;
    margin: 0 auto;
    padding: 0 30px;
    max-width: 115rem;
}

.logo {
    display: flex;
    align-items: center;
}

.nav {
    transition: all 0.3s ease-in-out;
}

.nav-list {
    text-transform: uppercase;
    display: flex;
    column-gap: 2.5rem;
}

.nav ul li {
    position: relative;
    display: inline-block;
}

.nav ul li a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: var(--grey);
    padding-bottom: 4px;
}

.nav ul li a::after {
    content: '';
    height: 3px;
    width: 0%;
    background: linear-gradient(to left, var(--blue), var(--purple));
    position: absolute;
    left: 0;
    bottom: 0;
    transition: width 0.5s;
}

.nav ul li a:hover::after {
    width: 100%;
}

.hamburger {
    cursor: pointer;
    display: none;
}

.bar {
    height: 2px;
    width: 20px;
    margin: 5px 0;
    opacity: 0.8;
    transition: all 0.3s ease-in-out;
    background-color: var(--grey);
}
 
.nav--open {
    transform: translateX(0%) !important;
}

.bar--open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.bar--open .bar:nth-child(2) {
    opacity: 0;
}

.bar--open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 750px) {
    .nav {
        position: fixed;
        top: 5.625rem;
        left: 0;
        width: 100%;
        padding: 0.625rem 0 1.5625rem;
        background-color: #F0F0F0;
        transform: translateX(-100%);
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        row-gap: 1rem;
    }

    .nav-item a {
        font-size: 14px;
    }

    .hamburger {
        display: block;
    }
}

@media (max-width: 550px) {
    .top-content {
        justify-content: center;
    }
}

@media (max-width: 380px) {
    .top-content {
        font-size: 10px;
    }
}

@media (max-width: 330px) {
    .top-content {
        font-size: 9px;
    }
}
