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

body {
  background-size: cover;
  font-family: 'Roboto', sans-serif;
  min-height: 700px;

  /* Improve text rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -o-font-smoothing: antialiased;
}

#vanta {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

header {
  margin-top: 1em;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

header>img {
  width: 8em;
  height: 8em;
  border-radius: 100%;
  box-shadow: #33122a 0px 2px 8px 0px;
  box-shadow: 1px 1px #33122a, -0.1em 0 0.4em #33122a;
}

header>h1 {
  display: inline-block;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 1em;
  color: white;
  /* TODO: Match the colors with the backrgound picture */
  background-color: #0e0613;
  margin-top: 10px;
  padding: 0.3em 0.6em;
  border: 1px solid #33122a;
  backdrop-filter: blur(10px) saturate(120%) contrast(130%);
}

header>h2 {
  display: inline-block;
  font-size: 0.9em;
  font-weight: lighter;
  border-radius: 1em;
  color: white;
  /* TODO: Match the colors with the backrgound picture */
  background-color: #0e0613;
  margin-top: 6px;
  padding: 0.15em 1.1em;
  border: 1px solid #33122a;
  backdrop-filter: blur(10px) saturate(120%) contrast(130%);
}

.mix-description {
  font-size: 0.2rem;
  display: block;
  font-size: 0.8em;
  margin-top: 0.5em;
  width: 100%;
}

ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0 auto;
  padding: 2em;
}

ul>li {
  max-width: 380px;
  background-color: hsla(221, 15%, 46%, 0.7);
  backdrop-filter: blur(10px) saturate(120%) contrast(130%);
  border-radius: 10em;
  padding: 0.7em 4em;
  margin: 0.9em 0;
}

ul>.buttons>li {
  max-width: 380px;
  background-color: hsla(221, 15%, 46%, 0.7);
  backdrop-filter: blur(10px) saturate(120%) contrast(130%);
  border-radius: 10em;
  padding: 0.7em 2em;
  margin: 0.9em 0;
}

.buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 380px;
}

.mix-link a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #000;
}

.mix-link img {
  margin-right: 4px;
}


.mix-link {
  display: flex;
}

.mix-link a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.mix-link img {
  width: 1.5em;
  height: 1.5em;
  margin-right: 0.5em;
}

.mix-link .mix-description {
  flex-basis: 100%;
  margin-top: 0.5em;
  font-size: 0.8em;
  text-align: center;
}

.socials-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  /* justify-content: space-around; */
  gap: 12px;
  vertical-align: center;
  max-width: 380px;
  background-color: hsla(221, 15%, 46%, 0.7);
  backdrop-filter: blur(10px) saturate(120%) contrast(130%);
  border-radius: 10em;
  padding: 0.7em 4em;
  margin: 0.9em 0;
}

ul>li>a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6em;
}

a {
  color: black;
  font-size: 1.1rem;
  text-decoration: none;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.4rem;
  background-color: rgba(14, 6, 19, 0.8);
  backdrop-filter: blur(10px) saturate(120%) contrast(130%);
}

footer>div {
  color: white;
  font-size: 0.8rem;
  text-align: center;
}

.footer-link {
  font-size: 0.8rem;
  color: hsla(221, 15%, 76%, 1);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
}

#yiorgos-github {
  padding-left: 0.3rem;
  color: hsla(221, 15%, 46%);
}

@media screen and (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  html {
    font-size: 12px;
  }
}

/* General styles for all link items */
ul>li {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

ul>li::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: all 0.5s ease;
}

ul>li:hover::before {
  left: 100%;
}

ul>li:hover {
  transform: scale(1.05);
}

ul>.buttons>li {
  transition: all 0.3s ease;
}

ul>.buttons>li:hover {
  transform: scale(1.05);
}

ul>li a {
  transition: all 0.3s ease;
}

/* Portfolio */
ul>li:has(a[href*="portfolio"]):hover {
  box-shadow: 0 0 15px rgba(125, 91, 237, 0.5);
}

ul>li:has(a[href*="portfolio"]):hover a {
  color: #7d5bed;
}

/* About me */
ul>.buttons>li:has(a[href*="about"]):hover {
  box-shadow: 0 0 15px rgba(125, 91, 237, 0.5);
}

ul>.buttons>li:has(a[href*="about"]):hover a {
  color: #7d5bed;
}

/* Contact */
ul>.buttons>li:has(a[href*="mailto"]):hover {
  box-shadow: 0 0 15px rgba(255, 85, 0, 0.5);
}

ul>.buttons>li:has(a[href*="mailto"]):hover a {
  color: #7d5bed;
}

/* Soundcloud */
ul>li:has(a[href*="soundcloud"]):hover {
  box-shadow: 0 0 15px rgba(255, 85, 0, 0.5);
}

ul>li:has(a[href*="soundcloud"]):hover a {
  color: #ff5500;
}

/* YouTube */
/* TODO: once figured out */

/* Spotify */
ul>li:has(a[href*="spotify"]):hover {
  box-shadow: 0 0 15px rgba(30, 215, 96, 0.5);
}

ul>li:has(a[href*="spotify"]):hover a {
  color: #1ED760;
}

/* Beatport */
ul>li:has(a[href*="beatport"]):hover {
  box-shadow: 0 0 15px rgba(162, 230, 71, 0.5);
}

ul>li:has(a[href*="beatport"]):hover a {
  color: #A2E647;
}

/* Facebook */
ul>li:has(a[href*="facebook"]):hover {
  box-shadow: 0 0 15px rgba(66, 103, 178, 0.5);
}

ul>li:has(a[href*="facebook"]):hover a {
  color: #4267B2;
}

/* Instagram */
ul>li:has(a[href*="instagram"]):hover {
  box-shadow: 0 0 15px rgba(225, 48, 108, 0.5);
}

ul>li:has(a[href*="instagram"]):hover a {
  color: #E1306C;
}

.social-link-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-link-icon:hover {
  transform: scale(1.2);
  /* backdrop-filter: blur(4px); */
  border-radius: 50%;
}
