@font-face {
  font-family: 'JetBrainsMono';
  src: url('./cv/jbm.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'JetBrainsMono';
  src: url('./cv/jbm-bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

.round-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(0, 255, 0, 0);
  border: 2px solid rgba(0, 255, 0, 0.3);
}

.round-image:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

.content {
  text-align: center;
  height: calc(var(--vh, 1vh) * 100 - 73px);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.center-content {
  text-align: center;
  position: relative;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 73px;
  text-align: center;
  line-height: 73px;
  z-index: 1;
}

.footer img,
.footer .cv-btn svg {
  transition: all 0.3s ease;
}

.footer img:hover,
.footer .cv-btn:hover svg {
  transform: scale(1.15);
}

.footer a {
  -webkit-tap-highlight-color: transparent;
} 

body, html {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.click-me-container {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 50px;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s ease;
  background: transparent;
}

.click-me-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent !important;
  fill: none;
}

.click-me-text text {
  font-family: "Caveat", cursive;
  fill: #0a8816;
  font-size: 48px;
}

a:hover + .click-me-container {
  opacity: 0;
}

#terminal-open-photo {
  -webkit-tap-highlight-color: transparent;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.social-link {
  text-decoration: none;
}

/* Terminal overlay / modal */
.terminal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
}

.terminal-overlay.active {
  display: flex;
}

.terminal-modal {
  background: #1e1e1e;
  width: 80%;
  max-width: 900px;
  height: 70%;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: #2d2d2d;
  user-select: none;
}

.terminal-header span {
  color: #aaa;
  font-family: 'JetBrainsMono', monospace;
  font-size: 14px;
}

.terminal-header-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.terminal-end-chat {
  display: none !important;
  background: none;
  border: 1px solid #666;
  color: #aaa;
  font-family: 'JetBrainsMono', monospace;
  font-size: 12px;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 3px;
  line-height: 1.4;
}

.terminal-end-chat.active {
  display: inline-block !important;
}

.terminal-end-chat:hover {
  color: #fff;
  border-color: #aaa;
}

.terminal-close {
  background: none;
  border: none;
  color: #aaa;
  font-size: 22px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.terminal-close:hover {
  color: #fff;
}

#terminal-container {
  flex: 1;
  overflow: hidden;
}

/* Xterm scrollbar */
#terminal-container .xterm-viewport {
  scrollbar-width: thin;
  scrollbar-color: #444 transparent;
}

#terminal-container .xterm-viewport::-webkit-scrollbar {
  width: 6px;
}

#terminal-container .xterm-viewport::-webkit-scrollbar-track {
  background: transparent;
}

#terminal-container .xterm-viewport::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 3px;
}

#terminal-container .xterm-viewport::-webkit-scrollbar-thumb:hover {
  background: #666;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 4px;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .terminal-modal {
    width: 96%;
    height: 85%;
    border-radius: 6px;
  }
}
