img {
  height: 150px;
  width: auto;
  object-fit: contain;
  margin: auto;
  max-width: 250px;
  display: block;
}

@media (max-width: 768px) {
  img {
    height: 100%;
    max-width: 300px;
    margin-bottom: 15px;
  }
  input {
    width: 100%;
    max-width: 300px;
  }
}

input {
    display: block;
    width: 200px;
    background-color: white;
    padding: 15px;
    margin: auto;
    border-radius: 30px;
    border: 1px solid mistyrose;
    box-shadow: 0 4px 3px 1px linen, 0 6px 8px white, 0 -4px 4px gray,
      0 -6px 4px tan, inset 0 0 3px 0 #cecfd1;
    transition: all 0.2s ease;
    font-size: 16px;
}


.hidden {
  display: none;
}


.cipher-card {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    max-width: 700px;
    padding: 10px;
    background-color: white;
    background-image: url('https://lindseylascaux.com/images/cipherbkg.png');
    background-size: auto 150%;
    background-position: center;
    padding: 10px;
    border-radius: 30px;
    border: 1px solid tan;
    box-shadow: 0 4px 3px 1px #fcfcfc, 0 6px 8px #d6d7d9, 0 -4px 4px #cecfd1,
      0 -6px 4px #fefefe, inset 0 0 3px 0 #cecfd1;
    transition: all 0.2s ease;
    }

@media screen and (max-width: 768px) {
.cipher-card {
    padding: 20px;
}
}

.cipher-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    margin: 10px;
    width: 100%;
    max-width: 700px;
    padding: 10px;
    }

@media (max-width: 768px) {
    .cipher-row {
        padding: 20px 5px;
    }
}

.header
{
  display: block;
  padding: 10px;
  margin: auto;
  text-align: center;
  color: whitesmoke;
  text-shadow: 2px 2px 4px #8f9092;
  border-radius: 30px;
  border: 1px solid mistyrose;
  box-shadow: 0 4px 3px 1px linen, 0 6px 8px white, 0 -4px 4px gray,
    0 -6px 4px tan, inset 0 0 3px 0 #cecfd1;
    background-color: white;
    background-image: url('../../images/portfolio/2023/LindseyLascaux_SuffertheMost-CipherE_2023_acryliconcanvas_50x50.jpg');
    background-size: 120%;
    background-position: center;
    width: 100%;
}
    .header-layout {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }
    .header-image {
        width: 33%;
        flex-shrink: 0;
    }
    @media (max-width: 768px) {
        .header-layout {
            flex-direction: column;
        }
        .header-image {
            width: 100%;
            margin-bottom: 20px;
        }
        .header {
            padding: 25px 15px;
        }
    }

    caption {
        display: block;
        text-align: center;
        font-size: 0.9em;
        color: #555;
        margin-top: 0.5em;
    }
    
.col-l {
    order: 0;
    flex: 1 0 auto;
    align-self: auto;
    }

.col-r {
    order: 1;
    flex: 1 0 auto;
    align-self: auto;
    }

.cipher-items {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    }

.cipher {
    order: 0;
    flex: 2 0 auto;
    align-self: stretch;
    align-items: stretch;
    }

.checkmark {
    order: 1;
    flex: 0 2 auto;
    align-self: stretch;
    font-size: 3em;
    min-width: 50px;
    }


.modal-container {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 10px;
  border-radius: 30px;
  border: 1px solid #8f9092;
  box-shadow: 0 4px 3px 1px #fcfcfc, 0 6px 8px #d6d7d9, 0 -4px 4px #cecfd1,
    0 -6px 4px #fefefe, inset 0 0 3px 0 #cecfd1;
  transition: all 0.2s ease;
  max-height: 90vh;
}

.modal-header {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  padding: 10px;
}

.modal-header > div {
  margin: 10px;
  text-align: center;
}

.modal-header .modal-title {
  margin-right: auto;
}

.modal-content > div {
  display: block;
  padding: 10px;
  overflow-y: auto;
  max-height: 70vh;
  margin: 20px;
}

@media (max-width: 768px) {
  .modal-content > div {
    padding: 20px;
  }
}

.modal-close-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;     
}   

.modal-minimize-button  {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;    
} 

/* Fullscreen image modal + simple zoom/pan */
.ll-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: zoom-out;
}
.ll-modal-inner {
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
    touch-action: none;
}
.ll-modal-img {
    display: block;
    max-width: none;
    width: 100%;
    height: auto;
    transform-origin: center center;
    will-change: transform;
    user-select: none;
    -webkit-user-drag: none;
    cursor: grab;
}
.ll-modal-img:active { cursor: grabbing; }