@media print {
  /*@media all {*/
  .terminal-window {
    text-align: left;
    width: 100%;
    height: 100%;
    position: absolute;
    overflow:visible;
  }

  .terminal{
    display: block !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
  }
  .tooltip {
    display: none;
  }
  /* Print Colors */
  .terminal-window .titleBar .button.green {
    display: none;
  }
  .terminal-window .titleBar .button.yellow {
    display: none;
  }
  .terminal-window .titleBar .button.red {
    display: none;
  }


  .terminal-window .gray { 
    color: gray;
    print-color-adjust: exact; 
  }
  .terminal-window .green { 
    color: green;
    print-color-adjust: exact; 
  }
  .terminal-window .yellow { 
    color: rgb(231, 231, 33);
    print-color-adjust: exact; 
  }
  .terminal-window .red { 
    color: rgb(255, 116, 116);
    print-color-adjust: exact; 
  }
  .terminal-window .purple { 
    color: purple;
    print-color-adjust: exact; 
  }
  .terminal-window .blue { 
    color: rgb(90, 90, 255);
    print-color-adjust: exact; 
  }
  .terminal-window a { 
    color: rgb(111, 111, 255);
    print-color-adjust: exact; 
  }

  /* Ignore GUI*/
  header {
    display: none;
  }
  .gui_desktop {
    visibility: hidden;
  }
  footer {
    display: none;
  }
}
@media screen {
  .terminal-window {
    display: none;
    text-align: left;
    width: 96vw;
    height: 78vh;
    border-radius: 10px;
    margin-left: 2em;
    margin-top: 1.2em;
    position: relative;
    -webkit-box-shadow: 17px 14px 40px -3px rgba(0,0,0,0.62);
    -moz-box-shadow: 17px 14px 40px -3px rgba(0,0,0,0.62);
    box-shadow: 17px 14px 40px -3px rgba(0,0,0,0.62);
  }
}


/* body {
  background: #6D7074;
} */


/* __Terminal Window__ */
/* Terminal Input */
.terminal-window input:focus {
  outline: none; /* Remove default focus outline */
  border: none;  /* Remove border on focus */
}
.terminal-window input {
  background: none;
  border: none;
  color: white;
  font: inherit;
  width: 85%; 
}

/* Tool Tip */
.vargasOS-id{
  float: left;
}

.tooltip {
  font-size: 16pt;
  float: right;
  position: relative;
}

.tooltip .tooltiptext {
  font-size: 10pt;
  visibility: hidden;
  width: 40em;
  background-color: black;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 8px 8px;
  
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: -5px;
  right: 105%;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

/* Terminal Console */
.terminal-window section.terminal {
  color: white;
  font-family: Menlo, Monaco, "Consolas", "Courier New", "Courier";
  font-size: 11pt;
  background: #15181c ;
  background-image:url('cmd_imgs/bg.gif');
  background-blend-mode: multiply;
  background-repeat: repeat;
  background-attachment: local;
  padding: 10px;
  box-sizing: border-box;
  position: absolute;
  width: 100%;
  top: 30px;
  bottom: 0;
  overflow: auto;
}

.terminal-data { display: none; }
.terminal-window .gray { color: gray; }
.terminal-window .green { color: green;}
.terminal-window .yellow { color: rgb(231, 231, 33);}
.terminal-window .red { color: rgb(255, 116, 116);}
.terminal-window .purple { color: purple;}
.terminal-window .blue { color: rgb(90, 90, 255);}
.terminal-window a { color: rgb(111, 111, 255);}
.terminal-window a:hover img {
  filter: brightness(1.2);
}

/* MANUALS */
.man-sub-title {
  margin-left: 4em; /* Adjust as needed */
}
.man-command {
  font-weight: bold;
  margin-left: 4em; /* Adjust as needed */
    color: white;
}
.man-sub-content {
  margin-left: 8em; /* Adjust as needed */
}

/* CV FORMAT - START */
.terminal-window .chapter { 
  font-weight: bold;
  font-size: 16pt;
}
.terminal-window .title { 
  font-weight: bold;
  font-size: 13pt;
}
.terminal-window .tiny { 
  font-size: 9pt;
}

/* - USAGE */
.usage_label {
  text-align: left;
  min-width: 100px; /* Adjust as needed */
  margin-right: 5px; /* Adjust as needed */
}

/* - ID */
.info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-left: 5px; /* Adjust as needed */
}

.id_label {
  font-style: italic;
  text-align: right;
  min-width: 75px; /* Adjust as needed */
  margin-right: 10px; /* Adjust as needed */
}
.label_description {
  flex-grow: 1;
}

.id_img{
  max-width: 23px;
}

/* - SKILLS */
.skills_row {
  display: flex;
  /* justify-content: space-between; */
  margin-top: 0.2em;
}

.skills_category, .skills_level {
  box-sizing: border-box; /* Include padding and border in the total width and height */
  border-collapse: collapse;
  border: none;
}

.skills_category{
  min-width: 120px;
  text-align: right;
  margin-right: 1em; /* Adjust the right margin as needed */
}

