/* BACKGROUND */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

body {
  background-image: url('Images/Background3.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  font-family: 'Courier New', monospace;
  color: #fff;
  text-shadow: 1px 1px 2px #000;
}

/* TEXT STYLES */
h1, h2, h3, p {
  color: #fff;
  text-shadow: 2px 2px #000, -1px -1px #ff0;
}

h1 {
  font-size: 48px;
  animation: blink 1.2s infinite alternate;
}

@keyframes blink {
  from { color: #ff00ff; }
  to { color: #00ffff; }
}

/* GIF-CONTAINER */
.gif-container {
    width: 880px;
    height: 55px;
    display: flex;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    position: relative;
}

.gif-container {
    width: 725;
    height: 150px; 
    display: flex;
    overflow: hidden;
    align-items: center;
    gap: 5px; 
    white-space: nowrap; 
} 

.gif-container img {
    max-height: 100%; 
    width: auto; 
    flex-shrink: 0; 
}
/* BUTTON */
.button, .clickedbutton, .open-btn, .scroll-button {
  font-family: "Commodore", monospace;
  background: linear-gradient(45deg, #ff00ff, #00ffff);
  border: 4px ridge #fff;
  padding: 12px 25px;
  color: #000;
  text-shadow: 1px 1px 0 #fff;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px #ff0;
}

.button:hover, .open-btn:hover, .scroll-button:hover {
  background: linear-gradient(45deg, #ff0, #ff00ff);
  color: #000;
  text-shadow: 1px 1px 0 #fff;
}

/* BOX */
.box {
  border: 5px groove #ff0;
  background: rgba(13, 13, 13, 0.95);
  padding: 45px;
  margin: 20px auto;
  width: 700px;
  max-width: 90%;
  color: #fff;
  text-shadow: 1px 1px #000;
  box-shadow: 0 0 15px #0ff;
}

/* VIDEO FRAME */
.video-frame-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.video-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  border: 4px groove #ff0;
}

/* MODAL */
.modal {
  background: rgba(0, 0, 0, 0.95);
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content {
  background: #000;
  padding: 20px;
  border: 4px solid #ff0;
  box-shadow: 0 0 20px #0ff;
  border-radius: 10px;
}

/* SIDEBARS */
.sidebar {
  background: linear-gradient(to bottom, #000, #333);
  border: 3px double #ff0;
}

.sidebar img {
  border: 3px ridge #ff0;
}

/* GALLERY */
.gallery-item img {
  border: 5px double #ff0;
  transition: all 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1) rotate(1deg);
  box-shadow: 0 0 15px #0ff;
}

/* CAPTION PANEL */
.caption-panel {
  background: rgba(0, 0, 0, 0.85);
  border-left: 3px solid #ff0;
  color: #fff;
  padding: 15px;
  text-shadow: 1px 1px 0 #000;
}

/* ANIMATIONS */
@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* APPLY GRADIENT ANIMATIONS */
.button, .open-btn, .scroll-button, .box, .sidebar, .modal-content {
  background-size: 200% 200%;
  animation: gradient 4s ease infinite;
}

/* RESPONSIVE SIDEBARS */
@media (max-width: 1580px) {
  .left-sidebar, .right-sidebar {
    display: none;
  }
}
