@charset "UTF-8";
/* CSS Document */

body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: "Space Mono", monospace, sans-serif;
}

/* Style the video: 100% width and height to cover the entire window */
#myVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  background: url('NC_TOCSIN_fallback.jpg') no-repeat center center/cover;
}

.header{
   z-index: +1;
   position: relative;
  }

.footer{
    position: fixed; 
    bottom: 0;
    right: 0;
    padding-right: 10px;
    color: #001293;
}

/* Add some content at the bottom of the video/page */
.content {
  position: fixed;
  top: 0;
  left: 0;
  color:#c0f2dd;
  width: 100%;
  height: 100%;
  background-image: url(NC_TOCSIN_triangle.svg);
  background-size: 100%;
  background-repeat: no-repeat;
}
.content-video{
  position: fixed;
  margin: -0.5rem;
  background-color:#52025b;
  width: 100%;
  height: 100%;
  }
.triangle {
      width: 32%;
    margin-left: 20%;
    margin-top: 16%;
    font-size: 1.25rem;
}
#about {
    color: #c0f2dd;
    font-family:  "Space Mono", monospace, sans-serif;
    font-size: 1.4rem;
    line-height: 1.35em;
    font-weight: 100;
}
input
{
  font-family:  "Space Mono", monospace, sans-serif;
    color: #001293;
     border-color: #c0f2dd;
    border-width: 0.1em;
    padding-left: 4px;
   width: 275px;
 }

input[type=submit], input[type=reset] {
        width: 70px;
    height: 31px;
    font-size: 0.5em;
    font-family: "Space Mono", monospace, sans-serif;
    color: #c0f2dd;
    background-color: transparent;
    border-color: #c0f2dd;
    border-width: 0.1em;
    padding-left: 4px;
}

input[type=submit]:hover, 
input[type=reset]:hover {
       width: 70px;
    height: 31px;
    font-size: 0.5em;
    font-family:  "Space Mono", monospace, sans-serif;
    color: #db00cc;
    background-color: #c0f2dd;
    border-color: #db00cc;
    border-width: 0.1em;
    padding-left: 4px;
}
.form {
    display: grid;
    font-family:  "Space Mono", monospace, sans-serif;
    font-size: 2rem;
    margin-left: 21%;
    margin-top: 9%;
    z-index: -2;
}

#form-right {
   float: left;
   color: #001293;
  }
  
#form-left {
   overflow: hidden;
       float: left;
       line-height: 57px;
           margin-right: 2%;
    }

.ShowHide {
    position: fixed;
    margin-top: -13.5%;
    color: #c0f2dd;
    width: 100%;
    height: 100%;
    background-image: url(NC_TOCSIN_triangle.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    
}
#left {
  overflow: hidden;
}
#right {
  float: right;
  width: 0px;
  height: 0px;
  text-align: center;
}
.ShowHide a {
   color: #c0f2dd;
   text-decoration: none;
}
.ShowHide a:hover {
   text-decoration:none;
  color: #FFF;
}

/* Font */

.space-mono-regular {
  font-family:  "Space Mono", monospace, sans-serif;
  font-weight: 400;
  font-style: normal;
}

.space-mono-bold {
  font-family:  "Space Mono", monospace, sans-serif;
  font-weight: 700;
  font-style: normal;
}

.space-mono-regular-italic {
  font-family: "Space Mono", monospace, sans-serif;
  font-weight: 400;
  font-style: italic;
}

.space-mono-bold-italic {
  font-family: "Space Mono", monospace, sans-serif;
  font-weight: 700;
  font-style: italic;
}

h1 {
    font-family: "Space Mono", monospace, sans-serif;
    font-style: italic;
    font-weight: 100;
    font-size: 7em;
    color: #c0f2dd;
    margin-top: 3%;
    margin-left: 3%;
    margin-bottom: 0px;
	}

h2 {
  font-family: "Space Mono", monospace, sans-serif;
    font-size: 1.25rem;
    font-weight: 100;
    color: #c0f2dd;
    margin-left: 10%;
    margin-top: -2%;
	}

  h3 {
    font-family: "Space Mono", monospace, sans-serif;
    font-style: italic;
    font-weight: 100;
    font-size: 2em;
    color: #c0f2dd;
    margin-top: 3%;
    margin-left: 3%;
    margin-bottom: 0px;
	}

