.underline {
    border-bottom: 1px solid black;
    position: absolute;
    width: 100%;
    top: 95%;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}
.nav-link:hover .underline {
    transform: scaleX(100%);
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: black;
    font-size: 110%;
    font-weight: bold;
    padding: 5px 8px;
    transition: 300ms;
    display: flex;
    justify-content: center;
    align-items: end;
    margin: 0 10px;
}
nav a:visited {
    color: black;
}
nav a:focus {
    color: black;
}
.navbar {
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s ease-in-out;
    border-bottom: 1px solid gray;
    z-index: 1000;
    padding: 0 50px;
}
.navbar.nav-hidden {
    transform: translateY(-100%)
}
.navbar.transparent {
    background-color: rgba(0,0,0,0);
    border: none;
}
.nav-div {
    display: flex;
    justify-content: space-between;
}
.nav-div-mid img{
    height: 100px;
}
.nav-div-mid {
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav-div-left {
    width: 40%;
}
.nav-div-right {
    width: 40%;
}
