.topnav a{
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    color: var(--white);
}
  
.topnav a:hover, .footer-menu a:hover{
    background-color: var(--blue);
    color: var(--white);
}
  
/* hide navbar menu */
.topnav > ul{
    display: none;
}
  
/*************************************/
/*************************************/
/* css for menu in small screen size */
/*************************************/
/*************************************/
#menuToggle
{
    height: 28px;
    width: 10%;
    padding: 1rem 0 1rem 0.5rem;
}

#menuToggle a
{
    transition: color 0.3s ease;
}

#menuToggle input
{
    width: 38px;
    height: 35px;
    position: absolute;
    top: 8px;
    left: 0px;
    cursor: pointer;    
    opacity: 0; /* hide this */
    z-index: 5; /* and place it over the hamburger */    
    -webkit-touch-callout: none;
}

/*
* Just a quick hamburger
*/
#menuToggle span
{
    display: block;
    width: 35px;
    height: 5px;
    margin-bottom: 5px;
    position: relative;    
    background: #cdcdcd;
    border-radius: 3px;    
    z-index: 4;    
    transform-origin: 4px 0px;    
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                opacity 0.55s ease;
}

#menuToggle span:first-child
{
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
    transform-origin: 0% 100%;
}

/* 
* Transform all the slices of hamburger
* into a crossmark.
*/
#menuToggle input:checked ~ span
{
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: var(--black);;
}

/*
* But let's hide the middle one.
*/
#menuToggle input:checked ~ span:nth-last-child(3)
{
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

/*
* the last one should go the other direction
*/
#menuToggle input:checked ~ span:nth-last-child(2)
{
    transform: rotate(-45deg) translate(0, -1px);
}

#small-menu
{
    margin: -100px 0 0 -50px;
    padding: 50px;
    padding-top: 100px;    
    background: var(--white);;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    /* to stop flickering of text in safari */    
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);    
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
    position: absolute;
    width: 100px;
    text-align: left;
    z-index: 3;
}

#small-menu li
{
    padding: 10px 0;
    font-size: 20px;
    font-weight: bold;
}

/*
* And let's slide it in from the left
*/
#menuToggle input:checked ~ ul
{
    transform: none;
}
/*****************************************/
/*****************************************/
/* end css for menu in small screen size */
/*****************************************/
/*****************************************/


/***************************************/
/***************************************/
/* css for menu navbar big screen size */
/***************************************/
/***************************************/
#big-menu{
    list-style-type: none;
    margin: 0;
    padding: 0;
    justify-content: end;
}

#big-menu > ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    column-gap: 2%;
    width: 100%;
}
/*******************************************/
/*******************************************/
/* end css for menu navbar big screen size */
/*******************************************/
/*******************************************/
@media screen and (min-width: 320px) and (max-width: 1279px){
    .topnav{
        display: flex;
        align-items: center;
        position: relative;
        width: 100%;
        height: 60px;
    }

    .topnav a{
        color: var(--black);;
    }

    .topnav a:hover{
        font-size: 17px;
        font-weight: bold;
    }

    .logo-container{
        width: 100%;
        position: absolute;
        text-align: center;
    }

    .logo{
        width: 135px;
    }
}

@media only screen and (min-width: 1280px){
    .topnav{
        display: flex;
        align-items: center;
    }

    .logo-container{
        padding: 0.5rem;
    }

    .logo{
        width: 20%;
    }

    #menuToggle{
        display: none;
    }

    #big-menu{
        display: flex;
        width: 90%;
        margin-right: 2%;
    }

    #big-menu > li{
        width: 110px;
        text-align: center;
    }

    #big-menu > li:hover{
        font-weight: bold;
    }
}