:root {
  font-family: "Fira Code", monospace;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  --text-color: #607B96;
  --border-color: #1E2D3D;
  --background-color: #011627;
}

* {
  color: var(--text-color);
  text-decoration: none;
  width: fit-content;
  box-sizing: border-box;
}

html {
  height: 100vh;
  width: 100%;
}

body {
  overflow: hidden;
  display: flex;
  background-color: var(--background-color);
  margin: 0%;
  padding: 0%;
  width: 100%;
  height: 100%;
}

#menus {
  max-width: fit-content;
  width: fit-content;
  height: 100%;
  box-sizing: border-box;
  border-right: var(--border-color) solid 0.5px;
}

#name {
  display: flex;
  align-items: center;
  padding-left: 15px;
  width: 100%;
  height: 50px;
  border-bottom: var(--border-color) solid 0.5px;
}

#menus-container {
  display: flex;
  height: calc(100% - 50px);
}

#side-menu {
  display: flex;
  height: 100%;
  flex-direction: column;
  border-right: var(--border-color) solid 0.5px;
}

.side-btn {
  padding: 11px 13px;
}

button {
  background-color: inherit;
  border: none;
  padding: 0%;
  font-family: "Fira Code", monospace;
}

#explorer-menu {
  width: 15vw;
  box-sizing: border-box;
}

#personal-info-container {
  height: 40px;
  display: flex;
  align-items: center;
}

ul {
  padding: 0%;
  margin: 0%;
  list-style-type: none;
}

.menu-container {
  padding: 15px 15px;
  width: 100%;
  border-bottom: var(--border-color) solid 0.5px;
}

#gmail-container {
  display: flex;
}

.icon {
  margin-right: 10px;
}

ul li {
  margin-left: 20px;
}

#content-container {
  width: 100%;
  height: 100%;
}

header {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: var(--border-color) solid 0.5px;
}

#left-header,
#right-header {
  display: flex;
  height: 100%;
}

#left-header>.header-items-container {
  border-right: solid 0.03125em var(--border-color);
  text-decoration: none;
}

#right-header>.header-items-container {
  border-left: solid 0.03125em var(--border-color);
  text-decoration: none;
}

.header-text {
  color: var(--text-color);
  text-decoration: none;
  margin-left: 2.5em;
  margin-right: 2.5em;
  font-size: 16px;
}

.header-items-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

#header-btn {
  display: none;
  border: none;
  border-left: solid 0.03125em var(--border-color);
  background-color: rgba(255, 255, 255, 0);
  outline: inherit;
}

#tabs-container {
  width: 100%;
  height: calc(100% - 50px);
  display: flex;
}

.tab-editor {
  width: 100%;
  height: 40px;
  border-bottom: var(--border-color) solid 0.5px;
}

.explorer-item {
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
}

.hidden {
  display: none;
}

#tab-display {
  /* display: flex;
  justify-content: center; */
  padding: 20px;
  width: 100%;
  height: calc(100% - 90px);
  overflow-y: auto;
  overflow-x: auto;
}

#contact-form {
  width: 80%;
}

.contact-input {
  
  width: 100%;
  background-color: #011221;
  border: var(--border-color) solid 1px;
  padding: 10px;
  border-radius: 8px;
  margin: 20px 0 20px 0;
  resize: none;
}

.contact-input:focus {
  outline: 1px solid rgba(96, 123, 150, 1);
  box-shadow: 0px 0px 0px 4px rgba(96, 123, 150, 0.3);
}

#contact-btn {
  background-color: rgba(28, 43, 58, 1);
  color: white;
  padding: 10px;
  border-radius: 8px;
}


#contact-info>a {
  display: flex;
  align-items: center;
}

.tabs-container {
  width: 50%;
}

.code-box {
  background-color: #0f172a;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #1e293b;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  white-space: pre;
  counter-reset: line;
}

.code-line {
  position: relative;
  padding-left: 3em;
  counter-increment: line;
}

.code-line::before {
  content: counter(line);
  position: absolute;
  left: 0;
  width: 2em;
  text-align: right;
  color: #64748b;
  user-select: none;
}

#tab-display::-webkit-scrollbar {
  height: 100%;
  width: 10px;
}

#tab-display::-webkit-scrollbar-thumb {
  background: #1e293b;
  margin: 10px;
}

#tab-display::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

#tab-display::-webkit-scrollbar-track {
  border-left: solid 1px var(--border-color);
  box-sizing: border-box;
  padding: 10px;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
}

.code-snippet {
  width: 100%;
  margin-bottom: 50px;
}

.code-snippet-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.code-snippet-header-left {
  display: flex;
}

.header-info {
  display: flex;
  flex-direction: column;
}

.header-info>.username {
  color: #5565E8;
  font-weight: bold;
}

.header-info>.posted-date {
  font-size: 80%;
}

.code-snippet-header-right {
  display: flex;
}

.code-snippet-header-right>button {
  display: flex;
  align-items: center;
}

