/* general spacing */
#name {
  display: flex;
  align-items: center;
}

#project_grid {
  padding-bottom: 60px;
}

/* research formatting */
.research-image {
  background-image: url("../img/project_images/sos_hex.png");
  height: 10rem;
  width: 10rem;
  background-size: cover;
  border-radius: 15px;
  flex-shrink: 0;
  margin-right: 1em;
  background-color: #e6e7e7;
}

.research-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  padding-bottom: 30px;
}

.research-container:last-child {
  padding-bottom: 0px;
}

.research-title {
  font-size: 20px;
  line-height: 90%;
  font-family: "Source Code Pro", monospace;
  padding-bottom: 10px;
}

.author-note {
  font-size: 14px;
}

.links {
  padding-top: 15px;
}

.links > a {
  margin-right: 7px;
  font-family: "Source Code Pro", monospace;
  background-color: var(--accent_color);
  color: white;
  border-radius: 50px;
  padding: 2px 9px;
}

/* intro paragraph/footer */
/* two column redesign code */
#portrait {
  width: 100%;
  aspect-ratio: 0.75;
  outline: none;
  background-color: #EEE;
}

#sidebar {
  position: fixed;
  height: 100%;
  width: 30rem;
  top: 0;
  bottom: 0;
  left: 0;
}

#main {
  margin-left: 30rem;
  margin-top: 2rem;
  margin-bottom: 5rem;
  margin-right: 7.5rem;
}

#sidebar-box {
  position: absolute;
  top: 5em;
  width: 65%;
  margin-left: 25%;
  margin-right: 10%;
}

#name {
  padding-top: 1rem;
  font-size: 1.5em;
  margin-bottom: 0.8em;
}

#news {
  background-color: rgba(var(--callout_color), 0.2);
  border-color: rgb(var(--callout_color));
  border-radius: 5px;
  border-style: solid;
  margin-bottom: 1em;
  padding: 0.5em;
}

#info h2 {
  margin-top: 0.3em;
  font-size: 1.1em;
  margin-bottom: 0;
}

#email {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 0.5em;
}

#mail {
  vertical-align: baseline;
  height: 16px;
}

#mail > * {
  stroke: var(--accent_color);
  stroke-width: 35px;
  fill: none;
}

.link_arrow {
  stroke: var(--accent_color);
  stroke-width: 50px;
  fill: none;
  height: 16px;
  margin-left: 8px;
}

#projects > .ext_link:hover .link_arrow {
  stroke: black;
  animation: blueblack 0.2s;
}

/* Footer styling */
#footer {
  text-align: center;
  padding: 20px;
  margin-top: 3rem;
  background-color: #f4f4f4;
  border-top: 1px solid #ccc;
}

#footer p {
  margin: 0;
  color: #333;
}

#navbar {
  display: flex; /* Make the navbar a flex container */
  justify-content: center; /* Center items horizontally */
  align-items: center; /* Align items vertically */
  background-color: transparent; /* Keep background transparent for now */
  padding: 20px 0; /* Add padding around the navbar */
  width: 100%;
}

#navbar ul {
  list-style: none; /* Remove bullet points */
  margin: 0; /* Reset margin */
  padding: 0; /* Reset padding */
  display: flex; /* Arrange list items horizontally */
  gap: 20px; /* Add space between the items */
}

#navbar ul li {
  margin: 0;
  padding: 0;
}

#navbar ul li a {
  text-decoration: none; /* Remove underline */
  color: white; /* Black text color by default */
  background-color: #0073e6; /* Light blue tabs by default */
  font-size: 1.1em; /* Adjust font size */
  font-family: Arial, sans-serif; /* Use a clean font */
  padding: 10px 15px; /* Add padding around the text */
  border-radius: 5px; /* Rounded corners for tab effect */
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover effect */
}

/* Hover effect: darken the background and change text color */
#navbar ul li a:hover {
  background-color: #0073e6; /* Slightly darker blue on hover */
  color: white; /* White text on hover */
  cursor: pointer;
}

@keyframes blueblack {
  from {
    color: var(--accent_color);
  }
  to {
    color: black;
  }
}
@media only screen and (max-width: 768px) {
  #navbar {
    padding: 1rem 0;
  }
  #navbar ul {
    flex-direction: column;
    align-items: center;
  }
  #navbar ul li {
    padding: 0.5rem 0;
  }
  #main {
    margin-left: 10vw;
    margin-right: 10vw;
  }
}
/* make homepage responsive */
@media screen and (max-width: 1000px) {
  #sidebar {
    width: 40vw;
  }
  #main {
    margin-left: 40vw;
    margin-right: 10vw;
  }
}
@media only screen and (max-width: 920px) and (min-width: 500px) {
  #name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media only screen and (max-width: 700px) {
  .research-container {
    flex-direction: column;
    gap: 15px;
    padding-bottom: 50px;
  }
}
@media only screen and (max-width: 500px) {
  #sidebar {
    position: relative;
    width: auto;
    margin-left: 10vw;
    margin-right: 10vw;
    margin-top: 5vw;
    margin-bottom: 5vw;
  }
  #sidebar-box {
    display: flex;
    flex-direction: column;
    height: 100%;
    top: auto;
    position: relative;
    width: 100%;
    margin: 0;
  }
  #portrait {
    height: 60vw;
    width: auto;
    margin-right: 10px;
    object-fit: contain;
    object-position: left;
    width: fit-content;
  }
  #main {
    margin-left: 10vw;
    margin-right: 10vw;
    margin-top: 20px;
  }
}
@media screen and (min-width: 1350px) {
  #main {
    padding-left: calc((100vw - 1040px) * 0.5 - 7.5rem);
    margin-right: calc((100vw - 1040px) * 0.5);
  }
  #sidebar {
    margin-left: calc((100vw - 1040px) * 0.5 - 7.5rem);
  }
}
@media only screen and (max-width: 1350px) and (min-aspect-ratio: 50/25) {
  #portrait {
    height: 50vh;
    width: auto;
    align-self: flex-end;
  }
}

/*# sourceMappingURL=homeStylesheet.css.map */
