/* Standard setup */
.NavigationBarItem {
	float: right;
	padding: 10px;
	display: block;
	text-align: center;
	color: white;
	text-decoration: none;
	}
.NavigationText {
	text-decoration: none;
	color: white;
	font-weight: bold;
}	
.NavigationBar {
	padding: 10px;
	background-color: teal;
	border-radius: 3px;
	overflow: hidden;
	position: fixed;
	right: 1%;      /* ADDED */
	top: 1%;       /* ADDED */
	width: 100%;  /* ADDED */
}
body {
	overflow: auto;
	margin: 0;
}

.BackgroundImage {
	width: 100%;
	background-image: url("https://people.tamu.edu/~jemcmillin1/Pictures/Background.jpg");

}

/* ---- */

/* Home and Project Blog page */

.Hero {
	background-image: url("https://people.tamu.edu/~jemcmillin1/Pictures/Background.jpg");
	width: 100%;
	height: 80vh;
	background-size: cover;
	display: flex;
	justify-content: center;
	background-repeat: no-repeat;
}

.IntroBox {
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
}
.IntroBoxBackground {
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 5px;
	text-align: center;
	width: fit-content;
	margin: 0 auto;
	display: flex;
	justify-content: center;
}
.IntroBoxHead {
	font-size: 30px;
	font-weight: bold;
}
.IntroBoxText {
	color: azure;
	display: inline-block;
	text-align: left;
	padding-left: 5px;
	padding-right: 20px;
	font-size: 20px;
	padding-bottom: 10px;
	padding-top: 5px;
}

.InfoBoxParent {
	padding: 1rem;
	display: flex;
	justify-content: center;
	text-align: left;
}

.InfoBoxParent .table {
	
}

.InfoBoxChild-Right {
	padding: 1rem;
}

.InfoBoxChild-Left {
	padding: 1rem;
}

/* ---- */

/* About page */
.Parent {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-template-rows: repeat(5, 1fr);
	grid-column-gap: 0px;
	grid-row-gap: 0px;
	gap: 1.5rem;
}
.PictureChild { 
	text-align: center;
	grid-area: 1 / 1 / 5 / 3; 
}
.PictureStyle {
	border: 10px solid teal;
	border-radius: 3px;
}
.FunAbout { 
	grid-area: 1 / 3 / 3 / 6; 
	background-color: teal;
	border-radius: 3px;
	padding: 10px;
	font-size: large;
	font-weight: bold;
	color: white;
}
.NotFunAbout { 
	grid-area: 3 / 3 / 5 / 6;
	background-color: teal;
	border-radius: 3px;
	padding: 10px;
	font-size: large;
	font-weight: bold;
	color: white;
}
.IamBox {
	margin-top: 5%;
	text-align: left;
	font-size: 40px;
	font-weight: bolder;
	padding: 10px;
	background-color: rgba(255, 255, 255, 0.5);
	border-radius: 5px;
	width: fit-content;
}
/* ---- */

/* Resume Page */
.ResumeContainer {
		margin-top: 10%;
		text-align: center;
	}
.ResumeStyle {
	border: 10px solid teal;
	border-radius: 3px;
}
/* ---- */

/* Project Blog Page */

#posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Dynamic grid */
    gap: 10px;
}

.BlogContainer {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 1rem;
}
.BlogItem {
	grid-column: auto;
	background-color: teal;
	border-radius: 5px;
	padding: 10px;
	color: white;
	overflow: hidden;
	height: 150px;
	transition: height 0.5s ease;
}

.BlogItem:hover {
	height: 60vh;
}

.BlogItem .postContent {
    display: none;
    margin-top: 10px;
	transition: 1s;
}

.BlogItem:hover .postContent {
    display: block;
	overflow-y: auto;
	max-height: 50vh;
	transition: 1s;
}

.BlogItem .postImage img{
	visibility: visible;
    max-width: 30%;
    height: auto;
	height: 75px;
	width: auto;
	border-radius: 5px;
	transition: height 0.3s ease;
}

.BlogItem:hover .postImage{
	visibility: hidden;
	height: 0px;
	transition: height 0.3s ease;
}

.BlogItem:hover .postImage img{
	visibility: hidden;
	height: 0px;
}

.BlogItem .postTitle, .BlogItem .postDate {
    margin: 0;
    padding: 5px;
}

.BlogItem .postTitle {
    font-size: 1.5em;
    font-weight: bold;
}

.BlogItem .postDate {
    font-size: 1em;
    color: #555;
}
.BlogPhoto {
	text-align: center;
}


/* ---- */


