/* Reset default */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body and general styling */
body {
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  background-color: #ffffff;
  display: flex;
  height: 100vh;
}

.project-card img {
  inline-size: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.dark-mode {
  background-color: black;
}


.footer {
  text-align: center;
}

.footer a {
  color: #555454;
}

.contact-info a {
  color: rgb(134, 134, 134);
}

/* Container for navbar and content */
.container {
  display: flex;
  width: 100%;
}

/* Styling the vertical navigation bar */
.navbar {
  width: 250px;
  position: fixed;
  height: 100%;
  top: 0;
  left: 0;
  padding-top: 20px;
  text-align: left;
}

.navbar .profile {
  margin-left: 5px;
}

.navbar .profile img {
  width: 200px;
  border-radius: 50%;
}

.navbar .profile .name {
  font-size: 25px;
  font-weight: semi-bold;
  color: #232323;
}

.navbar .profile .job-title {
  font-size: 13px;
  color: #555454;
}

.navbar ul {
  list-style-type: none;
  padding: 0;
}

.navbar ul li {
  padding: 15px 20px;
}

.navbar ul li a {
  color: rgb(121, 121, 121);
  text-decoration: none;
  font-size: 18px;
  display: block;
}

.navbar ul li a:hover {
  text-decoration: underline;
}

.navbar .links {
  margin-top: 20px;
  padding: 15px;
}


.navbar .links img {
  opacity: 60%;
  margin-right: 10px;
  width: 35px;
}


/* Content area */
.content {
  margin-left: 250px;
  padding: 20px;
  width: 100%;
}

h1,
h2 {
  margin-bottom: 20px;
}

section {
  margin-bottom: 40px;
}

section h2 {
  color: #333;
}

section p {
  color: #555;
  line-height: 1.6;
}

/* Styling for the section headings */
section h1 {
  font-size: 30px;
  color: #333;
}

/* ABOUT PAGE */

.about-me {
  padding: 40px;
}

.contact-info {
  padding: 40px;
  margin-bottom: 80px;
}

/* Media query for screens 800px or smaller (convert to horizontal) */
@media (max-width: 800px) {
  /* ROB'S ADDITIONS BELOW */
  .navbar {
    display: flex;
    width: 100%;
  }
  .navbar .links {
  display: none;
  }

  .navbar ul li a {
    font-size: 0.75rem;
  }

  .container {
    flex-direction: column;
  }
  .content {
    margin-left: 0px;
    margin-top: 60px;
    /* padding: 20px; */
    /* width: 100%; */
  }

  .navbar .profile {
    display: flex;
    margin-left: 25px;
    
  }
  .navbar .profile .name {
    margin-top: 0.25rem;
    font-size: 1rem;
  }
  .navbar .profile p {
    display: none;
  }

  .navbar .profile img {
    width: 130px;
    height: 50px;
    border-radius: 50%;
  }

  /* ^^^ */

  .navbar ul {
    display: flex;
    justify-content: space-around;
    width: 100%;
  }

  .navbar ul li {
    display: inline-block;
  }
}

/* ADDIITONAL MEDIA QUERY */

@media (max-width: 550px) {
  .navbar ul li a {
    font-size: 0.75rem;
  }

  .navbar .profile .name {
    font-size: 0.75rem;
    margin-top: 0.5rem;
  }
}


/* IMAGE EXP */

.expandable {
  width: 200px;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.expandable:hover {
 filter: brightness(95%);
  
}

/* Modal styling */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal img {
  max-width: 90%;
  max-height: 80%;
}

.close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}


