@media screen and (min-width: 600px) {
.navbar {
background-color: rgba(31, 181, 143, 0.7);
position: sticky;
top:0;
height:45px;
}
.navbar .a {
float: left;
font-size: 16px;
color: white;
text-align: center;
padding: 10px 10px;
text-decoration: none;
}
.dropdown {
float: left;
}
.dropdown .dropbtn {
font-size: 16px;
border: none;
outline: none;
color: white;
padding: 10px 10px;
background-color: inherit;
font-family: inherit;
margin: 0;
}
.navbar .a:hover, .dropdown:hover .dropbtn {
background-color: #1fb58f;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #1fb58f;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
.dropdown-content .a {
float: none;
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: left;
}
.dropdown-content .a:hover {
background-color: #1fdeae;
}
.dropdown:hover .dropdown-content {
display: block;
}
.navbar-right .a{
float: right;
}
.navbar-centered {
float: none;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.url {
color:#fff;
text-decoration: none;
}
.url2{
color:#fff;
text-decoration: none;
}
.icon{
display:none;
}
.moblie-nav{
display:none;
}
}
@media screen and (max-width: 600px) {
.navbar {
display:none;
}
.mobile-bottom-nav{
position:fixed;
bottom:0;
left:0;
right:0;
z-index:1000;
transform: translateZ(0);
display:flex;
height:60px;
box-shadow: 0 -2px 5px -2px #333;
background-color:#fff;
border-radius:10px;
}
.mobile-bottom-nav__item{
flex-grow:1;
text-align:center;
font-size:12px;
display:flex;
flex-direction:column;
justify-content:center;
}
.mobile-bottom-nav__item--active{
color:red;
}
.mobile-bottom-nav__item-content{
display:flex;
flex-direction:column;
}
}