/* Reset default styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Courier New', Courier, monospace;
  overflow: hidden; /* Hide overflow to prevent scrolling */
  background-color: black; /* Set background color to black */
}

/* Define custom cursor */
.custom-cursor {
  cursor: url('./assets/cursor/pointer.png'), auto !important;
}

.typing-effect {
  font-size: 18px; /* Rozmiar tekstu */
  color: white; /* Kolor tekstu */
  font-weight: bold; /* Pogrubienie */
  overflow: hidden; /* Ukryj nadmiar tekstu */
  white-space: nowrap; /* Zapobiegaj łamaniu tekstu */
  border-right: 2px solid white; /* Dodaj kursor */
  width: fit-content; /* Dostosuj szerokość do treści */
  margin: 0 auto; /* Wyśrodkuj poziomo */
  text-align: center; /* Wyśrodkuj tekst wewnątrz */
  display: flex; /* Ustaw flexbox */
  justify-content: center; /* Wyśrodkuj poziomo */
  align-items: center; /* Wyśrodkuj pionowo */
  transform: translateX(-10px); /* Przesuń lekko w lewo */
}




/* Terminal styles */
#terminal {
  position: fixed; /* Fixed position to keep it always visible */
  top: 50px; /* Adjust initial top position as needed */
  left: 50px; /* Adjust initial left position as needed */
  width: 600px; /* Fixed width */
  height: 400px; /* Fixed height */
  background-color: #1e1e1e; /* Terminal background color */
  color: #ffffff; /* Terminal text color */
  border-radius: 10px; /* Rounded corners */
  z-index: 1000; /* Ensure it's above other elements */
  border: 2px solid #4d4d4d; /* Terminal border color */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); /* Terminal shadow */
}

@media screen and (max-width: 600px) {
  /* Adjust styles for smaller screens, such as phones */
  #terminal {
      max-width: 90%; /* Increase width for smaller screens */
  }
}
/* Terminal header styles */
#terminal-header {
  background-color: #2d2d2d; /* Header background color */
  border-top-left-radius: 10px; /* Rounded corners for top left */
  border-top-right-radius: 10px; /* Rounded corners for top right */
  padding: 10px; /* Add padding */
  display: flex; /* Use flexbox for layout */
  justify-content: flex-start; /* Align buttons to the left */
  transition: background-color 0.3s; /* Smooth transition for background color */
}

/* Terminal header hover effect */
#terminal-header:hover {
  background-color: #333333; /* Darken header background on hover */
}

/* Terminal buttons styles */
#terminal-buttons {
  display: flex; /* Use flexbox for layout */
  gap: 10px; /* Add gap between buttons */
}

/* Individual terminal button styles */
.terminal-button {
  width: 15px; /* Adjust width as needed */
  height: 15px; /* Adjust height as needed */
  border-radius: 50%; /* Circular shape */
  cursor: pointer; /* Set cursor to pointer */
  transition: background-color 0.3s; /* Smooth transition for background color */
}

/* Terminal button hover effect */
.terminal-button:hover {
  background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent background on hover */
}

/* Close button styles */
#close-button {
  background-color: #FF5F57; /* Close button color */
}

/* Minimize button styles */
#minimize-button {
  background-color: #FFBD2E; /* Minimize button color */
}

/* Maximize button styles */
#maximize-button {
  background-color: #28CA42; /* Maximize button color */
}

/* Terminal content styles */
#terminal-content {
  padding: 20px; /* Add padding */
  height: calc(100% - 40px); /* Adjust for header height and padding */
  overflow-y: auto; /* Enable vertical scrolling if needed */
  user-select: none; /* Disable text selection */
}

/* Terminal text styles */
#terminal-text {
  margin: 0;
  padding: 0;
  font-size: 14px; /* Terminal text size */
  line-height: 1.5; /* Line height */
  overflow: hidden; /* Hide overflow */
  white-space: pre-line; /* Preserve line breaks */
}

/* Video background styles */
#video-background {
  position: fixed; /* Fixed position to cover the entire viewport */
  top: 0;
  left: 0;
  width: 100vw; /* 100% of viewport width */
  height: 100vh; /* 100% of viewport height */
  z-index: -1; /* Behind other content */
}

