/* General Styling */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #ffffff;
  background-color: #1e1e1e;
  overflow-x: hidden;
}

/* Background for the sides */
body::before,
body::after {
  content: '';
  position: fixed;
  top: 0;
  bottom: 0;
  width: 10%;
  z-index: -1;
}

body::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 107, 107, 0.2), transparent);
}

body::after {
  right: 0;
  background: linear-gradient(to left, rgba(80, 183, 245, 0.2), transparent);
}

/* Navigation Bar */
header nav ul {
  background: #333333;
  padding: 1em;
  text-align: center;
  list-style: none;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
}

header nav ul li {
  display: inline;
  margin: 0 15px;
}

header nav ul li a {
  color: #50b7f5;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2em;
  transition: color 0.3s, transform 0.3s;
}

header nav ul li a:hover {
  color: #8de48d;
  transform: scale(1.1);
}

/* Section Styling */
section {
  padding: 20px;
  max-width: 800px;
  margin: auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

#home {
  background: #282828;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  animation: fadeIn 1.5s ease-in-out;
}

h1, h2 {
  color: #ff6b6b;
}

p {
  font-size: 1em;
  color: #cccccc;
}

/* Servers & Networking Sections */
section ul {
  list-style-type: none;
  padding: 0;
}

section ul li {
  background: #3a3a3a;
  margin: 5px 0;
  padding: 10px;
  border-left: 4px solid #50b7f5;
  color: #ffffff; /* Ensures text is visible */
  opacity: 1;
  transform: translateX(0); /* Removes slide-in effect */
}

/* Contact Section Styling */
#contact {
  background: #282828;
  color: #ffffff;
  padding: 20px;
  border-top: 2px solid #50b7f5;
  margin-top: 20px;
}

#contact a {
  color: #50b7f5;
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
}

#contact a:hover {
  text-decoration: underline;
  color: #8de48d;
  transform: translateY(-2px);
}

/* Keyframe Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Image Styling */
.image-container img {
  max-width: 500px; /* Adjust the size to your preference */
  max-height: 500px;
  width: auto;
  height: auto;
  display: block;
  border-radius: 8px; /* Optional: rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: subtle shadow */
  transition: transform 0.3s ease-in-out; /* Optional: slight zoom on hover */
}

.image-container img:hover {
  transform: scale(1.1); /* Slight zoom effect */
}
