body {
  margin-top: 1.5em;
}

h1 {
  border-bottom: 2px dashed #d387a7;
  width: 75%;
  font-size: 2em;
  color: #ff5596;
  margin-block-start: 0;
  margin-block-end: 0;
  font-family: pixel-game;
}

h1 span {
  animation: bounce .5s step-end infinite;
  display: inline-block;
  color: #c77090;
  font-size: .55em;
  position: relative;
  bottom: 2px;
}

@keyframes bounce {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-2px);
  }

  100% {
    transform: translateY(0px);
  }
}

.profile {
  display: flex;
  width: 80%;
  margin: auto;
  align-items: center;
  justify-content: center;
  margin-bottom: 1em;
}

.profile>.half1 {
  width: 30%;
  margin-right: .5em;
}

.profile>.half1 img {
  width: 160px;
}

.profile>.half2 {
  width: 70%;
  text-align: left;
}

.half2 p {
  font-size: 1.25em;
  line-height: 1.25em;
  margin-top: .5em;
  margin-bottom: 0;
  font-family: 'Dekko', cursive;
}

.half2 p b {
  font-size: 1.125em;
  font-family: pixel-game;
  font-weight: normal;
  position: relative;
  top: 1px;
}


.profile2 {
  width: 80%;
  margin: auto;
  text-align: left;
  font-size: .875em;
}

.profile2 h1 {
  font-size: 1.875em;
}

.profile2 p {
  font-family: 'Baloo 2', cursive;
  height: 80px;
  overflow: auto;
  scrollbar-width: thin;
  transition: all .2s ease;
  line-height: 1.5em;
}

.profile2 p::-webkit-scrollbar {
  display: none;
}

#abt span {
  color: #6a525b;
}

.arrow {
  cursor: pointer;
  user-select: none;
}

.rotateR {
  animation: bounce .5s step-end infinite reverse;
  transition: all .2s ease;
}

.rotate {
  animation: bounceRotate .5s step-end infinite reverse;
  transition: all .2s ease;
}

@keyframes bounceRotate {
  0% {
    transform: translateY(0px) rotate(90deg);
  }

  50% {
    transform: translateY(-2px) rotate(90deg);
  }

  100% {
    transform: translateY(0px) rotate(90deg);
  }
}


.link {
  width: 100px;
  height: 100px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25em;
  line-height: 1.25em;
  font-weight: bold;
  text-shadow: 1px 2px 1px black;
}

.link1 {
  background: #A9D9D0;
  border: 1px solid #59cfba;
}

.link2 {
  background: #F7C3CB;
  border: 1px solid #da7887;
}

.link3 {
  background: #AEABD2;
  border: 1px solid #746eb4;
}

.link a {
  color: #ffffff;
  text-decoration: none;
  transition: all .2s ease;
  background: none;
}

.link a:hover {
  text-decoration: wavy underline;
}

.link1 a:hover {
  color: #A9D9D0;
}

.link2 a:hover {
  color: #F7C3CB;
}

.link3 a:hover {
  color: #AEABD2;
}

.link img {
  position: absolute;
  left:0;
  top:0;
  transition: all .2s ease;
  pointer-events: none;
} 

.link:hover img {
  opacity: 0;
}

.gallery {
  margin-top: 1.5em;
  margin-bottom: 2.25em;
  display: flex;
  width: 35em;
  align-items: center;
  justify-content: center;
  gap: .5em;
}

.gallery>.one {
  width: 33.3%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.gallery>.two {
  width: 33.3%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.gallery>.three {
  width: 33.3%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.flip-card {
  background-color: transparent;
  width: 100px;
  height: 100px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100px;
  height: 100px;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100px;
  height: 100px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border: 1px solid #27dfa4;
}

.flip-card-front {
  background-color: #bbb;
  color: black;
}

.flip-card-back {
  background-color: #c7ffed;
  color: white;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3em;
  line-height: 1.45em;
  font-weight: bold;
  text-shadow: 1px 2px 1px black;
}

.flip-card-back a {
  color: #ff9cbc;
  text-decoration: none;
  transition: all .2s ease;
  background: none;
}

.flip-card-back a:hover {
  text-decoration: wavy underline;
  /* transform: skew(-5deg, 0deg); */
}

.why a {
  background: #cbffc9;
  padding: 3px 20px;
  text-decoration: none;
  font-size: 1.5em;
  text-shadow: 2px 2px 0 #000;
  color: #ff8fcb;
  border: 1px dashed #56de51;
}

.divider {
  height: 1px;
  border-top: 4px double black;
  width: 65%;
  margin: 1em auto .5em auto;
}

.tippy-box[data-theme~="custom"] {
  border-radius: 0;
  background: white;
  color: black;
  width: 150px;
  margin: 0;
  padding: 0;
  font-family: "Baloo 2", cursive;
}

@media screen and (max-height: 1800px) and (min-width: 2880px) {
  body {
    margin-top: 1.5em;
  }

  h1 {
    font-size: 1.25em;
  }

  .profile>.half1 img {
    width: 140px;
  }

  .half2 p {
    font-size: .75em;
  }

}

@media screen and (max-height: 600px) and (min-width: 300px) {

  .half2 p {
    font-size: 1.2em;
  }

}
