@font-face {
    font-family: "Lato", sans-serif;
    src: url("../fonts/Lato-Regular.ttf");
}

html {
    overscroll-behavior: none;
}

body {
    background-color: #2e226d;
    overscroll-behavior: none;
}

h1 {
    text-align: center;
    font-family: "Lato", sans-serif;
    font-size: 40px;
    line-height: 46px;
    color: #fff;
}
.header-main {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    background-color: white;
    display: flex;
    justify-content: space-between;
    z-index: 1000;
}

.header-main-logo {
    width: fit-content;
    height: 100%;
    background-color: white;
    padding-left: 60px;
    display: flex;
}   

.header-main-logo img {
    height: 80px;
    align-self: center;
}

.header-main-nav {
    width: fit-content;
    height: 100%;
    background-color: white;
}

.header-main-nav ul {
    list-style: none;
    padding-right: 60px;
}

.header-main-nav ul li {
    display: inline;
    float: left;
}

.header-main-nav ul li a {
    margin-right: 10px;
    font-family: "Lato", sans-serif;
    line-height: 100px;
    color: #000;    
    display: block;
    height: 100%;
}

.header-main-nav ul li a:hover {
    color: #178AF0;
}

.nav-toggle {
    display: none;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        background: none;
        border: none;
        cursor: pointer;
        align-self: center;
        margin-right: 30px;
    }

    .nav-toggle span {
        display: block;
        height: 3px;
        background-color: #2e226d;
        border-radius: 2px;
    }

    .header-main-nav {
        display: none;
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        height: auto;
        background-color: white;
        padding: 0.5rem 0;
        border-top: 2px solid #2e226d;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    }

    .header-main-nav.nav-open {
        display: block;
    }

    .header-main-nav ul {
        padding-right: 0;
        display: flex;
        flex-direction: column;
    }

    .header-main-nav ul li {
        display: block;
        float: none;
    }

    .header-main-nav ul li a {
        line-height: normal;
        padding: 0.75rem 30px;
        height: auto;
        text-align: center;
    }
}