*,
*::before,
*::after{
  box-sizing: border-box;
	padding: 0;
	margin: 0;
/*	border: 1px solid white;*/
	-webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
        box-sizing: border-box;
}

:root{
	--color-nav: #000000;
	--color-bg: #333333;
	--color-button: #444444;
  --color-text-main: #dfdfdf;
  --color-text-header: rgb(230, 230, 230);
  --color-primary: #dfdfdf;
  --image-max-width: 300px;
  --image-margin: 3rem;
  --font-family: "HK Grotesk";
}
/********************************/
/*GLOBAL*/
a{
	text-decoration: none;
	color: var(--color-primary);
}
ul{
	list-style-type: none;
}

/********************************/
.navbar{
  z-index: 100;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
/*  flex-wrap: nowrap;
  white-space: nowrap;*/
	background: var(--color-nav);
}

.navbar .container{
	height: 38px;
  overflow: hidden;
/*  justify-content: space-between;*/
}
/*.navbar a:last-child{
	border-right: 0;
}*/
/*.navbar li{
	display: flex;
	padding: 0.5rem 1.5rem;
}*/


.navbar a{
	border-right: 1px solid #888888;
  float: left;

	display: block;
	font-size: 1.1rem;
	padding: 0.5rem 1.5rem;
}
.navbar a:hover{
	background: var(--color-button);
}
/* WOW WON"T DO ANYTHING I WANT */
/* CANNOT OVERWRITE EXISTING 
PADDING WITH NOTHING */
.navbar a img, .no-padding{
	padding: 0.0em;
}
.nav-logo{
	max-height: 30px;
	filter: invert(1);
	height: 100%;
	object-fit: fill;
}

.sign-in-box{
	padding: 0 4rem 0 0;
/*	background: red;*/
/*	margin: 0 4rem 0 0;*/
}

#search{
	border: none;
	font-size: 1.1rem;
	padding: 0.3rem;
}
.search-right{
	position: fixed;
	right: 0;
	padding: 0.2rem 1rem;
	float: right;
}
/********************************/
body{
	background: var(--color-bg);
	font-family: sans-serif;
	height: 100%;
	color: var(--color-primary);
}

#main{
	max-width: 1400px;
	margin: 40px auto 0 auto;
	padding: 20px 0;
}

.title-welcome{
	margin: 15px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 1em;
}
.title-date{
	font-weight: lighter;
	color: #999999;
}

/*news-primary*******************************/
#news-primary{
	display: flex;
	height: 400px;
	gap: 20px;
}
.news-1-container{
	height: 100%;
	width: 50%;
	position: relative;
	border: 3px solid transparent;
}
.news-1-thumbnail, .news-thumbnail{
	position: relative;
	/*mask: linear-gradient(to bottom, 
    rgba(255,255,255, 1) 0,   
    rgba(255,255,255, 1) 40%, 
    rgba(255,255,255, 0) 95%, 
    rgba(0,0,0, 0) 
    0) 100%;*/
  z-index: 4;
  object-fit: cover;
	width: 100%;
	height: 100%;
}
.thumbnail-fade{
	width: 100%;
  object-fit: cover;
	height: 100%;
	display: flex;
}
/* BLACK GRADIENT ON IMAGE */
.thumbnail-fade:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  background: linear-gradient(to bottom, transparent 20%, black 100%);
}

.news-primary-right{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	height: 100%;
	width: 50%;
/*	gap: 20px;*/
/*	align-items: stretch */
/*	gap: 20px 0;*/
/*	margin: 0 10px;*/
}
.news-container{
	position: relative;
/*	padding: 0 10px;*/
	height: 50%;
	width: 50%;
	border: 3px solid transparent;
}
.news-primary-text{
	overflow-wrap: break-word;
	inline-size: 95%;
	text-wrap: wrap;
	position: absolute;
	bottom: 8px;
  left: 16px;
  z-index: 6;
}
.news-primary-text *{
  margin-top: 10px;
}
.news-primary-text-right {
	font-size: 1.3rem;
} 

/*news-secondary**********************************/
#news-secondary{
	margin: 30px 0 0 0;
}

.news-secondary-title{
	margin: 10px 0;
}

.news-secondary-flex{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 20px 20px;
}
.news-2-thumbnail{
	width: 100%;

  height: 250px;
  object-fit: cover;
}

.news-secondary-text{
	inline-size: 100%;
}
.news-secondary-text-h2{
	font-size: 1.3rem;
}
.news-secondary-text *{
  margin: 5px 0;
}

/*red news marker****************/
.red{
	color: red;
	background: red;
	margin-right: 10px;
}
.marker{
  display: flex;
}

/*Media***********************/
@media only screen and (max-width: 720px) {
	#news-primary{
		display: block;
		height: 100%;
	}
	.news-primary-right{
		display: flex;
		height: 100%;
		width: 100%;
	}
	.news-1-container{
		width: 100%;
	}
	.news-container{
		width: 50%;
	}
	.news-secondary-flex{
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 20px 20px;
	}
	.news-2-thumbnail{
	  height: 250px;
	}
}
@media only screen and (max-width: 600px) {
	.title-welcome{
		display: block;
	}
	.news-primary-right{
		flex-direction: column;
	}
	.news-container{
		width: 100%;
	}
}

/* base image ********************** */
.base{
  text-align: center;
  font-size: 2rem;
  margin: 3rem 0 0 0;
}
.base-image{
  margin: auto;
  width: 100%;
/*   max-width: 1000px; */
}









