/* NAVIGATION */

.stickytop{
    position: fixed;
    top: 0;
}
.topnav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #590af2;
    height:55px;
    z-index: 3;
}
.topnav-placeholder {
    width: 100%;
    height:50px;
    z-index: 1;
}

.nav-main-container{ 
    /* 
    margin top = (topnav.height - logo-image.height)/2
    (55px-47px)/2=2px.
    */
    display: flex;
    margin-left: 3%; /*if you change this, cahnge .nav_margin */
    margin-right: 3%;
    align-items: center;
    height: 100%;
}

.nav-container{ /* div */
    width: 85%;
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.logo-image-div {
    justify-content: start;
    width: 15%;
    display: inline-flex;
    align-items: center;
    height: 100%;
}
.logo-image-div-hover {
    background-color: #2a0393;
}

.logo-image{
    height: 42px;
    margin-right: auto;
}
.logo-image2{
    height: 47px;
    margin-right: auto;
}

.menu-image{
    height: 27px;
    width: 31.5px;
}

.button-nav{
    background-color: transparent;
    border: none;
    height: 100%;
    padding-left: 0px;
    padding-right: 0px;
    color: white;
    font-weight: 700;
}

.button-nav-calc{
    background-color: transparent;
    border: none;
    height: 100%;
    padding-left: 0px;
    padding-right: 0px;
    color: white;
    font-weight: 700;
}
.button-nav-calc{
    background-color: transparent;
    border: none;
    height: 100%;
    padding-left: 0px;
    padding-right: 0px;
    color: white;
    font-weight: 700;
}
.button-nav-calc-hover{
    background-color: #2a0393;
}
.button-nav-calc:active{
    background-color: #e6e6ff;
    color: #590af2;
}

.clicked-button-nav{
    background-color: #e6e6ff;
    color: #590af2;
}
.hover-button-nav{
    background-color: #2a0393;
    color: white;
}

/* Desktop & laptop */
@media (min-width: 1200px) { /*desktop*/

}

/* Tablet horizontal */
@media only screen and (max-width: 1199px) { /*desktop*/

}

/* Tablet vertical, Old Mobile, Small Desktop window */
@media only screen and (max-width: 999px) {

}

/* Mobile horizontal */
@media only screen and (max-width: 999px) and (max-height: 799px) and (min-resolution: 190dpi) {

}

/* Mobile vertical */
@media only screen and (max-width: 1100px) and (min-width: 800px) and (min-height: 800px) and (min-resolution: 190dpi) {
    .topnav{
        height: 130px;
        padding-top: env(safe-area-inset-top);
        /* For older iOS */
        padding-top: constant(safe-area-inset-top);
    }
    .topnav-placeholder {
        height: 130px;
    }
    .logo-image{
        height: 100px;
    }
    .logo-image2{
        height: 110px;
        margin-right: auto;
    }
    .menu-image{
        height: 60px;
        width: 70px;
    }
    .nav-margin{
        width: 2.5%; /* must match with main container margin */
    }

}
