html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    user-select: none;
    overflow: hidden;
}

body {
    position: relative;
    background: url('img/CCSpillwaysBG.png') no-repeat center center fixed;
    background-size: cover;
    backdrop-filter: blur(10px); /* Apply blur to the entire body */
    background-color: #000;
}

body.presavetest {
    top: 0; /* Reset top position for /presavetest */
}

body.page-test1 {
    /* Add specific styles for /test1 here */
    top: 0;
}

body.vignette {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    user-select: none;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    background: url('img/CCMBackground.png') no-repeat center center fixed;
    background-size: cover;
}

body.page-test1.vignette {
    top: 0; /* Reset top position for /test1 with vignette */
}

body.vignette::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: -2;
}

.logo {
    position: absolute;
    top: 115px;
    left: 50%;
    transform: translateX(-50%);
    width: 375px;
    height: auto;
    z-index: 2;
  user-select: none; /* Disable text selection */
  pointer-events: auto; /* Enable mouse events for clicking */
}

.album-container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    margin: 0 auto;
    max-width: 80%;
    position: relative;
    top: 250px;
}

.album {
    width: 300px;
    height: 300px;
    border-radius: 15px;
}
.album-image{
    width: 300px;
    height: 300px;
    border-radius: 15px;
}
.text {
    color: #FFF;
    user-select: none;
    margin-left: 20px;
}

.buttons {
    text-align: center;
    margin: 20px auto;
    user-select: none;
}

.buttons a {
    display: inline-block;
    margin: 5px;
    padding: 10px 20px;
    background: #F53150;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    user-select: none;
}

#title {
    font-size: 24px;
}

#artist {
    font-size: 18px;
}

#spotify-link {
    font-size: 16px;
    text-decoration: none; /* Remove underline */
    color: white; /* Set the link color to white */
}

#spotify-link:hover {
    color: white; /* Set the hover color to white (no change) */
}
.not-clickable {
    pointer-events: none;
    color: gray; /* You can style it as per your preference */
    cursor: not-allowed;
}

/* Media query for smaller viewports */
@media (max-width: 768px) {
    .album-container {
        margin-top: 50px; /* Adjust the top margin for smaller viewports */
    }
    .countdown-container {
        margin-top: 20px; /* Adjust the top margin for the countdown container on smaller viewports */
    }
}



/* Loading screen styles */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 1s;
    z-index: 500;
}

#logo {
    width: 500px;
    height: auto;
    user-select: none;
    opacity: 0;
    animation: logoFadeIn 2s forwards;
}

#loading-bar-container {
    width: 300px;
    height: 30px;
    background: #333;
    border-radius: 15px;
    margin-top: 20px;
}

#loading-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #F53150 0%, #F53150 100%);
    border-radius: 15px; /* Rounded edge on all sides */
    transition: width 2s ease;
    animation: fillBar 2s linear;
}
@keyframes fillBar {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes logoFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Loading screen styles */

/* Error screen styles */
.error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 250px;
}

.error-text {
    color: white;
}

.error-button {
    background: #888;
    color: white;
    padding: 10px 20px;
    border-radius: 15px;
    text-decoration: none;
    margin-top: 20px;
}

.error-button:hover {
    background: #444;
}


/* Error screen styles */


/* Menu Styles */

.menu-button {
  position: absolute;
  top: 50px;
  right: 20px;
  z-index: 10;
  cursor: pointer;
}

.menu-button i {
  font-size: 24px;
  color: #ffffff;
}

.menu-content {
  display: none;
  position: absolute;
  top: 22px;
  right: 0;
  width: 200px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.7));
  padding: 20px;
  border-radius: 5px;
  transform-origin: top right;
  transform: scaleY(0);
  transition: transform 0.3s ease-in-out;
  text-transform: capitalize;
}

.menu-button.active .menu-content {
  display: block;
  transform: scaleY(1);
}

.menu-button.active i {
  transform: rotate(90deg);
}
.menu-content a:hover {
  opacity: 0.8;
}


.menu-content a {
  display: block;
  color: #ffffff;
  text-decoration: none; /* Remove underlines */
  font-size: 18px;
  margin-bottom: 10px;
}

/* Menu Styles */

.top-right-icons {
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 4;
  user-select: none; /* Disable text selection */
  pointer-events: auto; /* Enable mouse events for clicking */
}

.top-right-icons a {
  margin-left: 10px;
  font-size: 24px;
  color: #ffffff;
}

@media only screen and (max-width: 768px) {
  .top-right-icons {
    display: none;
  }
}


.countdown-container {
    text-align: center;
    margin-top: 10px;
    color: white;
}
.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
}

.countdown-item {
  display: inline-block;
  margin-right: 10px;
  color: white; /* Add any other styles as needed */
  font-size: 24px;
    
}

.countdown-item span {
    font-size: 24px;
}
.countdown-subtitle {
    display: block;
     font-size: 15px;
}

