:root {
  --black: #222222;
  --white: #ffffff;
  --accent1: #82d1d1;
  --accent2: #6472f3;
  --accent3: #a612c9;
  --borders: #dddddd;
  --grey: #eeeeee;
}

body.night .img {
  background-blend-mode: multiply;
}

.image .img {
  background-image: url(https://cdn.glitch.global/ffd48eb0-420b-4e7d-9233-8e0374379df9/Ugetsu%20Murata%20Wallpaper.jpg?v=1648908847726),
    linear-gradient(
      135deg,
      var(--accent1) 0%,
      var(--accent2) 50%,
      var(--accent3) 100%
    );
}

.nav .img {
  background-image: url(https://cdn.glitch.global/ffd48eb0-420b-4e7d-9233-8e0374379df9/Noblesse%20of%20the%20Dead%20%5BA%20Noblesse%20Fan%20Fiction%5D.gif?v=1648958991528),
    linear-gradient(
      135deg,
      var(--accent1) 0%,
      var(--accent2) 50%,
      var(--accent3) 100%
    );
}

body {
  font-family: "Cairo", sans-serif;
  color: #333333;
  font-size: 11pt;
  font-weight: 400;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  left: 0;
  top: 0;
  letter-spacing: 0.5px;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  background-color: #f6f6f6;
  background-size: 100%;
  background: var(--accent1);
  background: -webkit-linear-gradient(
    -45deg,
    var(--accent1) 0%,
    var(--accent2) 50%,
    var(--accent3) 100%
  );
}

a {
  color: #777777;
  text-decoration: none;
  letter-spacing: 0.5px;
}

::-webkit-scrollbar {
  height: 6px;
  width: 6px;
  background: inherit;
}

::-webkit-scrollbar-thumb {
  background: var(--accent2);
  border-radius: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb,
::-webkit-scrollbar-track {
  border: 5px solid transparent;
}

/* container */
.window {
  width: 1000px;
  margin: auto;
  background: var(--white);
  position: fixed;
  height: 80vh;
  top: 10vh;
  border: 1px solid var(--borders);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.desc,
.image {
  left: calc(50% + 300px);
  top: calc(50% + 50px);
  width: 300px;
  height: auto;
}

.nav {
  z-index: 10;
}

.inner {
  padding: 1em;
  font-size: 12pt;
}

.inner li {
  list-style: none;
  padding-left: 40px;
}

.inner li:before {
  content: "\f857";
  font-family: "phosphor";
  color: var(--grey);
  position: absolute;
  margin-left: -30px;
  margin-top: 8px;
}

.top {
  background: var(--grey);
  padding: 5px 10px;
  cursor: move;
  border-bottom: 1px solid var(--borders);
}

.top span:not(.nom) {
  float: right;
}

.top span:not(.nom) i {
  margin-left: 15px;
}

.top .ph-plus {
  margin-right: 15px;
  margin-left: 0;
}

.ph {
  margin-right: 10px;
  vertical-align: middle;
  margin-top: -3px;
}

.ph-x:hover {
  background: red;
  cursor: pointer;
}

.secondbar {
  width: 100%;
  padding: 10px;
  height: 50px;
  border-bottom: 1px solid var(--borders);
}

.secondbar div {
  border: 1px solid var(--borders);
  display: inline-block;
  height: 30px;
  padding: 0 10px;
}

.search {
  float: right;
  width: 200px;
  height: 30px;
  position: relative;
}

.controls {
  height: 30px;
  float: left;
  width: 160px;
  border-color: transparent !important;
}

.controls i {
  text-align: center;
  padding: 7px;
  border-radius: 50%;
  color: #eee;
}

.controls a i {
  color: #aaa;
}

.controls a:hover i {
  color: black;
  background: var(--grey);
}

.search i {
  margin-right: 10px;
}
.secondbar i {
  font-size: 90%;
  vertical-align: middle;
  margin-top: -3px;
}

.name {
  width: calc(100% - 210px);
  position: relative;
  white-space: nowrap;
  padding-right: 40px !important;
  overflow: hidden;
  margin-bottom: -8px;
  text-overflow: ellipsis;
}

.name i {
  margin-top: -1px;
}

.name:after,
.search:before {
  position: absolute;
  right: 0;
  top: 0;
  height: 15px;
  padding: 7px;
  border-left: 1px solid var(--borders);
  content: "\f045";
  font-family: "phosphor";
}

.search:before {
  left: 0;
  right: auto;
  border-left: none;
  border-right: 1px solid var(--borders);
  content: "\f20a";
}

.search input {
  background: none;
  font: inherit;
  outline: none;
  color: var(--accent2);
  letter-spacing: 0.5px;
  border: 0px solid transparent;
}

.search form {
  float: left;
  vertical-align: middle;
  outline: none;
  margin-top: -1px;
  margin-left: 25px;
  border: 0px solid transparent;
}

.intro {
  padding: 15px 20px;
  text-align: justify;
  margin-top: 20px;
  border-top: 1px solid var(--borders);
}

.intro i {
  vertical-align: middle;
  margin-top: 0px;
}

.tabs {
  display: flex;
  height: calc(100% - 125px);
  align-items: stretch;
}

.tab {
  padding-bottom: 20px;
  overflow: auto;
}

.tab a,
.tab span,
.tab .tablinks {
  display: block;
  padding: 2px 10px;
}

.tab a {
  padding-left: 20px;
}

.tab a:hover {
  background-color: var(--grey);
  color: black;
  font-weight: 600;
}

.tab a:hover i {
  color: var(--black) !important;
}

.tab a i,
.tab span i,
.tablinks i,
.inner i {
  vertical-align: middle;
  margin-top: -2px;
  margin-right: 10px;
  color: #ccc !important;
}

.tab span {
  padding-top: 5px;
  font-weight: 600;
}

.tab span i {
  margin-right: 5px;
}

.active i,
.ph-lock-fill,
.tab span i,
.tablinks:active i,
.desc a:hover {
  background-size: 100%;
  background: var(--accent1);
  background: -webkit-linear-gradient(
    -45deg,
    var(--accent1) 0%,
    var(--accent2) 50%,
    var(--accent3) 100%
  );
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
}

.one {
  width: 200px;
  flex: none;
  border-right: 1px solid var(--borders);
}

.three {
  text-align: center;
  overflow: hidden;
  font-weight: 600;
  font-size: 9pt;
  flex: none;
  width: 209px;
  line-height: 1.2;
  padding: 40px;
}

.img {
  width: calc(100%);
  height: 200px;
  margin-bottom: 40px;
  position: relative;
  background-size: cover;
  background-position: center center;
}

.image .img {
  margin: 0;
  height: 400px;
  width: 100%;
}

.two {
  flex-grow: 1;
  border-right: 1px solid var(--borders);
}

* {
  box-sizing: border-box;
}

.tablinks {
  display: block;
  background-color: inherit;
  color: inherit;
  width: 100%;
  border: none;
  letter-spacing: 0.5px;
  padding-left: 20px !important;
  outline: none;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  position: relative;
  transition: 0s;
}

.tablinks:hover {
  background-color: var(--grey);
  color: black;
  font-weight: 600;
}

.tablinks:hover:after,
.tablinks:hover i {
  color: var(--black) !important;
}

.tablinks.active {
  background-color: var(--grey);
  color: black;
  font-weight: 600;
}

.tablinks.active:after {
  position: absolute;
  right: 0;
  top: 0;
  height: 15px;
  padding: 7px;
  border: none;
  margin-top: 2px;
  color: inherit;
  content: "\f31c";
  font-family: "phosphor";
}

.tabcontent {
  float: left;
  width: 100%;
  display: none;
  height: 300px;
}

#tabAbout {
  display: block;
}

.bottombar {
  width: 100%;
  padding: 5px 10px;
  line-height: 25px;
  border-top: 1px solid var(--borders);
}

.bottombar a {
  font-weight: 600;
  display: inline-block;
  padding: 0 10px;
}

hr {
  height: 1px;
  border: none;
  box-shadow: none;
}

.mobnav {
  text-align: center;
  display: none;
  margin: 20px;
  margin-top: 0;
}

.draginfo {
  opacity: 0.6;
}

.draginfo i {
  vertical-align: middle;
  margin-right: 10px;
  margin-top: -2px;
}

.bottom-small {
  display: none;
}

/* experience tab */
.timeline-content {
  border-radius: 2px;
  padding: 1em;
  background: #191919;
}

.timeline-content h2 {
  margin-top: 0;
  margin-bottom: 5px;
  font-family: Manrope;
  font-size: 18px;
}

.timeline-content a {
  display: inline-block;
}

.timeline-content .timeline-content-info {
  padding: 5px 10px;
  font-size: 13px;
  box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  background: #323232;
  color: #cccccc;
}

.timeline-content .timeline-content-info .timeline-content-info-title,
.timeline-content .timeline-content-info .timeline-content-info-date {
  display: inline-block;
  width: calc(50% - 2px);
}

.timeline-content p {
  text-align: justify;
  margin: 1em 0;
  line-height: 1.6;
}

.timeline-content .content-skills {
  font-size: 12px;
  padding: 0;
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.timeline-content .content-skills li {
  border-radius: 2px;
  display: inline-block;
  padding: 2px 10px;
  margin: 3px 2px;
  text-align: center;
  flex-grow: 1;
  background: #323232;
}

/* education tab */
.edu-title {
  margin-bottom: 30px;
  display: block;
  padding: 10px 10px;
}

.the-title {
  display: flex;
  align-items: baseline;
}

.e-out {
  border: 1px solid #ffffff;
}

.e-in {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 2px solid #222222;
  overflow: hidden;
}

.e-mark {
  font-family: work sans;
  font-size: 12px;
  color: #eeeeee;
  line-height: 1em;
}

.edu-text {
  margin-left: 15px;
  font-family: pt serif;
  font-size: 14px;
  color: #eeeeee;
}

.the-edu {
  margin-left: 10px;
  padding-left: 25px;
  padding-top: 1px;
  border-left: 2px solid #eeeeee;
  font-family: karla;
  font-size: 13px;
  color: #eee;
  line-height: 1.8em;
}

.the-edu special {
  display: inline-block;
  margin: auto 1px;
  padding: 2px 4px;
  background: #191919;
  border: 1px solid #323232;
  border-radius: 1px;
  font-size: calc(13px - 2px);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #e5e5e5;
  line-height: 1.4em;
}

.the-edu date {
  margin: auto 2px;
  padding-bottom: 1px;
  border-bottom: 1px solid #323232;
  font-size: calc(13px - 2px);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #e5e5e5;
}

.the-edu p {
  line-height: 1.4em;
}

.the-edu ol {
  margin-left: -12px;
  margin-top: -10px;
}

.the-edu a {
  margin-left: -20px;
  margin-top: -10px;
}

.sq {
  margin-left: 8px;
  width: 6px;
  height: 6px;
  background: #eeeeee;
  border-radius: 100%;
}

/* project tab */
.projects-content {
}

/* window positions - full screen */
.desc {
  z-index: 1000;
}

.desc {
  top: calc(50vh + 160px);
  left: calc(50vw - 570px);
}

.nav {
  left: calc(50vw - 400px);
}

.image {
  top: calc(50vh - 150px);
  left: calc(50vw - 620px);
  margin-top: -50px;
}

/*--- MEDIA QUERIES ---*/
@media only screen and (max-width: 1200px) {
  .nav {
    background-color: white;
    dth: 80vw;
    left: 10vw;
  }

  .three {
    display: none;
  }

  .bottom-large {
    display: none;
  }
  .bottom-small {
    display: inline-block;
  }
}

/*--- for mobile devices ---*/

@media only screen and (max-width: 800px) {
  body {
    overflow-x: hidden;
  }

  .nav {
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    overflow: hidden;
    position: fixed;
  }

  .desc,
  .image {
    display: none;
  }

  .name {
    width: calc(100% - 150px);
  }

  .search {
    width: 140px;
  }

  .one {
    width: 150px;
  }

  .window {
  }

  .timeline-content .timeline-content-info .timeline-content-info-title,
  .timeline-content .timeline-content-info .timeline-content-info-date {
    display: block;
    width: calc(100% - 2px);
  }

  .timeline-content a {
    /*display: inline-block;*/
    word-wrap: break-word;
  }
}

/* NIGHT MODE */
body.night {
  background: var(--black);
  color: var(--white) !important;
}

body.night .caption span,
body.night .search input,
body.night {
  color: var(--white) !important;
}

body.night a {
  color: #eeeeee;
}
body.night a:hover {
  color: #ffffff;
}

body.night .nav a {
  color: #eeeeee;
}
body.night .nav a:hover {
  color: #000 !important;
}

body.night .window {
  background: #000000;
}

body.night .window,
body.night .secondbar,
body.night .secondbar div,
body.night .name:after,
body.night .tablinks:after,
body.night .search:before,
body.night .one,
body.night .two,
body.night .tablinks.active,
body.night .tablinks:hover,
body.night .bottombar,
body.night .intro,
body.night .top {
  border-color: #3a3a3a;
}

body.night .top {
  background: #3a3a3a;
}

body.night .tab a:hover,
body.night .tab a:hover i,
body.night .tablinks:hover,
body.night .tablinks:hover i,
body.night .active,
body.night .tablinks:hover:after {
  background-color: #111111;
  color: white !important;
  font-weight: 600;
}
