/* styles.css */

html,
body {
  height: 100%;
}

.container-page {
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
    height: 100%;
    margin: 0;
}

.scroll-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    overflow-y: scroll;
    width: 100%;
}

.login-page {
    max-width: 800px;
    margin: 0px 20px 20px 20px;
}

.logo-home {
  max-width: 400px;
  margin: 10px;
}

#welcomeText {
  padding: 10px;
  border: 3px solid #333;
  background-color: #f0f0f0;
  border-radius: 10px;
}

#footer {
  height: 50px;
  background-color: #333;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 30px;
  margin: 0px 20px;
}

.logo-brand {
  height: 45px;
  margin: 0px;
}

.logo-area {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.index-page {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
}

* {
    box-sizing: border-box;
    /* border: 1px dashed black; */
}

#main-content {
    flex: 1;
    overflow-y: hidden;
    align-self: center;
    width: 100%;
}

#main-nav {
    background-color: #333;
    color: #eee;
    border-bottom: #404040 1px solid;
}

#main-nav .navbar-text {
    color: whitesmoke;
}

#main-nav .navbar-link {
    color: whitesmoke;
}

.navbar-brand, .navbar-item{
  width: 150px !important;
  margin-right: 0;
  padding: 0;
}

.selected-page {
  outline: 2px solid white;
  outline-offset: 3px;
}

.left-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f0f0f0;
    box-shadow: 4px 0 4px #ddd;
    overflow-y: scroll;
    height: 100%;
    width: 30%;
    max-width: 500px;
    padding: 20px;
    flex-wrap: nowrap;
}
.center-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    overflow-y: scroll;
    height: 100%;
    padding: 20px;
    flex-wrap: nowrap;
    flex-grow: 1;
}
.right-panel {
    display: flex;
    flex-direction: column;
    background-color: #f0f0f0;
    align-items: center;
    overflow-y: scroll;
    height: 100%;
    width: 30%;
    max-width: 400px;
    padding: 20px;
    flex-wrap: nowrap;
}

button {
    margin: 10px 10px;
}
#remixButton {
    margin: 5px;
    margin-bottom: 15px;
    padding-top: 0.25rem;
}

/* login page */

.user-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 8px;
    padding:0;
}

.card-body {
    background-color: #ECECF0;
    padding: 0px;
}

/* composition page */

#composition-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: scroll;
    /* flex-grow: 1; */
}

.task {
    width: 100%;
    text-align: center;
    font-size: 1.25em;
    border-bottom: 1px solid #EAEAEA;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    padding: 20px;

}

.task-label {
    font-weight: bold;
}

.tab-switcher-container {
    display: flex;  
    justify-content: center;
}

.tab-switcher{
    margin: 0.5em;
}

#color-picker-instructions, 
#image-pool-instructions {
    text-align: left;
    padding: 0.25em;
    width: 100%;
}

.scrollable-col {
    scrollbar-width: none;
    overflow-y: auto; 
    max-height: 100vh;
    -ms-overflow-style: none;
}

.scrollable-col::-webkit-scrollbar {
  width: 0;
}

.pool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 5px;
    padding:2%;
}

.pool-image {
    position: relative;
    border-radius: 2.5%;
    overflow: hidden;
}

.overlay {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: rgba(255, 255, 255, 0.8);
    transition: opacity 0.2s ease-in-out;
    z-index: 30;
}

.overlay-small {
  font-size: 9pt;
}

.tile-info {
    padding: 1em;
    text-align: center;
}

.tile-info .image-credit {
  font-size: 0.8em;
}
#composition-instructions {
    text-align: left;
}
.composition-overlay-message {
    margin-top: 1em;
    font-size: 0.75em;
    color: #666;
}

.overflow-text {
    position: absolute;
    visibility: hidden;
    white-space: nowrap;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px;
    border-radius: 3px;
}


.pool-image:hover .overlay {
    opacity: 1;
}

.dimmed {
    opacity: 0.5;
    filter: grayscale(40%);
}

.disabled {
    opacity: 0.25;
    filter: grayscale(100%);
}

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

.composition-step {
    font-size: 1.25em;
}

.composition-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 0;
    border-radius: 2.5%;
}

.composite-element-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 18vw;
    height: 18vw;
}

.composite-element-container-submit {
  width: 14vw;
  height: 14vw;
}

.cont-0 {
  border: 2px solid black;
}
.cont-1 {
  border-top: 2px solid black;
  border-right: 2px solid black;
  border-bottom: 2px solid black;
}
.cont-2 {
  border-left: 2px solid black;
  border-bottom: 2px solid black;
  border-right: 2px solid black;
}
.cont-3 {
  border-right: 2px solid black;
  border-bottom: 2px solid black;
}

.composite-element-container:hover .overlay {
    opacity: 1;
}

.composite-element {
    position: absolute;
    top: 0;
    left: 0;
    z-index:20;
    width: 100%;
    height: 100%;
}

.holding-image {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

#color-picker-panel {
    display: flex;
    flex-direction: column;
    width:100%; 
    justify-content: center;
    align-items: center;
    align-items: top; 
}

