/*                 SPECAIL CSS                     */
/* # SNIPPET - RECORD - STAMP - LTRAKO - GOOGLE  - MODAL  POPUP */

/* --- SONG CARD MOUSE-OVERS POPUP --- */

.popup {
    position: absolute;
    width: 300px;
    height: 700px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid black;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 100;
  }

  .popup-header {
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
  }

  .hidden {
    display: none;
  }



/* Base Modal Styling */
.modal {
    display: none;
    /* Hidden initially */
    position: absolute;
    z-index: 1000;
    width: 90%;
    /* Responsive width */
    max-width: 400px;
    /* Maximum width constraint */
    max-height: 500px;
    /* Maximum height constraint */
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    /* To clip overflowing content */
    resize: both;
    /* Allow resizing */
    cursor: move;
    /* Indicate draggable area */
  }

  /* Modal Header (Draggable Bar) */
  .modal-header {
    padding: 10px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: grab;
  }

  /* Modal Body (Scrollable Content) */
  .modal-body {
    max-height: calc(100% - 80px);
    /* Ensures space for header and footer */
    overflow-y: auto;
    /* Enable vertical scrolling */
    padding: 15px 20px;
    font-size: 0.85em;
    /* Smaller text */
    line-height: 1.5;
  }

  /* Modal Footer */
  .modal-footer {
    padding: 10px 20px;
    border-top: 1px solid #ddd;
    text-align: right;
  }


/* Google Forms Feebdback Centered
div, iframe {
    width: 640px;
    margin: 0 auto;
    background-color: #777777;
}
 */

iframe {

  width: 640px;
  margin: 0 auto;
  background-color: #777777;

    display: block;
    border-style:none;
}


  /* Table Styling */
  .ltracko {
    border-collapse: collapse;
    width: 100%;
    table-layout: auto;
    background: linear-gradient(to right, #8b0000, #ff0000);
    color: white;
    border-radius: 8px;
    overflow: hidden;
  }

  /* Row Styling */
  .ltracko tr {
    border: none;
  }


  /* Image Cell */
  .stamp-cell {
    width: 130px;
    padding: 5px;
    vertical-align: middle;
    text-align: center;
  }

  /* Image Styling (fixed size and with shadow) */
  .stamp-img {
    width: 120px;
    height: 68px;
    min-width: 120px;
    min-height: 68px;
    display: block;
    border-radius: 6px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  }


  /* -- snippet styling -- */
  .snippet {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    font-size: 1.4rem;
    font-weight: bold;
    font-style: italic;
    font-family: monospace;
    text-align: center;
    color: darkblue;
    text-shadow:
      0 0 20px rgba(255, 253, 208, 0.8),
      /* Subtle glow effect */
      1px 1px 3px rgba(0, 0, 0, 0.4);
    /* Slight shadow for contrast */
    -webkit-text-stroke: 0.6px darkorange;
    margin-top: 5px;
  }

  /* Duration Cell (Centered with adequate spacing) */
  .duration-cell {
    width: 80px;
    padding: 5px;
    text-align: center;
    vertical-align: middle;
  }

  /* Play Link (Spotify-style, bold, hover effect) */
  .play-link {
    font-size: 12px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
  }

    /* -- record_card  --*/

  /* -- record_sleeve img -- */
  .record-sleeve img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
  }


    .record-container {
        perspective: 1000px;
        /* Add perspective for 3D effect */
      }
    
      .record-card {
        transform-style: preserve-3d;
        /* Ensures 3D effect is applied */
        transition: transform 0.9s ease-in-out;
        /* Smooth transition for flip effect */
        position: relative;
        width: 300px;
        height: 200px;
        border-radius: 10px;
        overflow: hidden;
        margin: 20px auto;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
        background-color: #222;
      }
    

  /* -- record-front and record-back -- */
  .record-front,
  .record-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    /* Prevents the back from showing during flip */
    border-radius: 10px;
    /* could be 50? */
  }

  .record-front {
    transform: translateZ(10px);
    /*background-color: #fff;
  color: #333;*/
  }

  .record-back {
    transform: translateZ(-10px) rotateX(-180deg);
    /*   background-color: #fff;
  transform: rotateY(180deg); /* Initially rotated to the back */
  }

  /* -- flipped state -- */
  .record-card.flipped {
    transform: rotateY(180deg);
    /* Flip the card when this class is added */
  }

  /* -- flip on hover -- */
  .record-card:hover {
    transform: scale(1.1);
    /* Add scaling effect on hover */
  }

  /* transform: rotateY(180deg); /* Flip effect on hover */
  /* -- flip on click -- */
  .flipped {
    transform: scale(1.1) rotateX(-180deg);
  }


  /* -- record-btn styling -- */
  .record-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
  }

  .record-btn a {
    margin: 5px;
  }

  /* -- record-text styling -- */
  .record-text {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
    color: darkblue;
    text-shadow:
      0 0 15px rgba(255, 253, 208, 0.8),
      /* Subtle glow effect */
      1px 1px 3px rgba(0, 0, 0, 0.4);
    /* Slight shadow for contrast */
    -webkit-text-stroke: 1px darkkhaki;
    width: 95%;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.2;
  }

  
  .record-sleeve,
  .card-back {
    backface-visibility: hidden;
  }


  .record-center {
    width: 30px;
    height: 30px;
    background: #ff0000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
  }



  .ctrack {
    font-size: 10px;
    padding-right: 4px;
    padding-left: 4px;
    margin-top: 1px;
    margin-bottom: 2px;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .ctrack img {
    width: 120px;
    height: 68px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 4px;
    display: inline-block;
    /* Allows centering inside flex container */
  }


  .calbum {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .calbum img {
    width: 120px;
    height: 68px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 4px;
    flex-direction: column;
    align-items: center;
  }

  .cartist {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cartist img {
    width: 120px;
    height: 68px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 4px;
  }

  .cwriter {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cwriter img {
    width: 120px;
    height: 68px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 4px;
  }


  .cvenue img {
    width: 120px;
    height: 68px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 4px;
  }


    /* --- Code blocks --- 
.chroma .ln {
  margin-right: 0.8em;
  padding: 0 0.4em 0 0.4em;
}
pre code.hljs {
  padding: 9.5px;
}

.highlight tr, .highlight pre {
  border: none;
}

.highlight div:first-child {
  border-radius: 4px;
}

.highlight td:first-child pre, .highlight pre {
  border-top-left-radius: 4px;
  border-top-right-radius: unset;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: unset;
  overflow: hidden;
}

.highlight td:last-child pre, .highlight pre {
  border-radius: unset;
}

.highlight td:last-child pre code, .highlight pre code {
  white-space: pre;
} */