*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.navbar{
    /* font-family: 'Hahmlet', serif; */
    font-family: 'Montserrat', sans-serif;
}

.navbar ul {
    display: flex;
    align-items: center;
    width: 100vw;
    background: #09C3DB;
    padding-right: 20px;
}

.navbar li{
    list-style-type: none;
    padding: 1rem;
}

.navbar-links{
    font-size: 1.3em;
    font-weight: 500;
}

.navbar a{
    text-decoration: none;
    color: black;
}

.navbar-logo{
    flex: 1;
    user-select: none;
    margin-left: 20px;
}

.navbar-logo img{
    height: 70px;
}

.navbar-toggle {
    display: none;
    color: black;
    margin-right: 20px;
}

.register {
    padding: 10px 25px;
    background: transparent;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}
  
.btn {
    border: 2px solid rgb(255, 255, 255);
    border-radius: 4px;
    z-index: 1;
    color: white;
}
  
.btn:after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    direction: rtl;
    z-index: -1;
    background: rgb(255, 255, 255);
    transition: all 0.3s ease;
}

.btn:hover {
    color: rgb(0, 0, 0);
}

.btn:hover:after {
    left: auto;
    right: 0;
    width: 100%;
}

.btn:active {
    top: 2px;
}

.navbar-links:hover:not(:nth-last-child(1)) a {
    color: white;
} 


@media (max-width: 930px) {
    .navbar-links{
        font-size: 1em;
    }
}

@media (max-width: 814px) {
    .navbar-links{
        font-size: 0.8em;
    }
}

@media (max-width: 780px) {
    .navbar a{
        color: white;
    }
    .navbar ul {
        flex-wrap: wrap;
        padding-right: 0px;
    }
    .navbar-toggle {
        display: block;
        cursor: pointer;
        font-size: 2em;
    }
    .navbar-links {
        display: none;
        width: 100%;
        text-align: center;
        font-size: 1.5em;
    }
    .active {
        display: block;
        background-color: black;
    }
}

