/*
=================================================================
NEOCITIES MASTER STYLESHEET
=================================================================
This file contains all the styles for your website.
It's organized into sections for easy editing.
*/

/*
=================================================================
1. FONT IMPORTS & ROOT VARIABLES
-- Define your site's colors and fonts here for easy changes.
=================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=VT323&display=swap');

:root {
  /* -- Color Palette -- */
  --primary-color: #3498db; /* A nice blue, good for buttons and links */
  --primary-hover: #2980b9; /* A darker blue for hover effects */
  --secondary-color: #f1c40f; /* A yellow for accents */
  --background-color: #ecf0f1; /* A light grey for the page background */
  --text-color: #2c3e50; /* A dark grey for main text, easier on the eyes than pure black */
  --box-background: #ffffff; /* White for your content boxes */
  --border-color: #bdc3c7; /* A light border color */
  --highlight-color: #4CAF50; /* A green for focus highlights */

  /* -- Font Families -- */
  --font-main: 'Roboto', sans-serif; /* A clean, modern sans-serif for body text */
  --font-display: 'VT323', monospace; /* A retro, pixel-style font for headers or accents */
}

/*
=================================================================
2. GENERAL & RESPONSIVE SETUP
-- These are the foundational styles for your whole site.
-- Includes mobile-first responsive design.
=================================================================
*/

/* -- Basic Reset -- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* This makes layout math more intuitive */
}

body {
  font-family: var(--font-main);
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6; /* Improves readability */
}

/* -- Main Content Container -- */
/* Use a <div class="container"> to wrap your main content */
.container {
  width: 95%; /* More screen space on small mobile devices */
  margin: 20px auto; /* Adds space at the top/bottom and centers it */
  padding: 20px;
}

/* -- Tablet Styles (screens 768px and wider) -- */
@media (min-width: 768px) {
  .container {
    width: 85%;
  }
}

/* -- Desktop Styles (screens 1024px and wider) -- */
@media (min-width: 1024px) {
  .container {
    width: 70%;
    max-width: 1200px; /* Prevents content from becoming too wide on very large screens */
  }
}

/*
=================================================================
3. DYNAMIC EFFECTS & TRANSITIONS
-- Add life to your page with animations and hover effects.
=================================================================
*/

/* -- Fade-in Animation on Load -- */
/* Add class="fade-in-element" to elements you want to fade in */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px); /* Optional: slight upward move */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-element {
  animation: fadeIn 1.5s ease-in-out forwards;
}

/* -- General Link & Button Styling -- */
a, .my-button {
  color: var(--primary-color);
  transition: all 0.3s ease; /* Smooth transition for ALL properties */
  text-decoration: none;
}

a:hover, .my-button:hover {
  color: var(--primary-hover);
  transform: translateY(-2px); /* Subtle lift effect on hover */
  text-decoration: underline;
}

.my-button {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-family: var(--font-display);
  font-size: 24px;
  cursor: pointer;
  display: inline-block; /* Needed for transform to work */
}

.my-button:hover {
  background-color: var(--primary-hover);
  color: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Add a shadow for more depth */
  text-decoration: none;
}


/*
=================================================================
4. TEXT BOXES & CONTENT AREAS
-- Style the boxes that hold your text and images.
=================================================================
*/

/* -- General Content Box Styling -- */
/* Use class="content-box" for your main text areas */
.content-box {
  background-color: var(--box-background);
  border: 1px solid var(--border-color);
  border-radius: 8px; /* Rounded corners */
  padding: 25px;
  margin-bottom: 20px; /* Space between boxes */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Subtle shadow for a "lifted" look */
}

/* -- Custom Styled Text Inputs -- */
/* You can apply this class to <input> or <textarea> elements */
.custom-textbox {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: var(--background-color);
  font-family: var(--font-main);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-textbox:focus {
  outline: none; /* Removes the default browser outline */
  border-color: var(--highlight-color);
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.5); /* Adds a soft glow matching the border */
}


/*
=================================================================
5. FLOATING OC CHARACTER & OVERLAYS
-- Your character and image overlay effects.
=================================================================
*/

/* -- Floating Character Container -- */
/* Place your character image inside a <div class="character-container"> */
.character-container {
  position: fixed; /* Stays in the same place on the screen when scrolling */
  bottom: 10px;    /* 10px from the bottom */
  right: 10px;     /* 10px from the right */
  z-index: 1000;   /* High z-index to ensure it's on top of everything */
  animation: float 6s ease-in-out infinite; /* Applies the floating animation */
  pointer-events: none; /* Allows clicks to go "through" the image to elements behind it */
}

.character-container img {
  width: 150px; /* Adjust size as needed */
  height: auto;
  /* Optional: adds a subtle drop shadow to make it pop */
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* -- Keyframes for the Floating Animation -- */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px); /* Floats up */
  }
  100% {
    transform: translateY(0px); /* Returns to original position */
  }
}

/* -- Image Overlay Effect -- */
/* Create a container with class="image-container" around an image and a div with class="overlay" */
.image-container {
  position: relative;
  width: 100%; /* Or set a specific width */
  max-width: 400px;
  display: block;
}

.image-container img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5px; /* Match your box styling */
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0; /* Hidden by default */
  transition: .5s ease;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black */
  border-radius: 5px; /* Match the image's border-radius */
  display: flex; /* Using flexbox to easily center the text */
  justify-content: center;
  align-items: center;
}

.image-container:hover .overlay {
  opacity: 1; /* Show the overlay on hover */
}

.overlay-text {
  color: white;
  font-size: 22px;
  font-family: var(--font-display);
  text-align: center;
  padding: 20px;
}


/*
=================================================================
6. SMALL MUSIC PLAYER
-- Basic styling for the HTML5 <audio> element.
=================================================================
*/

audio {
  width: 100%; /* Make it responsive */
  max-width: 350px; /* But not too big on large screens */
  height: 40px;
  display: block; /* Helps with layout consistency */
  margin: 20px 0; /* Add some space around it */
}

/* Note: Full styling of the HTML5 audio player controls across all browsers
   is complex and often requires JavaScript. This provides a basic size adjustment. */
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   