
.art-page {
    width: 98vw;
    display: grid;
    grid-template-columns: 25% 75%;
}

.compartment {
    width: 80%;
    padding: 25px;
    background-color: #eef0f6;
}

.type-image {
    width: 100%;
    margin-bottom: 5%;
}

.type-text {
    display: flex;
    justify-content: end;
    align-items: end;
}

.main-page-image {
    width: 55%;
}

.compartment-button {
    margin-top: 10px;
}

.nav-container {
  width: 95%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 2%;
}


.nav-item {
  padding: 10px;
  text-align: left;
  margin-bottom: 5px;
}

.active {
  background-color: #eef0f6;
}

.nav-item > p {
  text-align: center;
}

.vertical-bar {
  border: solid 1px #e1e3eb;
  width: 80%;
  margin: 5px 0px;
}

.nav-item:hover {
  background-color: #eef0f6;
}

.art-page-gallery {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.art-page-gallery-container {
  width: 95%;
}

.multi-image-art-gallery {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  gap: 4%;
}

.multi-image-art-gallery > div {
  padding-bottom: 20px;
}

.art-gallery-two-items {
  width: 48%;
}

.art-gallery-three-items {
  width: 30%;
}

.art-gallery-image {
  width: 100%;
}

.art-gallery-image-clickable:hover {
  opacity: 90%;
  cursor: pointer;
}

.statement-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.statement {
  width: 70%;
}

.additional-nav {
  width: 98%;
  padding: 20px 0px 0px 0px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: end;
  border-right: solid 2px #e1e3eb;
}

.additional-nav-mobile {
  display: none;
}

.additional-nav-item {
  padding: 10px;
}

.additional-nav-item:hover {
  border-bottom: 2px;
}

.video {
  width: 960px;
  height: 600px;
}

.data-figures-ar {
  border: #eee 2px solid;
}

.description-text {
  max-width: 600px;
}

.resources {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.resources-image {
  width: 80%;
}

.spacer-bar-small {
  height: 20px;
}


/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 50px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }
  
  /* Modal Content (image) */
  .modal-content {
    margin: auto;
    display: block;
    max-width: 100%;
    height: 85vh;
  }
  
  /* Caption of Modal Image */
  .caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    font-size: .8em;
    line-height: 1.4em;
    font-weight: 400;
    letter-spacing: 1px;
  }
  
  /* 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;
  }
  
.page-caption {
  font-size: .7em;
  color: #adafb6;
  text-align: center;
  padding: 5px;
}




@media only screen and (max-width:900px){

    .art-page {
        height: 100%;
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .compartment {
        width: 80%;
        padding: 25px;
        background-color: #eef0f6;
        margin-bottom: 50px;
    }

    .additional-nav {
        display: none;
    }

    .additional-nav-mobile {
      width: 80%;
      padding: 20px 0px 0px 0%;
      display: flex;
      flex-direction: column;
      gap: 20px;
      align-items: center;
    }

    .nav {
      height: 100%;
      flex-direction: column;

    }
    
    .art-gallery-two-items {
      width: 100%;
    }

    .art-gallery-three-items {
      width: 100%;
    }

    .description-text {
      width: 80%;
    }

    .additional-nav-mobile {
      width: 100%;
      padding: 20px 0px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .recource-image {
      width: 80%;
    }

}

@media only screen and (max-width:750px){

    .gallery {
        margin-top: 100px;
    }

    .modal-content {
      width: 100%;
    }

}