/* CSS Document created by Dieter Schneider 2006 for www.csstemplateheaven.com */

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "trebuchet MS" Arial, Helvetica, sans-serif;
  text-align: center;
  background-color: #e6ebf3;
}

#footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5em;
  background-color: #f0dcf0;
  color: #ffffff;
  font-size: 0.9em;
  border: 1px solid #cccccc;
}

.footer-left {
  flex: 1;
  text-align: left;
}

.footer-right {
  flex: 1;
  text-align: right;
}

.footer-text {
  font-size: 16px;
  font-weight: bold;
  font-family: "Times New Roman", Times, serif;
  font-style: bold;
  margin: 0;
}

.footer-icons {
  margin: 0;
}

#container {
  width: 80em;
  margin: 1em auto;
  background-color: #ffffff;
  font-size: 0.8em;
  border: 1px solid #75778e;
  text-align: left;
  padding: 1em;
}

#header {
  margin-bottom: 1em;
  border: 1px solid #f5e0f5;
  height: 150px;
  background-color: #f8f5fc;
  background-image: url(images/header_bg.jpg);
  background-repeat: no-repeat;
  background-position: 250px; /* Move the image up by 10 pixels */
  /* background-size: cover;  */
}

#content {
  /* float: right; */
  /* width: 50em; */
  padding: 0.5em;
  border: 1px solid #405d72;
  background-image: url(images/content_bg.jpg);
  background-repeat: no-repeat;
  background-position: right top;
  background-size: cover;
  margin-top: 1em;
  margin-bottom: 1em;
  background-color: #fcfcfc;
  display: flex;
  flex-direction: column;
}

#supervisor-section {
  display: flex;
  align-items: flex-start;
  margin-top: 1em;
}

#leftbox {
  padding: 0.5em;
  /* background-color: #fcfcfc; */
  border: 0px solid #cccccc;
  margin-right: 2em;
  margin-left: 8em;
  margin-bottom: 2em;
  width: 16%;
  /* border-radius: 50%; */
}

#fun-facts {
  flex: 1;
}

p {
  /* margin-top: 1em; */
  margin-bottom: 1em;
  padding: 0.5em;
  color: black;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  font-size: 16px;
}

h3 {
  font-size: 1em;
  /* align-items: center; */
  /* padding: .5em; */
  /* margin-top: -1em; */
  color: #7e0000;
  /* border: 1px dotted #CCCCCC; */
  /* background-color: #F3F3F3; */
}

h2 {
  font-size: 23px;
  text-align: center; /* Center-align text */
  padding: 0.5em;
  margin-bottom: 1em;
  color: #333333;
  border: 1px solid #eeeeee;
  background-color: #f5e0f5;
}

/* h2 {
	font-size: 23px;
	align-content: center;
	align-items: center;
	padding: 0.5em;
	margin-bottom: 1em;
	color: #333333;
	border: 1px solid #EEEEEE;
	background-color: #c3c3f3;
} */

h1 {
  font-size: 5.3em !important;
  font-size: 3.3em;
  padding: 0.5em;
  margin-bottom: 1em;
  color: #7e347e;
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
}

.linkedin-icon {
  font-size: 16px;
  color: white;
  text-decoration: none;
}

.linkedin-icon:hover {
  color: #0077b5;
}

.resume-icon {
  font-size: 16px;
  color: #007bff;
  text-decoration: none;
}

.resume-icon:hover {
  color: #0056b3;
}

.portfolio-icon {
  font-size: 16px;
  color: #007bff;
  text-decoration: none;
}

.portfolio-icon:hover {
  color: #0056b3;
}

.portfolio-link {
  font-size: 13px;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-weight: bold;
  color: #7e0000;
  text-decoration: none;
}

.portfolio-link:hover {
  color: red;
}

.github-icon {
  font-size: 16px;
  color: #007bff;
  text-decoration: none;
}

.github-icon:hover {
  color: #0056b3;
}

.github-icon,
.linkedin-icon,
.resume-icon,
.portfolio-icon {
  margin-right: 15px;
}

a:link {
  color: #676d79;
}
a:visited {
  color: #676d79;
}
a:hover {
  color: #820606;
}
a:active {
  color: #890000;
}

