#loading {
  position: fixed;
  display: flex;
  justify-content: center;
  height: 100%;
  width: 100%;
  background-color: rgb(15, 15, 15);
  z-index: 50;
  opacity: 1;
  transition: 0.5s linear;
}

#loadingLogo {
  margin: auto;
  height: 80px;
  animation: loading 3s alternate-reverse infinite;
}

@keyframes loading {
  0% {
    transform: perspective(250px) rotateX(0deg) rotateY(0deg);
  }
  25% {
    transform: perspective(250px) rotateX(180deg) rotateY(0deg);
  }
  50% {
    transform: perspective(250px) rotateX(180deg) rotateY(180deg);
  }
  75% {
    transform: perspective(250px) rotateX(360deg) rotateY(180deg);
  }
  100% {
    transform: perspective(250px) rotateX(360deg) rotateY(360deg);
  }
}

html {
  scroll-behavior: smooth;
}

body {
  overflow: hidden;
  width: 100%;
  background-color: rgb(15, 15, 15);
  font-family: sans-serif;
  color: rgb(220, 220, 220);
}

nav {
  position: fixed;
  color: rgb(220, 220, 220);
  top: 0;
  z-index: 10;
  background-color: rgb(15, 15, 15);
  width: 100%;
  height: 60px;
}

#logoContainer {
  margin: 15px 0px 10px -40px;
  position: absolute;
  height: 40px;
  left: 50%;
  display: block;
}

#logoContainer a {
  text-decoration: none;
  color: rgb(192, 47, 47);
  font-weight: 600;
}

#logo {
  height: 30px;
  width: 35px;
}

#Introduction,
span,
#descriptionProject {
  cursor: default;
}

#Home {
  margin: auto;
  padding-top: 50px;
  padding-bottom: 200px;
  width: 700px;
  background-color: rgb(20, 20, 20);
}

#banner {
  background-image: url("../assets/images/wallhaven-p2gp33.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: rgb(15, 15, 15);
  height: 250px;
  width: 100%;
  display: flex;
  justify-content: center;
}

#avatar {
  width: 100%;
  margin-top: -100px;
  display: flex;
  justify-content: center;
}

#pf {
  max-height: 200px;
  height: 65%;
  border-radius: 100%;
}

#content {
  margin: -100px auto;
  width: 90%;
}

#Introduction,
#Skills,
#Features,
#Contact {
  padding-top: 70px;
  /* margin-bottom: 70px; */
}

#Skills {
  min-height: 240px;
}

#Features,
#Contact {
  min-height: 600px;
}

#divider {
  height: 1px;
  border-width: 0;
  color: gray;
  background-color: gray;
  width: 94%;
  margin-left: 3%;
  margin-bottom: 20px;
  margin-top: 20px;
}

#nameLabel {
  letter-spacing: 1px;
}

#name {
  letter-spacing: 1px;
  color: rgb(255, 215, 95);
  font-size: 40px;
}

#info,
#descriptionProject {
  text-indent: 50px;
  text-align: justify;
  font-size: 12px;
  letter-spacing: 0.7px;
}

#interest {
  font-size: 13px;
  background-color: rgb(30, 30, 30);
  padding: 10px;
  border-radius: 10px;
  width: max-content;
  list-style-type: none;
}

.title {
  margin-bottom: 35px;
}

#titleDivider {
  width: 100%;
  height: 1.5px;
  border-width: 0;
  color: rgb(220, 220, 220);
  background-color: rgb(220, 220, 220);
}
/* 
#Skills #titleDivider {
    width: 85%;
}

#Features #titleDivider {
    width: 68%;
} */

#Features {
  max-height: 880px;
  width: 100%;
  overflow: hidden;
}

#titleLabel {
  float: left;
  position: relative;
  margin-top: -35px;
  background-color: rgb(20, 20, 20);
  padding-right: 5px;
  /* color: rgb(106, 211, 224); */
  color: rgb(255, 215, 95);
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 22px;
}