.skills_level {
  min-width: 60px;
  text-align: left;
}

/* - ACADEMIC */
.certificate_label{
  font-style: italic;
  text-align: right;
  min-width: 90px; /* Adjust as needed */
  margin-right: 10px; /* Adjust as needed */
}
/* - PRO */
.pro_img{
  max-width: 30px;
}
.pro_label {
  font-style: italic;
  text-align: right;
  min-width: 100px; /* Adjust as needed */
  margin-right: 10px; /* Adjust as needed */
}

/* - PORTFOLIO */
.project-context{  margin-left: 2.4em; }
.project-context-indent{ margin-left: 4em; }

.portfolio_label {
  font-style: italic;
  text-align: right;
  min-width: 138px; /* Adjust as needed */
  margin-right: 10px; /* Adjust as needed */
}

.terminal-window .desota_repos {
  margin-left: auto; 
  margin-right: auto; 
  font-size: 10pt;
  /* margin-left: 134px; */
}.terminal-window .desota_repos td, th  {
  border: 1px solid #898b8f;
}

/* - CONTACT */
.contact_table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.contact_table th, .contact_table td {
  padding: 4px;
  text-align: left;
}

.profile_pic {
  max-width: 100px;
  max-height: 100px;
  border-radius: 50%;
}

.title {
  font-weight: bold;
  font-size: 18px;
}

.contact_table img {
  max-width: 160px;
  vertical-align: middle;
  margin-right: 5px;
}
/* CV FORMAT - END */


.terminal-window section.terminal .typed-cursor {
    opacity: 1;
    display: none;
    -webkit-animation: blink 0.7s infinite;
    -moz-animation: blink 0.7s infinite;
    animation: blink 0.7s infinite;
}
@keyframes blink{
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}
@-webkit-keyframes blink{
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}
@-moz-keyframes blink{
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}

/*Tables*/
.terminal-window table {
  margin-top: 8px;
  border-collapse: collapse;
  width: auto;
}
.terminal-window th {
  font-weight: bold;
  font-style: italic;
}
.terminal-window td, th {
  border: none;
  text-align: left;
  padding: 8px;
}
.terminal-window tr:nth-child(even) {
  background-color: #15181c;
}

.terminal-window .history {
  overflow-wrap: anywhere;
}

.terminal-window .desota_repos {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

@media (max-width: 900px) {
  .terminal-window {
    border-radius: 0;
    height: 100vh;
    margin: 0;
    width: 100vw;
  }
  .terminal-window .titleBar {
    border-radius: 0;
  }
  .terminal-window section.terminal {
    font-size: 10pt;
    padding: 8px;
  }
  .terminal-window .tooltiptext {
    width: min(90vw, 40em);
  }
}

@media (max-width: 600px) {
  .terminal-window .vargasOS-id {
    float: none;
  }
  .terminal-window .contact_table img {
    max-width: 120px;
  }
  .terminal-window .skills_category {
    min-width: 88px;
  }
  .terminal-window .portfolio_label,
  .terminal-window .pro_label,
  .terminal-window .id_label {
    min-width: 82px;
  }
}

.terminal-window {
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  backdrop-filter: blur(30px) saturate(180%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-window);
  box-shadow: var(--shadow-window), inset 0 1px 0 var(--glass-highlight);
  overflow: hidden;
}

.terminal-window section.terminal {
  background-color: #10141a;
  background-image: linear-gradient(180deg, rgba(22, 26, 33, 0.94), rgba(12, 15, 20, 0.97));
  background-blend-mode: normal;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  bottom: 0;
  color: #e6edf3;
  font-family: var(--font-mono);
  top: var(--titlebar-height);
}

.terminal-window .gray {
  color: #9aa4b2;
}

.terminal-window .green {
  color: #7ee787;
}

.terminal-window .yellow {
  color: #f2cc60;
}

.terminal-window .red {
  color: #ff7b72;
}

.terminal-window .purple {
  color: #c297ff;
}

.terminal-window .blue {
  color: #79b8ff;
}

.terminal-window a {
  color: #79b8ff;
}

.terminal-window tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.025);
}

.terminal-window .tooltip .tooltiptext {
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(28, 32, 40, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.terminal-window ::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}

.terminal-window ::-webkit-scrollbar-track {
  background: transparent;
}

.terminal-window ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border: 2px solid transparent;
  background-clip: content-box;
  border-radius: 99px;
}

@media (max-width: 900px) {
  .terminal-window {
    border: 0;
    border-radius: 0;
    height: 100vh;
    margin: 0;
    width: 100vw;
  }
  .terminal-window section.terminal {
    top: var(--titlebar-height);
  }
}

@media print {
  .terminal-window {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    position: static !important;
    width: 100% !important;
  }
  .terminal-window section.terminal {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: #fff !important;
    border: 0 !important;
    bottom: auto !important;
    box-shadow: none !important;
    color: #000 !important;
    height: auto !important;
    overflow: visible !important;
    position: static !important;
    top: 0 !important;
    width: auto !important;
  }
  .terminal-window .titleBar {
    display: none !important;
  }
}