/* **************** Results *************** */
.results article {
  width: 50%;
  margin-bottom: 20px;
}

.results p {
  text-align: justify;
  text-indent: 40px;
}

.results a:hover {
  text-decoration: underline;
}

.events iframe,
.awards img {
  width: 90%;
  height: 250px;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  animation-duration: 1.5s;
}

.events p {
  margin-right: 40px;
}

.awards p {
  margin-left: 40px;
}

.awards h2 {
    margin-bottom: 50px;
  }

.publications span {
    color: crimson;
    font-weight: 600;
}

.publications h2 {
  margin: 20px 0px 0px;
}

.publications ol {
  margin: 20px 0px 10px 20px;
  text-align: justify;
}

.publications ol li {
  margin-bottom: 15px;
}

.publications img {
    float: right;
    margin-left: 20px;
    width: 180px;
    max-height: 180px;
    border: 1px solid black;
}

.clear {
    clear: both;
}

.section-header {
  margin-bottom: 25px;
}

.section-header h3 {
  font-style: italic;
  font-weight: 300;
  text-align: center;
  margin-top: 0px;
}

.section-header h2 {
  margin-bottom: 0px;
}

.gallery-container {
  display: grid;
  grid-template-columns: auto auto;
  /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
  gap: 10px;
  padding: 20px 0;
  max-width: 300px;
  margin: auto;
}    
.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}    
.gallery-item:hover {
  transform: scale(1.03);
}    
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 9999;
}    
.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}    
.lightbox.show {
  visibility: visible;
  opacity: 1;
}    
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  font-weight: bold;
}
.topcenter {
  position: absolute;
  top: 18px;
  left: 225px;
  font-size: 20px;
  font-weight:bold;
}
/* **************** Results *************** */

/* **************** RESPONSIVE *************** */
/* Resizing team member */
@media screen and (max-width: 995px) {
  .results .flex {
    flex-wrap: wrap;
    /* flex-direction: column; */
  }

  .results article {
    width: 100%;
  }

  .results p {
    text-indent: 20px;
  }

  .events p {
    margin-right: 0px;
    text-indent: 20px;
  }

  .events ul {
    margin: 20px 0px 30px;
  }

  .events iframe {
    height: 500px;
  }

  .awards p {
    margin-left: 0px;
  }

  .awards img {
    height: auto;
  }
}

/* Tablets and under */
@media (max-width: 768px) {
  .events iframe {
    height: 350px;
  }
}

/* Mobile */
@media (max-width: 500px) {
  .results {
    padding: 10px;
  }
}
/* **************** RESPONSIVE *************** */


