/*
    Style sheet
*/

/*
Color palett:

Linen: #ebefe6
Green gray: #687775
Rosybrown: #a8776c
Silver: #d3c6bb
*/


/* GLOBAL STYLES
------------------------------------------------------------------------------------*/

/* Fonts ----------------------------------*/
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Glacial';
    src: url('fonts/GlacialIndifference-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

html{
	font-size: 62.5%;       /* set default to 10px*/
} 



html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body {
	/* height: 100%; */
    /* margin: 0;
	padding: 0; */
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: #ebefe6;
	font-family: 'Glacial', sans-serif;
	font-size: 1.5rem;
	
	height: 100vh; /* Full viewport height */
    /* align-items: center; */
	/* flex-direction: column; */
}

main {
    flex: 1; /* Pushes the footer down */
	margin: 10px 20px;
	justify-content: center;
	/* align-items: center; */
}

/* HEADER
------------------------------------------------------------------------------------*/

header h1{
	color: #d3c6bb;
	font-family: 'Montserrat', serif;
	font-size: 3.6rem;
	font-weight: 700;
	margin: 10px 0;
}

.headline{
	text-decoration: none;
	color: #d3c6bb; /* Inherit text color from parent (header) */
    cursor: default; /* Prevent pointer cursor (optional) */
}

header {
	text-align: center;
    background-color: #687775;
    padding: 10px 20px;
}

/* header ul {
	font-size: 2rem;
} */

/* Adjust this to match your navbar height */
/* .logo img {
    height: 80px; 
} */

nav ul {
	justify-content: center;
    list-style: none;
    margin: 0;    
    padding: 0;
    display: flex;
	gap: 8px;
}

nav ul li {
    /* margin-left: 20px; */
	position: relative; /* Needed for absolute positioning */
}

nav ul li a {
    text-decoration: none;
    color: #d3c6bb;
    padding: 10px 15px;
    display: inline-block;
    position: relative;
}

/* Highlight effect on hover */
nav ul li a::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background-color: rgba(0, 0, 255, 0.2); /* Light blue background */
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.1s ease-in-out;
    z-index: -1; /* Places the highlight behind the text */
}

/* On hover, change text color and expand background */
nav ul li a:hover {
    color: #ebefe6; /* Change text color */
}

nav ul li a:hover::before {
    transform: scaleX(1); /* Expands the background */
}

@media screen and (min-width:836px) {
	header{
		display: flex;
		justify-content: space-between;
		align-items: center;
    	
	}

	nav ul{
		justify-content: center;
		list-style: none;
		margin: 0;    
		padding: 0;
		display: flex;
		gap: 8px;
	}
}

.btn {
    background: #687775;
    color: #d3c6bb;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.2rem;
    display: inline-block;
    padding: 7px;
    letter-spacing: 0.1em;
    line-height: 1;
    border-radius: 4px;
}

.btn:hover {
	color: #ebefe6;
}

@media screen and (max-width:484px) {
	
	header ul {
		font-size: 1.5rem;
		justify-content: center;
		align-content: center;
	}

	.headline{
		font-size: 2.6rem;
	}

}

@media screen and (min-width:485px) {
	
	header ul {
		font-size: 2rem;
		justify-content: center;
		align-content: center;
		gap: 0;
	}

}



/* HOME
------------------------------------------------------------------------------------*/

.mainHomeContent{
	margin: 0 auto;
	padding: 30px;
	max-width: 1000px;
	margin: auto;
	align-content: center;
}

.mainHomeContent p{
	justify-content: center;
	align-content: center;
}

.mainHomeContent h3{
	justify-content: center;
	text-align: center;
}

.homeGrid{
	padding: 15px;
}

.homeProjectLogo{
	width: 100%;
	height: auto;
	margin-bottom: 10px;
	max-width: 450px;
	display: block;
	margin: auto;
}

.homeKnowledgeLink img{
	display: block;
	margin: auto;
}

.homeLogo img {
	width: 100%;
	height: auto;
	margin-bottom: 10px;
	max-width: 450px;
	display: block;
	margin: auto;
}


@media screen and (max-width:835px){

}

@media screen and (min-width:836px) {
	.homeGrid{
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 20px;
	}
	


}


/* Knowledge
------------------------------------------------------------------------------------*/

.knowledgeContainer {
    display: flex;
	flex-direction: row;
    margin: 0;
}

#sidebar {
	width: 250px;
	min-width: 250px;
	background: #ebefe6;
	padding: 10px;
	overflow-y: auto;
	flex-shrink: 0;
	transition: transform 0.3s ease-in-out;
}
/* #sidebar.collapsed {
	transform: translateX(-100%);
	position: absolute;
} */

