body {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f0f0f0;
  position: relative;
  background-color: #06010b;
}

.fullscreen-black {
  position: fixed;
  margin: 0;
  width: 100%;
  height: 100vh;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000000;
}

.fade-text {
  position: absolute;
  top: 1%;
  font-size: 2rem;
  font-family: 'Macondo', serif;
  text-align: center;
  color: rgba(142, 128, 155, 0.797);
  opacity: 0;
  transition: opacity 1.5s ease;
}

.fade-text.visible {
  animation: fadeEffect 3s infinite;
}

@keyframes fadeEffect {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

.corner-area {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background-color: transparent;
  cursor: pointer;
}

.settings-button {
  position: fixed;
  top: 15px;
  right: 20px;
  display: none;
  /* Hidden by default */
  /* background-color: #333; */
  border-radius: 50%;
  padding: 2px;
  cursor: pointer;
}

.settings-button img {
  width: 42px;
  height: 42px;
  color: #fff;
}

.settings-button.show {
  display: block;
  /* Shows button when class is added */
}

.fullscreen-button {
  position: fixed;
  top: 15px;
  left: 20px;
  display: none;
  /* Hidden by default */
  /* background-color: #333; */
  border-radius: 50%;
  padding: 2px;
  cursor: pointer;
}

.fullscreen-button img {
  width: 36px;
  height: 36px;
  color: #fff;
}

.fullscreen-button.show {
  display: block;
  /* Shows button when class is added */
}


/* Settings Panel */
.settings-panel {
  position: fixed;
  bottom: 80px;
  /* Just above the settings button */
  left: 20px;
  right: 20px;
  background-color: #3c3b3bbf;
  border: 1px solid #413f645b;
  color: #f4f0f5e0;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: none;
  /* Hidden by default */
  flex-direction: column;
  gap: 10px;
}

.setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.setting-item input[type="number"],
.setting-item input[type="checkbox"] {
  margin-left: 10px;
}

.login-button {
  background-color: #4267B2;
  /* Facebook color */
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  margin-bottom: 10px;
}

.login-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.login-button:nth-of-type(2) {
  background-color: #DB4437;
  /* Google color */
}

.show-panel {
  display: flex;
  /* Show panel when class is added */
}

/* Current Date and Time */
.current-date-time {
  position: fixed;
  bottom: 20px;
  left: 20px;
  font-family: Arial, sans-serif;
  font-size: 24px;
  color: #ffffffc5;
  display: none;
  /* Hidden by default */
  padding: 10px 15px;
  background-color: rgba(255, 255, 255, 0);
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.highlighted {
  text-shadow:
  -1px -1px 0 #000,
  /* Top left */
  1px -1px 0 #000,
  /* Top right */
  -1px 1px 0 #000,
  /* Bottom left */
  1px 1px 0 #000;
/* Bottom right */
}

.current-date-time .time {
  font-size: 42px;
  font-weight: bold;
}


.current-date-time .date {
  font-size: 14px;
  color: #ffffffc5;
}

/* Weather Widget */
.weather-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: none;
  /* Hidden by default */
  text-align: center;
}

.weather-icon {
  font-size: 30px;
  margin-bottom: -25px;
}

.weather-temp {
  font-size: 24px;
  color: #ffffffc5;
  font-weight: bold;
  text-shadow:
    -1px -1px 0 #838282,
    /* Top left */
    1px -1px 0 #838282,
    /* Top right */
    -1px 1px 0 #838282,
    /* Bottom left */
    1px 1px 0 #838282;
  /* Bottom right */
}

.weather-desc {
  font-size: 14px;
  color: #ffffffc5;
  text-shadow:
    -1px -1px 0 #000,
    /* Top left */
    1px -1px 0 #000,
    /* Top right */
    -1px 1px 0 #000,
    /* Bottom left */
    1px 1px 0 #000;
  /* Bottom right */
}


/* Center the GIF and ensure it covers the screen */
.fullscreen-gif {
  background: url('https://usagif.com/wp-content/uploads/gifs/starfall-gif-46.gif') no-repeat center center;
  background-size: cover;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease-in-out;
  overflow: hidden;
  /* Fade effect */
}

/* Hidden state during fade */
.fade-out {
  opacity: 0;
}



/* slideshow stuff */
* {
  box-sizing: border-box;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

#albumModal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.15); /* Semi-transparent white */
  backdrop-filter: blur(10px); /* Glass blur effect */
  padding: 20px;
  color: #f8f7f7d7;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  width: 80%;
  max-width: 500px;
  max-height: 80%;
  overflow-y: auto;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle white border */
}

#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark semi-transparent overlay */
}

#errorBox {
  background: red;
  color: white;
  padding: 10px;
  display: none;
  position: fixed;
  bottom: 20px;
  left: 10px;
  right: 10px;
  z-index: 1000;
  font-family: Arial, sans-serif;
}

h1 {
  color: #333;
}

button {
  padding: 10px 15px;
  margin: 10px;
  border: none;
  cursor: pointer;
  background-color: #007bff;
  color: white;
  border-radius: 5px;
  font-size: 16px;
}

button.delete {
background-color: #DB4437;
}

button.delete:hover {
  background-color: #991d11;
}

button:hover {
  background-color: #0056b3;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 15px;
  padding: 10px;
  max-height: 300px;
  overflow-y: auto;
}

.album-item {
  background-color: #8ea3b3bf;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
  border: 2px solid transparent;
}

.album-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}

.album-item span {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  color: #333;
  font-weight: bold;
}

.album-item.selected {
  border: 2px solid #00bfffcf;
  background-color: rgba(0, 123, 255, 0.1);
}

.album-item.selected  span {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  color: white;
  font-weight: bold;
}

.album-item h2 {
  color: white;
}