@import url("https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900&display=swap");
* {
  box-sizing: border-box;
}
.parallax::-webkit-scrollbar {
  background-color: transparent;
  width:0.4vw
}

.parallax::-webkit-scrollbar-track {
  background-color:transparent
}
.parallax::-webkit-scrollbar-track:hover {
  background-color:transparent
}

.parallax::-webkit-scrollbar-thumb {
  background-color:#babac0;
  border-radius:16px;
  border:5px solid transparent
}
.parallax::-webkit-scrollbar-thumb:hover {
  background-color:#a0a0a5;
}

.parallax::-webkit-scrollbar-button {display:none}

:root {
  --primary: #03e9f4;
}

html,
body {
  overflow-x: hidden;
  overflow-y: hidden;
  margin: 0;
  padding: 0;
}

.light-mode {
  background-color: #ffffff;
}

.dark-mode {
  background-color: #000000;
}   

.light-mode .parallax, .light-mode .cover{
  background-color: #ffffff;
}
.light-mode .cover{
  border-top: #000000 solid 2px;
  border-bottom: #000000 solid 2px;
}
.dark-mode .parallax, .dark-mode .cover{
  background-color: #000000;
} 

.light-mode :not(){
  color: rgb(0, 0, 0);
  border: #000000;
}

.dark-mode *{
  color: white;
  border: #ffffff;
}   

.header {
  color: inherit;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  padding: 10px 5% 3% 5%;
  display: flex;
  justify-content: space-between;
  z-index: 9;
}

.logo {
  color: inherit;
  font-size: 25px;
  text-decoration: none;
  font-weight: 600;
}

.navbar a {
  font-size: 18px;
  position: relative;
  display: inline-block;
  padding: 0px 20px;
  text-decoration: none;
  font-weight: 500;
  margin-left: 35px;
  margin: 2% auto;
  color: inherit;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.5s;
  letter-spacing: 4px;
  cursor: pointer;
  overflow: hidden;
  transition: .3s;
}

.navbar .button {
  text-transform: uppercase;
  cursor: pointer;
  padding: 5px 20px;
  border: solid 2px rgb(255, 255, 255);
  transition: all 0.5s ease;
  text-align: center;
  border-radius: 25px;
  width: 135px;
  transition: background-color 0.3s ease;
}

.navbar .button .original-text {
  display: inline;
}

.navbar .button .hover-text {
  display: none;
}

.navbar .button:hover .original-text {
  display: none;
}

.navbar .button:hover .hover-text {
  display: inline;
}


.light-mode .navbar a:hover {
  background: #ffffff;
  color: #a9a9a9;
  -webkit-box-reflect: below 1px linear-gradient(transparent, rgba(255, 255, 255));
}
.light-mode .navbar .button {
  border: solid 2px rgb(0, 0, 0);
}
.dark-mode .navbar a:hover {
  background: #000000;
  color: #a9a9a9;
  -webkit-box-reflect: below 1px linear-gradient(transparent, rgba(0, 0, 0));
}
.parallax {
  perspective: 100px;
  width: 100%;
  max-height: 50rem;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  justify-content: center;
  margin: 0;
  padding: 0;
}
.content {
  transform: translateZ(-350px) scale(4.5);
  min-width: 100vw;
  position: relative;
  display: flex;
  justify-content: center;
  top: 0%;
  text-align: center;
}

.cover {
  position: absolute;
  top: 100%;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: inherit;
  left: 0;
  right: 0;
  z-index: 2;
  border-top: #ffffff solid 2px;
}

.cover__content {
  position: relative;
  top: 0;
  width: 90vw;
  text-align: center;
}

h2 {
  font-size: 4rem;
  margin-bottom: 20px;
}

p {
  font-size: 1rem;
  margin: 0 auto;
  margin-bottom: 20px;
}

.light-mode #About a {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  margin: 2% auto;
  color: #000000;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.5s;
  letter-spacing: 4px;
  cursor: pointer;
  overflow: hidden;
  margin-right: 50px;

}

.light-mode #About a:hover {
  background: #ffffff;
  color: #a9a9a9;
  box-shadow: 0 0 5px #000000,
      0 0 25px #000000,
      0 0 50px #000000,
      0 0 200px #000000;
  -webkit-box-reflect: below 1px linear-gradient(transparent, rgba(255, 255, 255));
}

