body {
  font-family: "Verdana", sans-serif;
  background-color: #5fb3c9;
  background-image: url("/Content/index/tile.png");

  background-repeat: repeat;
  background-size: auto;
  background-attachment: fixed;
}

/* The side navigation menu */
.sidebar {
  margin: 0;
  padding: 0;
  width: 200px;
  background-color: #d9eeee;
  position: fixed;
  height: 100%;
  overflow: visible;
  border-right: 2px solid #006666;
  box-shadow: inset -1px 0 0 #ffffff;
  z-index: 100;
}

/* Sidebar links */
.sidebar a {
  display: block;
  color: #003333;
  padding: 14px;
  text-decoration: underline;
  font-weight: bold;
}

/* Active/current link */
.sidebar a.active {
  background-color: #0E96C7;
  color: white;
  border: 2px inset #008AA7;
}

/* Links on mouse-over */
.sidebar a:hover:not(.active) {
  background-color: #99B9CC;
  color: black;
}

/* Settings link */
.settings-link {
  position: absolute;
  bottom: 20px;
  width: 100%;
}

/* Page content. The value of the margin-left property should match the value of the sidebar's width property */
.content {
  margin-left: 220px;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.content-box {
  position: relative;
  background: #f5ffff;
  border: 2px solid #006666;
  padding: 16px;
  box-shadow:
    inset 1px 1px 0 #ffffff,
    inset -1px -1px 0 #003333;
}

/* Dark Theme */
body.dark {
  background: #0b1a1a;
  color: #e0ffff;
  background-image: none;
}

body.dark .sidebar {
  background-color: #102626;
  border-right: 2px solid #00cccc;
  box-shadow: none;
}

body.dark .sidebar a {
  color: #ccffff;
}

body.dark .sidebar a:hover:not(.active) {
  background-color: #1f4040;
}

body.dark .content-box {
  background: #0f2a2a;
  border: 2px solid #00cccc;
  box-shadow: none;
}

body.dark h1,
body.dark h2,
body.dark p {
  color: #e0ffff;
}

/* Neon Theme */
body.neon {
  background: black;
  color: #00ffcc;
  background-image: none;
}

body.neon .sidebar {
  background-color: #000;
  border-right: 2px solid #00ffcc;
  box-shadow: 0 0 10px #00ffcc;
}

body.neon .sidebar a {
  color: #00ffcc;
}

body.neon .sidebar a:hover {
  background-color: #002222;
}

body.neon .content-box {
  background: #001111;
  border: 2px solid #00ffcc;
  box-shadow: 0 0 15px rgba(0,255,204,0.3);
}

body.neon h1,
body.neon h2,
body.neon p {
  color: #00ffcc;
}

/* On screens that are less than 700px wide, make the sidebar into a topbar */
@media screen and (max-width: 700px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }
  .sidebar a {float: left;}
  div.content {margin-left: 0;}
}

/* On screens that are less than 400px, display the bar vertically, instead of horizontally */
@media screen and (max-width: 400px) {
  .sidebar a {
    text-align: center;
    float: none;
  }
}

/*dropdown*/

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 130px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  padding: 12px 16px;
}

.dropdown:hover .dropdown-content {
  display: block;
}


   
       .blink {
           animation: blinker 1s linear(0 0%, 0 1.8%, 0.01 3.6%, 0.03 6.35%, 0.07 9.1%, 0.13 11.4%, 0.19 13.4%, 0.27 15%, 0.34 16.1%, 0.54 18.35%, 0.66 20.6%, 0.72 22.4%, 0.77 24.6%, 0.81 27.3%, 0.85 30.4%, 0.88 35.1%, 0.92 40.6%, 0.94 47.2%, 0.96 55%, 0.98 64%, 0.99 74.4%, 1 86.4%, 1 100%) infinite;
           color: black;
           font-family: Tahoma;
       }
       @keyframes blinker {
           50% { opacity: 0; }
       }
   
   
       h1 {
           font-family: 'Verdana';
           font-size: 30px;
           color: black;
       }
       h2 {
           font-family: 'Verdana';
           font-size: 25px;
           color: black;
       }
       p {
           font-family: 'Tahoma';
           font-size: 18px;
           color: black;
       }
   
   
       h1 {text-align: left;}
       h2 {text-align: left;}
       p {text-align: left;}
       div {text-align: left;}
   

