/* * {
  border: 1px solid red; 
}  */

.fancy {
  letter-spacing: 3px;
  text-decoration: none;
  font-family: "Arial";
  position: relative;
  text-transform: uppercase;
  color: transparent;
  font-size: 50px;
  -webkit-text-stroke: 1px aquamarine;
  padding-left: 25px; 
  padding-right: 25px;
  border-radius: 25px;
}

body {
  margin: 0px;
  font-family: sans-serif;
  overflow-y: scroll;
  overflow-x: hidden;
  max-width: 100%;
  width: 100vw;
}

.size {
  padding-top: 25px;
  width: 150px;
  height: 150px;
}

.bg {
  background-image: linear-gradient(rgba(90, 44, 44, 0.85), rgba(147, 146, 156, 0.85)), url('images/City-horizon.avif');
  background-size: cover;
  /* d1 gooners may have caught on to what website this background colour is from */
  background-color: #90EE90; 
  background-attachment: fixed;
  background-repeat: no-repeat;
}

::-webkit-scrollbar {
  width: 0;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: transparent;
}

.bounce {
  height: 15vh;
  position: relative;
  width: 100%;
}

:root {
  --font-size-clamp: clamp(20px, 1vw, 50px);
}

.bounce::before {
  animation: bounce 1s ease infinite;
  bottom: 2rem;
  color: #fff;
  content: '╲╱';
  font-size: 2rem;
  height: 4rem;
  letter-spacing: -1px;
  line-height: 4rem;
  margin-left: -3rem;
  opacity: 0.8;
  position: absolute;
  text-align: center;
  width: 6rem;
}

@keyframes bounce {
  50% {
    transform: translateY(-50%);
  }
}

#main {
  margin: 0px;
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: aquamarine;
}

#main h2 {
  display: inline-block;
}

.contact {
  justify-content: center;
  align-items: center;
  background-color: darkgray;
  opacity: 0.65;
  border-radius: 16px;
  width: 200px;
  height: 200px; 
  justify-self: center;
}

.contact p {
  text-align: left;
  display: inline-block
}

/* lazy and busy with school so doing quick and dirty fixes, will make this all work nicer at a later date */

.depth:active {
  transform: perspective(300px) translateZ(-25px);
} 

/* start osu scores css */

.box {
  transition: transform 0.3s ease-in-out;
  width: 900px;
  height: 250px;
  color: black;
  max-width: 90vw;
  min-width: 130px;
  min-height: 50px;
  display: flex;
  flex: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 16px;
  overflow: hidden;
  font-family: sans-serif;
  font-weight: bolder;
  font-style: italic;
  box-shadow: 2px 2px 5px 10px aquamarine; 
  justify-self: center;
  
}

.box h {
  font-size: 17px;
}

.box m {
  font-size: 16px;
}

.box:hover {
  transform: translateY(-10px);
}

.box:active {
  transform: perspective(300px) translateZ(-25px);
}

.box h3, .box p {
 margin: 5px 0;
 color: black
}

/* end osu scores stuff */

/* start anilist css */

#ani-activity {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px; 
  justify-self: center;
  max-width: 90vw; 
  min-height: 350px; 
  box-sizing: border-box;
  overflow: hidden;
}

.activity-card {
  max-width: 220px; 
  min-width: 180px; 
  height: auto; 
  text-align: center;
  background-color: rgba(128, 128, 128, 0.5);
  border-radius: 16px;
  padding: 20px; 
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 600px) {
  #ani-activity {
    display: flex;
    flex-direction: column !important; 
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    height: auto;
  }

  .activity-card {
    max-width: 300px;
    margin-bottom: 10px; 
  }
}


.activity-card:hover {
  transform: translateY(-10px);
}

.activity-card:active {
  transform: perspective(300px) translateZ(-25px);
}

.activity-card img {
  height: 140px;
  width: 100px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px; 
}

