@import url("https://fonts.googleapis.com/css2?family=Karla:ital,wght@1,600&display=swap");

:root {
  --left: #222234;
  --right: #0c0c13;
  --image: url("https://cdn.glitch.global/f5611348-93ec-4a14-8188-33f08a8c2a69/Night%20Sky%20Lerici.jpg?v=1714360162912");
  --accent1: #673ab7;
  --accent2: #512da8;
}
* {
  margin: 0;
  padding: 0;
}
body {
  background-image: var(--image);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  background-size: cover;
}

#main {
  color: white;
  font-size: 3.2em;
  text-align: center;
  margin-bottom: 0vh;
  font-family: "Karla", sans-serif;
  margin-top: 10vh;
  margin-left: 3vw;
  margin-right: 3vw;
}

#intro {
  margin-top: 25vh;
}

#pfp {
  vertical-align: text-bottom;
  width: 2.5em;
}
#description {
  text-align: center;
  font-family: "Karla", sans-serif;
  color: white;
  margin-left: 10vw;
  margin-right: 10vw;
}
#descriptionlang {
  text-align: center;
  font-family: "Karla", sans-serif;
  color: white;
  margin-left: 10vw;
  margin-right: 10vw;
  font-size: 1.1em;
  margin-top: 1vh;
}
#nowplaying {
  text-align: center;
  font-family: "Karla", sans-serif;
  color: white;
  margin-left: 10vw;
  vertical-align: middle;
  margin-right: 10vw;
  font-size: 18px;
  filter: drop-shadow(0 4px 8px 0 rgba(0, 0, 0, 0.2));
  transition: all 0.2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}
#trackimg {
  width: auto;
  height: 2em;
  border-radius: 50px;
  vertical-align: text-bottom;
}

.icon {
  text-align: center;
  font-family: "Karla", sans-serif;
  color: white;
  font-size: 30px;
  text-decoration: none;
  margin-top: 1em;
}

#projectcontainer {
  display: flex;
}
footer {
  position: absolute;
  bottom: 0;
  width: 100%;
}
.fa-fw {
  cursor: pointer;
  filter: drop-shadow(0 4px 8px 0 rgba(0, 0, 0, 0.2));
  transition: 0.3s ease;
  background-image: none;
  -webkit-background-clip: text;
  background-clip: text;
}
.fa-fw:hover {
  transform: scale(1.3);
  transition: 0.3s ease;
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--accent1);
}

#projects {
  margin-left: 10vw;
  margin-right: 10vw;
}
#projectsholder {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.project {
  background: #232336;
  width: 25vw;
  border-radius: 10px;
  height: auto;
  min-width: 300px;
  max-width: 300px;
  margin: 15px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  padding: 20px 20px 100px 20px;
  text-align: center;
  position: relative;
}
.projectsheader {
  color: white;
  font-size: 3em;
  margin-top: 25vh;
  padding-bottom: 4vh;
  text-align: center;
  font-family: "Karla", sans-serif;
}
.projecttitle {
  color: white;
  font-size: 25px;
  margin-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--accent1);
  text-align: left;
  font-family: "Karla", sans-serif;
}
.projectdescription {
  color: white;
  margin-top: 15px;
  text-align: left;
  font-family: "Karla", sans-serif;
}
#applicationheader {
  transition: 0.3s ease;
  cursor: pointer;
}
#applicationheader:hover {
  transition: 0.3s ease;
  transform: scale(1.1);
}
.viewmore {
  outline: none;
  border: none;
  background-image: radial-gradient(var(--accent1), var(--accent2));
  border-radius: 10px;
  color: white;
  font-size: 15px !important;
  font-family: "Karla", sans-serif;
  width: 50%;
  padding: 10px;
  margin-bottom: 10px;
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  margin: auto auto;
  font-weight: 400;
  transition: 0.3s ease;
  cursor: pointer;
}

.projectstats {
  margin-top: 15px;
  font-family: "Karla", sans-serif;

  color: white;
}
.viewmore:hover {
  transform: scale(1.1);
  transition: 0.3s ease;
  background-image: radial-gradient(
    closest-side,
    var(--accent1),
    var(--accent2)
  );
}

::-webkit-scrollbar {
  width: 7px;
  border-radius: 10px;
}
/* Track */
::-webkit-scrollbar-track {
  background: #232336;
}
/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--accent1);
  border-radius: 10px;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #5959de;
  background: #222a63;
}

#smalldescription {
  text-align: center;
  font-family: "Karla", sans-serif;
  color: white;
  margin-left: 10vw;
  margin-right: 10vw;
  font-size: 13px;
  margin-top: 2em;
}

[v-cloak] {
  display: none;
}
