.jamboree-page {
  /* background-color: #eee1c6; */
  justify-content: center;
  text-align: center;
  margin-top: 6rem;
  scroll-padding-top: 6rem;
}

.name {
  color: #1d5356;
  font-size: 25px;
  font-weight: 600;
  margin-top: 16px;
  text-align: center;
}

.awards-title {
  color: #1d5356;
  font-size: 36px;
  font-weight: 600;
  margin-top: 16px;
  text-align: center;
}

.award {
  margin: auto;
  margin-bottom: 32px;
  /* background-image: url(https://static.igem.wiki/teams/4213/wiki/wiki/img/team/blob1.png);
    border-radius: 20%; */
  /* text-align: left; */
}

.award-title {
  font-size: 24px;
  margin-bottom: 8px;
}

.nomination {
  font-size: 16px;
  margin-bottom: 8px;
  color: #777;
}

img {
  max-width: 100%;
  height: auto;
}

.award-image {
  height: 15rem;
  transition: transform 0.5s ease;
}

.award-image-env {
  height: 14rem;
  transition: transform 0.5s ease;
}

.award-image-env:hover {
  transform: scale(1.5);
}

.award-image:hover {
  transform: scale(1.5);
}

.nomination-image {
  height: 10rem;
  transition: transform 0.5s ease;
}

.nomination-image:hover {
  transform: scale(1.5);
}

.container-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
}


/* div#carousel { 
    perspective: 1200px; 
    padding-top: 10%; 
    font-size:0; 
    margin-bottom: 3rem; 
    overflow: hidden; 
  }
  figure#spinner { 
    transform-style: preserve-3d; 
    height: 300px; 
    transform-origin: 50% 50% -500px; 
    transition: 1s; 
  } 
  figure#spinner img { 
    width: 50%; max-width: 425px; 
    position: absolute; left: 30%;
    transform-origin: 50% 50% -500px;
    outline:1px solid transparent; 
  }
  figure#spinner img:nth-child(1) { transform:rotateY(0deg); 
  }
  figure#spinner img:nth-child(2) { transform: rotateY(-45deg); }
  figure#spinner img:nth-child(3) { transform: rotateY(-90deg); }
  figure#spinner img:nth-child(4) { transform: rotateY(-135deg); }
  figure#spinner img:nth-child(5){ transform: rotateY(-180deg); }
  figure#spinner img:nth-child(6){ transform: rotateY(-225deg); }
  figure#spinner img:nth-child(7){ transform: rotateY(-270deg); }
  figure#spinner img:nth-child(8){ transform: rotateY(-315deg); }
  div#carousel ~ span { 
    color: #fff; 
    margin: 5%; 
    display: inline-block; 
    text-decoration: none; 
    font-size: 2rem; 
    transition: 0.6s color; 
    position: relative; 
    margin-top: -6rem; 
    border-bottom: none; 
    line-height: 0; }
  div#carousel ~ span:hover { color: #888; cursor: pointer; } */

/* Position the image container (needed to position the left and right arrows) */
.container-gallery {
  position: relative;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Container for image text */
.caption-container {
  text-align: center;
  /* background-color: #222; */
  padding: 2px 16px;
  color: white;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Six columns side by side */
.column {
  float: left;
  width: 16.66%;
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

.slide-wrapper {
  max-height: 65vh;
  overflow: hidden;
}

.slide-wrapper img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
}

@media (max-width: 995px) {
  .container-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 20px;
  }

  .award-image {
    height: 10rem;
    transition: transform 0.5s ease;
  }

  .award-image-env {
    height: 10rem;
    transition: transform 0.5s ease;
  }
  
  .award-image-env:hover {
    transform: scale(1.5);
  }
  
  .award-image:hover {
    transform: scale(1.5);
  }
  
  .nomination-image {
    height: 8rem;
    transition: transform 0.5s ease;
  }
  
  .nomination-image:hover {
    transform: scale(1.5);
  }
}
