:root {
    --navbarIcon: 32px;
}
/* nav bar */
#navbar {
    height: auto;
    background-color: transparent;
    left: 0;
    right: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    grid-area: "navigation";
}
.navbar-container {
    display: flex;
    justify-content: space-between;
    /* height: auto; 100%; */
    align-items: center;
}
.navbar-span {
    display: flex;
    align-items: center;
}
#navbar_title {
    margin-left: auto;
    margin-right: auto;
}
.left-links {
    flex: 1 1 ;
}
.links {
    display: inline-block;
    text-align: center;
}
.navbar-item {
    text-decoration: none;
    display: inline-block;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.navbar-item {
    font-size: 45px; /* or 42? */
}

.navbar-item i {
	width: 100%;
	font-size: var(--navbarIcon);
	transition: 0.5s; /* adding the transition to make it more attractive */
	color: #000;
    padding-left: 10px;
    padding-right: 10px;
}

.navbar-container ul {
    display: flex;
    list-style: none;
    margin-top: 10px;
    padding: 15px;
}

.navbar-container ul li a {
    text-decoration: none;
    /* color: lightyellow; */
    color: black;
    margin: 30px;
}

/* set the size, height, width of the icon*/
ul li a i {
	width: 100%;
	height: 100%;
	line-height: 40px;
	font-size: 34px;
	transition: 0.5s; /* adding the transition to make it more attractive */
	color: #000;
}

.navbar-container ul li a:hover {
    /* background-color: yellow; */
    color: #74A9D8;
}

.navbar-hover:hover {
    opacity: .3;
    /* transform: scale(1.1); */
}

/* Size for smaller screens */
@media screen and (max-width:725px) {
    /* iphone XR */
    .navbar-item {
        font-size: 32px;
    }
    :root {
        --navbarIcon: 26px;
    }
    .logo_image {
        height: 32px;
    }
}

@media screen and (max-width:500px) {
    /* iphone XR */
    .navbar-item {
        font-size: 26px;
    }
    :root {
        --navbarIcon: 23px;
    }
    .logo_image {
        height: 28px;
    }
}

@media screen and (max-width:414px) {
    /* iphone XR */
    .navbar-item {
        font-size: 24px;
    }
    :root {
        --navbarIcon: 20px;
    }
    .logo_image {
        height: 24px;
    }
}
