@import "https://unpkg.com/open-props@1.6.17/easings.min.css";

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.4s;
}

p {
  font-family: 'quicksand';
  color: white;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  /* This tells your HP Envy's graphics chip to make the opacity look buttery smooth */
  transition: opacity 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity;
}

body.fade-out {
  opacity: 0;
}

body {
  background-color: black;
}

.elements {
  display: flex;
  justify-content: space-evenly;
  list-style: none;
  padding-top: 10px;
  padding-bottom: 10px;
  color: whitesmoke;
  font-weight: 500;
  font-size: 20px;
  transition: 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
  font-family: 'quicksand';
  flex-direction: row;
  gap: 35px;
}

.rows {
  cursor: pointer;
  display: flex;
}

.rows:hover {
  transition-duration: 0.4s;
  text-decoration: none;
}

.span {
  width: 30px;
  height: 4px;
  background-color: white;
  margin-bottom: 5px;
  border-radius: 2px;
  transition: 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  font-family: 'quicksand';
}

.burgerDiv {
  display: none;
}

@media (max-width: 450px) {
  .elements {
    flex-direction: column;
    align-items: center;
    top: 0;
    left: 0;
    margin: 0;
    padding: 20px;
    width: 100%;
    height: 100%;
    font-family: 'quicksand';
    display: flex;
    gap: 30px;
    list-style: none;
    font-size: 20px;
    font-weight: 500;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: fixed;
    /* Fixed prevents the logo background from blending weirdly */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 128, 0, 0.95);
    transform: translateX(-110%);
    transition: 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    z-index: 1001;
    overflow: hidden;
  }

  .burgerDiv {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 20px;
    padding-top: 20px;
    position: relative;
    z-index: 1002;
    font-family: 'quicksand';
    cursor: pointer;
  }

  .elements.active {
    transform: translateX(0);
  }

}

.sidebar {
  transform: translateX(0px);
}

.burgerDiv.active .line-0 {
  transform: rotate(45deg) translate(4.5px, 12px);
}

.burgerDiv.active .line-1 {
  transform: scale(0);
}

.burgerDiv.active .line-2 {
  transform: rotate(-45deg) translateY(-7.5px);
}

.rows a {
  text-decoration: none;
  color: grey;
  font-family: 'quicksand';
  position: relative;
  padding-bottom: 4px;
  transition: 0.5s;
}

.rows-highlighted a {
  text-decoration: none;
  color: whitesmoke;
  font-family: 'quicksand';
  position: relative;
  padding-bottom: 4px;
  transition: 0.5s;
}

.rows a:hover {
  color: green;
}

.rows-highlighted a:hover {
  color: green;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  position: sticky;
  z-index: 1000;
  top: 20px;
  left: 0;
  width: 94%;
  max-width: 2000px;
  margin: 0 auto;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-top: 30px;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 30px;
  border-color: green;
  border-width: 4px;
  border-style: solid;
  animation: neonPulse 2s infinite alternate;
  transition: 0.4s;
}

.navbar:hover {
  display: flex;
  transition: 0.4s;
  transform: scale(1.04);
}

.nav-logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  height: 40px;
  width: auto;
  border-radius: 100%;
  border-color: green;
  border-width: 2px;
  border-style: solid;
  animation: neonPulse 2s infinite alternate;
}

.nav-brand-text {
  font-family: 'quicksand';
  color: white;
  font-size: 22px;
  font-weight: 700;
  transition: 0.5s;
}

.nav-brand-text:hover {
  color: green;
}

.logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: 0.6s;
}

