@font-face {
    font-family: 'Mistral';
    src: url('fonts/MISTRAL.TTF') format('woff2');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #b60000;
    justify-content: center;
    display: flex;
}

#start-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    transition: opacity 0.8s ease;
}

#start-overlay button{
    all: unset;
    display: block;
    cursor: pointer;
    font-size: 20vw;
    font-family: 'Mistral';
    -webkit-text-stroke: 4px #b60000;
    transition: opacity 1.5s ease;
}

#start-overlay span{
    display: block;
    font-family: 'Mistral';
    font-size: 5vw;
    color: #b60000;
    transition: opacity 0.3s ease;
}

.hidden{
    opacity: 0 !important;
}

.display-none{
    display: none !important;
}

.container {
    width: 100%;
    max-width: 1200px;
    background-image: url(img/background.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

.container #banner {
    display: block;
    width: 60%;
    height: auto;
    margin: auto;
}

.container #cover {
    display: block;
    margin: auto;
    height: 90vh;
}

.navbar {
    text-align: center;
    display: block;
}

.navbar ul {
    list-style-type: none;
    background-color: #000;
    padding: 15px;
}

.navbar li {
    display: inline-block;
    margin-right: 20px; /* Space between links */
}

.navbar a {
    color: #b60000;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 15px;
    display: block;
    border-radius: 6px;
    position: relative;
    box-shadow:
    0 0 20px #b60000,
    0 0 40px #0096ff1a;
}

.navbar a.selected {
    color: #000;
    background-color: #b60000;
}

.navbar a:hover {
    background-color: #555; /* Slight hover effect */
}

.navbar li:last-child {
    margin-right: 0; /* Remove margin from last item */
}

.offscreen-image {
    position: fixed;
    transition: all 0.5s ease;
    height: 90vh;
}

.snowflake {
    position: fixed;
    top: -10px;
    color: white;
    font-size: 14px;
    user-select: none;
    pointer-events: none;
}

.pelicula-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.pelicula-video {
  width: 640px;
  height: 360px;
  border: 4px solid #000;
  background: black;
}

#iphone {
  width: 320px;
  height: 640px;
  background: url("img/iphone.png") no-repeat center;
  background-size: contain;
  margin: 40px auto;
  position: relative;
}

#screen {
    position: absolute;
    top: 123px;
    left: 22px;
    width: 280px;
    height: 392px;
    background: rgba(10, 10, 10, 0.92);
    color: #fff;
    font-family: Helvetica, Arial, sans-serif;
    padding: 12px;
    box-sizing: border-box;
    border-radius: 10px;
}

#song-title {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  font-weight: bold;
}

#song-sub {
  text-align: center;
  margin-top: 4px;
  font-size: 11px;
  color: #bdbdbd;
}

#progress-wrap {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  gap: 6px;
  margin: 18px 0 10px;
  font-size: 10px;
  color: #bdbdbd;
}

#progress-bar {
  height: 6px;
  background: #2b2b2b;
  border: 1px solid #444;
}

#progress {
  width: 0%;
  height: 100%;
  background: #cfcfcf;
}

#controls {
  display: flex;
  justify-content: space-around;
  margin: 14px 0 10px;
}

#controls button {
  background: #111;
  color: #fff;
  border: 1px solid #555;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: inset 0 1px 0 #444;
}

#controls button:active {
  transform: translateY(1px);
}

#playlist {
  margin-top: 10px;
  height: 210px;
  overflow: auto;
  border-top: 1px solid #222;
  padding-top: 8px;
  font-size: 11px;
}

.pl-item {
  padding: 6px 6px;
  cursor: pointer;
  border-bottom: 1px solid #181818;
  color: #dcdcdc;
}

.pl-item:hover {
  background: #141414;
}

.pl-item.active {
  background: #1f1f1f;
  color: #fff;
  font-weight: bold;
}


