:root {
  --color: #26355d;
  --color2: #26355d00;
  --secondary-color-t-ui: rgba(0, 0, 0, 0.7);
  --elements-color: white;
  --button: #24004d;
  --text: white;
  --link: #f700ff;
  --owner: #b15eff;
  --icon: #f700ff;
  --link-over: #f3c08a;
  --font-theme: "Chakra Petch", sans-serif;
  --font-weight: 400;
  --font-style: normal;
}

html, body {
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex;
  padding: 5%;
  gap: 60px;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #2c0443, #651773);
  color: var(--text);
}

header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color2);
  color: var(--text);
  padding: 15px 0;
  text-align: center;
  z-index: 1000;
}

.page-links a {
  color: var(--link);
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  margin-right: 25px;
}

.page-links a:hover {
  color: var(--link-over);
}

.personal-links, .general-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  text-align: center;
}

.personal-links h1, .general-links h1 {
  margin-bottom: 3px;
  margin-top: 30px;
}

.personal-links a, .general-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  padding: 18px;
  background-color: var(--button);
  border-radius: 25px;
  color: var(--link);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.personal-links a img.icon, .general-links a img.icon{
  width: 30px;
  height: 30px;
  position: absolute;
  left: 15px;
  border-radius: 50%;
}

.personal-links a .fab, .general-links a .fab, .personal-links a .fas, .general-links a .fas {
  font-size: 24px;
  margin-right: 10px;
  position: absolute;
  left: 15px;
}

.personal-links a:hover, .general-links a:hover {
  color: var(--link-over);
  box-shadow: 0 10px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color2);
  color: var(--text);
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  font-weight: bold;
  /*box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);*/
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
  header {
    padding: 5px 0;
    font-size: 12px;
    background-color: var(--color);
  }
  .page-links a {
    margin-right: 10px;
  }
  main {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    overflow-y: auto;
  }
  .personal-links, .general-links {
    width: 90%;
  }
  .general-links{
    padding-bottom: 70px;
  }
  .personal-links a, .general-links a {
    font-size: 16px;
  }
  footer {
    padding: 1px 0;
    font-size: 10px;
    background-color: #661875;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  }
}
