
html {
  font-family: helvetica;
  
}

body  {
    border: 0px;
    margin: 0px auto;
	display: flex;
    flex-direction: column;
    min-height: 100vh;
	background-color: #f1f1f1;
}

h1 {
  overflow: auto;
  margin: 0;
  padding: 0;
}


.navbar{
	background-color: #ccd1d1;
}
.navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-size: 24px;
  gap: 15%;
  display: flex;
  justify-content: center;
}

.navbar li {
  float: left;
  justify-content: center;
}

.page{
	background-color: white;  
	box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); 
	border-radius: 10px;
}

.navbar li a {
  display: block;
  color: #000;
  padding: 20px 15px;
  text-decoration: none;
}

/* Change the link color on hover */
.navbar li a:hover {
  background-color: #7f8c8d;
  color: white;
}

.row{
  display: flex;
  gap: 30px;
}

.column{
	flex: 50%;

}

.top-image-container {
  margin: 0;
  padding: 0;
  width: 100vw;
  text-align: center;
}

.top-image {
  display: block;
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  margin: 0;
  padding: 0;
}
/*Index profile*/
.profile-image{
    object-fit: cover;
    border-radius: 50%;
    margin: auto;
	min-height: 500px;
}

.email-box {
	
    display: none;
    background: #6D4AFF;
	color: white;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
    margin-top: 10px;
}

.email-box p{
	
	font-size: clamp(20px, 3.5vw, 28px) !important;
}


.profile h1 {
    font-size: clamp(24px, 4vw, 40px);
}

.profile h2 {
    font-size: clamp(20px, 3.5vw, 28px);
}

.profile h3 {
    font-size: clamp(18px, 3vw, 24px);
}

.profile p {
    font-size: clamp(16px, 2.5vw, 20px);
}


.contactIcons{
	    font-size: clamp(32px, 2.5vw, 48px);
		
}


.fa:hover{
	opacity: 0.7;
}

.contents-container {
	flex: 1;
    padding: 40px;
	padding-left: 20%;
	padding-right: 20%;
}

/* Navbar container */
.nav-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

/* Logo style */
.logo {
  text-decoration: none;
  color: black;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 15px;
  display: block;
}

/* Hamburger Button */
.hamburger {
  transition: transform 0.3s ease-in-out;
  font-size: 2rem;
  background: none;
  border: none;
  color: black;
  cursor: pointer;
  display: none;
  padding: 10px;
}

/*Collapsable menus */
.collapse-header{
  background-color: #777;
  color: white;
  cursor: pointer;
  padding: 18px;
  max-width: 100%;
  border: none;
}

.collapse-content{
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.collapse-content p{
	font-size: 1.1rem;
}

/*Skill lists resume*/

.skill-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.skill-list ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.skill-list h3{
	margin: 5px auto;
}

.skill-list li {
    font-size: 1.2rem;
    padding: 5px 0;
}

/*Project elements*/

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.project-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.project-card img {
    max-width: 100%;
    border-radius: 5px;
}


.project-card a {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    color: #007BFF;
}

.project-header h1{
	text-align: center; 
	font-size: 36px;
}

.project-header p{
	text-align: center; 
	font-size: 20px;
}

.project-header h3{
	text-align: center; 
	font-size: 28px;
}

/*footer*/

.footer {
    background-color: #ccd1d1;
    color: black;
    text-align: center;
    padding: 15px 0;
    width: 100%;
    position: relative;
    bottom: 0;
}
.footer-nav {
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.footer-social {
    padding-top: 10px;
}

/* Center social media icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons a {
    font-size: 36px;
    color: black;
    text-decoration: none;
}

.social-icons a:hover {
    opacity: 0.7;
}


/*Write up stles*/

.write-title h1 {
  font-size: 42px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.write-body h3{
	font-weight: bold;
	text-align: center;
}

.write-body ul {
    list-style-type: disc;
    padding-left: 20px;
}

.write-body li {
    font-size: 18px;
    margin-bottom: 5px;
    line-height: 1.5;
}

.write-body img{
  width: 100%;
  display: block;
  margin: 5px auto;
  max-width: 600px;
  border-radius: 8px;
}

.write-body figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px auto;
}

.write-body figcaption {
  font-size: 18px;
  color: #444;
  margin-bottom: 5px;
  max-width: 90%;
}


.write-body p{
  font-size: 18px;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 20px;
  padding: 0 10px;
  word-spacing: 0.01em;
}

/* Responsive styles*/

@media (max-width: 1600px){	

	.profile-image{	
		min-height: 400px;
	}

	.row{
		display: block;
		align-items: center;  
	}

	.contents-container {
		margin-left: 0;
	}
	  
	 
	.column{
	   text-align: center;
	}
}


@media (max-width: 875px) {
		
	.navbar  ul {
		width: 100%;
		height: auto;
		position: relative;
		left: 0;
		height: auto;
		display: none;
	  }

	.navbar ul.active {
		display: block;
	}
	  
	.navbar li {
		float: none;
	}
	.navbar li a {
		text-align: center;
	}

	.write-body p {
		font-size: 16px;
		line-height: 1.5;
		text-align: center;
	}

	.write-title h1 {
		font-size: 32px;
	}

	.profile-image {
		display: block;
		margin: 0 auto;
		max-width: 100%;
		min-width: 15%;
		min-height: 15%;
	}

	.hamburger {
		margin-left: 47%; 
		display: block;
	}
	  
	.skill-list {
		display: block;
		align-items: center; 
		text-align: center;

	}

	.write-body ul {
		text-align: center;
		padding-left: 0;
		list-style-position: inside;
	}

	.skill-list ul {
		list-style-type: none;
		padding-top: 20px;
		margin: 0;
	}
	  

	.rotate-90 {
		transform: rotate(90deg);
		transition: transform 0.3s ease-in-out;
	}

	.project-grid {
		display: flex;
		flex-wrap: wrap;
		padding: 0px;
	}

	.contents-container {
		padding: 15px;
		padding-left: 5%;
		padding-right: 5%;
	}

}

/*This addresses a very annoying issue with the project grid cards on the bottom row being inconsitantly sized only at THIS range*/
@media (max-width: 875px) and (min-width: 590px) {
    .project-card {
        flex: 1 1 48%;
    }
}


