/* All pages */

body {
    overflow-x: hidden;
}

/* oswald-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/oswald-v56-latin-regular.woff2') format('woff2'); 
}
/* oswald-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/oswald-v56-latin-600.woff2') format('woff2'); 
}

/* Header Styling */

.navbar-dark {
  --bs-navbar-active-color: lightblue;
}

#title2{
	display: none;
}

a.nav-link{
	text-decoration: none;
	font-size:24px;
	color: blue; 
}

a:visited{
	color: blue; 
}

a.nav-link:hover{
	color:lightblue;
}

.nav-link:active{
	color: lightblue !important;
}

#titleSpace{
	margin-right:100px;
}

.dropdown-menu{
	background-color: darkgrey;
	border: solid black 2px;
}

.dropdown-item{
	color: blue;
}

.hamburger-menu {
	display: none;
}

.hamburger-text{
	font-family: sacramento;  
	text-align:center; 
	font-size: 48px; 
	margin-top:40px;
}

.bar {
	width: 30px;
	height: 3px;
	margin-bottom: 5px;
	background-color: blue;
	transition: transform 0.4s ease, opacity 0.4s ease;
	transform-origin: center;
}

.hamburger-menu.active .bar:nth-child(2){
	opacity: 0;
}

.hamburger-menu.active .bar:nth-child(1){
	transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(3){
	transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
	display: none;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.5s ease-out, opacity 0.3s ease-out 0.1s;
}

.mobile-nav.active {
	display: block;
	max-height: 500px;
	opacity: 1;
}

#mobile-menu li{
	padding: 5px;
	margin: 10px;
}

#mobile-menu li a{
	text-decoration: none; 
}

#mobile-menu{
	list-style: none;
	font-size: 26px; 
	font-weight: bold; 
	text-align: center;
}

.header-container{
    display:flex !important; 
    justify-content: center !important;
}

.header-container > img{
	max-width: 800px;
	max-height: 300px;
}

.navbar-brand{
	margin-right: 0px;
}

#about-menu {
	position: relative;
}

#about-menu ul {
	display: none;
	position: absolute;
	top: 100%; 
	background: white;
	border: 1px solid #ccc;
	list-style: none;
	padding: 0.5rem;
	min-width: 180px;
}

#about-menu:hover ul {
	display: block;
}

#about-menu ul a{
	text-decoration:none;
}

#title,
#title2{
    font-family: Oswald\ script; 
    font-size: clamp(3rem, 10vw, 6.625rem);
    color:blue;
}

/* Stack title above nav on desktop */
@media (min-width: 801px){
	.navbar .container-fluid > .d-flex{
		flex-direction: column;
		align-items: center;
	}
	.navbar .container-fluid > .d-flex .navbar-brand{
    	margin-bottom: 8px;
	}
}

/* Home Page Styles */

#mainImage{
	width:100%; 
	height:100%; 
	max-width:fit-content; 
	max-height:fit-content;
	Border: solid black 7px
}

/* Professional Page Styles */

.page-title{
	text-align: center; 
	margin-bottom: 40px;
}

.professionalImg{
	width: 100%;
	max-width:300px;
	height: auto;
	border: solid black 2px;
}

.professionalImg:hover{
	width: 900px;
	max-width: 1000px;
}

.div-space{
	margin-bottom: 50px;
}


/* Resume */
#resume{
	width: 85%;
	height: 975px;
}

/* Miscellanious Styling */

body{
	background-color: white;
	color: black;
	overflow-x: hidden;
}

#footer{
	text-align:right;
	font-size:12px;
	margin-top:75px;
}

.mobile-text{
	font-size: 24px;
}


@media (max-width: 800px){
	body{
		padding: 0px 20px;
	}
	#footer{
		text-align:center;
	}
	#titleSpace,
	#title,
	#line,
	.waves{
		display:none;
	}
	.mobile-text{
		text-align: center;
	}
	p{
		margin: 5px;
	}
	#mainImage{
		margin: 5px;
		max-width: 85%;
	}
	.mobile-div{
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	#title2{
		display: block;
	}
	.hamburger-menu {
		display: block;
		width: 40px;
		height: 20px;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		cursor: pointer;
		margin-left: 10px;
	}
	.mobile-nav {
		display: block;
	}

	.mobile-nav.active {
		max-height: 500px;
		opacity: 1;
	}
	.selfie-box{
		display: flex;
		justify-content: center;
	}
	.home-text{
		margin: 20px;
		max-width: 95%;
	}
	.navbar .container-fluid {
		display: flex !important;
		flex-direction: column;
		align-items: stretch;
  	}
	.container{
		flex-wrap: wrap;
	}
	.container > .iframe-container{
		margin-left:10%;
	}
	.navbar .container-fluid > .d-flex.align-items-center {
		justify-content: space-between;
		width: 100%;
	}
}