.code-snippet-header-right>button>.icon {
  margin-right: 5px;
}

.code-snippet-header-right>button:hover {
  color: white;
}

.code-snippet-content {
  width: 100%;
  padding: 12px;
  box-sizing: border-box;
  background: transparent;
}

.code-snippet-content pre {
  background: #011221;
  border-radius: 10px;
  padding: 0px 20px;
  margin: 0;
  font-family: "Fira Code", monospace;
  font-size: 1em;
  overflow-x: auto;
  border: 1px solid var(--border-color);
  width: auto;
}

.code-snippet-content pre code {
  background-color: #011221;
  width: 100%;
  line-height: 20px;
}

footer {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 50px;
  background: var(--background-color);
  border-top: 1px solid var(--border-color);
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 100;
}

#left-footer,
#right-footer {
  display: flex;
  height: 100%;
}

.footer-text {
  color: var(--text-color);
  margin-left: 0.96875em;
  margin-right: 0.96875em;
}

.footer-items-container {
  height: 100%;
  text-decoration: none;
  display: flex;
  align-items: center;
}

#left-footer>.footer-items-container {
  border-right: solid 0.5px var(--border-color);
}

#right-footer>.footer-items-container {
  border-left: solid 0.5px var(--border-color);
}

#short-email {
  display: none;
}

@media (max-width: 90em) {
  .tabs-container {
    width: 100%;
  }

  #left-tabs-container>.tab-editor {
    z-index: 10;
    position: fixed;
    background-color: var(--background-color);
  }

  #tabs-container {
    overflow: auto;
    display: block;
  }

  #tab-display {
    position: relative;
    width: 100%;
  }

  #right-tabs-container>.tab-editor {
    display: none;
  }

  #long-email {
    display: none;
  }

  #short-email {
    display: inline;
  }
}

#small-header {
  display: none;
}

#overlay {
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  position: absolute;
  display: none;
}

#drop-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1000;
  width: 21.875em;
  height: 100%;
  position: absolute;
  background-color: var(--background-color);
  right: 0;
  display: none;
}

.menu-items-container {
  display: flex;
  align-items: center;
  text-decoration: none;
  border-bottom: var(--border-color) solid 0.5px;
  height: 5.5vh;
  justify-content: space-between;
  width: 100%;
}

.menu-texts {
  color: var(--text-color);
  font-size: 16px;
  margin-left: 15px;
}

#name-container {
  justify-content: space-between;
}

#name-container>button {
  border: none;
  background-color: transparent;
  margin-right: 10px
}

#footer-menu {
  border-top: var(--border-color) solid 0.5px;
  width: 100%;
}

#menu-find-me-in {
  display: flex;
  align-items: center;
  border-right: var(--border-color) solid 0.5px;
  height: 100%;
  padding-right: 15px;
}

#find-me-in-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

#menu-facebook-icon,
#menu-github-icon {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-left: var(--border-color) solid 0.5px;
  padding: 0px 1.409vh 0px 1.409vh;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#drop-menu {
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 11;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#overlay.active {
  opacity: 1;
  pointer-events: all;
}

#drop-menu.active {
  right: 0;
}

.upper-drop-menu>div {
  width: 100%;
}

#mobile-explore-menu {
  display: none;
}

@media (max-width: 64em) {
  #menus {
    display: none;
  }

  footer {
    display: none;
  }

  #small-header {
    display: flex;
  }

  #large-header {
    display: none;
  }

  #header-btn {
    display: block;
  }

  #contact-me {
    display: none;
  }

  #tabs-display {
    overflow-x: hidden;
    overflow-y: hidden;
  }

  #left-header>.header-items-container {
    border-right: none;
  }

  .tab-editor {
    display: none;
  }

  #mobile-explore-menu {
    display: block;
    width: 100%;
  }

  #mobile-explore-menu>div {
    width: 100%;
  }

  #content-container {
    overflow: auto;
  }

  #mobile-personal-info-container,
  #mobile-contacts-container {
    margin: 2px;
  }

  #tab-display {
    overflow: scroll;
  }

  #mobile-contact-info {
    width: 100%;
    padding-left: 7vw;
  }

  #mobile-contact-info,
  #mobile-folder-container {
    margin: 20px 0;
  }

  #mobile-items {
    margin: 3px;
  }

  @media (max-width: 33.125em) {
    .tab-editor {
      display: none;
    }

    #mobile-explore-menu {
      display: block;
      width: 100%;
    }

    #mobile-explore-menu>div {
      width: 100%;
    }

    #content-container {
      overflow: auto;
    }

    #mobile-personal-info-container,
    #mobile-contacts-container {
      margin: 2px;
    }

    #tab-display {
      overflow: scroll;
    }

    #mobile-contact-info {
      width: 100%;
      padding-left: 7vw;
    }

    #mobile-contact-info,
    #mobile-folder-container {
      margin: 20px 0;
    }

    #mobile-items {
      margin: 3px;
    }
  }
}

.details-btn {
  margin-right: 10px;
  display: none;
}