p {
color:#c0f2dd;	
font-family: "Space Mono", monospace, sans-serif;
    font-size: 1rem;
	}

a {
  text-decoration: none;
    color:#001293;
  }
a:hover, a:active {
    color:#c0f2dd;
  }  
  
  .link a:hover{
    color:#c0f2dd;
  }  
  .link{
    color: #001293;
    font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
  #lyrics {
    bottom: 5%;
    width: 95%;
    padding: 15px;
    font-size: clamp(1rem, 4vw, 1.6rem);
    }
  #lyrics .word {
    margin: 0 2px;
    padding: 3px 6px;
  }
  #videoControls {
    padding: 15px 10px;
    gap: 10px;
  }
  
/* Mobile responsive adjustments for controls */
  .control-btn {
    min-width: 36px;
    min-height: 36px;
    font-size: 14px;
  }
  
  .time-display {
    font-size: 12px;
    min-width: 60px;
  }
  
  .volume-slider {
    width: 60px;
  }
}

@media screen and (max-width: 768px) {
  .content { 
  background-size: 182%;
  background-position: 31% 0%;
}

.form { 
  margin-left: 8%;
  margin-top: 22%;
  font-size: 1rem;
        
    }
 #form-right {
    color: #001293;
}

    #form-left {
    line-height: 18px;
}

    input {
    width: 35px;
    height: 17px;
    margin-left: 0px;
}

.ShowHide {
   margin-top: -26%;
   background-image: none;
        }

    .triangle {
      width: 65%;
      margin-left: 5%;
      padding: 15px;
    margin-top: 29%;
    font-size: 0.75rem;
    background-color: #db00cc;
        }
h1 {
  font-size: 3rem;
}
h2 {
  font-size: 0.65rem;
  line-height: 1.1;
}
h3 {
  font-size: 1rem;
}
p {
  font-size: 0.75rem;
}

#about {
  font-size: 0.75rem;
}
        }

/* Enhanced LRC Karaoke Styles */

#karaoke-container {
  position: relative;
  width: 100%;
  height: 100vh;
}

#karaokeVideo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;   /* fills entire space */
  background: black;   /* fallback if aspect ratio crops */
}

#lyrics {
  position: absolute;
  bottom: 15%;
  width: 100%;
  text-align: center;
  color: #c0f2dd;
  background: none;
  padding: 20px;
  border-radius: 15px;
  font-size: 2.5vw;   /* scales with screen width */
  font-family: 'Space Mono', monospace;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  transition: font-size 0.3s ease;
}

#lyrics .word {
  display: inline-block;
  margin: 0 4px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
  opacity: 0.7;
  transform: scale(1);
}

#lyrics .word.active {
  background: linear-gradient(45deg, #001293, #00126b);
  color: #db00cc;
  opacity: 1;
  transform: scale(1.15);
  text-shadow: 0 0 10px #001293;
  box-shadow: 0 0 15px #001293;
  font-weight: 700;
}

#fullscreenBtn {
  top: 10px;
  right: 10px;
  background: #001293;
  display: flex;
  color: #c0f2dd;
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
}
#fullscreenBtn:hover {
    background: rgba(0, 18, 147, 1);
  transform: scale(1.05);
  box-shadow: 0 2px 10px rgba(0, 18, 147, 0.5);
}

.control-btn:hover {
  background: rgba(0, 18, 147, 1);
  transform: scale(1.05);
  box-shadow: 0 2px 10px rgba(0, 18, 147, 0.5);
}

.progress-container:hover .progress-handle {
  opacity: 1;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: #c0f2dd;
  border: 2px solid #001293;
  border-radius: 50%;
  cursor: pointer;
}
/* Enhanced Share Button Styles */
#customControls {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column; /* stack vertically */
  gap: 10px; /* spacing between buttons */
}

#customControls button {
  font-size: 20px;       /* size of icons */
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
}

