.exhibition {
    border: 1px solid red;
    padding: 1rem;
    margin: 1rem;
  }
  
  #archive {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      margin-top: -10vh;
  }
  
  #exhibitionList{
      /* margin-top: 10vh; */
      height: 100vh;
      padding: 24px;
      padding-top: 0px;
      overflow-y: scroll;
      position: fixed;
      width: 20vw;
      overflow-y: scroll;
  }

  .exhibitionListItem{
    transition: .1s;
    border: 1px solid black;
    /* height: 10vh; */
    padding: 12px;
    margin-bottom: 12px;
    overflow-wrap: break-word;
  }

  .exhibitionListItem:hover{
    transition: .1s;
    border-top-right-radius: 50px;
  }  
  #exhibition{
      margin-top: 10vh;
      margin-left: 20vw;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      border: 1px solid black;
      padding: 24px;
      margin-right: 24px;

  
  }
  
  #exhibitionText p{
    margin-bottom: 1em;
  }

  .datePill{
    display: flex;
    padding: 4px;
    padding-left: 12px;
    padding-right: 12px;
    border: 1px solid black;
    background-color: #FDB32B;
    border-radius: 2em;
    width: fit-content;
    margin-top: 8px;
  }
  .zinePill{
    text-decoration: none;
    font-size: 16px;
    transition: .3s;
  }
  .zinePill:hover{
    transition: .3s;
    background-color: #FAF8F5;
    box-shadow: 0px 0px 20px #FAABE4;
  }

  .datePill a{
    text-decoration: none;
  }
  
  #exhibitionText{
        max-width: 25vw;
        min-width: 25vw;
        line-height: 1.3;
        margin-right: 24px;
    
  }
  


  #mosaic{
        display: grid; 
        height: fit-content;
        
        grid-template-columns: 1fr 1fr 1fr; 
        grid-template-rows: 40vh 40vh 40vh; 
        gap: 24px 24px; 
        
      }
      
  
  
    .imageContainer:nth-child(6n+1){
        grid-column: auto /span 2;
        grid-row: auto /span 1;
    }
    .imageContainer:nth-child(6n+2){
        grid-column: auto /span 1;
        grid-row: auto /span 1;
    }
    .imageContainer:nth-child(6n+3){
        grid-column: auto /span 3;
        grid-row: auto /span 1;
    }
    .imageContainer:nth-child(6n+4){
        grid-column: auto /span 1;
        grid-row: auto /span 1;
    }
    .imageContainer:nth-child(6n+5){
        grid-column: auto /span 2;
        grid-row: auto /span 1;
    }
    .imageContainer:nth-child(6n+6){
        grid-column: auto /span 3;
        grid-row: auto /span 1;
    }
  
  .imageContainer{
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      /* width: 25vw; */
      height: 40vh;
      border: 1px solid black;
      overflow: hidden;

  }
  .imageContainer:hover{
    cursor: pointer;
  }

  .imageText{
    /* display: none; */
    padding: 8px;
    border-top: 1px solid black;
    overflow: visible;
    height: fit-content;
    
  }

  .imageContainer .thumbImage{
      width: 100%;
      min-height: 50%;
      height: 100%;
      max-height: 100%;
      object-fit: cover;
  }

  a.listItem{
    color: black;
    text-decoration: none;
    font-size: inherit;
  }
  
  /* The Modal (background) */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    flex-direction: row;
    align-items: center;
    z-index: 200; /* Sit on top */
    /* padding-top: 0vh; Location of the box */
    padding: 10vh;
    top: 0px;
    left: 0px;
    width: 100vw; 
    height: 100vh; 
    /* overflow: auto; Enable scroll if needed */
    background-color: #FAF8F5;
  }
  
  /* Modal Content (Image) */
  .modal-content {
    width: 100%;
      height: 100%;
    margin: auto;
    display: block;
    object-fit: contain;
    /* border: 1px solid black; */
    /* border-radius: 12vw; */
    
   
  }
  .arrow{
    font-size: 4em;
  }
  .modalText {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 12px;
  }

  .exitDot{
    position: fixed;
    display: none;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 24px;
    background-color: #E05536;
    z-index: 250;
    transition: .5s;
    
  }
  .exitDot:hover{
    cursor: pointer;
    transition: .5s;
    background-color: white;
    box-shadow: 0px 0px 20px #E05536;
  }
  
  /* Caption of Modal Image (Image Text) - Same Width as the Image */
  #caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
  }
  
  /* Add Animation - Zoom in the Modal */
  .modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  
  /* The Close Button */
  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }

  @media only screen and (max-width: 810px) {
    #exhibitionList{
      display: none;
    }
    #exhibition{
      margin-left: 24px;
      flex-direction: column;
    }
    #exhibitionText{
      max-width: 100%;
      overflow-wrap: break-word;

    }
    #mosaic{
      display: flex;
      flex-direction: column;
    }
    .modal{
      padding: 24px;
      padding-top: 10vh;
    }
    .arrow{
      display: none;
    }
    .imageContainer .thumbImage{
      object-fit: contain;
    }
    .imageContainer{
      border: 1px solid black;
      border-radius: 0px !important;
    }
    .imageText{
      border-top: 1px solid black;
    }
  } 
  
  @media only screen and (max-width: 600px) {
   
  }