#usedIcons {
  display: block;
  padding: 10px 40px 0px 10px;
  color: rgb(255, 215, 95);
}

#pastIconTray {
  position: relative;
  float: left;
  max-width: 370px;
  overflow: hidden;
  margin-bottom: 20px;
}

#currentIconTray {
  position: relative;
  float: right;
  width: 250px;
  background-color: rgb(30, 30, 30);
  height: 120px;
  border-radius: 15px;
}

#currentIconTray .iconContainer {
  background-color: rgb(25, 25, 25) !important;
}

.iconContainer {
  margin-left: 5px;
  margin-bottom: 5px;
  float: inline-start;
  height: 50px;
  width: 50px;
  font-size: 12px;
  overflow: hidden;
  background-color: rgb(30, 30, 30);
  border-radius: 15px;
  transition: width 0.3s ease;
  cursor: help;
}

.skillIcons div.activeSkill {
  width: calc-size(auto, calc(size + 10px));
  transition: width 0.3s ease;
}

/* .iconContainer:hover img {
    float: right;
    transition-duration: .5s;
} */

.skillIcons {
  margin-top: 5px;
  max-width: 450px;
  /* height: 50px; */
  /* display: inline; */
}

.iconContainer img {
  height: 50px;
  transition-duration: 0.5s;
}

.iconContainer span {
  float: right;
  padding: 16px 10px 5px 0px;
  width: max-content;
  border-radius: 15px;
  transition-duration: 0.5s;
}

#projectInfo {
  margin-bottom: 20px;
  position: relative;
  float: left;
  width: 100%; /*300px*/
  transition: 0.3s linear;
}

#projectDescriptionImg {
  display: none;
  width: 300px;
}

#mainDescriptionContent {
  float: right;
  width: 100%;
  margin-top: 30px;
  background-color: rgb(30, 30, 30);
  border-radius: 0px 15px 15px 0px;
  padding-bottom: 15px;
}

#description {
  position: relative;
  float: right;
  width: 0px; /* 310px*/
  height: 0px;
  margin-left: 100%;
  margin-bottom: 70px;
  overflow: hidden;
  transition: 0.3s linear;
  z-index: 3;
  display: grid;
  grid-template-columns: 11% 89%;
}

#closeDescription {
  padding-top: 30px;
  padding-right: 5px;
  width: 100%;
  height: 100%;
}

#closeDescription button {
  width: 100%;
  height: 100%;
  /* height: 50px;
    width: 50px; */
  font-size: 17px;
  font-weight: 600;
  background-color: rgb(40, 40, 40);
  color: rgb(255, 215, 95);
  /* color: rgb(220, 220, 220); */
  border: none;
  border-radius: 15px 0px 0px 15px;
}

#closeDescription button:hover {
  background-color: rgb(25, 25, 25);
}

#descriptionIconContainer {
  background-color: rgb(25, 25, 25);
  padding: 10px;
  width: 100%;
  margin: 20px 0px 20px 10px;
  font-size: 13px;
  letter-spacing: 0.4px;
  color: rgb(255, 215, 95);
  border-radius: 10px;
}

#projectIcons {
  width: 100%;
}

#projectIcons div img,
#projectIcons .iconContainer {
  float: none;
  height: 35px !important;
  width: 35px;
  font-size: 9px;
}

#projectIcons .iconContainer {
  border-radius: 7px;
  background-color: rgb(15, 15, 15);
  color: rgb(220, 220, 220);
}

#projectIcons .iconContainer:hover {
  width: calc-size(auto, calc(size + 10px));
  transition: width 0.3s ease;
}

#projectIcons div span {
  padding: 10px 10px 0px 0px;
}

#pLinkRow {
  display: flex;
  justify-content: right;
  margin: 40px 10px 0px 0px;
}

#projectLink {
  font-size: 13px;
  color: rgb(255, 215, 95);
}

#projectLink:hover {
  background-color: rgb(20, 20, 20);
}

