body {
  background-color: #141414;
}
@font-face {
  font-family: Inter;
  src: url(Fonts/Inter-VariableFont_slnt\wght.ttf);
}

@font-face {
  font-family: Slabo;
  src: url(Fonts/Slabo27px-Regular.ttf);
}

.rotate-screen {
  display: none;
}
.card {
  background-color: #1f1f1f;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  border-radius: 10px;
  overflow-x: hidden;
}

.neon {
  color: hsl(var(--hue), 100%, 50%);
  box-shadow: 0 -6px 1px hsl(var(--hue), 100%, 60%),
    1px -6px 1px hsl(calc(var(--hue) + 12), 100%, 60%),
    2px -5px 1px hsl(calc(var(--hue) + 24), 100%, 60%),
    3px -5px 1px hsl(calc(var(--hue) + 36), 100%, 60%),
    4px -4px 1px hsl(calc(var(--hue) + 48), 100%, 60%),
    5px -3px 1px hsl(calc(var(--hue) + 60), 100%, 60%),
    5px -2px 1px hsl(calc(var(--hue) + 72), 100%, 60%),
    6px -1px 1px hsl(calc(var(--hue) + 84), 100%, 60%),
    6px 0px 1px hsl(calc(var(--hue) + 96), 100%, 60%),
    6px 1px 1px hsl(calc(var(--hue) + 108), 100%, 60%),
    5px 2px 1px hsl(calc(var(--hue) + 120), 100%, 60%),
    5px 3px 1px hsl(calc(var(--hue) + 132), 100%, 60%),
    4px 4px 1px hsl(calc(var(--hue) + 144), 100%, 60%),
    3px 5px 1px hsl(calc(var(--hue) + 156), 100%, 60%),
    2px 5px 1px hsl(calc(var(--hue) + 168), 100%, 60%),
    1px 6px 1px hsl(calc(var(--hue) + 180), 100%, 60%),
    0 6px 1px hsl(calc(var(--hue) + 192), 100%, 60%),
    -1px 6px 1px hsl(calc(var(--hue) + 204), 100%, 60%),
    -2px 5px 1px hsl(calc(var(--hue) + 216), 100%, 60%),
    -3px 5px 1px hsl(calc(var(--hue) + 228), 100%, 60%),
    -4px 4px 1px hsl(calc(var(--hue) + 240), 100%, 60%),
    -5px 3px 1px hsl(calc(var(--hue) + 252), 100%, 60%),
    -5px 2px 1px hsl(calc(var(--hue) + 264), 100%, 60%),
    -6px 1px 1px hsl(calc(var(--hue) + 276), 100%, 60%),
    -6px 0px 1px hsl(calc(var(--hue) + 288), 100%, 60%),
    -6px -1px 1px hsl(calc(var(--hue) + 300), 100%, 60%),
    -5px -2px 1px hsl(calc(var(--hue) + 312), 100%, 60%),
    -5px -3px 1px hsl(calc(var(--hue) + 324), 100%, 60%),
    -4px -4px 1px hsl(calc(var(--hue) + 336), 100%, 60%),
    -3px -5px 1px hsl(calc(var(--hue) + 348), 100%, 60%),
    -2px -5px 1px hsl(calc(var(--hue) + 360), 100%, 60%),
    -1px -6px 1px hsl(calc(var(--hue) + 12), 100%, 60%);
}

.content {
  position: relative;
  padding-top: 3rem;
  padding-bottom: 3rem;
  width: 400px;
}

.profile {
  position: relative;
}
.profile h1,
.profile h2,
.profile p {
  font-family: Inter;
  position: relative;
  color: #fff;
  text-align: center;
  margin: 0;
}
.profile h1 {
  font-size: 24px;
  margin-top: 30px;
}
.profile h2 {
  color: #b7e13e;
  font-size: 14px;
  margin-top: 0.5rem;
}
.profile p {
  margin-top: 0.25rem;
  font-size: 14px;
  font-weight: 400;
}
.photo {
  width: 90px;
  height: 90px;
  margin: 0 auto;
}
.photo img {
  border-radius: 50%;
  width: 90px;
}
.socialLinks {
  position: relative;
  margin-top: 2.5rem;
}
.socialLinks ul {
  list-style-type: none;
  padding: 0;
  margin: 0 45px 0 45px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 1rem;
}
.socialLinks li {
  background-color: #333;
  justify-content: space-between;
  line-height: 45px;
  font-family: Slabo;
  font-size: 1rem;
  text-align: center;
  vertical-align: middle;
  border-radius: 25px;
  transition: transform 0.3s ease;
  border: 1px solid white;
  display: inline-block;
}

.socialLinks li:hover {
  background-color: #444;
  transform: scale(1.05);
}

.socialLinks li a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-left: 35%;
  width: 100%;
  height: 100%;
  color: white;
  text-decoration: none;
}

.socialLinks li a img {
  filter: brightness(0) invert(1);
  width: 1.5rem;
  height: 1.5rem;
  transform: scale(1.1);
  margin-right: 0.5rem;
  vertical-align: middle;
  transition: transform 0.3s ease;
}
.socialLinks li a:hover img {
  transform: scale(1.2);
}

@media screen and (max-width: 768px) and (orientation: landscape) {
  .card {
    top: 10px;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    overflow-y: visible;
  }

  .rotate-screen {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 10vh;
    background-color: #b7e13e;
    color: black;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 9999;
    opacity: 0;
    transform: translateY(100%);
    animation: slideUp 1.5s forwards;
  }

  @keyframes slideUp {
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
}
@media only screen and (max-width: 600px) {
  .content {
    width: 325px;
    border-radius: 7px;
  }

  .photo {
    width: 85px;
    height: 85px;
  }
  .photo img {
    width: 75px;
  }

  .profile h1 {
    font-size: 1.25rem;
    margin-top: 0rem;
  }
  .profile h2 {
    font-size: 0.75rem;
  }
  .profile p {
    font-size: 0.75rem;
  }

  .socialLinks {
    margin-top: 2rem;
  }
  .socialLinks li a img {
    width: 1.125rem;
    height: 1.125rem;
  }

  .socialLinks ul {
    margin: 0 30px 0 30px;
    gap: 0.825rem;
  }
  .socialLinks li:hover {
    transform: none;
  }
  .socialLinks li {
    line-height: 30px;
    font-size: 0.825rem;
  }
  .socialLinks li a:hover img {
    transform: none;
  }
}