.main {
  font-family: 'quicksand';
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.boxes {
  border-color: green;
  border-radius: 30px;
  border-width: 4px;
  border-style: solid;
  padding: 20px;
  width: 92%;
  height: 80%;
  display: flex;
  align-items: center;
  margin: 20px auto;
  font-family: 'quicksand';
  color: white;
  gap: 15px;
  justify-content: center;
  transition-duration: 0.4s;
  flex-direction: column;
  animation: neonPulse 2s infinite alternate;
}

.boxes-4-name {
  border-color: green;
  border-radius: 30px;
  border-width: 4px;
  border-style: solid;
  padding: 20px;
  width: 92%;
  height: 100%;
  display: flex;
  align-items: center;
  margin: 20px auto;
  font-family: 'quicksand';
  color: white;
  gap: 40px;
  justify-content: center;
  transition-duration: 0.4s;
  animation: neonPulse 2s infinite alternate;
}

.boxes-4-name:hover {
  transition-duration: 0.4s;
  transform: scale(1.02)
}

.boxes:hover {
  transition-duration: 0.4s;
  transform: scale(1.02);
}

.box-profile-card:hover {
  transition-duration: 0.4s;
  transform: scale(1.02);
}

.box-profile-card {
  border-color: green;
  border-radius: 30px;
  border-width: 4px;
  border-style: solid;
  padding: 20px;
  width: 92%;
  height: 92%;
  display: flex;
  align-items: center;
  margin: 20px auto;
  font-family: 'quicksand';
  color: white;
  gap: 20px;
  justify-content: center;
  flex-direction: column;
  transition-duration: 0.4s;
  animation: neonPulse 2s infinite alternate;
}

.info-text {
  font-family: 'quicksand';
  color: white;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-text h1 {
  font-size: 44px;
}

.info-text h4 {
  font-size: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  background-color: black;
  color: green;
  border-color: green;
  border-style: solid;
  text-decoration: none;
  cursor: pointer;
  line-height: normal;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: 'quicksand';
  transition-duration: 0.4s;
  gap: 8px;
  animation: neonPulse 2s infinite alternate;
}

.button:hover {
  background-color: green;
  color: white;
  transform: scale(1.1)
}

.card-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.link {
  color: green;
  text-decoration: none;
}

.link:hover {
  color: rgba(245, 245, 245, 0.692);
  transition-duration: 0.4s;
  text-decoration: none;
  border-bottom: 2px dotted rgba(245, 245, 245, 0.692);
}

.tiny-button {
  transition: 0.4s;
  transform: scale(1);
  display: inline-block;
}

.tiny-button:hover {
  transition: 0.4s;
  transform: scale(1.15);
  display: inline-block;
}

.spinny {
  display: inline-block;
  transition: transform 0.6s ease-in-out;
  position: relative;
  z-index: 1;
}

.spinny:hover {
  transform: rotate(360deg);
}

.container-box {
  display: flex;
  padding: 10px 20px;
  flex-direction: row;
  width: 50%;
  gap: 20px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}

.small-box {
  border-color: green;
  border-radius: 30px;
  border-width: 4px;
  border-style: solid;
  padding: 20px;
  width: 340px;
  display: flex;
  align-items: center;
  margin: 20px 0;
  font-family: 'quicksand';
  color: white;
  gap: 15px;
  transition-duration: 0.4s;
  flex-direction: row;
  animation: neonPulse 2s infinite alternate;
  justify-content: start;
  text-align: center;
}

.small-box-contact {
  border-color: green;
  border-radius: 30px;
  border-width: 4px;
  border-style: solid;
  padding: 20px;
  width: 340px;
  display: flex;
  align-items: center;
  margin: 20px 0;
  font-family: 'quicksand';
  color: white;
  gap: 15px;
  transition-duration: 0.4s;
  flex-direction: row;
  animation: neonPulse 2s infinite alternate;
  justify-content: start;
  text-align: left;
}

.projects-small-box {
  border-color: green;
  border-radius: 30px;
  border-width: 4px;
  border-style: solid;
  padding: 20px;
  width: 340px;
  display: flex;
  align-items: center;
  margin: 20px 0;
  font-family: 'quicksand';
  color: white;
  gap: 15px;
  transition-duration: 0.4s;
  flex-direction: column;
  animation: neonPulse 2s infinite alternate;
  justify-content: flex-start;
  text-align: center;
}

.projects-small-box:hover {
  transition: 0.4s;
  transform: scale(1.04);
}

.small-box:hover {
  transition: 0.4s;
  transform: scale(1.04);
}

.small-box-contact:hover {
  transition: 0.4s;
  transform: scale(1.04);
}

@keyframes neonPulse {
  0% {
    box-shadow: 0 0 5px #00ff00, 0 0 7px #00ff00;
  }

  100% {
    box-shadow: 0 0 15px #00ff00, 0 0 20px #00ff00
  }
}

.wave-letter {
  display: inline-block;
  animation: wave 1.2s infinite ease-in-out, colorWave 3s infinite linear;
  font-family: 'Frankfurter', 'Comfortaa', sans-serif;
}

@keyframes wave {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.wave-letter:nth-child(1) {
  animation-delay: 0.1s;
}

.wave-letter:nth-child(2) {
  animation-delay: 0.2s;
}

.wave-letter:nth-child(3) {
  animation-delay: 0.3s;
}

.wave-letter:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes colorWave {

  0%,
  100% {
    color: #00ff00;
  }

  33% {
    color: #00ffff;
  }

  66% {
    color: #ff00ff;
  }
}

@font-face {
  font-family: 'Frankfurter';
  src: url('/franfurter.otf') format('opentype');
}

.bottom-icons {
  transition: 0.4s;
}

.bottom-icons:hover {
  transform: scale(1.1);
}

.status-card {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.status-dot {
  position: absolute;
  bottom: 8%;
  right: 8%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 4px solid black;
  z-index: 10;
  transition: transform 0.4s ease-in-out;
}

.status-card p {
  text-align: center;
}

.avatar-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: transform 0.6s ease-in-out;
}

.avatar-container:hover {
  transform: scale(1.1);
}

.spinny {
  display: inline-block;
  transition: transform 0.6s ease-in-out;
}

.spinny:hover {
  transform: rotate(360deg);
}

.product-image {
  width: 200px;
  border-radius: 10%;
  transition: 0.5s;
}

.product-image:hover {
  transform: scale(1.09);
}