#color-wheel {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.picker-container {
    height: 250px;
    width: 250px;
    margin-top: 20px;
    border-radius: 10px;
    background-color: hsl(220, 45%, 33%);
}

#submit-artwork {
    width: 90%
}

.form-switch .form-check-input {
    margin-bottom: 0.5rem;
    height: 1.5em;
    width: 3em;
}

.input-disabled-message {
    margin-top: 0;
    color: #666;
    font-size: 0.75em;
    text-align: center;
}

.greyed-out img {
    filter: grayscale(100%);
}

/* Submitted Page */

.submitted-page {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
}

#artwork-panel {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow-y: scroll;
    margin: 20px;
}

.image-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.submission-progress-panel {
    justify-content: space-around;
    align-items: top left;   
}
.accordion {
    min-width: 80%;
}

.accordion-item,
.accordion-button {
    background-color: transparent;
}

.accordion-item .show{
    color: #777;
   /* background-color: #fafafa;*/
}

.accordion-item code {
    color: #008116;
}

.accordion-current-step {
    color: #008116;
}
.accordion-completed-step {
    color: #00540e;
}

.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: #00540e;
}

.accordion-button .loader,
.accordion-button.accordion-completed-step .loader {
    display: none;
}

.accordion-button.accordion-current-step .loader {
    display: block;
    margin-left: 1em;
    margin-right: 3em;
}

#submission-complete-message {
    font-size: 1.25em;
    width:100%;
    text-align: center
}

.actions-pallet {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px 20px;
}

.message-holder {
  height: 40px;
}

#submission-complete-message .bi {
    display: inline-block;
    content: "";
    vertical-align: -.125em;
    margin: 0 0.5em;
    background-size: 1rem 1rem;
    font-size: 1.25em;
    color: green;
}

/* Gallery */
.gallery-page {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
}

#gallery-panel {
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    flex-grow: 1;
    background-color: #f0f0f0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    padding:2%;
}
.gallery-image {
    position: relative;
    border-radius: 2.5%;
    overflow: hidden;
}

.gallery-image:hover .overlay {
    opacity: 1;
}

.tile-actions {
  text-align: center;
}

/* Provenance Graph */

#provenance-panel {
  height: 90%; 
  width: 90%; 
  display: none;
  padding: 20px;
}

#provenance-graph {
  height: 100%; 
  width: 100%; 
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.provenance-image {
  height:100%;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
}

.provenance-image-credit {
  width: 100%;
  font-size: 0.75em;
  background-color: #ffffff;
  text-align: center;
}

/* Animation */

.hidden {
    display:none;
}
.visible {
    display:flex;
}

  /**
 * ==============================================
 * Dot Pulse
 * ==============================================
 */
.dot-pulse {
    position: relative;
    left: -9999px;
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background-color: green;
    color: green;
    box-shadow: 9999px 0 0 -4px;
    animation: dot-pulse 1.5s infinite linear;
    animation-delay: 0.25s;
  }
  .dot-pulse::before, .dot-pulse::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background-color: green;
    color: green;
  }
  .dot-pulse::before {
    box-shadow: 9984px 0 0 -4px;
    animation: dot-pulse-before 1.5s infinite linear;
    animation-delay: 0s;
  }
  .dot-pulse::after {
    box-shadow: 10014px 0 0 -4px;
    animation: dot-pulse-after 1.5s infinite linear;
    animation-delay: 0.5s;
  }
  
  @keyframes dot-pulse-before {
    0% {
      box-shadow: 9984px 0 0 -4px;
    }
    30% {
      box-shadow: 9984px 0 0 2px;
    }
    60%, 100% {
      box-shadow: 9984px 0 0 -4px;
    }
  }
  @keyframes dot-pulse {
    0% {
      box-shadow: 9999px 0 0 -4px;
    }
    30% {
      box-shadow: 9999px 0 0 2px;
    }
    60%, 100% {
      box-shadow: 9999px 0 0 -4px;
    }
  }
  @keyframes dot-pulse-after {
    0% {
      box-shadow: 10014px 0 0 -4px;
    }
    30% {
      box-shadow: 10014px 0 0 2px;
    }
    60%, 100% {
      box-shadow: 10014px 0 0 -4px;
    }
  }

  .navbar-button {
    display: inline-block;
    background-color: whitesmoke;
    text-decoration: none;
    color: black;
    text-align: center;
    padding: 4px;
    border-radius: 3px;
    margin: 2px 5px 2px 5px;
    width: 100px !important;
  }

  .navbar-button-center {
    margin-left: 50px;
    margin-right: 50px;
  }


  /** User Colours **/
  .colour- {
    background-color: #2a2a2a;
    color:whitesmoke;
  }

  .colour-Aaliyah {
    background-color: #6667ab;
    color:whitesmoke;
  }

  .colour-Amit {
    background-color: #f18aad;
    color:whitesmoke;
  }

  .colour-Chloe {
    background-color: #f3c65f;
    color:whitesmoke;
  }

  .colour-Daichi {
    background-color: #ea6759;
    color:whitesmoke;
  }

  .colour-Enzo {
    background-color: #8bc28c;
    color:whitesmoke;
  }

  .colour-Frida {
    background-color: #f88f58;
    color:whitesmoke;
  }