.light-mode #About a span:nth-child(1) {
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #000000);
  animation: animate1 2s linear infinite;
}
.light-mode #About a span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #000000);
  animation: animate2 2s linear infinite;
  animation-delay: 0.25s;
}

.light-mode #About a span:nth-child(3) {
  bottom: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg, transparent, #000000);
  animation: animate3 2s linear infinite;
  animation-delay: 0.50s;
}

.light-mode #About a span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(360deg, transparent, #000000);
  animation: animate4 2s linear infinite;
  animation-delay: 0.75s;
}

.dark-mode #About a {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  margin: 2% auto;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.5s;
  letter-spacing: 4px;
  cursor: pointer;
  overflow: hidden;
  margin-right: 50px;

}

.dark-mode #About a:hover {
  background: #000000;
  color: #a9a9a9;
  -webkit-box-reflect: below 1px linear-gradient(transparent, #000);
}
#About a span {
  position: absolute;
  display: block;
}

.dark-mode #About a span:nth-child(1) {
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #03e9f4);
  animation: animate1 2s linear infinite;
}

@keyframes animate1 {
  0% {
      left: -100%;
  }

  50%,
  100% {
      left: 100%;
  }
}

.dark-mode #About a span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #03e9f4);
  animation: animate2 2s linear infinite;
  animation-delay: 0.25s;
}

@keyframes animate2 {
  0% {
      top: -100%;
  }

  50%,
  100% {
      top: 100%;
  }
}

.dark-mode #About a span:nth-child(3) {
  bottom: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg, transparent, #03e9f4);
  animation: animate3 2s linear infinite;
  animation-delay: 0.50s;
}

@keyframes animate3 {
  0% {
      right: -100%;
  }

  50%,
  100% {
      right: 100%;
  }
}

.dark-mode #About a span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(360deg, transparent, #03e9f4);
  animation: animate4 2s linear infinite;
  animation-delay: 0.75s;
}

@keyframes animate4 {
  0% {
      bottom: -100%;
  }

  50%,
  100% {
      bottom: 100%;
  }
}

.cover-2 {
  position: absolute;
  top: 200%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: inherit;
  left: 0;
  right: 0;
  border-top: #ffffff solid 2px;
  z-index: 5;
}
.light-mode .cover-2 {
  background-color: #ffffff;
}
.dark-mode .cover-2 {
  background-color: #000000;
}
.container {
  min-width: 50vw;
  min-height: 25vw;
  height: 50vh;
  border-radius: 20px;
  margin: 10% 0;
  position: relative;
  -webkit-transition: 1.5s ease-in-out;
  transition: 1.5s ease-in-out;
  transform-style: preserve-3d;
  border: #ffffff solid 1px;
}

.side {
  position: absolute;
  text-align: center;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 22px 70px 4px rgba(0, 0, 0, 0.56), 0 0 0 1px rgba(0, 0, 0, 0.3);
  background: black;
  display: grid;
  grid-template-columns: 40% auto;
  color: white;
  align-items: center;
  will-change: transform;}

.front {
  z-index: 2;
  background-size: 100vh;
}

.back {
  background-color: #535353;
  transform: rotateY(180deg);
  z-index: 0;
  padding-top: 10px;
}

.container.rotated {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

.container-details {
  padding: 1rem;
}

.name {
  font-size: 1.25rem;
}

.occupation {
  font-weight: 600;
  color: var(--primary);
}

.container-avatar {
  display: grid;
  place-items: center;
}

svg {
  fill: white;
  width: 65%;
}

.container-about {
  margin-top: 1rem;
  display: grid;
  grid-auto-flow: column;
}

.item {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
}

.item .value {
  font-size: 1vw;
}

.item .label {
  margin-top: 0.15rem;
  font-size: 0.75vw;
  font-weight: 600;
  color: var(--primary);
}

.skills {
  display: flex;
  flex-direction: column;
  margin-top: 0.75rem;
}

.skills .label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}

.skills .value {
  margin-top: 0.15rem;
  font-size: 0.75rem;
  line-height: 1.25rem;
}

.footer{
  padding: 2vh 0;
  text-decoration: none;
  text-align: center;
  border-top: solid 2px;
  height: 10vh;
  width: 100vw;
}