/* General Style Rules */

* { margin:0; padding:0; box-sizing:border-box; }

#background {
  background: url("../images/background.jpg") no-repeat center/cover;
  background-attachment: fixed;  
  min-height: 100vh;            
  position: relative;
}

html, body { height:100%; font-family: 'Courier New', Courier, monospace; }

/* Nav menu rules */
.navMenu {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;   
}

.menuLabel {
  color: #fff;
  font-size: 1.5rem;
  margin-right: 12px;
  cursor: pointer;      
}

.menuIcon {
  width: 30px;
  cursor: pointer;
}

.menuIcon span {
  display: block;
  border-radius: 2px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
}

.navList {
  list-style: none;
  position: absolute;
  top: 40px;
  right: 0;
  background: rgba(0,0,0,0.6);
  padding: 10px 15px;
  display: none;
  border-radius: 4px;
}

.navMenu:hover .navList,
.menuIcon:focus + .navList {
  display: block;
}

.navList li {
  margin: 8px 0;
}

.navList a {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.navList a:hover {
  text-decoration: underline;
}

/* Index page rules */

.indexContent {
  position: absolute;
  top: 50vh;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.indexContent img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
}

.indexContent h1 {
  font-size: 4rem;
  margin: 20px 0 10px;
}

.indexContent p {
  font-size: 2rem;
  margin: 5px 0;
}

.indexContentTags {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  margin: 0;
  color: #fff;
  font-size: 2.5rem;
}

.separator {
  margin: 0 .75rem;
  font-size: 2.5rem;
  line-height: 0;
  color: #fff;
}

.contact {
  position: absolute;      
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.contact-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  color: #fff;
  text-decoration: none;
  border: 2px solid #fff;
  border-radius: 30px;
  font-size: 1.5rem;
  backdrop-filter: blur(4px);
}

.contact-btn:hover,
.contact-btn:focus {
  background: rgba(255,255,255,0.2);
}

/* Style rules for resume and about page containers */

.aboutContainer, .resumeContainer {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background-color: rgba(235,235,235,.95);
  position: relative; 
}

/*About page rules*/

.aboutContainer p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.aboutIntro h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.aboutGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.aboutCard {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.aboutCard h2 {
  color: #005f73;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.aboutCard ul {
  list-style: disc inside;
  line-height: 1.5;
}

.whyHireMe h1, .gallery h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

.connect h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.imageGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.imageCard img {
  width: 100%;
  height: auto;
  display: block;
  overflow: hidden;
  border-radius: 8px;
}

.connect {
  margin: 3rem 0;
  text-align: center;
}

.connect-button .btnlinkedin {
  background: #0077B5;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-size: 1.2rem;
  text-decoration: none;
  color: #fff;
  transition: background 0.3s ease;
}

.connect-button .btnlinkedin:hover {
  background: #005582;
}

/* Resume page rules */

.resumeHeader h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
}

.resumeHeader p {
  text-align: center;
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 2rem;
}

.resumeHeader a {
  color: #005f73;
  text-decoration: none;
}

.resumeHeader a:hover {
  text-decoration: underline;
}

.resumeSection {
  margin-bottom: 2rem;
}

.resumeSection h2 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.resumeSection hr {
  border-top: 2px solid #333;
  margin-bottom: 1rem;
}

.educationDiv {
  display: flex;
  justify-content: space-between;
}

.resumeContainer ul {
  list-style: disc inside;
  margin: 0.5rem 0 0 0;
  padding-left: 1rem;
}

.eduDate, .workDate {
  text-align: right;
  font-size: 0.95rem;
}

.ipCourses, .completedCourses {
  list-style: disc inside;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem 2rem; 
}

.ipCourses li:nth-child(4) {
  grid-column: 2;
}

.work {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
