/* General Styles */
body {
  font-family: 'Times New Roman', Times, serif;
  color: #39ff14; /* Yellow text */
  background-color: #000; /* Black background */
  margin: 0;
  display: flex;
  min-height: 100vh;
  background-image: url('retro-background.png'); /* Tiled retro background */
  background-repeat: repeat;
  max-width: 800px; /* Fit old 800x600 resolution */
  margin: 0 auto; /* Center the site */
}

/* Sidebar Styles */
.sidebar {
  width: 150px; /* Narrower sidebar */
  background-color: #000;
  padding: 10px;
  box-sizing: border-box;
  border-right: 2px solid #39ff14;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 1000;
}

.sidebar ul {
  list-style-type: none;
  padding: 0;
}

.sidebar ul li {
  margin: 10px 0;
}

.sidebar ul li a {
  color: #39ff14;
  text-decoration: none;
  font-size: 0.9em; /* Smaller font */
  display: flex;
  align-items: center;
}

.sidebar ul li a img {
  margin-right: 5px;
  width: 16px; /* Smaller icons */
  height: 16px;
}

.sidebar ul li a:hover {
  text-decoration: underline;
  color: #0f0; /* Green on hover */
}

.sidebar hr {
  border: 1px dashed #39ff14;
}

.sidebar p {
  font-size: 0.8em; /* Smaller font */
  color: #39ff14;
}

/* Main Content Styles */
.main-content {
  flex: 1;
  padding: 10px;
  text-align: center;
  margin-left: 150px; /* Account for narrower sidebar */
}

/* Logo Styles */
.logo {
  max-width: 150px; /* Smaller logo */
  height: auto;
  display: block;
  margin: 0 auto 10px;
  border: 2px solid #39ff14;
  padding: 5px;
  background-color: #000;
}

/* Marquee Text */
.marquee {
  font-size: 1em; /* Smaller font */
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
  color: #39ff14;
  background-color: #000;
  padding: 5px;
  border: 2px dashed #39ff14;
}

.marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 10s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* 6 TILL 6 Section */
.gif-link {
  margin: 10px 0;
}

.gif-link img {
  max-width: 100%;
  height: auto;
  border: 2px solid #39ff14;
  border-radius: 10px;
}

.gif-link p {
  font-size: 0.9em; /* Smaller font */
  color: #39ff14;
  margin-top: 5px;
}

/* Guestbook Styles */
.guestbook {
  margin: 10px 0;
  padding: 10px;
  border: 2px dashed #39ff14;
  background-color: #000;
  color: #39ff14;
}

.guestbook h2 {
  font-size: 1.2em; /* Smaller font */
  margin-bottom: 5px;
}

.guestbook label {
  display: block;
  margin: 5px 0 3px;
}

.guestbook input, .guestbook textarea {
  width: 80%;
  padding: 5px;
  margin-bottom: 5px;
  border: 1px solid #39ff14;
  background-color: #000;
  color: #39ff14;
  font-family: 'Times New Roman', Times, serif;
}

.guestbook button {
  background-color: #39ff14;
  color: #000;
  border: none;
  padding: 5px 10px;
  font-size: 0.9em; /* Smaller font */
  cursor: pointer;
}

.guestbook button:hover {
  background-color: #39ff14; /* Green on hover */
}

/* Insurance Job Page */
.page {
  margin: 10px 0;
  padding: 10px;
  border: 2px dashed #39ff14;
  background-color: #000;
  color: #39ff14;
}

.page img {
  max-width: 100%;
  height: auto;
  border: 2px solid #39ff14;
  border-radius: 10px;
}

/* Pop-Up Ad Styles */
.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
}

.popup-content {
  text-align: center;
  position: relative;
  padding: 20px;
  background-color: #000;
  border: 2px solid #39ff14;
}

.popup img {
  max-width: 100%;
  height: auto;
}

.popup button {
  background-color: #39ff14;
  color: #000;
  border: none;
  padding: 5px 10px;
  font-size: 0.9em;
  cursor: pointer;
  margin-top: 10px;
}

.popup button:hover {
  background-color: #0f0;
}

.close {
  position: absolute;
  top: 5px;
  right: 10px;
  cursor: pointer;
  font-size: 1.5em;
  color: #39ff14;
}

/* Loading Screen Styles */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
}

#loading-screen img {
  width: 30px; /* Smaller loading GIF */
  height: 30px;
}
/* Different pop-up widths for variety */
#popup1 .popup-content {
  width: 400px; /* matches your 400×300 ad */
}

#popup2 .popup-content {
  width: 350px; /* or whatever you like for cockandnyashthetics.gif */
}

#popup3 .popup-content {
  width: 160px; /* for a tall, narrow Robert Pattinson ad (160×600) */
}

/* Make sure images shrink to fit if needed */
.popup-content img {
  max-width: 100%;
  height: auto;
}

/* Retro Gallery Grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
}

/* Photo frame using a retro template graphic (animated GIF) */
.photo-frame {
  position: relative;
  background: url('gallerytemplate.gif') no-repeat center center;
  background-size: cover;
  padding: 20px; /* Adjust if needed */
  animation: flicker 1.5s infinite alternate;
}

}
.photo-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Flicker animation for that retro blinky effect */
@keyframes flicker {
  0% { opacity: 1; }
  50% { opacity: 0.8; }
  100% { opacity: 1; }
}

/* Retro-styled button */
.retro-button {
  background-color: #000;
  border: 2px solid #39ff14;
  color: #39ff14;
  padding: 10px 20px;
  text-transform: uppercase;
  font-family: 'Courier New', monospace;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  margin: 20px;
}
.retro-button:hover {
  background-color: #39ff14;
  color: #000;
}


