header{
    padding-top: 1%;
    display: grid;
    grid-template-columns: 15% 85%;
    width: auto;
    height: 25%;
    z-index: 9999;
}
.logo{
    display: flex;
    align-items: center;
    padding-bottom: 10%;
    padding-left: 15%;
}
.navlink{
    display: grid;
    grid-template-columns: repeat(5,1fr);
}
.navlink a{
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;

}
.navlink a:hover{
    color: #4356FF;
}
.navbutton{
    color: white;
    text-decoration: none;
    text-decoration-color: white;
}
.active_blue{
    color: #4356FF;
    text-decoration: underline;
    text-decoration-color: white;
}
.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #101010;
}
@media screen and (max-width: 1023px) {
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    li {
        list-style: none;
    }

    a {
        text-decoration: none;
    }
    .logo img{
        transform: scale(1.5);
        padding-left: 30%;
    }
    header{
        padding-top: 2%;
        z-index: 9999;
        display: grid;
        grid-template-columns: 15% 85%;
        width: auto;
        height: 25%
    }
    .navlink {
        z-index: 999;
        position: fixed;
        left: -100%;
        top: 5rem;
        flex-direction: column;
        background-color: #343434;
        width: 100%;
        border-radius: 10px;
        text-align: center;
        transition: 0.3s;
        box-shadow:
                0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .navlink.active {
        left: 0;
    }

    .navbutton {
        margin: 2.5rem 0;
    }

    .hamburger {
        transform: scale(2);
        display: block;
        margin-top: 3%;
        margin-left: auto;
        margin-right: 5%;
        cursor: pointer;
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

}

