.header {
    background-color: #485a72;
    color: white;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
	height: 100px;
	position: relative;
}

.navbar__logo {
    height: 100%;
}

.navbar__toggle {
    background: none;
    border: none;
    color: white;
    font-size: 2.5em;
    cursor: pointer;
}
.navbar__toggle svg{
    transition: transform 0.3s ease;
}
.navbar__toggle:active svg{
    transform: scale(1.2);
}
.navbar__links {
	position: absolute;
	top: 100px;
	right: 0;
    display: none;
    flex-direction: column;
    background-color: #485a72;
	z-index: 1000;
	margin: 0;
	padding: 0;
	padding-top: 20px;
	width: 100%;
	padding-bottom: 20px;
}

.navbar__links li {
    padding: 0;
	padding-left: 20px;
	list-style: none;
	height: 40px;
	color: white;
	transition: background 0.3s ease;
}

.navbar__links li:hover{
	background-color: #607287;
}
.navbar__links li a{
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}
.subnav_desktop {
	display: none;
}
.subnav_mobile {
	display: flex;
	align-items: center;
	justify-content: center;
    background-color: #607287; /* 20% más claro que #485a72 */
    text-align: center;
	font-size: 1.2em;
    padding: 0.3rem;
	width: 100%;
	height: 80px;
	transition: filter 0.3s ease;
}
.subnav_mobile:active{
	filter: brightness(1.1);
}


@media (min-width: 700px) {
	.navbar{
		padding: 0 ;
	}
	.navbar__logo {
		padding: 10px;
	}
    .navbar__toggle {
        display: none;
    }
    .navbar__links {
		position: static;
		width: auto;
		box-shadow: none;
        display: flex !important;
        flex-direction: row;
        background: none;
		padding: 0;
		height: 100%;
    }
	.navbar__links li {
		padding: 10px;
		position: relative;
		list-style: none;
		height: 40px;
		font-size: 1em;
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.navbar__links li a{
		align-items: flex-end;
	}
	.navbar__links li::after {
		content: "";
		width: 0%;
		position: absolute;
		position: absolute;
        bottom: 5px;
        left: 50%;
        transform: translate(-50%, -50%);
		height: 2px;
		background-color: #fff;
		border-radius: 3px;
		transition: width 0.3s ease;
	}
	.navbar__links li:hover {
		background-color: #485a72;
	} 
	.navbar__links li:hover::after {
		width: 70%;
	} 
	.subnav_desktop {
		background-color: #4f637e;
		border-radius: 0;
		display: flex;
		width: 140px;
		margin-left: 20px;
		align-items: center;
   	 	text-align: center;
	}
	.subnav_desktop:hover {
		background-color: #556c8a !important;
	}
	.subnav_mobile{
		display: none;
	}

}
