h4 {
  font-family: coolvetica-rg;
  font-size: 0.9rem;
}

#navbar{
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
#mobile-menu-toggle{
    display: none;
	color:black;
}

#mobile-news-toggle {
    display: none;
}

#news-bar {
    margin: 0 50%;
    transform: translateX(-50%);
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px 10px 0 0;
}

#mobile-news-close-toggle i {
	font-size: 2em;
	color:black !important;
}


#news-bar a{
        width: 25%;
    }

#news-box {
    height: 40px;
    align-items: center;
	color:black;
}

#news-box h6{
	font-size:0.5em;
}


#news-box img {
    object-fit: cover;
    height: 100%;
    width: 50%;
	object-position:center;
}


#news-box:hover {
    margin: 0;
    position: relative;
    height: 100px;
    background-color: white;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

/*
#news-box::after {
    display: block;
    position: relative;
    content: " ";
    height: 100%;
    width: 3px;
    background-color: black;
}*/
#mobile-news-close-toggle{
    display: none;
}
@media (max-width:920px){
 #news-bar {
    width: 95%;
    }
}

@media (max-width: 834px){
	#primary-nav ul{
		gap:1.25rem;
	}
	
}

@media (max-width: 769px) {
    #navbar{
    background: rgba(255, 255, 255);
    }
    #primary-nav {
            position: fixed;
            display: flex;
            inset: 0 60% -5% 0;
			height: 100vh;
            background: rgba(255, 255, 255);
            box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            transform: translateX(-120%);
            transition: 500ms ease-in-out;
    
        }

    #primary-nav[data-visible="true"] {
        transform: translateX(0%);
    }
	


    #news-bar a{
    width: 100%;
    }

    #news-bar {
        position: fixed;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 40px;
        transform: translateX(100%);
        transition: 500ms ease-in-out;
        inset: 0 0 0 20%;
    }

    #news-bar[data-visible="true"] {
        transform: translateX(-60%);
    }

    #mobile-news-close-toggle{
    display: inline-block;
}

   #mobile-menu-toggle {
        display: inline-block;
        cursor: pointer;
		color:black;
    }

    #mobile-news-toggle {
        display: inline-block;
        cursor: pointer;
		color:black;
    }
    
     #news-box{
        flex-direction: row;
        height: auto;
        pointer-events: none;
        width: 100%;
        justify-content: baseline;
    }

    #news-box img {
        object-fit: cover;
        height: 13vh;
        width: 150px;
    }

    #news-box h6{
        width: 50%;
        font-size: 1rem;
		text-align:center;
    }

    #news-box::after{
        display: none;
    }

    #news-box h6::after {
        display: block;
        position: relative;
        text-align: center;
        content: "Explorar";
        margin-top: 5px;
        height: 2px;
        background-color: black;
    }


}

@media (max-width:670px){

    header{
        position: relative;
    }
	

	
    #primary-nav{
        position: fixed;
        display: flex;
        inset: 0 30% -5% 0;
        height: 100vh;
        background: rgba(255, 255, 255);
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transform: translateX(-100%);
        transition: 500ms ease-in-out;

    }

    #primary-nav ul{
        list-style: none;
        width: 90%;
    }
    #primary-nav ul li{
        margin-left: 10px;
    }

    #primary-nav[data-visible="true"] {
        transform: translateX(0%);
    }

    #primary-nav *{
        font-size: 2rem;
		line-height:2rem;
    }


    #mobile-menu-toggle {
        display: inline-block;
        cursor: pointer;
    }

    #mobile-news-toggle {
        display: inline-block;
        cursor: pointer;
    }

    #news-bar {
        position: fixed;
        display: flex;
        background: rgba(255, 255, 255);
        flex-direction: column;
        transform: translateX(100%);
        transition: 500ms ease-in-out;
        inset: 0 0 0 20%;
    }

    #news-bar[data-visible="true"] {
        transform: translateX(-60%);
    }
    
    #news-bar a{
        width: 100%;
        margin: 30px 0;
    }

    #news-box{
        flex-direction: row;
        height: auto;
        pointer-events: none;
        width: 100%;
        justify-content: baseline;
    }

    #news-box img {
        object-fit: cover;
        height: 13vh;
        width: 150px;
    }

    #news-box h6{
        width: 50%;
        font-size: 1rem;
    }

    #news-box::after{
        display: none;
    }

    #news-box h6::after {
        display: block;
        position: relative;
        text-align: center;
        content: "Explorar";
        margin-top: 5px;
        height: 2px;
        background-color: black;
    }




}

@media(max-width:420px) {
	header{
		height:50px;
	}
	
    #primary-nav * {
        font-size: 1.8rem;
            
        }
	
	#news-bar a{
		width: 100%;
		margin: 0px 0;
	}
	
	#mobile-news-toggle i{
		font-size:2rem;
	}
	#news-box img {
        object-fit: cover;
        height: 10vh;
        width: 120px;
    }
	
	#news-box h6 {
        font-size:0.9rem;
    }

}