#content {
	flex-grow: 1;
	padding: 20px;
	overflow-x: auto;
}
.knowledgeContainer a {
	display: block;
	text-decoration: none;
	color: black;
	padding: 5px;
}
.knowledgeContainer a:hover {
	background: #d3c6bb;
}
.heading {
	font-size: 2rem;
}
.subheading {
	margin-left: 15px;
	font-size: 1.6rem;
}
.subsubheading {
	margin-left: 30px;
	font-size: 1.2rem;
}

@media (min-width: 769px) {
    #toggle-btn {
        display: none;
    }
}

@media screen and (max-width: 768px) {
	#sidebar {
		transform: translateX(-100%);
		position: absolute;
	}
	#sidebar.open {
		transform: translateX(0);
	}

	#toggle-btn {
		position: absolute;
		top: 130px;
		left: 10px;
		background: #687775;
		color: #d3c6bb;
		padding: 5px 10px;
		cursor: pointer;
		z-index: 1000;
	}

	.knowledgeContainer h1{
		font-size: 3rem;
	}

	.knowledgeContainer h1{
		font-size: 2.5rem;
	}

	.knowledgeContainer h1{
		font-size: 2rem;
	}

	#content {
		flex-grow: 1;
		padding: 20px 10px;
		overflow-x: auto;
	}

	
}



/* Projects
------------------------------------------------------------------------------------*/

.mainProjectContent{
	margin: 0 auto;
	padding: 30px;
	max-width: 900px;
}

.project-item {
    margin: 30px 0;
}

.project-item img {
    width: 400px;
	height: auto;
}

.resume-section
{
	flex: 1;
	display: flex;
	flex-direction: column;
}

@media screen and (min-width:680px){
    .project-item {
        display: flow-root;
    }
    .project-item img {
        float: left;
        margin-right: 20px;
    }

}
@media screen and (min-width:560px) and (max-width:679px){
    .project-wrapper{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 20px;
    }
    .project-item img {
        width: 100%;
		height: auto;
    };
}
@media screen and (max-width:559px) {
    .project-item img{
        width: 100%;
		height: auto;
        margin-bottom: 10px;
    }
    
}




/* ABOUT
------------------------------------------------------------------------------------*/


.aboutContainer{
	display: flex;
	justify-content: center;
    align-items: center;
	margin: 0 auto;
    max-width: 1000px;
	padding: 20px 30px;
	gap: 30px
}

@media screen and (max-width: 900px) {
	.aboutContainer{
		flex-direction: column;
	}
}

.aboutMessage {
    text-align: left;
}

.logo img {
    height: 180px; /* Adjust as needed */
    width: auto;
}

h1{
	font-size: 3.5rem;
}

h2{
	font-size: 2.6rem;
}
h3{
	font-size: 2rem
}

p{
	font-size: 2rem;
}

@media screen and (max-width:804px) {

	h1{
		font-size: 3.5rem;
	}
	h2{
		font-size: 2.5rem;
	}

	p{
		font-size: 1.6rem;
	}
}


@media screen and (max-width: 544px) {
	.logo img {
		height: auto; 
		width: 100%;
	}
	
}





/* FOOTER
------------------------------------------------------------------------------------*/
footer{
	display: flex;
    justify-content: space-between; 
	padding: 0 20px;
    background: #687775;
    color: #d3c6bb;
	align-items: center;
}

.socials{
    list-style-type: none;
    padding: 0;
    /* margin-left: 10px; */
}
.socials li{
    display: inline-block;
    margin-left: 10px;
}
.socials img{
    width: 32px;
}
.socials img:hover{
    opacity: 50%;
}

/* @media screen and (min-width:860px) {
    footer{
        display: flex;
        justify-content: space-between; 
		padding: 0 20px;
    }
}
@media screen and (max-width:859px) {
    footer{
        text-align: center;
        padding: 10px;
    }
} */





















/* button {
	background-color: #f2c33c;
	font-size: 20px;
	color: #000000;
	padding: 10px;
	border-radius: 10px;
	border: 3px solid #808080;
}
button:hover {
	background-color: #7cc272;
	color: #333333;
}

.hidden{
	display: none;
}

.showing{
	display: block;
	font-family: Arial, sans-serif;
	background-color: #509fcb;
	color: #000000;
	width: 400px;
	padding: 20px;
	margin-top: 20px;
	border-radius: 10px
}

.logo{
	width: 400px;
	height: 200px;
	float: right;
	/*
	position: absolute;
	top: 20px;
	right: 30px;
	
	margin: 10px 20px 20px 10px;
}
*/

/* p {
	color: #000000;
	text-align: justify;
	/*text-indent: 2em;*/
/* }

code{
	font-family: Consolas,"courier new";
	color: crimson;
	background-color: #f1f1f1;
	padding: 2px;
  	font-size: 105%;
} */ 


