:root {
  --background-color: rgb(4, 4, 4);
  --standard-font-color: white;
  --standard-terminal-promp-color: #3ad514;
  --terminal-header-background-color: #292929;
  --terminal-background-color: rgb(13, 13, 13);
  --terminal-header-button-shadow-color: black;
  --terminal-blinking-color: white;
  --filter: invert(0);
}

[data-theme="light"] {
  --background-color: rgb(218, 218, 218);
  --standard-font-color: rgb(46, 49, 53);
  --standard-terminal-promp-color: #00a2ff;
  --terminal-header-background-color: #b8b8b8;
  --terminal-background-color: rgb(212, 212, 212);
  --terminal-header-button-shadow-color: rgb(0, 0, 0);
  --terminal-blinking-color: rgb(0, 0, 0);
  --filter: invert(1);
}

html {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: 20px;
}

body {
  height: 100%;
  background-color: var(--background-color);
  margin: 0;
  padding: 0;
}

a,
a:hover,
a:visited,
a:active {
  color: inherit;
  text-decoration: none;
}


.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: fit-content;
}

.armin-banner {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-self: center;
  width: clamp(250px, 50%, 500px);
  margin: 50px;
}

.armin-banner img {
  width: 100%;
  filter: var(--filter);
}

.main {
  height: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.terminal-container {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  max-width: 1200px;
  width: 90%;
  height: fit-content;
  margin-bottom: 4em;
}

.first-command-output {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.terminal-header-element {
  width: 33%;
  color: var(--standard-font-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

.terminal-title {
  color: var(--standard-font-color);
  font-family: 'Ubuntu Mono', monospace;
}

.terminal-socials {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  text-decoration: none;
  gap: 1.5em;
}

.first-command-elements {
  min-width: fit-content;
}

.terminal-github-style {
  margin-left: 1.5em;
}

.terminal-button {
  cursor: pointer;
}

.terminal-controls {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

.terminal-icons-search-menu {
  display: flex;
  flex-direction: row;
  margin-right: 25px;
  gap: 10px;
}

.terminal-icon-button {
  box-shadow: 0.6px 0.6px 1px 0.4px var(--terminal-header-button-shadow-color);
  border-radius: 5px;
  padding: 0.2em;
}

.terminal-icon-close-wrapper {
  height: 24px;
  border-radius: 100px;
  background-color: rgb(255, 149, 0);
}

.terminal-icon-minimize {
  margin-bottom: 0em;
}

.terminal-header {
  width: 100%;
  height: 3em;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background-color: var(--terminal-header-background-color);
  display: flex;
  flex-direction: row;
  cursor: default;
}

.terminal-body {
  width: 100%;
  height: 28em;
  background-color: var(--terminal-background-color);
  font-family: 'Ubuntu Mono', monospace;
}

.terminal-text {
  padding-top: 1em;
  width: 98%;
  color: var(--standard-terminal-promp-color);
  margin-left: 0.5em;
}

.terminal-command {
  color: var(--standard-font-color);
}

.terminal-input-prompt {
  margin-bottom: 0.5em;
}

.terminal-command-output {
  color: var(--standard-font-color);
  margin-top: 0.7em;
  margin-bottom: 0.5em;
  margin-left: 0.7em;
}

.last-command::after {
  content: "|";
  color: var(--standard-font-color);
  width: 7px;
  height: fit-content;
  background-color: var(--terminal-blinking-color);
  display: inline-block;
  animation: cursor-blink 1.5s steps(2) infinite;
}

@keyframes cursor-blink {
  0% {
    visibility: hidden;
  }

  ;

  50% {
    visibility: hidden;
  }

  ;

  51% {
    visibility: visible;
  }

  ;

  100% {
    visibility: visible;
  }
}



@media (max-width: 1300px) {

  .terminal-header {
    width: 100%;
  }

  .terminal-body {
    width: 100%;
    height: fit-content;
  }
}

@media (max-width: 850px) {

  .terminal-container {
    width: 90%;
  }
}

@media (max-width: 600px) {
  .first-command-output {
    flex-direction: column;
  }

  .terminal-title {
    visibility: hidden;
  }
}

@media (max-width: 450px) {

  html {
    font-size: 16px;
  }
}


@media (max-width: 360px) {
  .terminal-controls {
    display: none;
  }

  .terminal-title {
    display: none;
  }

  .terminal-socials {
    width: 100%;
    justify-content: center;
  }

  .terminal-github-style {
    margin-left: 0px;
  }
}