dl {
  margin-bottom: 1.5em;
  margin-left: 2em;
  font-size: 15px;
}

dt {
  font-style: italic;
  color: #7e0000;
  font-weight: bold;
}

dd {
  margin-bottom: 0.3em;
  text-indent: 0.5em;
}

/********** Top navigation *************/
#navlist {
  height: 2.7em;
  padding: 0; /* Remove padding to keep items aligned correctly */
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  background-repeat: no-repeat;
  background-color: white;
  display: flex;
  justify-content: center; /* Center the items */
  align-items: center; /* Vertically center the items */
  margin: 0; /* Remove margin */
}

#navlist ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: space-around; /* Spread items evenly */
  width: 100%;
}

#navlist li {
  font-size: 16px;
  font-family: serif;
  /* font-style: italic; */
  flex-grow: 1; /* Allow items to grow evenly */
  text-align: center; /* Center the text inside list items */
  list-style: none; /* Remove dots */
}

#navlist a,
#navlist a:link,
#navlist a:visited {
  border: 0px solid #cccccc;
  padding: 0.5em 1.2em; /* Adjust padding for better alignment */
  color: #ffffff; /* Change text color */
  background-color: #a543a5; /* Background color white */
  text-decoration: none;
  display: block; /* Ensure the links take up full area of list item */
  transition: color 0.3s, background-color 0.3s; /* Smooth transition */
}

#navlist a:hover,
#navlist a:active,
#navlist a:focus {
  border: 1px solid #a543a5;
  text-decoration: none;
  color: #a543a5; /* Text color white on hover */
  background-color: #ffffff; /* Background color matches original nav background */
}

#navlist #active a {
  background-color: #cdcdb3;
  color: #000000;
  font-size: 1em;
  font-weight: bold;
}

.portfolio .portfolio-details .portfolio-content .isotope .row {
  display: flex;
  flex-wrap: wrap;
}

.portfolio .portfolio-details .portfolio-content .isotope .col-sm-4 {
  flex: 0 0 33.33%; /* Each column takes up 33.33% of the row, allowing for three columns per row */
  max-width: 33.33%;
  box-sizing: border-box;
  padding: 10px; /* Adjust the padding as needed */
}

.portfolio .portfolio-details .portfolio-content .isotope .item img {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
  display: block; /* Ensure the image takes up the full width of its container */
}

.portfolio .portfolio-details .portfolio-content .isotope .item {
  position: relative;
  overflow: hidden;
}

.portfolio
  .portfolio-details
  .portfolio-content
  .isotope
  .item
  .isotope-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(
    0,
    0,
    0,
    0.5
  ); /* Adjust overlay color and opacity as needed */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.portfolio
  .portfolio-details
  .portfolio-content
  .isotope
  .item:hover
  .isotope-overlay {
  opacity: 1;
}

.portfolio
  .portfolio-details
  .portfolio-content
  .isotope
  .item
  .isotope-overlay
  ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.portfolio
  .portfolio-details
  .portfolio-content
  .isotope
  .item
  .isotope-overlay
  ul
  li {
  margin: 0 5px;
}

.portfolio
  .portfolio-details
  .portfolio-content
  .isotope
  .item
  .isotope-overlay
  ul
  li
  a {
  color: #fff;
  font-size: 20px;
  text-decoration: none;
}

#me {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 1em;
}

#rightbox {
  width: 25%;
  padding: 0.5em;
  margin-left: auto;
  margin-bottom: 2em;
  text-align: center; /* Center align the text inside the right box */
}

#rightbox img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 50%; /* Making the image circular */
}

#fun-facts {
  width: 70%;
  text-align: left; /* Ensure text is left aligned */
}

.certificate-button {
  padding: 10px 20px;
  font-size: 16px;
  color: white;
  background-color: #a543a5; /* Background color */
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Updated box-shadow for better styling */
  transition: background-color 0.3s ease, color 0.3s ease; /* Added color transition */
  margin-left: 25px; /* Move button 25px to the right */
}

.certificate-button:hover {
  background-color: #f5e0f5; /* Hover background color */
  color: #000; /* Font color turns black on hover */
}

.certificate-strong {
  color: white;
}

.certificate-strong:hover {
  color: #000; /* Font color turns black on hover */
}
