.paper {
  padding: 2rem 0;
  display: grid;
  grid-template-columns: auto 8fr auto;
  gap: 0 4px;
  align-items: center;
  border-top: 1px solid #222;
}

.paper .title {
  /*text-transform: uppercase; */
  font-weight: bold;
  cursor: pointer;
}

.paper p {
  margin-bottom: 2px
}

.paper-content {
  margin-left: 32px;
  margin-right: 24px;
}

.paper-abstract {
  height: 100px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.paper-buttons {
  margin-top: 5px
}

.paper .button {
  display: inline-block;
  height: 25px;
  padding: 0 10px;
  font-weight: 100;
  line-height: 25px;
  text-transform: none;
}

#paper-expand-button {
  display: none;
}

.paper-thumb {
  transition: 0.3s;
  width: 200px;
  height: 150px;
}

img.paper-thumb:hover{
  opacity: 0.4;
}

@media (max-width: 480px) {
  .paper {
    grid-template-columns: auto 8fr;
  }

  .paper-date {
    display: none;
  }

  .paper-content {
    margin-left: 8px;
    margin-right: 0px;
  }
  
  .paper-abstract {
    display: none;
  }

  .paper-thumb {
    width: 100px;
    height: 75px;
  }
}


.search-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

input.search-input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

button.search-reset-button {
  margin-bottom: 1.5rem; /* keep same with input */
  margin-right: 1rem;
  border-radius: 8px;
  padding: 0 1rem;
  border: 1px solid var(--primary-var-color);
  /* text-transform: none; */
}

.research-papers-bottom {
  border-top: 1px solid #222;
}

.research-show {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
  margin-top: 2rem;
}

.research-show-button {
  color: var(--secondary-color);
  text-transform: uppercase;
  background-color: var(--primary-color);
  border: none;
  margin: 0;
}

.research-show-button:hover {
  color: var(--secondary-color)
}

.research-show-button:focus {
  color: var(--secondary-color)
}

.project-container {
  width: 100%;
  /* overflow-x: auto; */
  /* display: inline-flex; */
  margin: 3rem 0;
  /* white-space: nowrap; */
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.project-content:hover {
  transition: 0.3s;
}

.project-content:hover img {
  opacity: 0.4;
}

.project-content {
  transition: 0.3s;
}

.project-item {
  margin-right: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  /* width: 300px; */
}

.project-image {
  border: 0.25px solid #555;
  max-width: 90%;
  /* max-height: 200px; */
  aspect-ratio: 16/9;
  overflow: hidden;
}

.project-description {
  color: var(--secondary-color);
}

.project-caption {
  padding: 3px;
}