/*button styles*/

	.button-row {
		display: flex;         /* The magic alignment spell */
    	gap: 10px;            /* The "perfect" gap between buttons */
    	align-items: center;  /* Keeps them level */
    	margin-top: 10px;
	}

  .custom-button {
    background-color: #F0F0F0;
    color: black;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-family: 'Tahoma';
    cursor: pointer;
  }
  .custom-button:hover {
    background-color: #E0E0E0;
  }

  .main-button {
	  background-color: #e0e0e0;
	  color: black;
	  border: 2px outset #999;
	  padding: 6px 14px;
	  font-size: 14px;
	  font-family: Tahoma, sans-serif;
	  cursor: pointer;
  }
	.main-button:active {
      border: 2px inset #999;
  }
	.main-button:hover {
	  background-color: #D0D0D0;
  }


/*logo*/
	.site-logo {
		position: absolute;
		top: 10px;
		right: 20px;
		height: 50px;
		width: auto;
		z-index: 10;
	}

/* For Gallery */
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.gallery-item {
    background: #fff;
    border: 1px solid #006666;
    padding: 5px;
    margin: 0;
    width: 200px; /* Adjust based on your N5110 screen size */
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

figcaption {
    font-family: 'Tahoma', sans-serif;
    font-size: 11px;
    color: #333;
    margin-top: 5px;
    border-top: 1px dashed #ccc;
    padding-top: 3px;
}

/* for the gallery */
/* The background overlay */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8); /* Dark semi-transparent */
  cursor: zoom-out;
}

/* The actual big image */
.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  margin-top: 50px;
  border: 4px solid #fff;
  box-shadow: 0 0 20px rgba(0,255,255,0.3); /* Teal glow */
}

/* Caption underneath big image */
#captionText {
  color: white;
  text-align: center;
  font-family: 'Tahoma', sans-serif;
  margin-top: 15px;
  font-size: 18px;
}

/* The X button */
.close-button {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}


.menu-item {
  position: relative;
}

/* Hidden panel */
.submenu {
  position: absolute;
  top: 0;
  left: 100%; /* starts just off to the right */
  width: 300px;
  z-index: 9999;
  pointer-events: none;

  background-color: #d9eeee;
  border: 2px solid #006666;

  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 4px 10px rgba(0,0,0,0.3);
}

/* Show on hover */
.menu-item:hover .submenu {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}

details {
  border: 1px solid #006666;
  background: #f5ffff;
  padding: 10px 15px;
  margin-bottom: 15px;
}

summary {
  padding: 10px;
  font-weight: bold;
  cursor: pointer;
  background: #d9eeee;
}

summary:hover {
  background: #99B9CC;
}

summary::marker {
  content: "▸ ";
}

details[open] summary::marker {
  content: "▾ ";
}

/* content inside */
details p {
  margin: 0;
  padding: 8px 12px;
}

details > *:not(summary) {
  padding: 10px 0;
}

.search-box {
  margin: 20px 0;
  display: flex;
  gap: 10px;
}

.search-box input {
  flex: 1;
  padding: 8px;
  border: 2px inset #999;
  font-family: Tahoma;
}

.search-box button {
  background: #e0e0e0;
  border: 2px outset #999;
  padding: 6px 14px;
  cursor: pointer;
}

.search-box button:active {
  border: 2px inset #999;
}

#results a {
  color: #006666;
  text-decoration: none;
  font-family: Tahoma;
}

#results a:hover {
  text-decoration: underline;
  color: #003333;
}

#results div {
  padding: 6px;
  border-bottom: 1px dashed #ccc;
}

/* Chat container */
#messages {
  background: black;
  color: #00ff00;
  font-family: "Courier New", monospace;
  padding: 10px;
  height: 300px;
  overflow-y: auto;
  border: 2px inset #006666;
  box-shadow: inset 0 0 10px #003333;
}

/* Each message */
.chat-message {
  margin-bottom: 6px;
  line-height: 1.4;
}

/* Timestamp */
.chat-time {
  color: #00ffff;
}

/* Username */
.chat-name {
  color: #ffff00;
  font-weight: bold;
}

/* Message text */
.chat-text {
  color: #00ff00;
}

/* Inputs */
#name, #message {
  background: black;
  color: #00ff00;
  border: 2px inset #006666;
  font-family: "Courier New", monospace;
  padding: 6px;
  margin-right: 5px;
}

/* Button */
button {
  background: #e0e0e0;
  border: 2px outset #999;
  font-family: Tahoma;
  cursor: pointer;
}

button:active {
  border: 2px inset #999;
}
