/* ------------------------------------------NAV BUTTONS------------------------------------------ */

.nav-btn {
  display: inline-block;
  background: transparent;
  text-transform: uppercase;
  font-weight: 500;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: black;
  border-radius: 0;
  padding: 2px 3px 1.5px;
  transition: all 0.7s ease-out;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
  background-position: 1% 50%;
  background-size: 300% 300%;
  text-decoration: none;
  margin: 0.625rem;
  border: none;
  border: 1px solid black;
}

.nav-btn:hover {
  color: #fff;
  border: 1px solid rgba(223, 190, 106, 0);
  color: $white;
  background-position: 99% 50%;
  cursor: default;
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ----------------------------------------------------------------------------------------------- */


/* --------------------------------------BACK TO TOP BUTTON--------------------------------------- */

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 98;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid hsla(0, 0%, 100%, .12);
  border-radius: 16px;
  box-sizing: border-box;
  color: #fff;
  background-color: rgba(17, 17, 17, .56);
  transform: translateZ(0);
  cursor: pointer;
  transition: border .3s
}

.back-to-top:hover {
  border: 1px solid hsla(0, 0%, 100%, .56)
}

/* ----------------------------------------------------------------------------------------------- */


/* ----------------------------------------CLICK TO COPY------------------------------------------ */

[tooltip] {
  position: relative;
}

[tooltip]::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 7px 0 7px;
  border-style: solid;
  border-color: #1F1F24 transparent transparent transparent;
  z-index: 100;
  opacity: 0;
  transition: all 300ms ease;
}

[tooltip]::after {
  content: attr(tooltip);
  position: absolute;
  left: 50%;
  top: 0px;
  transform: translateX(-50%) translateY(-100%);
  background: #1F1F24;
  text-align: center;
  color: rgb(255, 255, 255);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, .2);
  padding: 2px 0px 3.2px;
  font-size: 12px;
  min-width: 85px;
  border-radius: 8px 6px 6px 8px;
  pointer-events: none;
  z-index: 100;
  opacity: 0;
  transition: all 300ms ease;
}

[tooltip-position='side']::before {
  top: 100%;
  margin-top: -6px;
  transform: translateX(628%) translatey(-90%) rotate(90deg)
}

[tooltip-position='side']::after {
  top: 100%;
  margin-top: 0.25px;
  transform: translateX(116%) translateY(-90%);
}

[tooltip]:hover::after,
[tooltip]:hover::before {
  opacity: 1;
}

/* ----------------------------------------------------------------------------------------------- */


/* ----------------------------------------ABOUT CARD--------------------------------------------- */

* {
  box-sizing: border-box;
}

.card {
  max-width: 360px;
  margin: auto;
  overflow-y: hidden;
  position: relative;
  z-index: 1;
  overflow-x: hidden;
  background-color: rgba(255, 255, 255, 1);
  display: flex;
  transition: 0.3s;
  flex-direction: column;
  border-radius: 2rem;
  box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.1);
}

.card[data-state="#about"] {
  min-height: 655px;
}

.card[data-state="#about"] .card-main {
  padding-top: 0;
}

.card[data-state="#apps"] .card-main {
  padding-top: 0;
}

.card.is-active .card-header {
  height: 80px;
}

.card.is-active .card-cover {
  height: 100px;
  top: -50px;
}

.card.is-active .card-avatar {
  transform: none;
  left: 20px;
  width: 50px;
  height: 50px;
  bottom: 10px;
}

.card.is-active .card-fullname,
.card.is-active .card-jobtitle {
  left: 86px;
  transform: none;
}

.card.is-active .card-fullname {
  bottom: 18px;
  font-size: 19px;
}

.card.is-active .card-jobtitle {
  bottom: 16px;
  letter-spacing: 1px;
  font-size: 10px;
}

.card-header {
  position: relative;
  display: flex;
  height: 200px;
  flex-shrink: 0;
  width: 100%;
  transition: 0.3s;
}

