/* General Styles */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FFF6E5;
}

nav {

    position: sticky;
    background-color: #FFF6E5;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    

}

.logo {
    display: flex;
    align-items: center;
    

}

.logo img {
    width: 140px;
    height: auto;
    
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0 auto;
    align-items: center;
}

.nav-links a {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    text-decoration: none;
    color: #040b74;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    margin: 0 15px;
    font-weight: 600;
    transition: all ease-in-out 100ms;
    height: 48px;
}

.nav-links a:hover {
    color: #e68e01;
}

.nav-links li:last-child a {
    border: 2px solid #040b74;
    border-radius: 4px;
    padding: 6px 16px;
    background: #040b74;
    color: #fff;
    font-weight: 700;
    transition: background 0.2s, color 0.2s, border 0.2s;
    line-height: normal;
    height: 36px;
    box-sizing: border-box;
    font-size: 15px;
}

.nav-links li:last-child a:hover {
    background: #e68e01;
    color: #fff;
    border-color: #e68e01;
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 34px;
}

.hamburger .bar {
    flex-basis: 100%;
    height: 5px;
    background-color: #040b74;
    margin: 3px 0;
}

.hamburger.open .bar {
    background-color: #e68e01;
}

/* Responsive Styles */

@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
    }
    
    .hamburger {
        display: flex;
        flex-wrap: wrap;
    }

    .logo {
        display: flex !important;
        align-items: center !important;
        height: auto !important;
    }

    .logo img {
        display: block !important;
        width: 110px !important;
        height: auto !important;
        max-width: 100%;
    }

    .nav-links  {
        display: none;
        flex-basis: 100%;
        flex-wrap: wrap;
    }
    .nav-links li{
      flex-basis: 100%;
    } 
    .nav-links a {
        text-align: left;
        font-size: 22px;
        font-family: 'Montserrat', sans-serif;
        padding: 14px 18px;
        margin: 0;
        height: auto;
        border-radius: 0;
        background: none;
        color: #040b74;
        border: none;
        font-weight: 600;
        display: block;
    }
    .nav-links li:last-child a {
        width: auto;
        margin: 0 18px;
        border: 2px solid #040b74;
        border-radius: 4px;
        background: #040b74;
        color: #fff;
        font-size: 18px;
        padding: 10px 18px;
        font-weight: 700;
        height: auto;
        box-sizing: border-box;
        transition: background 0.2s, color 0.2s, border 0.2s;
        text-align: left;
        display: inline-block;
    }
    .nav-links li:last-child a:hover {
        background: #e68e01;
        color: #fff;
        border-color: #e68e01;
    }
    .nav-links {
        flex-direction: column;
        align-items: center;
    }
    .nav-links li {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .nav-links a, .nav-links li:last-child a {
        text-align: center;
        display: inline-block;
        width: auto;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (min-width: 769px) {
  .nav-links {
    display: flex !important;
  }
}