#descriptionTitle {
  display: flex;
  justify-content: left;
  min-height: 40px;
  padding-top: 10px;
  margin: 15px 0px 10px 15px;
  font-size: 17px;
  letter-spacing: 1px;
  font-weight: 700;
  color: rgb(255, 215, 95);
  width: 80% !important;
}

#descriptionProject {
  margin: 0px 15px 0px 15px;
  text-align: justify;
  font-size: 13px;
  letter-spacing: 0px;
}

.projectRow {
  align-items: center;
  margin-bottom: 50px;
}

#folderContainer {
  height: max-content;
  min-height: 300px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.projectContainer {
  margin: 20px 15px 20px 0px;
  cursor: pointer;
  width: 130px;
  display: inline-block;
}

#vidContainer {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 250px;
}

#vidLoading {
  margin-top: 90px;
  height: 60px;
  animation: spin 1.5s infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#vid {
  display: none;
  width: 100%;
  height: 250px;
}

.projectTitle {
  padding: 10px;
  font-size: 15px;
  font-weight: 700;
  color: rgb(220, 220, 220);
  background-color: rgb(40, 40, 40);
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.projectContainer:hover .projectPic,
.activeFolder .projectPic {
  transform: translateY(-40px) translateX(10px);
}

.projectContainer:hover .folderClose,
.activeFolder .folderClose {
  transform: translateX(20px) skewX(-15deg);
}

.activeFolder .projectTitle {
  color: rgb(255, 215, 95);
}

.activeFolder .folderClose {
  background-color: rgba(255, 215, 95, 0.9) !important;
}

.developing:hover .folderClose {
  background-color: rgba(106, 211, 224, 0.9) !important;
}

.done:hover .folderClose {
  background-color: rgba(82, 214, 82, 0.9) !important;
}

.projectContainer:hover .folderStatusContainer,
.activeFolder .folderStatusContainer {
  opacity: 1;
}

.done:hover {
  color: rgb(82, 214, 82) !important;
}

.developing:hover {
  color: rgb(106, 211, 224) !important;
}

.projectPic {
  width: 120px;
  height: 90px;
  transition: 0.2s linear;
}

#contactContainer {
  padding: 60px 20px 70px 20px;
  border-radius: 15px;
  width: 70%;
  margin: auto;
  background-color: rgb(15, 15, 15);
}

#contactLogo {
  width: 100%;
  height: 90px;
}

#msgLogo {
  margin-top: 15px;
  height: 60px;
  animation: mail 5s;
}

#mailLogo {
  height: 90px !important;
  filter: invert(1);
  animation: mail 5s reverse;
}

.flip-card {
  background-color: transparent;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  animation: mailFlip 3s infinite;
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}
.flip-card-back {
  transform: rotateY(180deg);
}

@keyframes mailFlip {
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

#contactInfo {
  margin-top: 80px;
  letter-spacing: 1px;
}

.contactLabel {
  font-size: 10px;
}

#contactInfo ul {
  list-style: none;
  padding: 0;
}

#contactInfo ul li {
  margin: 0;
  padding: 0;
}

#cpNum {
  color: rgb(255, 215, 95);
  font-size: 15px;
  font-weight: 600;
}

.tooltip {
  position: relative;
  display: inline-block;
  opacity: 1;
  z-index: 1;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 140px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: 0px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.tooltip:hover #myEmail {
  color: rgb(106, 211, 224);
}

#myEmail {
  color: rgb(255, 215, 95);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

#socRow {
  width: 100%;
  display: grid;
  justify-content: center;
}

#contactOthers {
  margin-top: 70px;
  min-width: 350px;
  background-color: rgb(30, 30, 30);
  padding: 10px;
  border-radius: 10px;
  width: max-content;
}

#contactOthers ul {
  list-style: none;
  display: inline-block;
}

#contactOthers ul li {
  float: left;
}

#socialsContainer {
  width: 100%;
  display: flex;
  justify-content: center;
}

#contactOthers ul li a img {
  height: 50px;
  margin-right: 20px;
  transition: 0.1s linear;
}

#contactOthers ul li a img:hover {
  height: 70px;
  margin-top: -20px;
  margin-right: 20px;
}