.card-header * {
  transition: 0.3s;
}

.card-header-apps {
  position: relative;
  display: flex;
  height: 455px;
  flex-shrink: 0;
  width: 100%;
  transition: 0.3s;
}

.card-cover {
  width: 100%;
  height: 100%;
  position: absolute;
  top: -20%;
  left: 0;
  will-change: top;
  background-size: cover;
  background-position: center;
  filter: blur(30px);
  transform: scale(1.2);
  transition: 0.5s;
}

.card-avatar {
  width: 100px;
  height: 100px;
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  object-position: center;
  object-fit: cover;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-64px);
}

.card-pic {
  width: 380px;
  height: 380px;
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0);
  border-radius: 0%;
  object-position: center;
  object-fit: cover;
  position: relative;
  bottom: 0;
  left: 50%;
  transform: translateX(-52.61%) translateY(80px);
}

.card-fullname {
  position: absolute;
  bottom: 0;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  transform: translateY(-5px) translateX(-50%);
  left: 50%;
}

.card-orion {
  position: absolute;
  bottom: 0;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  transform: translateY(-380px) translateX(-50%);
  left: 50%;
}

.card-jobtitle {
  position: absolute;
  bottom: 0;
  font-size: 11px;
  white-space: nowrap;
  font-weight: 500;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-7px);
}

.card-slb {
  position: absolute;
  bottom: 0;
  font-size: 11px;
  white-space: nowrap;
  font-weight: 500;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-377px);
}

.card-main {
  position: relative;
  flex: 0;
  display: flex;
  flex-direction: column;
}

.card-subtitle {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 14px;
}

.card-learn-more {
  font-weight: 700;
  font-size: 13px;
  margin-top: 14px;
  margin-bottom: 8px;
}

.card-about {
  padding: 20px;
}

.card-exp {
  padding: 20px;
  padding-top: 5px;
}

.card-desc {
  line-height: 1.6;
  color: #636b6f;
  font-size: 14px;
  margin: 0;
  font-weight: 400;
  font-family: "DM Sans", sans-serif;
}

.card-section {
  display: none;
}

.card-section.is-active {
  display: block;
  animation: fadeIn 0.6s;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }

  100% {
    opacity: 1;
  }
}

.card-section-exp.is-active {
  display: block;
  animation: fadeIn 0.7s;
  animation-delay: 1ms;
}

.card-timeline {
  margin-top: 30px;
  position: relative;
}

.card-timeline:after {
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0) 0%,
      rgb(0, 0, 0) 100%);
  content: "";
  left: 42px;
  width: 2px;
  top: 0;
  height: 100%;
  position: absolute;
  content: "";
}

.card-item {
  position: relative;
  padding-left: 60px;
  padding-right: 20px;
  padding-bottom: 30px;
  z-index: 1;
}

.card-item:last-child {
  padding-bottom: 5px;
}

.card-item:after {
  content: attr(data-year);
  width: 10px;
  position: absolute;
  top: 0;
  left: 37px;
  width: 8px;
  height: 8px;
  line-height: 0.6;
  border: 2px solid #fff;
  font-size: 11px;
  text-indent: -35px;
  border-radius: 50%;
  color: hsl(240, 5%, 20%);
  background: linear-gradient(to bottom,
      black 0%,
      black 100%);
}

.card-item-title {
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 5px;
}

.card-item-desc {
  font-size: 13px;
  color: #6f6f7b;
  line-height: 1.5;
  font-family: "DM Sans", sans-serif;
}

/* ----------------------------------------------------------------------------------------------- */


/* ---------------------------------------LIGHTBOX STYLES----------------------------------------- */

@media (max-width: 42rem) {
   .lightwidget__lightbox--active .lightwidget__lightbox-dialog { 
       width: 110%;
       max-width: none;
   }
}

/* ----------------------------------------------------------------------------------------------- */