#shareBtn {
  background: rgba(0, 18, 147, 0.8);
  color: #c0f2dd;
  border: 1px solid #c0f2dd;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  font-family: 'Space Mono', monospace;
  font-size: 16px;
  transition: all 0.3s ease;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#shareBtn:hover {
  background: rgba(0, 18, 147, 1);
  transform: scale(1.05);
  box-shadow: 0 2px 10px rgba(0, 18, 147, 0.5);
}

.share-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.share-popup {
  background: linear-gradient(135deg, #001293, #52025b);
  border: 2px solid #c0f2dd;
  border-radius: 15px;
  padding: 20px;
  min-width: 300px;
  max-width: 90vw;
  animation: slideUp 0.3s ease;
  font-family: 'Space Mono', monospace;
}

.share-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.share-header h3 {
  color: #c0f2dd;
  margin: 0;
  font-size: 1.2em;
  font-style: italic;
}

.close-btn {
  background: none;
  border: none;
  color: #c0f2dd;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.close-btn:hover {
  background: rgba(219, 0, 204, 0.3);
}

.share-options {
  display: grid;
  gap: 12px;
}

.share-option {
  background: rgba(192, 242, 221, 0.1);
  border: 1px solid #c0f2dd;
  color: #c0f2dd;
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.share-option:hover {
  background: rgba(219, 0, 204, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(219, 0, 204, 0.3);
}

.share-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

/* Custom Video Controls */
#videoControls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #52025b;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 100;
  justify-content: space-between;
}

.right-controls {
  display: flex;
  flex-direction: row;    /* ensures horizontal layout */
  gap: 0.5rem;            /* adds space between buttons */
  align-items: center;    /* keeps them vertically aligned */
}

.control-btn {
  background: rgba(0, 18, 147, 0.8);
  color: #c0f2dd;
  border: 1px solid #c0f2dd;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  font-family: 'Space Mono', monospace;
  font-size: 16px;
  transition: all 0.3s ease;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.control-btn:hover {
  background: rgba(0, 18, 147, 1);
  transform: scale(1.05);
  box-shadow: 0 2px 10px rgba(0, 18, 147, 0.5);
}

.control-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Progress bar container */
.progress-container {
  flex: 1;
  height: 6px;
  background: rgba(192, 242, 221, 0.3);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  margin: 0 10px;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #c0f2dd, #db00cc);
  border-radius: 3px;
  width: 0%;
  transition: width 0.1s ease;
}

.progress-handle {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: #c0f2dd;
  border: 2px solid #001293;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.progress-container:hover .progress-handle {
  opacity: 1;
}

/* Time display */

.time-display {
  color: #c0f2dd;
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  min-width: 80px;
  text-align: center;
}

/* Volume control */

.volume-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.volume-slider {
  width: 80px;
  height: 6px;
  background: rgba(192, 242, 221, 0.3);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: #c0f2dd;
  border: 2px solid #001293;
  border-radius: 50%;
  cursor: pointer;
}

.volume-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: #c0f2dd;
  border: 2px solid #001293;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}
  
  .control-btn {
    min-width: 36px;
    min-height: 36px;
    font-size: 14px;
  }
  
  .time-display {
    font-size: 12px;
    min-width: 60px;
  }
  
  .volume-slider {
    width: 60px;
  }
}

@media (max-width: 480px) {
  #videoControls {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .progress-container {
    order: -1;
    width: 100%;
    margin: 0 0 10px 0;
  }
}

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(45deg, #001293, #52025b);
  color: #c0f2dd;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid #c0f2dd;
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.toast.show {
  opacity: 1;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-height: 600px) {
  #lyrics {
    bottom: 10px;
    padding: 10px;
    font-size: clamp(0.9rem, 3vw, 1.4rem);
  }
  }

@media (max-width: 480px) {
  #lyrics {
    font-size: 1.2em;
    bottom: 30px;
    padding: 12px;
  }
  
  #lyrics .word {
    margin: 0 1px;
    padding: 2px 4px;
  }
}

/* Animation for word transitions */
@keyframes wordPulse {
  0% { transform: scale(1.15); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1.15); }
}

#lyrics .word.active {
  animation: wordPulse 0.6s ease-in-out infinite;
}