.folderContent {
  height: 100px;
  width: 130px;
  padding: 5px;
  background-color: rgb(40, 40, 40);
}

.folderClose {
  position: absolute;
  z-index: 2;
  float: left;
  height: 100px;
  width: 130px;
  transform: translateX(7px) skewX(-5deg);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background-color: rgba(150, 150, 150, 0.9);
  transition: 0.2s linear;
  text-align: center;
  color: black;
  font-size: 12px;
}

.folderStatus {
  cursor: pointer;
}

.folderStatusContainer {
  opacity: 0;
  transition: 0.3s linear;
}

.folderStatus b {
  font-size: 18px;
  font-weight: bold;
}

footer {
  display: grid;
  justify-content: end;
  position: relative;
  width: 100%;
  margin: auto;
  background-color: rgb(15, 15, 15);
  padding: 5px;
  color: rgb(220, 220, 220);
  font-size: 15px;
  text-align: left;
  font-size: 12px;
}

footer p {
  margin: 0;
}

.containerBtn {
  display: none;
  float: right;
  cursor: pointer;
  margin: 10px;
}

.bar1,
.bar2,
.bar3 {
  width: 30px;
  height: 5px;
  background-color: #444;
  margin: 6px 0;
  transition: 0.4s;
}

.activeMenu .bar1 {
  width: 32px;
  transform: translate(0, 11px) rotate(45deg);
  background-color: rgb(255, 215, 95) !important;
}

.activeMenu .bar2 {
  opacity: 0;
}

.activeMenu .bar3 {
  width: 32px;
  transform: translate(0, -11px) rotate(-45deg);
  background-color: rgb(255, 215, 95) !important;
}

/* #burger {
    display: none;
    float: right;
    height: 60px;
    width: 60px;
    background-color: transparent;
    border: none;
    font-size: 30px;
    color: rgb(220,220,220);
    transition: .1s linear;
}

#burger:hover, .activeMenu {
    transform: rotate(50deg);
    color: rgb(255, 215, 95) !important;
} */

#shortcuts {
  position: fixed;
  z-index: 20;
  top: 60px;
  right: 0;
  padding: 10px;
  border-bottom-left-radius: 15px;
  width: max-content;
  background-color: rgba(15, 15, 15, 0.9);
  list-style-type: none;
  display: block;
}

#shortcuts ul {
  padding: 0;
}

#shortcuts li {
  margin-bottom: 20px;
}

#shortcuts a {
  text-decoration: none;
  color: rgb(200, 200, 200);
}

#shortcuts a.active,
#shortcuts a:hover {
  color: rgb(255, 215, 95) !important;
}

#helperBox {
  position: absolute;
  background-color: rgba(15, 15, 15, 0.7);
  font-size: 20px;
  font-weight: 700;
  height: 100%;
  width: 100%;
  text-align: center;
  border-radius: 15px;
  color: white;
  display: grid;
  justify-content: center;
  z-index: 5;
}

#helperBox span {
  margin-top: 40%;
}

@media screen and (max-width: 990px) {
  #content {
    width: 95%;
  }

  #Home {
    width: 100%;
    margin-left: 0;
  }

  #banner {
    height: 200px;
  }

  #pf {
    height: 170px;
  }

  #Introduction,
  #Skills,
  #Features,
  #Contact {
    margin-bottom: 0;
  }

  #pastIconTray,
  #currentIconTray,
  #projectList,
  #description {
    float: none;
  }

  #description {
    /* padding-top: 40px; */
  }

  #projectList {
    width: 100% !important;
    max-width: max-content;
  }

  .projectContainer {
    margin-left: 0;
  }

  #contactContainer {
    width: 100%;
  }

  #contactOthers {
    min-width: 0 !important;
  }

  #burger {
    display: block;
  }

  #shortcuts {
    display: none;
  }

  /* .skillIcons div.active, .skillIcons div:hover {
        width: max-content;
    } */

  footer {
    width: 100%;
  }
}