.activity-card h5 {
  margin: 10px 0;
  color: black;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
			
.activity-card p {
  color: black;
  font-size: 18px;
  margin-top: 10px;
  font-weight: bold;
  font-style: italic;
}

/* end anilist css */

footer {
  justify-content: center;
  align-items: center;
  text-align: center;
  display: flex;
  position: relative;
}
 
a {
  text-decoration: none;
}

a:active {
  color: inherit;
  text-decoration: none;
}

section {
  justify-content: center;
  display: flex;
  background-repeat: no-repeat;
  align-items: center;
  background-attachment: fixed;
  background-position: center center;
  padding-top: 50px;
}

.profile-img-main {
  border-radius: 50%;
  height: 210px;
  width: 200px;
}

/* Lord have mercy one me for the code that I have written */

.profile-img-container {
  overflow: hidden;
  position: relative;
  height: 300px;
  width: 300px;
  justify-content: center;
  padding: 10px;
  width: auto;
  justify-self: center;
  background-image: url("images/City-horizon.avif");
}

.profile-img-container img {
  border-radius: 25%;
  height: auto;
  object-fit: cover;
  object-position: top;
  justify-self: center;
}

.profile-link {
  display: inline-block;
  width: fit-content;
  height: fit-content;
  color: aquamarine;
}

#main h1 {
  font-size: 3em;
}

section h2 {
  font-size: 2.5em;
}

section h3 {
  font-size: 1.5em;
}

.wrapper {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
 
}

/* The previous message here is a source of shame for me. I apologise to all who have read the last comment here */

.anime {
  --border-right: 6px;
  --animation-color: white;
  --fs-size: 2em;
  letter-spacing: 3px;
  text-decoration: none;
  font-size: var(--fs-size);
  padding-right: 6px;
  position: relative;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px aquamarine;
  -webkit-mask: linear-gradient(to right, aquamarine 45%, transparent 55%) 0 0/220% 100% no-repeat;
  animation: 2s ease-in-out 1.9s both name;
}

@keyframes name {
  0% {
      -webkit-mask-position: 100% 0;
  }

  100% {
      -webkit-mask-position: 0% 0;
  }
}

.hover-text {
  position: absolute;
  box-sizing: border-box;
  content: attr(data-text);
  color: var(--animation-color);
  width: 0%;
  inset: 0;
  border-right: var(--border-right) solid var(--animation-color);
  overflow: hidden;
  transition: 0.5s;
  -webkit-text-stroke: 1px var(--animation-color);
}

.anime:hover .hover-text {
  width: 100%;
  filter: drop-shadow(0 3px 7px var(--animation-color))
}

.card {
  margin: auto;
  box-sizing: border-box;
  border-radius: 4px;
  width: 50%;
  padding: 10px;
}

/* from here it's going to be the css for the clock */

.timezone {
  opacity: 0.65;
  border-radius: 40px;
  width: clamp(100px, 50vw, 300px);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 5px;
  padding-bottom: 5px;
  text-decoration: none;
  text-transform: uppercase;
  color: transparent;
  font-size: 50px;
  -webkit-text-stroke: 1px rgb(255, 255, 255);
  background-color: #0d578bc4; 
  justify-self: center;
}

.timezone:active {
  transform: perspective(300px) translateZ(-25px);
}

.date {
  font-size: 1.05rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.time {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px 0;
  font-size: 52px;
  margin-top: -50px;
}

.time span {
  line-height: 1.75;
}

.time span:nth-of-type(5) {
  width: 90px;
}

.time span.colon {
  width: 12px;
  text-align: center;
  animation: blink 2s infinite;
}

@keyframes blink {
  0% {
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  70% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.fade {
  animation-name: fade;
  animation-duration: 2s;
}

@keyframes fade {
  from {
      opacity: 0;
  }
  to {
      opacity: 0.25;
  }
  to {
      opacity: 0.50;
  }
  to {
      opacity: 0.75;
  }
  to {
      opacity: 1;
  }
}

.source {
  color: aquamarine;
}

.source:hover {
  color: white;
  -webkit-text-stroke: 1px white;
}

/* from here it's the stuff for the visitor count */

.visitor {
  display: inline-block; 
  opacity: 0.65; 
  background-color: black;
}

.visitor:active {
  transform: perspective(300px) translateZ(-25px);
}

.cursor {
  position: fixed;
  border-radius: 50%;
  transform: translateX(-50%) translateY(-50%);
  pointer-events: none;
  left: -100px;
  top: 50%;
  background-color: grey;
  opacity: 80%;
  z-index: 10000;
  border: 2px solid white;
  height: 30px;
  width: 30px;
  transition: all 300ms ease-out;
}