/* Scan lines effect */
#video-background::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 2px);
  z-index: 1;
  pointer-events: none;
}

/* Video styles */
#myVideo {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the entire viewport while maintaining aspect ratio */
  z-index: 0; /* Behind other content */
}

/* Positioning classes */
.top-left {
  top: 0;
  left: 0;
}

.top-right {
  top: 0;
  right: 0;
}

.bottom-left {
  bottom: 0;
  left: 0;
}

.bottom-right {
  bottom: 0;
  right: 0;
}

#volume-control {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  background: linear-gradient(#141414c8, #141414c8) padding-box, linear-gradient(
    var(--angle),
    #141414c8,
    #868686
  ) border-box;
  border-radius: 10px;
  border: 2px solid transparent;
  animation: 10s rotate linear infinite;
}

#volume-control i {
  color: white; /* Kolor ikony */
}

#volume-slider {
  width: 100px; /* Szerokość suwaka */
  -webkit-appearance: none;
  appearance: none;
  height: 5px;
  background: #ddd;
  outline: none;
  border-radius: 5px;
  cursor: pointer;
}

#volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  background: #fff;
  border: 2px solid #aaa;
  border-radius: 50%;
  cursor: pointer;
}

#volume-slider::-moz-range-thumb {
  width: 15px;
  height: 15px;
  background: #fff;
  border: 2px solid #aaa;
  border-radius: 50%;
  cursor: pointer;
}


/* Blurred box styles */
#blurred-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30%; /* Adjust width as needed */
  height: 30%; /* Adjust height as needed */
  background: linear-gradient(#141414c8, #141414c8) padding-box, 
              linear-gradient(var(--angle), #141414cb, #868686) border-box;
  border-radius: 15px;
  border: 2px solid transparent;
  animation: 7s rotate linear infinite;
  box-shadow: 0 0 10px rgba(100, 100, 100, 0.5); /* Slightly blurred shadow */
  backdrop-filter: blur(5px); /* Apply blur effect */
  z-index: 999; /* Above other content */
  display: none; /* Initially hidden */
  padding: 20px; /* Add padding */
  text-align: center; /* Center text horizontally */
  transition: transform 0.1s ease-out; /* Płynne przejścia przy ruchu kursora */
}

/* Efekt po najechaniu */
#blurred-box:hover {
  transform: translate(-50%, -50%) rotateX(10deg) rotateY(10deg) scale(1.05);
  background: linear-gradient(#1a1a1ad9, #1a1a1ad9) padding-box, 
              linear-gradient(var(--angle), #232323, #ababab) border-box;
  box-shadow: 0 0 15px rgba(150, 150, 150, 0.8); /* Intensywniejszy cień */
}


@keyframes rotate {
  to {
    --angle: 500deg;
  }
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* Blurred box hover effect */
#blurred-box:hover {
  background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent background on hover */
}

/* Profile picture styles */
#blurred-box img {
  width: 100px; /* Adjust size as needed */
  height: 100px; /* Adjust size as needed */
  border-radius: 10%; /* Rounded corners */
  margin-bottom: -5px; /* Adjust margin as needed */
  background: linear-gradient(#141414c8, #141414c8) padding-box, linear-gradient(
    var(--angle),
    #141414c8,
    #868686
  ) border-box;
  border-radius: 15px;
  border: 2px solid transparent;
  animation: 10s rotate linear infinite;
}

/* Links styles */
.links {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  z-index: 9999; /* Ustaw bardzo wysoki z-index */
  pointer-events: auto; /* Upewnij się, że element jest klikalny */
}



.links a {
  display: flex;
  align-items: center;
  margin: 0 10px;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

/* Link hover effect */
.links a:hover {
  color: #333333;
}

.links a i {
  margin-right: 5px;
  font-size: 24px;
}

/* Hover styles for links */
.links a:hover {
  text-decoration: underline;
}

/* User Description styles */
.user-description {
  margin-bottom: 20px; /* Adjust margin as needed */
}

.user-description p {
  margin: 0; /* Remove default margin */
  padding: 10px; /* Add padding */
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent background */
  border-radius: 5px; /* Rounded corners */
  transition: background-color 0.3s; /* Smooth transition for background color */
}

/* User description hover effect */
.user-description:hover p {
  background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent background on hover */
}
