@import url('https://fonts.googleapis.com/css2?family=Armata&display=swap');

:root {
  --gray: #7b7a7a;
  --black: black;
  --blackOpacity: rgba(0, 0, 0, 0.2);
  --blackOpacity3: rgba(0, 0, 0, 0.3);
  --blackOpacity5: rgba(0, 0, 0, 0.5);
  --white: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}
html, body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-image: url("../img/bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  font-family: "Armata", sans-serif;
}
body {
  zoom: 1;
}
.desktop {
  width: 100%;
  height: 100%;
  position: relative;
}
.icon {
  text-align: center;
  color: var(--white);
  justify-content: center;
  cursor: grab;
  position: absolute;
  transition: transform 0.2s ease, left 0.2s ease, top 0.2s ease;
  width: 48px;
}
.icon img {
  width: 48px;
  height: 48px;
  pointer-events: none;
}
.icon p {
  font-size: 12px;
  margin-top: 5px;
}
.icon:hover img {
  opacity: 0.8;
}
.desktop-container {
  width: 100%;
  height: calc(100% - 34.4px);
  padding: 30px 30px;
}
.start-section {
  width: 100%;
  height: 34px;
  background-color: var(--blackOpacity);
  backdrop-filter: blur(2px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.social-icon {
  width: 16px;
}
#canvas {
  display: block;
  opacity: 0.5;
}
.container-row {
  position: absolute;
  z-index: 1;
  height: 100%;
  width: 100%;
}

.start-section .left-section {
  display: flex;
  align-items: center;
  gap: 25px;
  padding-left: 20px;
}
.start-section .right-section {
  display: flex;
  align-items: center;
  gap: 15px;
}
#dateTimeContainer {
  font-size: 12px;
  text-align: right;
}

.textBold {
  font-size: 12px;
  font-weight: bold;
  color: var(--white);
}
.textNormal {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
}
.hoverCursor {
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  line-height: 34px;
  justify-content: center;
  align-items: center;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}
.hoverCursor:hover {
  opacity: 0.8;
}

.dropdown-content {
  position: absolute;
  background-color: var(--blackOpacity3);
  min-width: 160px;
  overflow: hidden;
  display: flex;
  height: 34px;
  line-height: 34px;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.1s ease, opacity 0.1s ease, transform 0.1s ease;
  z-index: 1;
  top: 0px;
  left: 400px;
  padding-left: 20px;
}

.dropdown-content.active {
  max-height: 100px;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-content a {
  margin: 0 20px 0 0;
  display: block;
  width: auto;
  color: var(--white);
  text-decoration: none;
  font-size: 12px;
  transition: background-color 0.32s ease, opacity 0.2s ease;
}
.dropdown-content a:hover {
  opacity: 0.7;
}
.dropdown-content div:hover {
  background-color: #f0f0f0;
}

.popup {
  position: absolute;
  top: 0px;
  left: calc(50% - 331px);
  overflow: hidden;
  min-width: 200px;
  min-height: 150px;
  background-color: var(--blackOpacity5);
  border: 2px solid var(--blackOpacity5);
  backdrop-filter: blur(10px);
  overflow: hidden !important;
  display: none;
  /* resize: both; */
  overflow: auto;
  z-index: 9999;
  box-sizing: border-box;
}

.popup-header {
  background-color: var(--blackOpacity5);
  color: white;
  cursor: move;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}

.popup-close, .popup-full {
  cursor: pointer;
  font-size: 20px;
}
.popup-header .title {
  font-size: 13px;
  padding-left: 10px;
}
.popup-content {
  padding: 15px;
  color: white;
  height: 100%;
  overflow-wrap: break-word;
}
.popup.fullscreen {
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

.widthTerminal {
  min-width: 600px ;
  min-height: auto;
}
.popup-buttons {
  display: flex;
}
.popup-buttons span {
  text-decoration: none;
  color: var(--white);
  font-size: 11px;
  border-radius: 5px;
  width: 36px;
  height: 36px;
  text-align: center;
  line-height: 36px;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}
.popup-buttons span:hover {
  opacity: 0.8;
}

.popup-content h2 {
  font-size: 16px;
  color: var(--white);
  margin-bottom: 10px;
  max-width: 660px;
}
.popup-content p {
  font-size: 13px;
  color: var(--white);
  margin-bottom: 5px;
  line-height: 18px;
  max-width: 630px;
}
.skills-list {
  display: grid;
  flex-wrap: wrap;
  width: auto;
  gap: 4px;
  margin-top: 15px;
}
.skills-list li {
  list-style: none;
  font-size: 12px;
  color: var(--white);
  padding: 5px 10px;
  background-color: var(--blackOpacity3);
  width: fit-content;
}
.fullscreen .popup-content p {
  max-width: 100%;
}
.fullscreen .popup-content .skills-list {
  display: flex;
}

.languages-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.languages-list li {
  background-color: var(--blackOpacity5);
  padding: 6px 12px;
  font-weight: bold;
  font-size: 12px;
}
.languages-list i {
  margin-right: 5px;
  opacity: 0.6;
}


.project-list {
  display: grid;
  flex-wrap: wrap;
  width: auto;
  gap: 4px;
}

.project-list li {
  list-style: none;
  font-size: 12px;
  color: var(--white);
  padding: 5px 10px;
  background-color: var(--blackOpacity5);
  width: fit-content;
}